From: Vincent Lefevre <vincent@vinc17.org>
To: Bart Schaefer <schaefer@brasslantern.com>,
zsh-workers@sunsite.dk, 482346@bugs.debian.org
Subject: Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)
Date: Sat, 24 May 2008 01:04:21 +0200 [thread overview]
Message-ID: <20080523230421.GP7056@prunille.vinc17.org> (raw)
In-Reply-To: <20080523224530.GO7056@prunille.vinc17.org>
I've done a "strace -f". The last system call from zsh is:
21344 rt_sigsuspend([] <unfinished ...>
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( <unfinished ...>
21348 <... nanosleep resumed> NULL) = 0
21347 <... nanosleep resumed> NULL) = 0
21348 nanosleep({0, 50000000}, <unfinished ...>
21347 nanosleep({0, 50000000}, <unfinished ...>
21346 <... nanosleep resumed> NULL) = 0
[...]
21345 ioctl(7, FIONREAD, [0]) = 0
21345 poll( <unfinished ...>
21347 <... nanosleep resumed> NULL) = 0
21347 nanosleep({0, 50000000}, <unfinished ...>
21346 <... nanosleep resumed> NULL) = 0
21346 nanosleep({0, 25000000}, <unfinished ...>
21349 <... nanosleep resumed> NULL) = 0
21349 nanosleep({0, 100000000}, <unfinished ...>
21348 <... nanosleep resumed> NULL) = 0
21348 nanosleep({0, 50000000}, <unfinished ...>
21346 <... nanosleep resumed> NULL) = 0
21346 nanosleep({0, 25000000}, <unfinished ...>
21347 <... nanosleep resumed> NULL) = 0
21347 nanosleep({0, 50000000}, <unfinished ...>
21346 <... nanosleep resumed> NULL) = 0
21346 nanosleep({0, 25000000}, <unfinished ...>
21348 <... nanosleep resumed> NULL) = 0
21348 nanosleep({0, 50000000}, <unfinished ...>
21346 <... nanosleep resumed> NULL) = 0
21346 nanosleep({0, 25000000}, <unfinished ...>
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 <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
next prev parent reply other threads:[~2008-05-23 23:04 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
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 [this message]
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=20080523230421.GP7056@prunille.vinc17.org \
--to=vincent@vinc17.org \
--cc=482346@bugs.debian.org \
--cc=schaefer@brasslantern.com \
--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).