Re: pstree -a gives SEGV

2006-06-13 Thread Corinna Vinschen
On Jun 12 18:19, Dave Korn wrote: Hi all, Dunno about everyone else, but on my system pstree -a crashes with a SEGV everytime. [...] For some reason it doesn't happen on my machine, but that doesn't invalidate your patch. However, while testing this, I found that pstree crashes for

pstree -a gives SEGV

2006-06-12 Thread Dave Korn
Hi all, Dunno about everyone else, but on my system pstree -a crashes with a SEGV everytime. On looking into it, it turns out to be because the process object it creates for pid 1 (we don't have a real init process on cygwin) isn't fully initialised (it works by lazy initialisation,