public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/3981] New: Nullpointer at StackFrame.getSymbolName
@ 2007-02-06 21:13 mcvet at redhat dot com
  2007-02-06 21:31 ` [Bug general/3981] " mcvet at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mcvet at redhat dot com @ 2007-02-06 21:13 UTC (permalink / raw)
  To: frysk-bugzilla

Random stepping through a program with debuginfo:

java.lang.NullPointerException
   at frysk.rt.StackFrame.getSymbolName(FryskGui)
   at frysk.rt.StackFrame.toPrint(FryskGui)
   at frysk.gui.srcwin.CurrentStackView.buildTree(FryskGui)
   at frysk.gui.srcwin.CurrentStackView.resetView(FryskGui)
   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 frysk.gui.Gui.gui(FryskGui)
   at frysk.gui.FryskGui.main(FryskGui)

-- 
           Summary: Nullpointer at StackFrame.getSymbolName
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: mcvet at redhat dot com


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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug general/3981] Nullpointer at StackFrame.getSymbolName
  2007-02-06 21:13 [Bug general/3981] New: Nullpointer at StackFrame.getSymbolName mcvet at redhat dot com
@ 2007-02-06 21:31 ` mcvet at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mcvet at redhat dot com @ 2007-02-06 21:31 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-06 21:30 -------
public String getSymbolName()
  {
    Dwfl dwfl = new Dwfl(task.getTid());
    
    return dwfl.getModule(getAddress()).getAddressName(getAddress());    
  }

This code makes the assumption that the DwflModule will never be null.

I'll fix it up in a sec

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|mcvet at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-06 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-06 21:13 [Bug general/3981] New: Nullpointer at StackFrame.getSymbolName mcvet at redhat dot com
2007-02-06 21:31 ` [Bug general/3981] " mcvet at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).