This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/3639] fc6: testTerminateKillKILL(frysk.proc.TestTaskTerminateObserver)


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]