public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4839] New: fhpd core file support broken
@ 2007-07-25 15:01 pmuldoon at redhat dot com
  2007-07-27 14:59 ` [Bug general/4839] " npremji at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: pmuldoon at redhat dot com @ 2007-07-25 15:01 UTC (permalink / raw)
  To: frysk-bugzilla

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug general/4839] fhpd core file support broken
  2007-07-25 15:01 [Bug general/4839] New: fhpd core file support broken pmuldoon at redhat dot com
@ 2007-07-27 14:59 ` npremji at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: npremji at redhat dot com @ 2007-07-27 14:59 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|npremji at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-27 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-25 15:01 [Bug general/4839] New: fhpd core file support broken pmuldoon at redhat dot com
2007-07-27 14:59 ` [Bug general/4839] " npremji 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).