Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332499 - net-analyzer/net-snmp-5.5: segmentation fault (hardened gentoo)
Summary: net-analyzer/net-snmp-5.5: segmentation fault (hardened gentoo)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Netmon project
URL: http://www.net-snmp.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 17:43 UTC by cilly
Modified: 2012-10-04 16:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2010-08-12 17:43:07 UTC
* Starting snmpd ...
*** glibc detected *** /usr/sbin/snmpd: double free or corruption (fasttop): 0x17e9bb68 **
*
======= Backtrace: =========
/lib/libc.so.6(+0x6b931)[0x55b38931]
/lib/libc.so.6(+0x6d198)[0x55b3a198]
/lib/libc.so.6(cfree+0x6d)[0x55b3d29d]
/usr/lib/libnetsnmpmibs.so.20(netsnmp_access_ipaddress_entry_free+0x40)[0x55d33660]
/usr/lib/libnetsnmpmibs.so.20(+0x1056a8)[0x55d336a8]
/usr/lib/libnetsnmp.so.20(+0x8e8d6)[0x55a968d6]
/usr/lib/libnetsnmpmibs.so.20(netsnmp_access_ipaddress_container_free+0x9f)[0x55d33a8f]
/usr/lib/libnetsnmpmibs.so.20(netsnmp_arch_interface_container_load+0xc14)[0x55d315b4]
/usr/lib/libnetsnmpmibs.so.20(netsnmp_access_interface_container_load+0x91)[0x55cf57c1]
/usr/lib/libnetsnmpmibs.so.20(netsnmp_access_interface_init+0x4a)[0x55cf59ea]
/usr/lib/libnetsnmpmibs.so.20(init_mib_modules+0x22)[0x55d3b872]
/usr/sbin/snmpd(main+0xb81)[0x17e86451]
/lib/libc.so.6(__libc_start_main+0xe6)[0x55ae3bd6]
/usr/sbin/snmpd(+0x2351)[0x17e85351]
======= Memory map: ========
17e83000-17e89000 r-xp 00000000 08:03 1397808    /usr/sbin/snmpd
17e89000-17e8a000 r--p 00005000 08:03 1397808    /usr/sbin/snmpd
17e8a000-17e8b000 rw-p 00006000 08:03 1397808    /usr/sbin/snmpd
17e8b000-17eb9000 rw-p 00000000 00:00 0          [heap]
54d00000-54d21000 rw-p 00000000 00:00 0
54d21000-54e00000 ---p 00000000 00:00 0
54ea3000-54ebf000 r-xp 00000000 08:03 950716     /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/libg
cc_s.so.1
54ebf000-54ec0000 r--p 0001c000 08:03 950716     /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/libg
cc_s.so.1
54ec0000-54ec1000 rw-p 0001d000 08:03 950716     /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/libg
cc_s.so.1
54ec8000-54ec9000 ---p 00000000 00:00 0
54ec9000-556ca000 rw-p 00000000 00:00 0
556ca000-556d9000 r-xp 00000000 08:03 852505     /lib/libz.so.1.2.3
556d9000-556da000 r--p 0000f000 08:03 852505     /lib/libz.so.1.2.3
556da000-556db000 rw-p 00010000 08:03 852505     /lib/libz.so.1.2.3
556db000-556dc000 rw-p 00000000 00:00 0
556dc000-5571a000 r-xp 00000000 08:03 853118     /usr/lib/libnl.so.1.1
5571a000-5571b000 r--p 0003e000 08:03 853118     /usr/lib/libnl.so.1.1
5571b000-5571d000 rw-p 0003f000 08:03 853118     /usr/lib/libnl.so.1.1
5571d000-5571f000 r-xp 00000000 08:03 1119187    /lib/libutil-2.11.2.so
5571f000-55720000 r--p 00001000 08:03 1119187    /lib/libutil-2.11.2.so
55720000-55721000 rw-p 00002000 08:03 1119187    /lib/libutil-2.11.2.so
55721000-5572a000 r-xp 00000000 08:03 1118950    /lib/libcrypt-2.11.2.so
5572a000-5572b000 r--p 00008000 08:03 1118950    /lib/libcrypt-2.11.2.so
5572b000-5572c000 rw-p 00009000 08:03 1118950    /lib/libcrypt-2.11.2.so
5572c000-55753000 rw-p 00000000 00:00 0
55753000-55777000 r-xp 00000000 08:03 1118880    /lib/libm-2.11.2.so
55777000-55778000 r--p 00023000 08:03 1118880    /lib/libm-2.11.2.so
55778000-55779000 rw-p 00024000 08:03 1118880    /lib/libm-2.11.2.so
55779000-5577b000 r-xp 00000000 08:03 1118904    /lib/libdl-2.11.2.so
5577b000-5577c000 r--p 00001000 08:03 1118904    /lib/libdl-2.11.2.so
5577c000-5577d000 rw-p 00002000 08:03 1118904    /lib/libdl-2.11.2.so
5577d000-5577e000 rw-p 00000000 00:00 0
5577e000-55791000 r-xp 00000000 08:03 1119183    /lib/libnsl-2.11.2.so
55791000-55792000 r--p 00012000 08:03 1119183    /lib/libnsl-2.11.2.so
55792000-55793000 rw-p 00013000 08:03 1119183    /lib/libnsl-2.11.2.so
55793000-55795000 rw-p 00000000 00:00 0
55795000-558c0000 r-xp 00000000 08:03 1212810    /usr/lib/libperl.so.1.5.8
558c0000-558c2000 r--p 0012a000 08:03 1212810    /usr/lib/libperl.so.1.5.8
558c2000-558c6000 rw-p 0012c000 08:03 1212810    /usr/lib/libperl.so.1.5.8
558c6000-558c8000 rw-p 00000000 00:00 0
558c8000-558ce000 r-xp 00000000 08:03 852216     /lib/libwrap.so.0.7.6
558ce000-558cf000 r--p 00005000 08:03 852216     /lib/libwrap.so.0.7.6
558cf000-558d0000 rw-p 00006000 08:03 852216     /lib/libwrap.so.0.7.6
558d0000-559f0000 r-xp 00000000 08:03 1147030    /usr/lib/libcrypto.so.0.9.8
559f0000-559f7000 r--p 00120000 08:03 1147030    /usr/lib/libcrypto.so.0.9.8
559f7000-55a05000 rw-p 00127000 08:03 1147030    /usr/lib/libcrypto.so.0.9.8
55a05000-55a08000 rw-p 00000000 00:00 0
55a08000-55aaa000 r-xp 00000000 08:03 1297959    /usr/lib/libnetsnmp.so.20.0.0
55aaa000-55aac000 r--p 000a1000 08:03 1297959    /usr/lib/libnetsnmp.so.20.0.0
55aac000-55aae000 rw-p 000a3000 08:03 1297959    /usr/lib/libnetsnmp.so.20.0.0
55aae000-55acd000 rw-p 00000000 00:00 0
55acd000-55c0e000 r-xp 00000000 08:03 1119500    /lib/libc-2.11.2.so
55c0e000-55c10000 r--p 00141000 08:03 1119500    /lib/libc-2.11.2.so
55c10000-55c11000 rw-p 00143000 08:03 1119500    /lib/libc-2.11.2.so
55c11000-55c15000 rw-p 00000000 00:00 0
55c15000-55c2a000 r-xp 00000000 08:03 1119200    /lib/libpthread-2.11.2.so
55c2a000-55c2b000 r--p 00014000 08:03 1119200    /lib/libpthread-2.11.2.so
55c2b000-55c2c000 rw-p 00015000 08:03 1119200    /lib/libpthread-2.11.2.so
55c2c000-55c2e000 rw-p 00000000 00:00 0
55c2e000-55d6d000 r-xp 00000000 08:03 1297945    /usr/lib/libnetsnmpmibs.so.20.0.0
55d6d000-55d70000 r--p 0013e000 08:03 1297945    /usr/lib/libnetsnmpmibs.so.20.0.0
55d70000-55d75000 rw-p 00141000 08:03 1297945    /usr/lib/libnetsnmpmibs.so.20.0.0
55d75000-55dc9000 rw-p 00000000 00:00 0
55dc9000-55def000 r-xp 00000000 08:03 1297939    /usr/lib/libnetsnmphelpers.so.20.0.0
55def000-55df0000 r--p 00025000 08:03 1297939    /usr/lib/libnetsnmphelpers.so.20.0.0
55df0000-55df1000 rw-p 00026000 08:03 1297939    /usr/lib/libnetsnmphelpers.so.20.0.0
55df1000-55e33000 r-xp 00000000 08:03 1297934    /usr/lib/libnetsnmpagent.so.20.0.0
55e33000-55e34000 r--p 00042000 08:03 1297934    /usr/lib/libnetsnmpagent.so.20.0.0
55e34000-55e35000 rw-p 00043000 08:03 1297934    /usr/lib/libnetsnmpagent.so.20.0.0
55e3a000-55e3d000 rw-p 00000000 00:00 0
55e3d000-55e3e000 r-xp 00000000 00:00 0          [vdso]
55e3e000-55e5a000 r-xp 00000000 08:03 1119206    /lib/ld-2.11.2.so
55e5a000-55e5b000 r--p 0001b000 08:03 1119206    /lib/ld-2.11.2.so
55e5b000-55e5c000 rw-p 0001c000 08:03 1119206    /lib/ld-2.11.2.so
5fdf8000-5fe0d000 rw-p 00000000 00:00 0          [stack]
77e83000-77e89000 r-xp 00000000 08:03 1397808    /usr/sbin/snmpd
b4ea3000-b4ebf000 r-xp 00000000 08:03 950716     /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/libgcc_s.so.1
b56ca000-b56d9000 r-xp 00000000 08:03 852505     /lib/libz.so.1.2.3
b56dc000-b571a000 r-xp 00000000 08:03 853118     /usr/lib/libnl.so.1.1
b571d000-b571f000 r-xp 00000000 08:03 1119187    /lib/libutil-2.11.2.so
b5721000-b572a000 r-xp 00000000 08:03 1118950    /lib/libcrypt-2.11.2.so
b5753000-b5777000 r-xp 00000000 08:03 1118880    /lib/libm-2.11.2.so
b5779000-b577b000 r-xp 00000000 08:03 1118904    /lib/libdl-2.11.2.so
b577e000-b5791000 r-xp 00000000 08:03 1119183    /lib/libnsl-2.11.2.so
b5795000-b58c0000 r-xp 00000000 08:03 1212810    /usr/lib/libperl.so.1.5.8
b58c8000-b58ce000 r-xp 00000000 08:03 852216     /lib/libwrap.so.0.7.6
b58d0000-b59f0000 r-xp 00000000 08:03 1147030    /usr/lib/libcrypto.so.0.9.8
b5a08000-b5aaa000 r-xp 00000000 08:03 1297959    /usr/lib/libnetsnmp.so.20.0.0
b5acd000-b5c0e000 r-xp 00000000 08:03 1119500    /lib/libc-2.11.2.so
b5c15000-b5c2a000 r-xp 00000000 08:03 1119200    /lib/libpthread-2.11.2.so
b5c2e000-b5d6d000 r-xp 00000000 08:03 1297945    /usr/lib/libnetsnmpmibs.so.20.0.0
b5dc9000-b5def000 r-xp 00000000 08:03 1297939    /usr/lib/libnetsnmphelpers.so.20.0.0
b5df1000-b5e33000 r-xp 00000000 08:03 1297934    /usr/lib/libnetsnmpagent.so.20.0.0
b5e3d000-b5e3e000 r-xp 00000000 00:00 0          [vdso]
b5e3e000-b5e5a000 r-xp 00000000 08:03 1119206    /lib/ld-2.11.2.so
/lib/rcscripts/sh/rc-daemon.sh: line 231: 31814 Aborted                 /sbin/start-stop-daemon '--start' '--quiet' '--exec' '/usr/sbin/snmpd' '--' '-p' '/var/run/snmpd.p  [ !! ]

upstream bug?
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-10-04 16:05:17 UTC
Please test with 5.7.2_rc3 and reopen if it's still a problem. Also please provide a meaningful backtrace so that we can identify the issue.

Thanks!