Summary: | debug crashs with infinite null pointer exceptions | ||
---|---|---|---|
Product: | frysk | Reporter: | Andrew Cagney <cagney> |
Component: | general | Assignee: | Rick Moseley <rmoseley> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 1633 |
Description
Andrew Cagney
2007-03-06 21:47:39 UTC
I cannot duplicate this problem on my FC5/x86 machine running the latest software/kernel(2.6.19-1.2288.2.4.fc5) nor can I duplicate it on my FC6/AMD 64 machine running the latest software/kernel(2.6.19-1.2911.6.4.fc6). *Almost* the proper thing occurs, the source window remains empty until I click on on a frame and then the assembly code appears in the window. This appears to be very similar to but not exactly like bz# 4093 (http://sourceware.org/bugzilla/show_bug.cgi?id=4093) which I fixed last week. Make sure the most current cdtparser.jar compiled with the change I committed on Feb 27 is being used. I am now getting this error on my machine. Will look at it. java.lang.NullPointerException at org.eclipse.cdt.internal.core.parser.Parser.LT(Parser.java:215) at org.eclipse.cdt.internal.core.parser.Parser.errorHandling(Parser.java:2873) at org.eclipse.cdt.internal.core.parser.Parser.failParseWithErrorHandling(Parser.java:3113) at org.eclipse.cdt.internal.core.parser.Parser.translationUnit(Parser.java:3059) at org.eclipse.cdt.internal.core.parser.Parser.parse(Parser.java:2970) at frysk.dom.cparser.CDTParser.parse(CDTParser.java:195) at frysk.dom.DOMImage.addSource(DOMImage.java:158) at frysk.rt.Line.getDOMSource(Line.java:128) at frysk.gui.srcwin.CurrentStackView.buildTree(CurrentStackView.java:168) at frysk.gui.srcwin.CurrentStackView.<init>(CurrentStackView.java:99) at frysk.gui.srcwin.SourceWindow.populateStackBrowser(SourceWindow.java:450) at frysk.gui.srcwin.SourceWindow.finishSourceWin(SourceWindow.java:390) at frysk.gui.srcwin.SourceWindow$LockObserver$31.run(SourceWindow.java:2419) at org.gnu.glib.CustomEvents.runEvents(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(Gui.java:244) at frysk.gui.FryskGui.main(FryskGui.java:59) Fixed in HEAD. Bug was fixed in org/eclipse/cdt/internal/core/parser/Parser.java(LT). |