This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/4698] Opening up a core file in the source window causes a backtrace


------- Additional Comments From pmuldoon at redhat dot com  2007-06-25 18:31 -------
	2007-06-25  Phil Muldoon  <pmuldoon@redhat.com>
	
	* LinuxProc.java (sendrecExe): If a constructed filename
	is available, use that instead of args[0].



Fixed the exectuable issue. Now when the source window is run with a corefile
(that can find it's executable) this code:

    /* Attach the variableWatchView to the WatchList for this process */
    getCurrentDebugProcess().getWatchList().addListener(watchView);

 triggers the following backtrace to happen. Commenting out this code brings up
the source window, with the stacktrace and source for the core file though.

stacktrace:

java.lang.NullPointerException
   at frysk.gui.srcwin.SourceWindow.finishSourceWin(FryskGui)
   at frysk.gui.srcwin.SourceWindow.<init>(FryskGui)
   at frysk.gui.srcwin.SourceWindowFactory.createSourceWindow(FryskGui)
   at frysk.gui.srcwin.SourceWindowFactory.attachToCore(FryskGui)
   at frysk.gui.srcwin.SourceWindow.examineCoreFile(FryskGui)
   at frysk.gui.srcwin.SourceWindow$2$4.fileActivated(FryskGui)
   at org.gnu.gtk.FileChooserHelper.fireFileActivated(libgtkjava-2.8.so)
   at org.gnu.gtk.FileChooserDialog.handleFileActivated(libgtkjava-2.8.so)
   at org.gnu.gtk.Dialog.gtk_dialog_run(libgtkjava-2.8.so)
   at org.gnu.gtk.Dialog.run(libgtkjava-2.8.so)
   at org.gnu.gtk.FileChooserDialog.open(libgtkjava-2.8.so)
   at frysk.gui.srcwin.SourceWindow$2.actionEvent(FryskGui)
   at org.gnu.gtk.Action.fireActionEvent(libgtkjava-2.8.so)
   at org.gnu.gtk.Action.handleActivate(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)


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4698

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]