pcp
[Top] [All Lists]

PCP 2.3.0 dumps core on Linux system without module support

To: <pcp@xxxxxxxxxxx>
Subject: PCP 2.3.0 dumps core on Linux system without module support
From: "David Douthitt" <DDouthitt@xxxxxxxxx>
Date: Mon, 02 Dec 2002 10:56:43 -0600
Sender: pcp-bounce@xxxxxxxxxxx
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
 
 
<Prev in Thread] Current Thread [Next in Thread>