Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)
- X-seq: zsh-workers 25094
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)
- Date: Sat, 24 May 2008 16:27:04 +0100
- Cc: 482346@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- In-reply-to: <20080524152504.759b27ad@pws-pc>
- Mail-followup-to: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>, 482346@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080521235008.GA5600@xxxxxxxxxxxxx> <20080521235930.GW7056@xxxxxxxxxxxxxxxxxxx> <20080522233327.GA24953@xxxxxxxx> <080523073940.ZM13804@xxxxxxxxxxxxxxxxxxxxxx> <20080523145722.GA12096@xxxxxxxx> <20080523224305.GN7056@xxxxxxxxxxxxxxxxxxx> <20080524025556.GA30511@xxxxxxxx> <20080524124445.GQ7056@xxxxxxxxxxxxxxxxxxx> <20080524152504.759b27ad@pws-pc>
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