Bug 6691 - Stack trace with more than one source window opened and then closing one
Summary: Stack trace with more than one source window opened and then closing one
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2008-06-24 13:37 UTC by Rick Moseley
Modified: 2008-06-24 13:37 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 Rick Moseley 2008-06-24 13:37:34 UTC
After opening more than one source window and then trying to close one a
stacktrace occurs:

java.lang.RuntimeException: requestDeleteInstructionObserver
   at frysk.proc.dead.DeadTask.requestDeleteInstructionObserver(DeadTask.java:248)
   at frysk.stepping.SteppingEngine.continueExecution(SteppingEngine.java:607)
   at frysk.stepping.SteppingEngine.removeObserver(SteppingEngine.java:1095)
   at
frysk.gui.srcwin.SourceWindowFactory$SourceWinListener.lifeCycleQuery(SourceWindowFactory.java:243)
   at org.gnu.gtk.Widget.fireBooleanLifeCycleEvent(libgtkjava-2.8.so)
   at org.gnu.gtk.Widget.handleDelete(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
   at frysk.gui.Gui.gui(Gui.java:231)
   at frysk.gui.FryskGui.main(FryskGui.java:58)
WARNING: No task for terminated pid 29125 possibly caused by earlier [test] code
failing to clean up all childen
WARNING: No task for terminated pid 29124 possibly caused by earlier [test] code
failing to clean up all childen


There appears to be a problem with the SourceWindowFactory class.  It does not
appear to handle multiple source windows properly because when one closes it has
no clue about which one closed.  Seems some smarts need to be added so it knows
which source window has been closed and it can clean up properly after it.