Date: Sat, 14 Feb 2015 12:12:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197608] timeout(1) does not handle zombie grandchildren Message-ID: <bug-197608-8-zabjXf0HAm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-197608-8@https.bugs.freebsd.org/bugzilla/> References: <bug-197608-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197608 --- Comment #4 from Ed Maste <emaste@freebsd.org> --- It's not sufficient because it needs to loop and collect all outstanding zombies. E.g. with this version of zombie.c (also attached) it still waits: #include <stdlib.h> #include <unistd.h> int main () { int i; for (i = 0; i < 10; i++) if (fork() == 0) exit (0); sleep (1); return (0); } -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197608-8-zabjXf0HAm>