Bug 3936

Summary: testDetachExitingMainTask(frysk.proc.TestTaskObserver)java.lang.RuntimeException: {frysk.proc.LinuxPtraceTask@3c796045,pid=5094,tid=5094,state=detaching} in state "detaching" did not handle handleDisappearedEvent
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 3385    

Description Andrew Cagney 2007-01-30 17:49:47 UTC
On x86-64 machine at least:

1)
testDetachExitingMainTask(frysk.proc.TestTaskObserver)java.lang.RuntimeException:
{frysk.proc.LinuxPtraceTask@3c796045,pid=5094,tid=5094,state=detaching} in state
"detaching" did not handle handleDisappearedEvent
   at frysk.proc.State.unhandled(funit)
   at frysk.proc.TaskState.handleDisappearedEvent(funit)
   at frysk.proc.Task.processDisappearedEvent(funit)
   at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld$5.disappeared(funit)
   at frysk.sys.Wait.waitAllNoHang(funit)
   at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld.execute(funit)
   at frysk.event.EventLoop.runEventLoop(funit)
   at frysk.event.EventLoop.runPolling(funit)
   at frysk.proc.TestLib.assertRunUntilStop(funit)
   at frysk.proc.TestLib.assertRunUntilStop(funit)
   at frysk.proc.TestTaskObserver.detach(funit)
   at frysk.proc.TestTaskObserver.detachExitingTask(funit)
   at frysk.proc.TestTaskObserver.testDetachExitingMainTask(funit)
   at frysk.junit.Runner.runCases(funit)
   at frysk.junit.Runner.runArchCases(funit)
   at frysk.junit.Runner.runTestCases(funit)
   at funit.main(funit)
2)
testDetachExitingOtherTask(frysk.proc.TestTaskObserver)java.lang.RuntimeException:
{frysk.proc.LinuxPtraceTask@3c795f7d,pid=5096,tid=5096,state=detaching} in state
"detaching" did not handle handleDisappearedEvent
   at frysk.proc.State.unhandled(funit)
   at frysk.proc.TaskState.handleDisappearedEvent(funit)
   at frysk.proc.Task.processDisappearedEvent(funit)
   at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld$5.disappeared(funit)
   at frysk.sys.Wait.waitAllNoHang(funit)
   at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld.execute(funit)
   at frysk.event.EventLoop.runEventLoop(funit)
   at frysk.event.EventLoop.runPolling(funit)
   at frysk.proc.TestLib.assertRunUntilStop(funit)
   at frysk.proc.TestLib.assertRunUntilStop(funit)
   at frysk.proc.TestTaskObserver.detach(funit)
   at frysk.proc.TestTaskObserver.detachExitingTask(funit)
   at frysk.proc.TestTaskObserver.testDetachExitingOtherTask(funit)
   at frysk.junit.Runner.runCases(funit)
   at frysk.junit.Runner.runArchCases(funit)
   at frysk.junit.Runner.runTestCases(funit)
   at funit.main(funit)
Comment 1 Andrew Cagney 2007-01-30 17:51:35 UTC
RHEL: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225448
Comment 2 Mark Wielaard 2008-03-13 22:06:46 UTC
*** Bug 3737 has been marked as a duplicate of this bug. ***
Comment 3 Mark Wielaard 2008-03-13 22:27:55 UTC
Fixed some time ago:

2007-04-26  Mark Wielaard  <mark@klomp.org>

        * frysk-core/frysk/proc/LinuxPtraceTaskState.java (detaching):
        Add handleDisappearedEvent.