public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/3913] New: Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui)
@ 2007-01-24 15:41 mcvet at redhat dot com
2007-01-24 16:31 ` [Bug general/3913] " mcvet at redhat dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: mcvet at redhat dot com @ 2007-01-24 15:41 UTC (permalink / raw)
To: frysk-bugzilla
Stepping and running through a process with the SourceWindow, and then trying
to bring up the RegisterWindow results in a core exception:
frysk.proc.BitfieldAccessor.getIntField(FryskGui)
frysk.gui.register.RegisterWindow.stringUsingView(FryskGui)
frysk.gui.register.RegisterWindow.stringUsingView(FryskGui)
frysk.gui.register.RegisterWindow.refreshList(FryskGui)
frysk.gui.register.RegisterWindow.load(FryskGui)
frysk.gui.register.RegisterWindow.finishRegWin(FryskGui)
frysk.gui.register.RegisterWindow$LockObserver.update(FryskGui)
java.util.Observable.notifyObservers(libgcj.so.7rh)
frysk.rt.RunState.updateExecuted(FryskGui)
frysk.proc.Proc$14.add(FryskGui)
frysk.proc.LinuxPtraceTaskState$Attached.handleAddObservation(FryskGui)
frysk.proc.Task.handleAddObservation(FryskGui)
frysk.proc.TaskObservation.handleAdd(FryskGui)
frysk.proc.LinuxPtraceProcState$Attaching.allAttached(FryskGui)
frysk.proc.LinuxPtraceProcState$Attaching$ToMainTask.handleTaskAttachCompleted(FryskGui)
frysk.proc.Proc$4.execute(FryskGui)
frysk.event.EventLoop.runEventLoop(FryskGui)
frysk.event.EventLoop.run(FryskGui)
frysk.gui.Gui$4.run(FryskGui)
java.lang.Thread.run(libgcj.so.7rh)
--
Summary: Core exception at:
frysk.proc.BitfieldAccessor.getIntField(FryskGui)
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=3913
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/3913] Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui)
2007-01-24 15:41 [Bug general/3913] New: Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui) mcvet at redhat dot com
@ 2007-01-24 16:31 ` mcvet at redhat dot com
2007-01-24 17:59 ` mcvet at redhat dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mcvet at redhat dot com @ 2007-01-24 16:31 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mcvet at redhat dot com 2007-01-24 16:30 -------
x86_64
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3913
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/3913] Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui)
2007-01-24 15:41 [Bug general/3913] New: Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui) mcvet at redhat dot com
2007-01-24 16:31 ` [Bug general/3913] " mcvet at redhat dot com
@ 2007-01-24 17:59 ` mcvet at redhat dot com
2007-01-24 18:23 ` mcvet at redhat dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mcvet at redhat dot com @ 2007-01-24 17:59 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mcvet at redhat dot com 2007-01-24 17:59 -------
Thanks to Mark's recent patch, we now know which Exception it was:
java.lang.NullPointerException
at frysk.proc.BitfieldAccessor.getIntField(FryskGui)
at frysk.gui.register.RegisterWindow.stringUsingView(FryskGui)
at frysk.gui.register.RegisterWindow.stringUsingView(FryskGui)
at frysk.gui.register.RegisterWindow.refreshList(FryskGui)
at frysk.gui.register.RegisterWindow.load(FryskGui)
at frysk.gui.register.RegisterWindow.finishRegWin(FryskGui)
at frysk.gui.register.RegisterWindow$LockObserver.update(FryskGui)
at java.util.Observable.notifyObservers(libgcj.so.7rh)
at frysk.rt.RunState.updateExecuted(FryskGui)
at frysk.proc.Task.notifyInstruction(FryskGui)
at frysk.proc.LinuxPtraceTaskState$Running.handleTrappedEvent(FryskGui)
at frysk.proc.Task.processTrappedEvent(FryskGui)
at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld$5.stopped(FryskGui)
at frysk.sys.Wait.waitAllNoHang(FryskGui)
at frysk.proc.LinuxPtraceHost$PollWaitOnSigChld.execute(FryskGui)
at frysk.event.EventLoop.runEventLoop(FryskGui)
at frysk.event.EventLoop.run(FryskGui)
at frysk.gui.Gui$4.run(FryskGui)
at java.lang.Thread.run(libgcj.so.7rh)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3913
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/3913] Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui)
2007-01-24 15:41 [Bug general/3913] New: Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui) mcvet at redhat dot com
2007-01-24 16:31 ` [Bug general/3913] " mcvet at redhat dot com
2007-01-24 17:59 ` mcvet at redhat dot com
@ 2007-01-24 18:23 ` mcvet at redhat dot com
2007-01-24 19:32 ` mark at klomp dot org
2007-01-24 19:33 ` mark at klomp dot org
4 siblings, 0 replies; 6+ messages in thread
From: mcvet at redhat dot com @ 2007-01-24 18:23 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mcvet at redhat dot com 2007-01-24 18:23 -------
Seems to be reproduceable: If #3913 can be reproduced, than an extra step leads
to this error.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3913
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/3913] Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui)
2007-01-24 15:41 [Bug general/3913] New: Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui) mcvet at redhat dot com
` (2 preceding siblings ...)
2007-01-24 18:23 ` mcvet at redhat dot com
@ 2007-01-24 19:32 ` mark at klomp dot org
2007-01-24 19:33 ` mark at klomp dot org
4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2007-01-24 19:32 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mark at klomp dot org 2007-01-24 19:32 -------
(In reply to comment #2)
> Thanks to Mark's recent patch, we now know which Exception it was:
>
> java.lang.NullPointerException
> at frysk.proc.BitfieldAccessor.getIntField(FryskGui)
> at frysk.gui.register.RegisterWindow.stringUsingView(FryskGui)
> at frysk.gui.register.RegisterWindow.stringUsingView(FryskGui)
> at frysk.gui.register.RegisterWindow.refreshList(FryskGui)
That seems to indicate that value is null. Maybe the following debug info helps
find the real problem, or at least verifies that value is indeed null.
diff -u -r1.34 RegisterWindow.java
--- frysk-gui/frysk/gui/register/RegisterWindow.java 23 Jan 2007 16:47:34
-0000 1.34
+++ frysk-gui/frysk/gui/register/RegisterWindow.java 24 Jan 2007 19:30:31 -0000
@@ -484,6 +484,10 @@
int bitlength = register.getLength() * 8;
BigInteger value
= (BigInteger)model.getValue(iter, (DataColumnObject)cols[11]);
+
+ if (value == null)
+ System.err.println("Whoa! value null with: " + register);
+
RegisterView view = register.getViews()[0];
// Binary little endian
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3913
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug general/3913] Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui)
2007-01-24 15:41 [Bug general/3913] New: Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui) mcvet at redhat dot com
` (3 preceding siblings ...)
2007-01-24 19:32 ` mark at klomp dot org
@ 2007-01-24 19:33 ` mark at klomp dot org
4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2007-01-24 19:33 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mark at klomp dot org 2007-01-24 19:33 -------
(In reply to comment #3)
> Seems to be reproduceable: If #3913 can be reproduced, than an extra step leads
> to this error.
That seems a little recursive. If this bug occurs then it is reproduced?
Could you give some more steps?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3913
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-01-24 19:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-24 15:41 [Bug general/3913] New: Core exception at: frysk.proc.BitfieldAccessor.getIntField(FryskGui) mcvet at redhat dot com
2007-01-24 16:31 ` [Bug general/3913] " mcvet at redhat dot com
2007-01-24 17:59 ` mcvet at redhat dot com
2007-01-24 18:23 ` mcvet at redhat dot com
2007-01-24 19:32 ` mark at klomp dot org
2007-01-24 19:33 ` mark at klomp dot org
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).