Bug 3696 - lots of multithreaded stepping blows up the source window
Summary: lots of multithreaded stepping blows up the source window
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2006-12-11 15:28 UTC by Mike Cvet
Modified: 2006-12-12 14:33 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 Mike Cvet 2006-12-11 15:28:08 UTC
Runstate.stepin{frysk.proc.LinuxPtraceTask@2f80690,pid=2359,tid=2361,state=running}
 134513924
Runstate.stepin{frysk.proc.LinuxPtraceTask@2f80690,pid=2359,tid=2361,state=running}
 134513924
Runstate.stepin{frysk.proc.LinuxPtraceTask@2f80690,pid=2359,tid=2361,state=running}
 134513924
Runstate.stepin{frysk.proc.LinuxPtraceTask@2f80690,pid=2359,tid=2361,state=running}
 134513924
Runstate.stepin{frysk.proc.LinuxPtraceTask@2f80690,pid=2359,tid=2361,state=running}
 134513924
java.lang.NullPointerException
   at frysk.gui.srcwin.SourceWindow.populateStackBrowser(FryskGui)
   at frysk.gui.srcwin.SourceWindow$LockObserver$26.run(FryskGui)
   at org.gnu.glib.CustomEvents.runEvents(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.main(libgtkjava-2.8.so)
   at frysk.gui.Gui.gui(FryskGui)
   at frysk.gui.FryskGui.main(FryskGui)
Comment 1 Mike Cvet 2006-12-11 22:37:15 UTC
Also raises a core exception:


{frysk.proc.LinuxPtraceTask@2e43b60,pid=783,tid=785,state=Attached.WaitForUnblock}
 in state "Attached.WaitForUnblock" did not handle handleRemoval

frysk.proc.State.unhandled(FryskGui)
frysk.proc.TaskState.handleRemoval(FryskGui)
frysk.proc.Task.performRemoval(FryskGui)
frysk.proc.LinuxPtraceProc.sendRefresh(FryskGui)
frysk.proc.LinuxPtraceHost.sendRefresh(FryskGui)
frysk.proc.LinuxPtraceHostState$1.handleRefresh(FryskGui)
frysk.proc.Host$1.execute(FryskGui)
frysk.event.EventLoop.runEventLoop(FryskGui)
frysk.event.EventLoop.run(FryskGui)
frysk.gui.Gui$3.run(FryskGui)
java.lang.Thread.run(libgcj.so.7rh)
Comment 2 Mike Cvet 2006-12-12 14:33:40 UTC
Problems in comment #2 moved to bug #3705.

2006-12-12  Mike Cvet  <mcvet@redhat.com>

	* SourceWindow.java (populateStackBrowser): Catch more null 
	StackFrames. Assume some stacktrace function names could be null
	even if the objects aren't. Fixes #3696.