Bug 2620

Summary: {frysk.proc.LinuxProc@61821c0,pid=7916,state=running} in state "running" did not handle handleAddTasksObserver
Product: frysk Reporter: Len DiMaggio <ldimaggi>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal CC: swagiaal
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on: 2518    
Bug Blocks: 1632, 1987    

Description Len DiMaggio 2006-04-28 14:25:46 UTC
Attaching multiple 'fork' observers to a process forces Frysk GUI to exit

The error displayed is:

===============================
Frysk Core has reported the following errors

{frysk.proc.LinuxProc@61821c0,pid=7916,state=running} in state "running" did not
handle handleAddTasksObserver

frysk.proc.State.unhandled (FryskGui)
frysk.proc.ProcState.handleAddTasksObserver (FryskGui)
frysk.proc.Proc$8.execute (FryskGui)
frysk.event.EventLoop.runEventLoop (FryskGui)
frysk.event.EventLoop.run (FryskGui)
frysk.gui.Gui$3.run (FryskGui)
java.lang.Thread.run (libgcj.so.7)
Comment 1 Andrew Cagney 2006-05-30 06:48:41 UTC
Guilty code rewritten so that it no longer interacts with the Proc state machine:

2006-05-30  Andrew Cagney  <cagney@redhat.com>

        * TasksObserver.java: New file.
        * TestTasksObserver.java: Update.
        * Proc.java (requestAddTasksObserver): Delete.
        * ProcState.java (handleAddTasksObserver): Delete.

Comment 2 Andrew Cagney 2006-05-30 06:55:35 UTC
*** Bug 2302 has been marked as a duplicate of this bug. ***