public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5512] New: list command NPEs when trying to list a multi-threaded task
@ 2007-12-19 19:31 rmoseley at redhat dot com
  0 siblings, 0 replies; only message in thread
From: rmoseley at redhat dot com @ 2007-12-19 19:31 UTC (permalink / raw)
  To: frysk-bugzilla

After running a process that is multi-threaded and it stops at a break point,
trying to do a "list" causes an NPE.

(fhpd) run ../pkglibdir/funit-threads-looper
Attached to process PID
(fhpd) break bak
(fhpd) go
Running process PID
(fhpd) Breakpoint 0 bak
(fhpd) list
(fhpd) list
[0.0]
   98    {
   99      while (1)
  100        {
  101          //fprintf (stderr,"attach %s pid=%d -task tid=%d -cli\n", myname,
getpid(), gettid());
  102          int a = 0;
  103          int b = 0;
  104          int c = 0;
  105          while (1)
  106            {
  107              a++;
* 108              b++;
  109              c++;
  110              if (a + b > 4)
  111                {
  112                  a = a - c;
  113                  b = b - c;
  114                  c = 0;
  115                }
  116            }
  117        }
[0.1]
Internal Error: java.lang.NullPointerException
   at frysk.hpd.ListCommand.interpret(ListCommand.java:100)
   at frysk.hpd.ParameterizedCommand.interpret(ParameterizedCommand.java:142)
   at frysk.hpd.MultiLevelCommand.interpret(MultiLevelCommand.java:138)
   at frysk.hpd.CLI.execCommand(CLI.java:267)
   at frysk.bindir.fhpd.main(fhpd.java:163)

-- 
           Summary: list command NPEs when trying to list a multi-threaded
                    task
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: rmoseley at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5512

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-19 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19 19:31 [Bug general/5512] New: list command NPEs when trying to list a multi-threaded task rmoseley 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).