From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21644 invoked from network); 23 May 2008 23:04:35 -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 23:04:35 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 18235 invoked from network); 23 May 2008 23:04:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 May 2008 23:04:31 -0000 Received: (qmail 22766 invoked by alias); 23 May 2008 23:04:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25089 Received: (qmail 22752 invoked from network); 23 May 2008 23:04:26 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 23 May 2008 23:04:26 -0000 Received: from prunille.vinc17.org (vinc17.pck.nerim.net [213.41.242.187]) by bifrost.dotsrc.org (Postfix) with ESMTP id 0CCFB80589A4 for ; Sat, 24 May 2008 01:04:21 +0200 (CEST) Received: by prunille.vinc17.org (Postfix, from userid 501) id 5A6A322B0FE8; Sat, 24 May 2008 01:04:21 +0200 (CEST) Date: Sat, 24 May 2008 01:04:21 +0200 From: Vincent Lefevre To: Bart Schaefer , zsh-workers@sunsite.dk, 482346@bugs.debian.org Subject: Re: Bug#482346: zsh doesn't always wait for its children (-> zombie) Message-ID: <20080523230421.GP7056@prunille.vinc17.org> Mail-Followup-To: Bart Schaefer , zsh-workers@sunsite.dk, 482346@bugs.debian.org 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> <20080523224530.GO7056@prunille.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080523224530.GO7056@prunille.vinc17.org> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.17-vl-r21552 (2008-04-09) X-Virus-Scanned: ClamAV 0.91.2/7223/Fri May 23 23:03:39 2008 on bifrost X-Virus-Status: Clean I've done a "strace -f". The last system call from zsh is: 21344 rt_sigsuspend([] which occurred at about the same time vlc was started. Then, beginning at the first SIGINT: 21345 --- SIGINT (Interrupt) @ 0 (0) --- 21345 time(NULL) = 1211583212 21345 sigreturn() = ? (mask now [ILL ABRT BUS FPE USR1 USR2 ALRM TERM CHLD CONT STOP TSTP TTIN URG VTALRM PROF WINCH]) 21345 ioctl(7, FIONREAD, [0]) = 0 21345 poll( 21348 <... nanosleep resumed> NULL) = 0 21347 <... nanosleep resumed> NULL) = 0 21348 nanosleep({0, 50000000}, 21347 nanosleep({0, 50000000}, 21346 <... nanosleep resumed> NULL) = 0 [...] 21345 ioctl(7, FIONREAD, [0]) = 0 21345 poll( 21347 <... nanosleep resumed> NULL) = 0 21347 nanosleep({0, 50000000}, 21346 <... nanosleep resumed> NULL) = 0 21346 nanosleep({0, 25000000}, 21349 <... nanosleep resumed> NULL) = 0 21349 nanosleep({0, 100000000}, 21348 <... nanosleep resumed> NULL) = 0 21348 nanosleep({0, 50000000}, 21346 <... nanosleep resumed> NULL) = 0 21346 nanosleep({0, 25000000}, 21347 <... nanosleep resumed> NULL) = 0 21347 nanosleep({0, 50000000}, 21346 <... nanosleep resumed> NULL) = 0 21346 nanosleep({0, 25000000}, 21348 <... nanosleep resumed> NULL) = 0 21348 nanosleep({0, 50000000}, 21346 <... nanosleep resumed> NULL) = 0 21346 nanosleep({0, 25000000}, 21345 <... poll resumed> [{fd=5, events=POLLIN}, {fd=7, events=POLLIN}], 2, 99) = ? ERESTART_RESTARTBLOCK (To be restarted) 21345 --- SIGINT (Interrupt) @ 0 (0) --- 21345 time(NULL) = 1211583216 21345 rt_sigaction(SIGINT, {SIG_DFL}, {0x10001e9c, [INT], SA_RESTART}, 8) = 0 21345 rt_sigaction(SIGHUP, {SIG_DFL}, {0x10001e9c, [HUP], SA_RESTART}, 8) = 0 21345 rt_sigaction(SIGQUIT, {SIG_DFL}, {0x10001e9c, [QUIT], SA_RESTART}, 8) = 0 21345 rt_sigaction(SIGALRM, {SIG_DFL}, {SIG_IGN}, 8) = 0 21345 rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0 21345 write(2, "user insisted too much, dying ba"..., 36) = 36 21345 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 21345 tgkill(21345, 21345, SIGABRT) = 0 21345 --- SIGABRT (Aborted) @ 0 (0) --- 21349 <... nanosleep resumed> 0) = ? ERESTART_RESTARTBLOCK (To be restarted) 21347 <... nanosleep resumed> 0) = ? ERESTART_RESTARTBLOCK (To be restarted) 21348 <... nanosleep resumed> 0) = ? ERESTART_RESTARTBLOCK (To be restarted) 21346 <... nanosleep resumed> 0) = ? ERESTART_RESTARTBLOCK (To be restarted) The strace output ends here. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)