pcp
[Top] [All Lists]

pmcd dumps core on containers test

To: PCP <pcp@xxxxxxxxxxx>
Subject: pmcd dumps core on containers test
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 12 Feb 2015 08:24:48 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
On vm18 (x86_64 LinuxMint 12) qa/837 is killing pmcd at this command

$ pminfo -v --container=test

This is a current PCP build from my git repo, which is up to date wrt the 
official tree.

Here's the callback from gdb attached to the failing pmcd:

(gdb) c
Continuing.

Program received signal SIGABRT, Aborted.
0x00007f00274653e5 in __GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) where
#0  0x00007f00274653e5 in __GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f0027468b4b in __GI_abort () at abort.c:92
#2  0x00007f002749f4d3 in __libc_message (do_abort=2, 
    fmt=0x7f002758fe41 "*** %s ***: %s terminated\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3  0x00007f002752aee7 in __GI___fortify_fail (
    msg=0x7f002758fdd8 "buffer overflow detected") at fortify_fail.c:32
#4  0x00007f0027529e00 in __GI___chk_fail () at chk_fail.c:29
#5  0x00007f00275290e6 in __strncpy_chk (s1=<optimised out>, 
    s2=<optimised out>, n=<optimised out>, s1len=<optimised out>)
    at strncpy_chk.c:34
#6  0x00007f0027c5cb5c in strncpy (__len=5, __src=<optimised out>, 
    __dest=<optimised out>) at /usr/include/x86_64-linux-gnu/bits/string3.h:121
#7  __pmdaSendRootPDUContainer (fd=5, pdutype=<optimised out>, 
    pid=<optimised out>, name=<optimised out>, len=<optimised out>, 
    status=<optimised out>) at pduroot.c:87
#8  0x00007f0027c5d054 in pmdaRootContainerHostName (clientfd=5, 
    name=<optimised out>, namelen=<optimised out>, buffer=0x7f0025956bc0 "", 
    buflen=64) at root.c:116
#9  0x00007f0025755052 in ?? () from /var/lib/pcp/pmdas/pmcd/pmda_pmcd.so
#10 0x00007f0028094240 in SendFetch (ctxnum=0, cPtr=0x7f00285367f0, 
    aPtr=0x7f0028530718, dpList=0x7f0028536da0) at dofetch.c:263
---Type <return> to continue, or q <return> to quit---
#11 DoFetch (cip=0x7f00285367f0, pb=0x7f002854a000) at dofetch.c:407
#12 0x00007f002808e866 in HandleClientInput (fdsPtr=0x7fff269236a0)
    at pmcd.c:325
#13 0x00007f002808d47f in ClientLoop () at pmcd.c:695
#14 main (argc=<optimised out>, argv=<optimised out>) at pmcd.c:884

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