Bug 2518 - Applying two different tasks observers to a task causes a core panic
Summary: Applying two different tasks observers to a task causes a core panic
Status: RESOLVED DUPLICATE of bug 2302
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Stan Cox
URL:
Keywords:
Depends on:
Blocks: 2620
  Show dependency treegraph
 
Reported: 2006-04-05 19:34 UTC by Phil Muldoon
Modified: 2006-05-30 06:55 UTC (History)
2 users (show)

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 Phil Muldoon 2006-04-05 19:34:33 UTC
This may or may not have something to do with the cascading observers interface
in the core. I have not determined that yet.

To test:

Run FryskGui

Select a process in the process list, right click and add an observer (Fork maybe).

Select the same process in the process list, right click and add another
observers (Exec Maybe). A Frysk core dialog will popup showing the following:

Frysk Core has reported the following errors

{frysk.proc.LinuxProc@58c5140,pid=947,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 Phil Muldoon 2006-04-05 19:46:36 UTC
The actual frysk-core call to add the observer is performed in
frysk-gui/frysk/gui/monitor/observers/TaskObserverRoot.java at line 17.
Comment 2 Andrew Cagney 2006-05-12 19:12:25 UTC

*** This bug has been marked as a duplicate of 2302 ***