public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4106] New: SourceWindow breakage
@ 2007-02-27 20:46 mcvet at redhat dot com
  2007-02-27 20:51 ` [Bug general/4106] " mcvet at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mcvet at redhat dot com @ 2007-02-27 20:46 UTC (permalink / raw)
  To: frysk-bugzilla

open frysk on anything:

java.lang.ArrayIndexOutOfBoundsException: 0
   at frysk.gui.srcwin.SourceWindow.generateProcStackTrace(FryskGui)
   at frysk.gui.srcwin.SourceWindow.finishSourceWin(FryskGui)
   at frysk.gui.srcwin.SourceWindow$LockObserver$31.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: SourceWindow breakage
           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
OtherBugsDependingO 1633
             nThis:


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

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


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

* [Bug general/4106] SourceWindow breakage
  2007-02-27 20:46 [Bug general/4106] New: SourceWindow breakage mcvet at redhat dot com
@ 2007-02-27 20:51 ` mcvet at redhat dot com
  2007-02-27 20:52 ` mcvet at redhat dot com
  2007-02-27 21:10 ` mcvet at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mcvet at redhat dot com @ 2007-02-27 20:51 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-27 20:50 -------
java.lang.ArrayIndexOutOfBoundsException: 0
   at frysk.gui.srcwin.SourceBuffer.highlightLine(FryskGui)
   at frysk.gui.srcwin.SourceBuffer.setScope(FryskGui)
   at frysk.gui.srcwin.SourceBuffer.<init>(FryskGui)
   at frysk.gui.srcwin.SourceView.<init>(FryskGui)
   at frysk.gui.srcwin.SourceWindow.populateStackBrowser(FryskGui)
   at frysk.gui.srcwin.SourceWindow.finishSourceWin(FryskGui)
   at frysk.gui.srcwin.SourceWindow$LockObserver$31.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)


-- 


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

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


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

* [Bug general/4106] SourceWindow breakage
  2007-02-27 20:46 [Bug general/4106] New: SourceWindow breakage mcvet at redhat dot com
  2007-02-27 20:51 ` [Bug general/4106] " mcvet at redhat dot com
@ 2007-02-27 20:52 ` mcvet at redhat dot com
  2007-02-27 21:10 ` mcvet at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mcvet at redhat dot com @ 2007-02-27 20:52 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-27 20:52 -------
Broken on following assumptions:

Line line = stackFrame.getLines()[0];

Assuming that the StackFrame will have an array of size at least 1 - but a 
StackFrame without debuginfo returns:

if (lines == null)
  lines = new Line[0];



-- 


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

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


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

* [Bug general/4106] SourceWindow breakage
  2007-02-27 20:46 [Bug general/4106] New: SourceWindow breakage mcvet at redhat dot com
  2007-02-27 20:51 ` [Bug general/4106] " mcvet at redhat dot com
  2007-02-27 20:52 ` mcvet at redhat dot com
@ 2007-02-27 21:10 ` mcvet at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mcvet at redhat dot com @ 2007-02-27 21:10 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-27 21:09 -------
2007-02-27  Mike Cvet  <mcvet@redhat.com>

	* SourceBuffer.java (highlightLine): Make sure that the StackFrame has 
	available lines before grabbing them. Fixes #4106.
	* SourceWindow.java (generateProcStackTrace): Ditto.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

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


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-27 20:46 [Bug general/4106] New: SourceWindow breakage mcvet at redhat dot com
2007-02-27 20:51 ` [Bug general/4106] " mcvet at redhat dot com
2007-02-27 20:52 ` mcvet at redhat dot com
2007-02-27 21:10 ` 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).