public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
From: "rmoseley at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: frysk-bugzilla@sourceware.org
Subject: [Bug general/5512] New: list command NPEs when trying to list a multi-threaded task
Date: Wed, 19 Dec 2007 19:31:00 -0000	[thread overview]
Message-ID: <20071219193100.5512.rmoseley@redhat.com> (raw)

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.


                 reply	other threads:[~2007-12-19 19:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071219193100.5512.rmoseley@redhat.com \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=frysk-bugzilla@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).