Bug 4631 - SourceWindow crashes when exposed to bash source
Summary: SourceWindow crashes when exposed to bash source
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2007-06-12 14:35 UTC by Sami Wagiaalla
Modified: 2007-08-01 20:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Wagiaalla 2007-06-12 14:35:49 UTC
yum install bash-debuginfo
then start a bash debugsession.

java.lang.NullPointerException
   at org.eclipse.cdt.internal.core.parser.Parser.consume(frysk)
   at org.eclipse.cdt.internal.core.parser.Parser.errorHandling(frysk)
   at org.eclipse.cdt.internal.core.parser.Parser.failParseWithErrorHandling(frysk)
   at org.eclipse.cdt.internal.core.parser.Parser.translationUnit(frysk)
   at org.eclipse.cdt.internal.core.parser.Parser.parse(frysk)
   at frysk.dom.cparser.CDTParser.parse(frysk)
   at frysk.dom.DOMImage.addSource(frysk)
   at frysk.rt.Line.getDOMSource(frysk)
   at frysk.gui.srcwin.CurrentStackView.appendRows(frysk)
   at frysk.gui.srcwin.CurrentStackView.buildTree(frysk)
   at frysk.gui.srcwin.CurrentStackView.<init>(frysk)
   at frysk.gui.srcwin.SourceWindow.populateStackBrowser(frysk)
   at frysk.gui.srcwin.SourceWindow.finishSourceWin(frysk)
   at frysk.gui.srcwin.SourceWindow$LockObserver$39.run(frysk)
   at org.gnu.glib.CustomEvents.runEvents(libgtkjava-2.10.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.10.so)
   at org.gnu.gtk.Gtk.main(libgtkjava-2.10.so)
   at frysk.gui.Gui.gui(frysk)
   at frysk.bindir.frysk.main(frysk)
Comment 1 Rick Moseley 2007-08-01 19:46:17 UTC
Fixed.  There were numerous errors, the worst being the parser choking on the
"shell.c" source code.  That was fixed and the parser changed so it will not
abort on NPE's or array bounds problems.  The source code will go unmarked and
be shown with no highlights.
Comment 2 Rick Moseley 2007-08-01 20:01:42 UTC
*** Bug 4841 has been marked as a duplicate of this bug. ***