pcp
[Top] [All Lists]

Re: [announce] PCP 2.3.0-11 available for testing

To: Mark Goodwin <markgw@xxxxxxx>
Subject: Re: [announce] PCP 2.3.0-11 available for testing
From: Troy Dawson <dawson@xxxxxxxx>
Date: Mon, 17 Feb 2003 15:30:13 -0600
Cc: pcp@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0302180807310.14087-100000@sherman.melbourne.sgi.com>
References: <Pine.LNX.4.44.0302180807310.14087-100000@sherman.melbourne.sgi.com>
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021204
No problem, I should also know more about debugging, unfortunatly I don't. I thought that was looking a little sparce, but didn't know what to send. Here ya go.

# gdb /usr/share/pcp/bin/pmcd
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(no debugging symbols found)...
(gdb) run -f
Starting program: /usr/share/pcp/bin/pmcd -f

Program received signal SIGSEGV, Segmentation fault.
0x42080f40 in strncpy () from /lib/i686/libc.so.6
(gdb) where
#0  0x42080f40 in strncpy () from /lib/i686/libc.so.6
#1  0x4007d1b0 in read_ksyms (end_addr=0xbfffe870) at ksym.c:271
#2  0x4007dac4 in read_ksym_sources () at ksym.c:481
#3  0x40072fd8 in linux_init (dp=0x8063458) at pmda.c:4005
#4  0x080518ab in GetAgentDso ()
#5  0x08051b0f in ContactAgents ()
#6  0x08051e55 in ParseInitAgents ()
#7  0x0804d25a in main ()
#8  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)


Troy

Mark Goodwin wrote:
On Mon, 17 Feb 2003, Troy Dawson wrote:


A simple recipe for getting a backtrace is as follows:

        gdb /usr/share/pcp/bin/pmcd
        gdb> run -f


sorry, should have been more explicit - I need the backtrace too,
so please add the following gdb command to the above instructions:

        gdb> where


Thanks
-- Mark




-- __________________________________________________ Troy Dawson dawson@xxxxxxxx (630)840-6468 Fermilab ComputingDivision/OSS CSI Group __________________________________________________


<Prev in Thread] Current Thread [Next in Thread>