Bug 3936 - testDetachExitingMainTask(frysk.proc.TestTaskObserver)java.lang.RuntimeException: {frysk.proc.LinuxPtraceTask@3c796045,pid=5094,tid=5094,state=detaching} in state "detaching" did not handle handleDisappearedEvent
Summary: testDetachExitingMainTask(frysk.proc.TestTaskObserver)java.lang.RuntimeExcept...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
: 3737 (view as bug list)
Depends on:
Blocks: 3385
  Show dependency treegraph
 
Reported: 2007-01-30 17:49 UTC by Andrew Cagney
Modified: 2008-03-13 22:27 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.