|
From: Jeremy F. <je...@go...> - 2005-03-20 17:58:46
Attachments:
suse-exit-hang
sigkill.patch
|
The two patches attached resolve the exit-hang bug for me. The first
fixes getppid(), and the second fixes the next bug which is revealed
once getppid() does what LinuxThreads wants; LinuxThreads uses SIGKILL
to kill off stray threads, but if we send naked SIGKILLs to Valgrind
threads, they'll die without cleaning up or informing anyone of their
death, which means that they're waited on forever.
Please try these out and see if they solve things for you. The SIGKILL
patch isn't pretty, but it seems pretty low-risk. I would be OK with
these either in 2.4.0 or holding them off until 2.4.1.
J
|
|
From: Julian S. <js...@ac...> - 2005-03-21 02:46:43
|
Jeremy Thanks for chasing those down. The patches certainly fix the hangs on SuSE 9.1. I'll try Red Hat 7.3 in the morning (it's very late now). J |