Package: collectd
Version: 5.4.1-1
Severity: important

Hi,

(I'm using a backport of 5.4.1-1 to wheezy...)

I have a collectd.conf with

   Include "/etc/collectd/conf.d/*.conf"

and

/etc/collectd/conf.d/customer.conf

with

    # MANAGED BY PUPPET - DO NOT TOUCH
    Include "/etc/collectd/conf_customer.d/*.conf"


and as a result collectd segfaults while reading the config...



(gdb) thread apply all bt full

Thread 1 (Thread 0x7ffff7fef700 (LWP 23607)):
#0  0x00007ffff7016094 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007ffff70184d4 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00007ffff701b816 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3  0x00007ffff701bd60 in realloc () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#4  0x000000000040a2fd in cf_ci_replace_child (offset=4, dst=<optimized out>, 
src=<optimized out>)
    at configfile.c:480
        temp = 0x0
        i = <optimized out>
#5  cf_include_all (depth=<optimized out>, root=<optimized out>) at 
configfile.c:594
        new = <optimized out>
        pattern = 0x0
        j = <optimized out>
        old = <optimized out>
        i = <optimized out>
#6  cf_read_file (depth=0, pattern=0x0, file=<optimized out>) at 
configfile.c:642
        root = 0x62a3e0
#7  cf_read_generic (path=path@entry=0x7fffffffee8f 
"/etc/collectd/collectd.conf", 
    pattern=pattern@entry=0x0, depth=depth@entry=0) at configfile.c:818
        temp = <optimized out>
        statbuf = {st_dev = 65024, st_ino = 143235, st_nlink = 1, st_mode = 
33188, st_uid = 0, st_gid = 0, 
          __pad0 = 0, st_rdev = 0, st_size = 306, st_blksize = 4096, st_blocks 
= 8, st_atim = {
            tv_sec = 1401795390, tv_nsec = 175536763}, st_mtim = {tv_sec = 
1397476274, tv_nsec = 0}, 
          st_ctim = {tv_sec = 1401561454, tv_nsec = 821300175}, __unused = {0, 
0, 0}}
        root = 0x6260a0
        status = <optimized out>
        path_ptr = <optimized out>
        we = {we_wordc = 1, we_wordv = 0x626010, we_offs = 0}
        i = <optimized out>
#8  0x000000000040aa60 in cf_read (filename=filename@entry=0x7fffffffee8f 
"/etc/collectd/collectd.conf")
    at configfile.c:1062
        conf = <optimized out>
        i = <optimized out>
#9  0x00000000004067ee in main (argc=4, argv=0x7fffffffec78) at collectd.c:466
        sig_int_action = {__sigaction_handler = {sa_handler = 0x381728, 
sa_sigaction = 0x381728}, 
          sa_mask = {__val = {3675944, 18064, 37168, 2097152, 25769803778, 
1592128, 140737488349664, 
              140737488349776, 140737354115488, 2, 140737347116840, 
140737488349776, 140737351947205, 
              140737354076160, 140737354127832, 0}}, sa_flags = -5624, 
sa_restorer = 0x7fffffffea10}
        sig_term_action = {__sigaction_handler = {sa_handler = 0x7ffff7dea1e0, 
            sa_sigaction = 0x7ffff7dea1e0}, sa_mask = {__val = 
{140737488349664, 3675944, 0, 104, 
              140737349262824, 18446744072981839872, 140737354115488, 2, 
140737347142871, 140737488348640, 
              18446744072793096192, 18446726195228049408, 27455186257, 0, 0, 
0}}, sa_flags = 0, 
          sa_restorer = 0}
        sig_usr1_action = {__sigaction_handler = {sa_handler = 0x46474e552, 
sa_sigaction = 0x46474e552}, 
          sa_mask = {__val = {140737488349664, 140737488349776, 
140737354114240, 0, 140737349263208, 
              140737354077448, 140737351947205, 1, 140737354127832, 0, 0, 
140737349262824, 
              140737351946972, 140737354076160, 140737354080256, 
140737354127832}}, sa_flags = 0, 
          sa_restorer = 0x10220a044103000}
        sig_pipe_action = {__sigaction_handler = {sa_handler = 
0xffffffffd4a00000, 
            sa_sigaction = 0xffffffffd4a00000}, sa_mask = {__val = 
{140737354114240, 0, 140737349281953, 
              140737488348912, 18446744072828747776, 18446726195228049408, 
2891346194603737376, 
              6345572219099545636, 9225061059625536128, 36099303206426640, 
4574562436009993, 
              1157706579345145856, 140737488350320, 140737354083984, 
1128128877175185, 
              4788199386330641403}}, sa_flags = -5664, sa_restorer = 
0x7fffffffea50}
        configfile = 0x7fffffffee8f "/etc/collectd/collectd.conf"
        test_config = 1
        test_readall = 0
        basedir = <optimized out>
        sig_chld_action = {__sigaction_handler = {sa_handler = 0, sa_sigaction 
= 0}, sa_mask = {__val = {
              4210004, 0, 140737351950866, 0, 140737351892824, 140737488349776, 
140737351947205, 
              140737354076160, 0, 140737351950816, 140737351934218, 
140737354129432, 140737488349088, 
              140737488349712, 140737488349088, 140737354077808}}, sa_flags = 
8, sa_restorer = 0x7c96f087}
        pid = <optimized out>
        daemonize = 1
        exit_status = 0




-- 
Mit freundlichen Grüßen


Bernd Zeimetz
Systems Engineer
Debian Developer

conova communications GmbH
Web    | http://www.conova.com/
E-Mail | [email protected]

Zentrale Salzburg
Karolingerstraße 36A
5020 Salzburg

Tel | +43 (0) 662 22 00 - 313
Fax | +43 (0) 662 22 00 - 209

Es gelten die Allgemeinen Geschäftsbedingungen der
conova communications GmbH, http://www.conova.com/de/agb/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to