| Summary: | NPE's when source window is started with johntheripper on x86_64 dual cpu/FC6 | ||
|---|---|---|---|
| Product: | frysk | Reporter: | Rick Moseley <rmoseley> |
| Component: | general | Assignee: | Tim Moore <moore> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cagney, rmoseley, timoore |
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | |||
| Bug Blocks: | 1633 | ||
|
Description
Rick Moseley
2006-12-07 16:39:33 UTC
I've narrowed this down to null StackFrames coming in to the function, which shouldn't happen. This is bad news because the reason they are null is as follows: Error generating stack trace null java.lang.NullPointerException at frysk.rt.StackCallbacks.accessReg(FryskGui) at lib.unwind.StackTraceCreator.unwind_setup(FryskGui) at lib.unwind.StackTraceCreator.createStackTrace(FryskGui) at frysk.rt.StackFactory.createStackFrame(FryskGui) at frysk.rt.StackFactory.createStackFrame(FryskGui) at frysk.gui.srcwin.SourceWindow.generateProcStackTrace(FryskGui) at frysk.gui.srcwin.SourceWindow.finishSourceWin(FryskGui) at frysk.gui.srcwin.SourceWindow$LockObserver$25.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) Added blocker. Once again, the program is looking for register 'st5' in accessReg. The line:
long value = isa.getRegisterByName(registerName).get(myTask);
blows up because isa.getRegisterByName("st5") returns null.
So what's going on here is that there is no "st" series register in LinuxIa32On64.java, and that is where Frysk is looking for the register, since the build target "linux-x86-64-mmx" is actually building for i386 + mmx registers, and Rick built this on a 64-bit system. Looks like these just need to be added to that class. I've verified that Tim's latest patches to linuxIa32On64 fix this problem - re- assigning to Tim to close this bug. ping? Fixed by Tim ages ago. |