From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: Vincent Lefevre <vincent@vinc17.org>, 482346@bugs.debian.org
Subject: Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)
Date: Thu, 22 May 2008 23:33:27 +0000 [thread overview]
Message-ID: <20080522233327.GA24953@scru.org> (raw)
In-Reply-To: <20080521235930.GW7056@prunille.vinc17.org> <20080521235008.GA5600@ay.vinc17.org>
Any ideas what might be going on? Race condition?
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] <defunct>
> lefevre 20147 20126 0 May06 pts/5 00:00:00 zsh
On Thu, May 22, 2008 at 01:59:30AM +0200, Vincent Lefevre wrote:
> Additional information that may be useful:
>
> ay:~> ps -lt pts/5
> F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
> 0 Z 1000 4277 20147 1 80 0 - 0 exit pts/5 00:00:26 vlc <defunct>
> 0 S 1000 20147 20126 0 80 0 - 2269 rt_sig pts/5 00:00:00 zsh
>
> I also ran gdb on the zsh running process and got:
>
> 0x0fd312d4 in sigsuspend () from /lib/libc.so.6
> (gdb) bt
> #0 0x0fd312d4 in sigsuspend () from /lib/libc.so.6
> #1 0x10071ae4 in signal_suspend ()
> #2 0x10042268 in ?? ()
> #3 0x100423d4 in waitjobs ()
> #4 0x100274e0 in ?? ()
> #5 0x10027d20 in execlist ()
> #6 0x100283fc in execode ()
> #7 0x1003bcec in loop ()
> #8 0x1003cc30 in zsh_main ()
> #9 0x1000dc70 in main ()
next parent reply other threads:[~2008-05-22 23:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080521235008.GA5600@ay.vinc17.org>
[not found] ` <20080521235930.GW7056@prunille.vinc17.org>
2008-05-22 23:33 ` Clint Adams [this message]
2008-05-23 14:39 ` Bart Schaefer
2008-05-23 14:57 ` Clint Adams
2008-05-23 22:43 ` Vincent Lefevre
2008-05-23 22:45 ` Vincent Lefevre
2008-05-23 23:04 ` Vincent Lefevre
2008-05-24 2:55 ` Clint Adams
2008-05-24 12:44 ` Vincent Lefevre
2008-05-24 14:25 ` Peter Stephenson
2008-05-24 15:27 ` Stephane Chazelas
2008-05-24 15:58 ` Stephane Chazelas
2008-05-24 17:53 ` Clint Adams
2008-05-24 17:41 ` Bart Schaefer
2008-05-24 18:25 ` Stephane Chazelas
2008-05-24 23:40 ` Phil Pennock
2008-05-25 0:41 ` Vincent Lefevre
2008-05-25 1:23 ` Phil Pennock
2008-05-25 21:37 ` Vincent Lefevre
2008-05-25 22:26 ` Phil Pennock
2008-05-25 23:34 ` Vincent Lefevre
2008-05-25 23:43 ` Vincent Lefevre
2008-05-26 0:31 ` Bart Schaefer
2008-05-25 10:08 ` Stephane Chazelas
2008-05-25 21:54 ` Vincent Lefevre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080522233327.GA24953@scru.org \
--to=schizo@debian.org \
--cc=482346@bugs.debian.org \
--cc=vincent@vinc17.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).