This is the mail archive of the frysk@sources.redhat.com 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]

race between attach and signal


just fyi,
Nurden and I just figured out why:
http://sourceware.org/bugzilla/show_bug.cgi?id=2819
occurs. Briefly, the frysk process sends the kernel the sequence:
ptrace ATTACH PID
signal PID SIGNAL
The kernel, via waitpid, then either returns stopped-for-no-reason matching the ATTACH, but occasionally the SIGNAL is delivered leading to a stopped-with-signal.


I don't think it's possible to create a deterministic test for this.

Andrew


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