Re: Multithreaded core dumps (CLONE_THREAD and elf)
Andreas Dilger (adilger@turbolabs.com)
Thu, 30 Aug 2001 03:19:18 -0600
On Aug 30, 2001 10:16 +0200, Terje Eggestad wrote:
> THere is a CLONE_THREAD flag to clone() that sets up a linked list thru
> all the procs (shared VM or not) that in 2.4.3 that I currently run
> don't seem to be ready for general use, managed to get this:
> te 31504 31504 0 10:03 pts/0 00:00:00 [clone2 <defunct>]
> te 31505 31504 0 10:03 pts/0 00:00:00 [clone2 <defunct>]
>
> Where a zombie is waiting for the parent to receive it's SIGCHLD, but
> it's its own parent. Kinda cute, guess Its time to reboot....
I'm pretty sure Linus had a patch for this in 2.4.7 or so, which
reparented the thread to init, so it would be reaped on exit.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/