+++ This bug was initially created as a clone of Bug #289041 +++ frysk's fcore handles attach/detach of a sleeping process (tested); but not attach/detach when it involves a pending signal - the signal is lost. What's really needed is a nice deterministic testcase for the latter.
Fix will be made upstream.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
(In reply to comment #3) > in response to comment 0, > > > What's really needed is a nice deterministic testcase for the latter > > for qe_ack for rhel5.2 - do we have such testcase now, or at least some > reliable reproducing steps? The senario by its nature is racy. If we can't find a deterministic real-world sequence we'll simulate this senario by injecting the WAITPID events frysk should see and check results from that.
The last test is new; the earlier tests did not reliably pass: $ ./TestRunner frysk.proc.live.TestProcStopped Running testStoppedAckDaemon(frysk.proc.live.TestProcStopped) ...PASS Running testStoppedDetached(frysk.proc.live.TestProcStopped) ...PASS Running testStoppedAttached(frysk.proc.live.TestProcStopped) ...PASS Running testRunningAckDaemon(frysk.proc.live.TestProcStopped) ...PASS Running testRunningDetached(frysk.proc.live.TestProcStopped) ...PASS Running testRunningAttached(frysk.proc.live.TestProcStopped) ...PASS Running testMultiThreadedStoppedAckDaemon(frysk.proc.live.TestProcStopped) ...PASS Running testMultiThreadedStoppedDetached(frysk.proc.live.TestProcStopped) ...PASS Running testMultiThreadedStoppedAttached(frysk.proc.live.TestProcStopped) ...PASS Running testMultiThreadedRunningAckDaemon(frysk.proc.live.TestProcStopped) ...PASS Running testMultiThreadedRunningDetached(frysk.proc.live.TestProcStopped) ...PASS Running testMultiThreadedRunningAttached(frysk.proc.live.TestProcStopped) ...PASS Running testStoppedSignal(frysk.proc.live.TestProcStopped) ...PASS
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0461.html