Re: fix for unkillable zombie task

From: Andreas Schwab
Date: Sat Jul 17 2004 - 05:22:15 EST


David Mosberger <davidm@xxxxxxxxxxxxxxxxx> writes:

> I got a bugreport where a ptrace'd task would end up in an unkillable
> zombie state if the (real) parent of the task happened to ignore
> SIGCHLD. The patch below should fix the problem. I attached a
> self-contained test program. If the bug is present, you should
> see:
>
> FAILURE: child PID seems to be still around!
>
> at the end (and there will be an unkillable zombie).

Could this be the same problem as discussed in the thread at
<http://marc.theaimsgroup.com/?t=108857537300002&r=1&w=2>?

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/