From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25415 invoked by alias); 25 Jun 2007 18:31:57 -0000 Received: (qmail 25371 invoked by uid 48); 25 Jun 2007 18:31:42 -0000 Date: Mon, 25 Jun 2007 18:31:00 -0000 Message-ID: <20070625183142.25370.qmail@sourceware.org> From: "pmuldoon at redhat dot com" To: frysk-bugzilla@sourceware.org In-Reply-To: <20070625134256.4698.pmuldoon@redhat.com> References: <20070625134256.4698.pmuldoon@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4698] Opening up a core file in the source window causes a backtrace X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00420.txt.bz2 List-Id: ------- Additional Comments From pmuldoon at redhat dot com 2007-06-25 18:31 ------- 2007-06-25 Phil Muldoon * 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.(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.