pcp
[Top] [All Lists]

Re: PCP 2.3.0 dumps core on Linux system without module support

To: David Douthitt <DDouthitt@xxxxxxxxx>
Subject: Re: PCP 2.3.0 dumps core on Linux system without module support
From: Mike Mason <mmlnx@xxxxxxxxxx>
Date: Mon, 02 Dec 2002 11:15:29 -0800
Cc: pcp@xxxxxxxxxxx
References: <sdeb3c70.037@email1.cuna.coop>
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
Are you using the latest 2.3.0 source tarball dated 11/21/2002 at 8:01 PM? There was a known problem in that area of ksym.c that _should be_ fixed in the latest source. If you're using the latest source then we still have a problem.

--
Mike Mason
IBM Linux Technology Center
Beaverton, OR, USA
mmlnx@xxxxxxxxxx

David Douthitt wrote:
I'm running a system using the Linux 2.4.19-aa1 kernel without module support. pmcd dumps core after running in ksyms.c. Specifically, it dumps core in the find_dup_name function on the line:
res = strcmp(ksym_a[i].name, name);
since ksym_a[i] is equal to 0x0. This function is called from line 417:
/* Determine if symbol is already in ksym array.
If so, make sure the addresses match. */
res = find_dup_name(ix - 1, addr, strbuf);
which is called from:
void
read_ksym_sources()
{
__psint_t end_addr;
/* ...snip... */
if (read_ksyms(&end_addr)) /* read /proc/ksyms first */
read_sysmap(end_addr); /* then System.map */
}
I'm not sure how to fix this; checking for a null is easy but fixing (and understanding) the cause is better. I have a corefile available....
The reason I tried 2.3.0 is because many of my systems are reporting no disk performance measurements (disk.*) at all.
David Douthitt
CUNA & Affiliates
UNIX Systems Administrator
ddouthitt@xxxxxxxxx <mailto:ddouthitt@xxxxxxxxx>



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