public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4856] New: Rich stack traces (fstack -a) throw a NPE exception
@ 2007-07-27 16:56 pmuldoon at redhat dot com
2007-07-27 17:32 ` [Bug general/4856] " pmuldoon at redhat dot com
2007-07-27 19:35 ` swagiaal at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: pmuldoon at redhat dot com @ 2007-07-27 16:56 UTC (permalink / raw)
To: frysk-bugzilla
This is on Fedora 7, with the process bash. Reproducible on a live process and a
core file.
[pmuldoon@localhost frysk-core]$ ps
PID TTY TIME CMD
20214 pts/1 00:00:00 bash
[pmuldoon@localhost frysk-core]$ ./frysk/bindir/fstack -a 20214
Exception in thread "main" java.lang.NullPointerException
at frysk.stack.StackFactory.printRichStackTrace(StackFactory.java:168)
at frysk.stack.StackFactory.printTaskStackTrace(StackFactory.java:106)
at frysk.util.StacktraceAction.printTasks(StacktraceAction.java:151)
at
frysk.util.StacktraceAction.allExistingTasksCompleted(StacktraceAction.java:196)
at frysk.proc.ProcBlockAction.checkFinish(ProcBlockAction.java:278)
at frysk.proc.ProcBlockAction.access$4(ProcBlockAction.java:263)
at frysk.proc.ProcBlockAction$1.execute(ProcBlockAction.java:98)
at frysk.event.EventLoop.runEventLoop(EventLoop.java:373)
at frysk.event.EventLoop.run(EventLoop.java:485)
at frysk.bindir.fstack.stackPid(fstack.java:151)
at frysk.bindir.fstack.access$2(fstack.java:146)
at frysk.bindir.fstack$2.parsePids(fstack.java:169)
at frysk.util.CommandlineParser.doParse(CommandlineParser.java:153)
at frysk.util.CommandlineParser.parse(CommandlineParser.java:112)
at frysk.bindir.fstack.main(fstack.java:239)
--
Summary: Rich stack traces (fstack -a) throw a NPE exception
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: pmuldoon at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4856
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug general/4856] Rich stack traces (fstack -a) throw a NPE exception
2007-07-27 16:56 [Bug general/4856] New: Rich stack traces (fstack -a) throw a NPE exception pmuldoon at redhat dot com
@ 2007-07-27 17:32 ` pmuldoon at redhat dot com
2007-07-27 19:35 ` swagiaal at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: pmuldoon at redhat dot com @ 2007-07-27 17:32 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From pmuldoon at redhat dot com 2007-07-27 17:32 -------
It fails at frame 2
[pmuldoon@localhost frysk-core]$ ./frysk/bindir/fstack 20214
Task #20214
#0 0x00110402 in __kernel_vsyscall ()
#1 0x43ec2c19 in __waitpid_nocancel ()
#2 0x100f41dd in [unknown]
because the call made to dwfl.getModule() returns null at that address (so
.getName() will cause an NPE)
[pmuldoon@localhost frysk-core]$ ./frysk/bindir/fstack -a 20214
Subprogram is null. At Adjusted address: 0x110402
Subprogram is null. At Adjusted address: 0x43ec2c18
Subprogram is null. At Adjusted address: 0x100f41dc
dwfl.getModule(0x100f41dc) returns null
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4856
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug general/4856] Rich stack traces (fstack -a) throw a NPE exception
2007-07-27 16:56 [Bug general/4856] New: Rich stack traces (fstack -a) throw a NPE exception pmuldoon at redhat dot com
2007-07-27 17:32 ` [Bug general/4856] " pmuldoon at redhat dot com
@ 2007-07-27 19:35 ` swagiaal at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: swagiaal at redhat dot com @ 2007-07-27 19:35 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From swagiaal at redhat dot com 2007-07-27 19:35 -------
Index: frysk-core/frysk/util/ChangeLog
+2007-07-27 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * TestFStack.java (multiThreaded): Adjusted regex to account
+ for the extra lib information.
+
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=4856
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-27 19:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-27 16:56 [Bug general/4856] New: Rich stack traces (fstack -a) throw a NPE exception pmuldoon at redhat dot com
2007-07-27 17:32 ` [Bug general/4856] " pmuldoon at redhat dot com
2007-07-27 19:35 ` swagiaal 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).