Not an easy thing to do
I would suggest using strace to try and get some information about what happens before it crashes (-f tells strace to follow forks):
Code:
strace -f procinfo -a
You might need to install strace first. A good tutorial on how to hunt bugs with strace can be found (see next message, apparently I can't post links in my first post).