Bug 1376

Summary: Issuing a stop request to frysk-core generates an exception.
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal CC: pmuldoon, swagiaal
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1526    

Description Phil Muldoon 2005-09-23 19:30:33 UTC
> sending proc.requestAttachedStop() for [Proc,id={ProcId,25858}]
> Exception in thread "Thread-1" java.lang.RuntimeException:
> [Proc,id={ProcId,25858}] in state "running" did not handle event
>    at frysk.proc.State.unhandled(java.lang.Object)
> (/home/pmuldoon/workspace/frysk-gui/frysk/proc/State.java:70)
>    at frysk.proc.ProcState.processRequestAttachedStop(frysk.proc.Proc)
> (/home/pmuldoon/workspace/frysk-gui/frysk/proc/ProcState.java:92)
>    at frysk.proc.Proc$2.execute()
> (/home/pmuldoon/workspace/frysk-gui/frysk/proc/Proc.java:183)
>    at frysk.event.EventLoop.runPending()
> (/home/pmuldoon/workspace/frysk-gui/frysk/event/EventLoop.java:201)
>    at frysk.event.EventLoop.run()
> (/home/pmuldoon/workspace/frysk-gui/frysk/event/EventLoop.java:255)
>    at frysk.gui.FryskGui$2.run()
> (/home/pmuldoon/workspace/frysk-gui/frysk/gui/FryskGui.java:178)
>    at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
Comment 1 Andrew Cagney 2005-09-30 04:31:50 UTC
2005-09-29  Andrew Cagney  <cagney@redhat.com>

        * ProcState.java: Handle requestAttachedStop.
        * TestProcStates.java: Add
        testSingleTaskDetachedContinueToAttachedStop, and
        testMultiTaskDetachedContinueToAttachedStop.