Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)
- X-seq: zsh-workers 25089
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx, 482346@xxxxxxxxxxxxxxx
- Subject: Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)
- Date: Sat, 24 May 2008 01:04:21 +0200
- In-reply-to: <20080523224530.GO7056@xxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx, 482346@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080521235008.GA5600@xxxxxxxxxxxxx> <20080521235930.GW7056@xxxxxxxxxxxxxxxxxxx> <20080522233327.GA24953@xxxxxxxx> <080523073940.ZM13804@xxxxxxxxxxxxxxxxxxxxxx> <20080523145722.GA12096@xxxxxxxx> <20080523224305.GN7056@xxxxxxxxxxxxxxxxxxx> <20080523224530.GO7056@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxx> - 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)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author