From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27035 invoked from network); 23 May 2008 14:40:04 -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; 23 May 2008 14:40:04 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 66068 invoked from network); 23 May 2008 14:39:58 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 May 2008 14:39:58 -0000 Received: (qmail 12031 invoked by alias); 23 May 2008 14:39:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25084 Received: (qmail 12009 invoked from network); 23 May 2008 14:39:55 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 23 May 2008 14:39:55 -0000 Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by bifrost.dotsrc.org (Postfix) with ESMTP id A94BF80589A4 for ; Fri, 23 May 2008 16:39:50 +0200 (CEST) Received: from torch.brasslantern.com ([71.121.11.8]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K1B004TGSLD8XUC@vms173003.mailsrvcs.net> for zsh-workers@sunsite.dk; Fri, 23 May 2008 09:36:51 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id m4NEdeBR013806; Fri, 23 May 2008 07:39:41 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m4NEdeOO013805; Fri, 23 May 2008 07:39:40 -0700 Date: Fri, 23 May 2008 07:39:40 -0700 From: Bart Schaefer Subject: Re: Bug#482346: zsh doesn't always wait for its children (-> zombie) In-reply-to: <20080522233327.GA24953@scru.org> To: zsh-workers@sunsite.dk Cc: 482346@bugs.debian.org Message-id: <080523073940.ZM13804@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20080521235008.GA5600@ay.vinc17.org> <20080521235930.GW7056@prunille.vinc17.org> <20080522233327.GA24953@scru.org> Comments: In reply to Clint Adams "Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)" (May 22, 11:33pm) X-Virus-Scanned: ClamAV 0.91.2/7222/Fri May 23 14:53:12 2008 on bifrost X-Virus-Status: Clean 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] } > lefevre 20147 20126 0 May06 pts/5 00:00:00 zsh