This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/4698] Opening up a core file in the source window causes a backtrace
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 25 Jun 2007 18:31:42 -0000
- Subject: [Bug general/4698] Opening up a core file in the source window causes a backtrace
- References: <20070625134256.4698.pmuldoon@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.