This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/3639] fc6: testTerminateKillKILL(frysk.proc.TestTaskTerminateObserver)
- From: "roland at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 27 Mar 2007 03:49:06 -0000
- Subject: [Bug general/3639] fc6: testTerminateKillKILL(frysk.proc.TestTaskTerminateObserver)
- References: <20061204180758.3639.cmoller@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From roland at gnu dot org 2007-03-27 04:49 -------
Your trace doesn't indicate whether different threads are doing different wait
calls or did ptrace calls or forks. If thread A forks a child, and thread B
does PTRACE_ATTACH to that child, then on death there is one report "to B" (but
available to all threads in the same process calling wait*) and then there is a
second one "to A". The second one happens because you are the real parent of
the child that is no longer ptrace'd after the ptracer's wait returns
WIFSIGNALED/WIFEXITED. The first one happens because you are the ptracer but
not the real parent, but there are two of you so all things can be true and false.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3639
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.