This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/4856] New: Rich stack traces (fstack -a) throw a NPE exception


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]