Package: collectd Version: 5.1.0-3 Severity: normal Tags: patch --- Please enter the report below this line. --- When enabling the ethstat plugin collectd crashes on startup:
$ /etc/init.d/collectd start [....] Starting statistics collection and monitoring daemon: collectd*** glibc detected *** /usr/sbin/collectd: munmap_chunk(): invalid pointer: 0x00000000008cd980 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7f988c731d76] /usr/sbin/collectd(cf_util_get_string+0x37)[0x409537] /usr/lib/collectd/ethstat.so(+0xf80)[0x7f988b495f80] /usr/sbin/collectd(cf_read+0x231)[0x409aa1] /usr/sbin/collectd(main+0xc9)[0x406079] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f988c6d9ead] /usr/sbin/collectd[0x40696d] ======= Memory map: ======== 00400000-00422000 r-xp 00000000 fd:00 800730 /usr/sbin/collectd 00621000-00622000 r--p 00021000 fd:00 800730 /usr/sbin/collectd 00622000-00623000 rw-p 00022000 fd:00 800730 /usr/sbin/collectd 008aa000-008ec000 rw-p 00000000 00:00 0 [heap] 7f98859af000-7f98859c4000 r-xp 00000000 fd:00 1704299 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f98859c4000-7f9885bc4000 ---p 00015000 fd:00 1704299 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f9885bc4000-7f9885bc5000 rw-p 00015000 fd:00 1704299 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f9885bc5000-7f9885bc7000 r-xp 00000000 fd:00 800668 /usr/lib/collectd/vmem.so 7f9885bc7000-7f9885dc6000 ---p 00002000 fd:00 800668 /usr/lib/collectd/vmem.so 7f9885dc6000-7f9885dc7000 r--p 00001000 fd:00 800668 /usr/lib/collectd/vmem.so 7f9885dc7000-7f9885dc8000 rw-p 00002000 fd:00 800668 /usr/lib/collectd/vmem.so 7f9885dc8000-7f9885dc9000 r-xp 00000000 fd:00 800708 /usr/lib/collectd/users.so 7f9885dc9000-7f9885fc8000 ---p 00001000 fd:00 800708 /usr/lib/collectd/users.so 7f9885fc8000-7f9885fc9000 r--p 00000000 fd:00 800708 /usr/lib/collectd/users.so 7f9885fc9000-7f9885fca000 rw-p 00001000 fd:00 800708 /usr/lib/collectd/users.so 7f9885fca000-7f9885fcc000 r-xp 00000000 fd:00 800693 /usr/lib/collectd/uptime.so 7f9885fcc000-7f98861cb000 ---p 00002000 fd:00 800693 /usr/lib/collectd/uptime.so 7f98861cb000-7f98861cc000 r--p 00001000 fd:00 800693 /usr/lib/collectd/uptime.so 7f98861cc000-7f98861cd000 rw-p 00002000 fd:00 800693 /usr/lib/collectd/uptime.so 7f98861cd000-7f98861cf000 r-xp 00000000 fd:00 798364 /usr/lib/collectd/swap.so 7f98861cf000-7f98863ce000 ---p 00002000 fd:00 798364 /usr/lib/collectd/swap.so 7f98863ce000-7f98863cf000 r--p 00001000 fd:00 798364 /usr/lib/collectd/swap.so 7f98863cf000-7f98863d0000 rw-p 00002000 fd:00 798364 /usr/lib/collectd/swap.so 7f98863d0000-7f98863d5000 r-xp 00000000 fd:00 1068051 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7f98863d5000-7f98865d4000 ---p 00005000 fd:00 1068051 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7f98865d4000-7f98865d5000 rw-p 00004000 fd:00 1068051 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7f98865d5000-7f98865d7000 r-xp 00000000 fd:00 1068043 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7f98865d7000-7f98867d7000 ---p 00002000 fd:00 1068043 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7f98867d7000-7f98867d8000 rw-p 00002000 fd:00 1068043 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7f98867d8000-7f98867ff000 r-xp 00000000 fd:00 1707727 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 7f98867ff000-7f98869ff000 ---p 00027000 fd:00 1707727 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 7f98869ff000-7f9886a01000 r--p 00027000 fd:00 1707727 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 7f9886a01000-7f9886a02000 rw-p 00029000 fd:00 1707727 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 7f9886a02000-7f9886a3e000 r-xp 00000000 fd:00 1707764 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 7f9886a3e000-7f9886c3e000 ---p 0003c000 fd:00 1707764 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 7f9886c3e000-7f9886c3f000 rw-p 0003c000 fd:00 1707764 /lib/x86_64-linux-gnu/libpcre.so.3.13.1 7f9886c3f000-7f9886c4b000 r-xp 00000000 fd:00 1068201 /usr/lib/x86_64-linux-gnu/libffi.so.5.0.10 7f9886c4b000-7f9886e4b000 ---p 0000c000 fd:00 1068201 /usr/lib/x86_64-linux-gnu/libffi.so.5.0.10 7f9886e4b000-7f9886e4c000 rw-p 0000c000 fd:00 1068201 /usr/lib/x86_64-linux-gnu/libffi.so.5.0.10 7f9886e4c000-7f9886e4d000 r-xp 00000000 fd:00 1049169 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.3200.4 7f9886e4d000-7f988704c000 ---p 00001000 fd:00 1049169 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.3200.4 7f988704c000-7f988704d000 r--p 00000000 fd:00 1049169 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.3200.4 7f988704d000-7f988704e000 rw-p 00001000 fd:00 1049169 /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.3200.4 7f988704e000-7f9887184000 r-xp 00000000 fd:00 1068040 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7f9887184000-7f9887384000 ---p 00136000 fd:00 1068040 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7f9887384000-7f988738a000 rw-p 00136000 fd:00 1068040 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7f988738a000-7f9887393000 r-xp 00000000 fd:00 1068067 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7f9887393000-7f9887592000 ---p 00009000 fd:00 1068067 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7f9887592000-7f9887593000 rw-p 00008000 fd:00 1068067 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7f9887593000-7f98875b2000 r-xp 00000000 fd:00 1049098 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7f98875b2000-7f98877b1000 ---p 0001f000 fd:00 1049098 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7f98877b1000-7f98877b2000 r--p 0001e000 fd:00 1049098 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7f98877b2000-7f98877b3000 rw-p 0001f000 fd:00 1049098 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7f98877b3000-7f98877bb000 r-xp 00000000 fd:00 1049118 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 7f98877bb000-7f98879bb000 ---p 00008000 fd:00 1049118 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 7f98879bb000-7f98879bc000 r--p 00008000 fd:00 1049118 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 7f98879bc000-7f98879bd000 rw-p 00009000 fd:00 1049118 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 7f98879bd000-7f98879bf000 r-xp 00000000 fd:00 1049124 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 7f98879bf000-7f9887bbe000 ---p 00002000 fd:00 1049124 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 7f9887bbe000-7f9887bbf000 r--p 00001000 fd:00 1049124 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 7f9887bbf000-7f9887bc0000 rw-p 00002000 fd:00 1049124 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 7f9887bc0000-7f9887c40000 r-xp 00000000 fd:00 1059465 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.26.0 7f9887c40000-7f9887e40000 ---p 00080000 fd:00 1059465 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.26.0 7f9887e40000-7f9887e46000 rw-p 00080000 fd:00 1059465 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.26.0 7f9887e46000-7f9887e7b000 r-xp 00000000 fd:00 1052165 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.5.0 7f9887e7b000-7f988807b000 ---p 00035000 fd:00 1052165 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.5.0 7f988807b000-7f988807c000 r--p 00035000 fd:00 1052165 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.5.0 7f988807c000-7f988807d000 rw-p 00036000 fd:00 1052165 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.5.0 7f988807d000-7f9888116000 r-xp 00000000 fd:00 1050230 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.1 7f9888116000-7f9888315000 ---p 00099000 fd:00 1050230 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.1 7f9888315000-7f988831b000 r--p 00098000 fd:00 1050230 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.1 7f988831b000-7f988831c000 rw-p 0009e000 fd:00 1050230 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.8.1 7f988831c000-7f9888346000 r-xp 00000000 fd:00 1068436 /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0 7f9888346000-7f9888545000 ---p 0002a000 fd:00 1068436 /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0 7f9888545000-7f9888546000 r--p 00029000 fd:00 1068436 /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0 7f9888546000-7f9888547000 rw-p 0002a000 fd:00 1068436 /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0 7f9888547000-7f988854a000 r-xp 00000000 fd:00 1049172 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4 7f988854a000-7f9888749000 ---p 00003000 fd:00 1049172 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4 7f9888749000-7f988874a000 r--p 00002000 fd:00 1049172 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4 7f988874a000-7f988874b000 rw-p 00003000 fd:00 1049172 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4 7f988874b000-7f988876d000 r-xp 00000000 fd:00 1704001 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f988876d000-7f988896c000 ---p 00022000 fd:00 1704001 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f988896c000-7f988896d000 r--p 00021000 fd:00 1704001 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f988896d000-7f988896e000 rw-p 00022000 fd:00 1704001 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f988896e000-7f9888984000 r-xp 00000000 fd:00 1707788 /lib/x86_64-linux-gnu/libz.so.1.2.7 7f9888984000-7f9888b83000 ---p 00016000 fd:00 1707788 /lib/x86_64-linux-gnu/libz.so.1.2.7 7f9888b83000-7f9888b84000 r--p 00015000 fd:00 1707788 /lib/x86_64-linux-gnu/libz.so.1.2.7 7f9888b84000-7f9888b85000 rw-p 00016000 fd:00 1707788 /lib/x86_64-linux-gnu/libz.so.1.2.7 7f9888b85000-7f9888c7b000 r-xp 00000000 fd:00 1704038 /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4 7f9888c7b000-7f9888e7a000 ---p 000f6000 fd:00 1704038 /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4 7f9888e7a000-7f9888e7b000 r--p 000f5000 fd:00 1704038 /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4 7f9888e7b000-7f9888e7c000 rw-p 000f6000 fd:00 1704038 /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4 7f9888e7c000-7f9888e7d000 rw-p 00000000 00:00 0 7f9888e7d000-7f9888ecc000 r-xp 00000000 fd:00 1049171 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.4 7f9888ecc000-7f98890cc000 ---p 0004f000 fd:00 1049171 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.4 7f98890cc000-7f98890cd000 r--p 0004f000 fd:00 1049171 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.4 7f98890cd000-7f98890ce000 rw-p 00050000 fd:00 1049171 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.4 7f98890ce000-7f98891c2000 r-xp 00000000 fd:00 1059481 /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.2 7f98891c2000-7f98893c1000 ---p 000f4000 fd:00 1059481 /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.2 7f98893c1000-7f98893c4000 r--p 000f3000 fd:00 1059481 /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.2 7f98893c4000-7f98893c5000 rw-p 000f6000 fd:00 1059481 /usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.2 7f98893c5000-7f98893c7000 rw-p 00000000 00:00 0 7f98893c7000-7f9889411000 r-xp 00000000 fd:00 1068434 /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0 7f9889411000-7f9889611000 ---p 0004a000 fd:00 1068434 /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0 7f9889611000-7f9889613000 r--p 0004a000 fd:00 1068434 /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0 7f9889613000-7f9889614000 rw-p 0004c000 fd:00 1068434 /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0 7f9889614000-7f9889620000 r-xp 00000000 fd:00 1068435 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0 7f9889620000-7f988981f000 ---p 0000c000 fd:00 1068435 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0 7f988981f000-7f9889820000 r--p 0000b000 fd:00 1068435 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0 7f9889820000-7f9889821000 rw-p 0000c000 fd:00 1068435 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0 7f9889821000-7f9889847000 r-xp 00000000 fd:00 1707765 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 7f9889847000-7f9889a46000 ---p 00026000 fd:00 1707765 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 7f9889a46000-7f9889a47000 r--p 00025000 fd:00 1707765 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 7f9889a47000-7f9889a48000 rw-p 00026000 fd:00 1707765 /lib/x86_64-linux-gnu/libpng12.so.0.49.0 7f9889a48000-7f9889a58000 r-xp 00000000 fd:00 796529 /usr/lib/libdbi.so.1.0.0 7f9889a58000-7f9889c57000 ---p 00010000 fd:00 796529 /usr/lib/libdbi.so.1.0.0 7f9889c57000-7f9889c58000 rw-p 0000f000 fd:00 796529 /usr/lib/libdbi.so.1.0.0 7f9889c58000-7f9889dad000 r-xp 00000000 fd:00 1049016 /usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 7f9889dad000-7f9889fac000 ---p 00155000 fd:00 1049016 /usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 7f9889fac000-7f9889fb4000 r--p 00154000 fd:00 1049016 /usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 7f9889fb4000-7f9889fb6000 rw-p 0015c000 fd:00 1049016 /usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 7f9889fb6000-7f9889fb7000 rw-p 00000000 00:00 0 7f9889fb7000-7f988a038000 r-xp 00000000 fd:00 1728402 /lib/x86_64-linux-gnu/libm-2.13.so 7f988a038000-7f988a237000 ---p 00081000 fd:00 1728402 /lib/x86_64-linux-gnu/libm-2.13.so 7f988a237000-7f988a238000 r--p 00080000 fd:00 1728402 /lib/x86_64-linux-gnu/libm-2.13.so 7f988a238000-7f988a239000 rw-p 00081000 fd:00 1728402 /lib/x86_64-linux-gnu/libm-2.13.so 7f988a239000-7f988a272000 r-xp 00000000 fd:00 797020 /usr/lib/librrd_th.so.4.2.0 7f988a272000-7f988a471000 ---p 00039000 fd:00 797020 /usr/lib/librrd_th.so.4.2.0 7f988a471000-7f988a476000 rw-p 00038000 fd:00 797020 /usr/lib/librrd_th.so.4.2.0 7f988a476000-7f988a47b000 r-xp 00000000 fd:00 800653 /usr/lib/collectd/rrdtool.so/etc/init.d/collectd: line 65: 4910 Aborted $DAEMON -t -C "$CONFIGFILE" [FAILstarting, configuration error failed! To reproduce put the following lines in your collectd.conf: LoadPlugin ethstat <Plugin ethstat> Interface "eth0" </Plugin> This bug has been reported upstream in [1] and a patch is available in [2]. As far as I could see this issue has been upstream fixed in version 5.1.1 and 5.2.0. [1] https://github.com/collectd/collectd/issues/search?q=133 [2] http://git.verplant.org/?p=collectd.git;a=commit;h=427297d59bc5686f4ef7b95d689421c6eac9c833 --- System information. --- Architecture: amd64 Kernel: Linux 3.7-trunk-amd64 Debian Release: 7.0 500 testing security.debian.org 500 testing mirror.stusta.mhn.de 500 testing ftp.de.debian.org 1 experimental mirror.stusta.mhn.de --- Package information. --- Depends (Version) | Installed ============================-+-=========== collectd-core | 5.1.0-3 iptables | 1.4.14-3 libc6 (>= 2.4) | librrd4 (>= 1.3.0) | Recommends (Version) | Installed =========================================-+-=================== libc6 (>= 2.7) | libcurl3-gnutls (>= 7.16.2) | libdbi1 (>= 0.8.4) | libdbus-1-3 (>= 1.0.2) | libesmtp6 | libgcrypt11 (>= 1.4.5) | libgdk-pixbuf2.0-0 (>= 2.22.0) | libglib2.0-0 (>= 2.12.0) | libhal1 (>= 0.5.8.1) | libmemcached10 | libmodbus5 (>= 3.0.2) | libmysqlclient18 (>= 5.5.24+dfsg-1) | libnotify4 (>= 0.7.0) | libopenipmi0 | liboping0 (>= 0.3.3) | libpcap0.8 (>= 0.9.8) | libperl5.14 (>= 5.14.2) | libpq5 | libprotobuf-c0 (>= 0.10) | libpython2.7 (>= 2.7) | librabbitmq0 (>= 0.0.1.hg216) | librrd4 (>= 1.4~rc2) | libsensors4 (>= 1:3.0.0) | libsnmp15 (>= 5.4.3~dfsg) | libssl1.0.0 (>= 1.0.0) | libtokyotyrant3 | libupsclient1 (>= 2.4.1) | libvarnishapi1 (>= 3.0.0) | libvirt0 (>= 0.3.2) | libxml2 (>= 2.7.4) | libyajl2 (>= 2.0.4) | Package's Suggests field is empty.
signature.asc
Description: This is a digitally signed message part.