From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19496 invoked by alias); 25 Jul 2007 15:01:54 -0000 Received: (qmail 19457 invoked by uid 48); 25 Jul 2007 15:01:45 -0000 Date: Wed, 25 Jul 2007 15:01:00 -0000 From: "pmuldoon at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20070725150145.4839.pmuldoon@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4839] New: fhpd core file support broken X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00169.txt.bz2 List-Id: 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.