Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)



On May 22, 11:33pm, Clint Adams wrote:
}
} Any ideas what might be going on? Race condition?

What version of the shell are we dealing with here?  Does it have PWS's
patch from users/12815?  I've been a little worried that that is too
simple.  On the other hand, if it does not have users/12815, it's
possible that zsh is actually waiting for some other job that doesn't
exist any more, and interrupting vlc is a red herring.

I note from the ps output that PIDs have rolled over since the shell
was started, which is exactly the case where that patch would come
into play.

} On Thu, May 22, 2008 at 01:50:08AM +0200, Vincent Lefevre wrote:
} > I started vlc from the zsh command line. Some time later, I decided
} > to kill vlc with Ctrl-C. As I didn't get the prompt, I tried Ctrl-C
} > a few more times, with no change. I can see that vlc is now a zombie:
} > 
} > ay:~> ps -ft pts/5
} > UID        PID  PPID  C STIME TTY          TIME CMD
} > lefevre   4277 20147  1 01:16 pts/5    00:00:26 [vlc] <defunct>
} > lefevre  20147 20126  0 May06 pts/5    00:00:00 zsh



Messages sorted by: Reverse Date, Date, Thread, Author