Bug 3198 - Debug an Existing Process startup exception
Summary: Debug an Existing Process startup exception
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: 2936
Blocks: 1633
  Show dependency treegraph
 
Reported: 2006-09-12 21:21 UTC by Stan Cox
Modified: 2006-11-21 23:25 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
test case (98 bytes, text/plain)
2006-09-12 21:23 UTC, Stan Cox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stan Cox 2006-09-12 21:21:44 UTC
after updating and rebuilding, and rm -rf ~/.frysk: 
Choosing Debug an Existing Process gets an exception.
It worked okay previously.
This is a process that with a working FryskGui would come up in the source
window.  If I pick a process with no debug information then a source window with
"No debug information available for this stack frame" comes up with no exceptions.
Frysk-Gui dies before the source window comes up.
If I pick joe random process, e.g. bash it comes up in Frysk Source Window with
the "No debug Information..." message.
The exception status is:
loops endlessly printing java.lang.NullPointerException
    at org.gnu.gtk.TreeSelection.select(libgtkjava-2.8.so)
    at frysk.gui.srcwin.CurrentStackView.<init>(FryskGui)
    at frysk.gui.srcwin.SourceWindow.populateStackBrowser(FryskGui)
    at frysk.gui.srcwin.SourceWindow.<init>(FryskGui)
    at frysk.gui.srcwin.SourceWindowFactory.finishSourceWin(FryskGui)
    at frysk.gui.srcwin.SourceWindowFactory$SourceWinBlocker$1.run(FryskGui)
    at org.gnu.glib.CustomEvents.runEvents(libgtkjava-2.8.so)
    at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
    at frysk.gui.Gui.gui(FryskGui)
    at frysk.gui.FryskGui.main(FryskGui)

Perhaps the problem is the recent stack trace stuff that was put in.
Comment 1 Stan Cox 2006-09-12 21:23:34 UTC
Created attachment 1295 [details]
test case
Comment 2 Mike Cvet 2006-09-13 15:25:02 UTC
2006-09-08  Mike Cvet  <mcvet@redhat.com>

    * CurrentStackView.java (CurrentStackView): Added architecture
    checks to address #3198.