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 Sat, May 24, 2008 at 03:25:04PM +0100, Peter Stephenson wrote:
> On Sat, 24 May 2008 14:44:45 +0200
> Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> > This is 100% reproducible with both zsh and zsh-beta.
> 
> If it's just a matter of starting vlc and trying to kill it for you,
> then there's something more to track down since this doesn't happen for
> me (Fedora 9).
[...]

For information, I cannot reproduce it here on a debian with the
same versions of the packages as Vincent's but on x86 (Vincent
is on powerpc according to bugs.debian.org/482346

From the straces, we see that zsh is not receiving any SIGCHLD.

It may be a good idea to check if the same can be observed with
other shells that use sigsuspend (pdksh, mksh) instead of
wait4/waitpid (bash, ksh93, posh, ash).

Note that both mksh and posh are meant to derive from pdksh. It
would be interesting to know why posh switched from sigsuspend
to wait4.

-- 
Stéphane



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