From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5390 invoked from network); 24 May 2008 15:27:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 May 2008 15:27:28 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 13764 invoked from network); 24 May 2008 15:27:22 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 May 2008 15:27:22 -0000 Received: (qmail 15024 invoked by alias); 24 May 2008 15:27:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25094 Received: (qmail 15011 invoked from network); 24 May 2008 15:27:18 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 24 May 2008 15:27:18 -0000 Received: from mail.o2.co.uk (sidious.london.02.net [82.132.130.152]) by bifrost.dotsrc.org (Postfix) with ESMTP id 043AF80589A4 for ; Sat, 24 May 2008 17:27:14 +0200 (CEST) Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 480CEB8006EFE783; Sat, 24 May 2008 16:27:04 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1JzveC-0002l5-4z; Sat, 24 May 2008 16:27:04 +0100 Date: Sat, 24 May 2008 16:27:04 +0100 From: Stephane Chazelas To: Peter Stephenson Cc: 482346@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#482346: zsh doesn't always wait for its children (-> zombie) Message-ID: <20080524152704.GA5673@sc.homeunix.net> Mail-Followup-To: Peter Stephenson , 482346@bugs.debian.org, zsh-workers@sunsite.dk References: <20080521235008.GA5600@ay.vinc17.org> <20080521235930.GW7056@prunille.vinc17.org> <20080522233327.GA24953@scru.org> <080523073940.ZM13804@torch.brasslantern.com> <20080523145722.GA12096@scru.org> <20080523224305.GN7056@prunille.vinc17.org> <20080524025556.GA30511@scru.org> <20080524124445.GQ7056@prunille.vinc17.org> <20080524152504.759b27ad@pws-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080524152504.759b27ad@pws-pc> User-Agent: Mutt/1.5.16 (2007-09-19) X-Virus-Scanned: ClamAV 0.91.2/7225/Sat May 24 03:25:25 2008 on bifrost X-Virus-Status: Clean On Sat, May 24, 2008 at 03:25:04PM +0100, Peter Stephenson wrote: > On Sat, 24 May 2008 14:44:45 +0200 > Vincent Lefevre 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