public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
From: "pmuldoon at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: frysk-bugzilla@sourceware.org
Subject: [Bug general/4839] New: fhpd core file support broken
Date: Wed, 25 Jul 2007 15:01:00 -0000	[thread overview]
Message-ID: <20070725150145.4839.pmuldoon@redhat.com> (raw)

create a core file like:

[pmuldoon@localhost pkglibdir]$ `pwd`/funit-child 10000 --busy-loop &
[1] 9176

9176.9176: argv[0]=/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/funit-child
9176.9176: argv[1]=10000
9176.9176: argv[2]=--busy-loop
9176.9176: starting 9176
9176.9176: new thread 9176.9176

[pmuldoon@localhost pkglibdir]$ cd ..
[pmuldoon@localhost frysk]$ cd bindir/
[pmuldoon@localhost bindir]$ ./fcore 9176

Then do a fstack -a dump on it:

[pmuldoon@localhost bindir]$ ./fstack -a core.9176 
Task #9176
#0 0x003fc402 in __kernel_vsyscall () from [vdso]
#1 0x43e5c4dc in __libc_sigsuspend () from /lib/libc.so.6
#2 0x080491fe in server(void* np)
/home/pmuldoon/frysk_bin/frysk-core/../../frysk/frysk-core/frysk/pkglibdir/funit-child.c#281
 * tiddle
 int sigchld_pid
  int sig
   int i
    Unhandled type on line: 309
   sigset_t empty_mask
   pthread_attr_t pthread_attr
   Unhandled type on line: 294
   pid_t pid
   int i
   int i
    int pid
   int status
   int pid
   int i
   * argv
     ARGN
#3 0x08049c93 in main(int argc,* argv,* envp)
/home/pmuldoon/frysk_bin/frysk-core/../../frysk/frysk-core/frysk/pkglibdir/funit-child.c#544
 int argi
 array signals
 int i
 sigaction action
 Unhandled type on line: 489
  * arg
#4 0x43e48f70 in __libc_start_main () from /lib/libc.so.6
#5 0x08048c31 in _start () from
/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/funit-child

Then load that same core file into fhpd:

[pmuldoon@localhost bindir]$ ./fhpd
(fhpd) core core.9176
Attached to core file: core.9176
(fhpd) where
(fhpd) list
java.lang.NullPointerException
   at frysk.cli.hpd.ListCommand.handle(fhpd)
   at frysk.cli.hpd.CLI.execCommand(fhpd)
   at frysk.bindir.fhpd.main(fhpd)
Internal debugger error:

-- 
           Summary: fhpd core file support broken
           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=4839

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


             reply	other threads:[~2007-07-25 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 15:01 pmuldoon at redhat dot com [this message]
2007-07-27 14:59 ` [Bug general/4839] " npremji at redhat dot com

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=20070725150145.4839.pmuldoon@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).