[Bug 764014] Re: *** buffer overflow detected ***: /usr/sbin/snmptrapd terminated

Louis 764014 at bugs.launchpad.net
Mon Apr 25 21:09:27 UTC 2011


Hai Chuck,

I need to add these mibs, see the attachment.


Beste regard, 

Louis

-----Oorspronkelijk bericht-----
Van: bounces at canonical.com [mailto:bounces at canonical.com] Namens Chuck Short
Verzonden: maandag 25 april 2011 21:56
Aan: louis at van-belle.nl
Onderwerp: [Bug 764014] Re: *** buffer overflow detected ***: /usr/sbin/snmptrapd terminated

Can you please tell me how I can reproduce this?

Thanks
chuck

** Changed in: net-snmp (Ubuntu)
   Importance: Undecided => Low

** Changed in: net-snmp (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a direct subscriber
of the bug.
https://bugs.launchpad.net/bugs/764014

Title:
  *** buffer overflow detected ***: /usr/sbin/snmptrapd terminated

Status in “net-snmp” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: snmpd

  Hi,

  after adding extra mibs to /usr/share/snmp/mibs  and restarting snmpd
  my snmptrapd craches

  here is the output of the crash: 
  *** buffer overflow detected ***: /usr/sbin/snmptrapd terminated
  ======= Backtrace: =========
  /lib/libc.so.6(__fortify_fail+0x37)[0x7f97c9e90217]
  /lib/libc.so.6(+0xfe0d0)[0x7f97c9e8f0d0]
  /lib/libc.so.6(+0xfd214)[0x7f97c9e8e214]
  /usr/lib/libnetsnmp.so.15(+0x281b9)[0x7f97ca13c1b9]
  /usr/lib/libnetsnmp.so.15(+0x2a6d9)[0x7f97ca13e6d9]
  /usr/lib/libnetsnmp.so.15(+0x2b2f0)[0x7f97ca13f2f0]
  /usr/lib/libnetsnmp.so.15(netsnmp_read_module+0x9)[0x7f97ca13f339]
  /usr/lib/libnetsnmp.so.15(read_all_mibs+0x2a)[0x7f97ca13f39a]
  /usr/lib/libnetsnmp.so.15(netsnmp_init_mib+0x465)[0x7f97ca12fcc5]
  /usr/lib/libnetsnmp.so.15(init_snmp+0x2b5)[0x7f97ca1467e5]
  /usr/sbin/snmptrapd(main+0xa70)[0x404c20]
  /lib/libc.so.6(__libc_start_main+0xfd)[0x7f97c9dafc4d]
  /usr/sbin/snmptrapd[0x4039e9]
  ======= Memory map: ========
  00400000-00407000 r-xp 00000000 08:07 6427                               /usr/sbin/snmptrapd
  00607000-00608000 r--p 00007000 08:07 6427                               /usr/sbin/snmptrapd
  00608000-00609000 rw-p 00008000 08:07 6427                               /usr/sbin/snmptrapd
  0229b000-024af000 rw-p 00000000 00:00 0                                  [heap]
  7f97c8356000-7f97c836c000 r-xp 00000000 08:01 53                         /lib/libgcc_s.so.1
  7f97c836c000-7f97c856b000 ---p 00016000 08:01 53                         /lib/libgcc_s.so.1
  7f97c856b000-7f97c856c000 r--p 00015000 08:01 53                         /lib/libgcc_s.so.1
  7f97c856c000-7f97c856d000 rw-p 00016000 08:01 53                         /lib/libgcc_s.so.1
  7f97c856d000-7f97c8583000 r-xp 00000000 08:01 229                        /lib/libz.so.1.2.3.3
  7f97c8583000-7f97c8782000 ---p 00016000 08:01 229                        /lib/libz.so.1.2.3.3
  7f97c8782000-7f97c8783000 r--p 00015000 08:01 229                        /lib/libz.so.1.2.3.3
  7f97c8783000-7f97c8784000 rw-p 00016000 08:01 229                        /lib/libz.so.1.2.3.3
  7f97c8784000-7f97c879b000 r-xp 00000000 08:01 406                        /lib/libnsl-2.11.1.so
  7f97c879b000-7f97c899a000 ---p 00017000 08:01 406                        /lib/libnsl-2.11.1.so
  7f97c899a000-7f97c899b000 r--p 00016000 08:01 406                        /lib/libnsl-2.11.1.so
  7f97c899b000-7f97c899c000 rw-p 00017000 08:01 406                        /lib/libnsl-2.11.1.so
  7f97c899c000-7f97c899e000 rw-p 00000000 00:00 0
  7f97c899e000-7f97c8b06000 r-xp 00000000 08:01 64                         /lib/libcrypto.so.0.9.8
  7f97c8b06000-7f97c8d05000 ---p 00168000 08:01 64                         /lib/libcrypto.so.0.9.8
  7f97c8d05000-7f97c8d12000 r--p 00167000 08:01 64                         /lib/libcrypto.so.0.9.8
  7f97c8d12000-7f97c8d2a000 rw-p 00174000 08:01 64                         /lib/libcrypto.so.0.9.8
  7f97c8d2a000-7f97c8d2e000 rw-p 00000000 00:00 0
  7f97c8d2e000-7f97c8d3d000 r-xp 00000000 08:07 23511                      /usr/lib/libsensors.so.4.2.1
  7f97c8d3d000-7f97c8f3c000 ---p 0000f000 08:07 23511                      /usr/lib/libsensors.so.4.2.1
  7f97c8f3c000-7f97c8f3d000 r--p 0000e000 08:07 23511                      /usr/lib/libsensors.so.4.2.1
  7f97c8f3d000-7f97c8f3e000 rw-p 0000f000 08:07 23511                      /usr/lib/libsensors.so.4.2.1
  7f97c8f3e000-7f97c8f47000 r-xp 00000000 08:01 375                        /lib/libcrypt-2.11.1.so
  7f97c8f47000-7f97c9147000 ---p 00009000 08:01 375                        /lib/libcrypt-2.11.1.so
  7f97c9147000-7f97c9148000 r--p 00009000 08:01 375                        /lib/libcrypt-2.11.1.so
  7f97c9148000-7f97c9149000 rw-p 0000a000 08:01 375                        /lib/libcrypt-2.11.1.so
  7f97c9149000-7f97c9177000 rw-p 00000000 00:00 0
  7f97c9177000-7f97c918f000 r-xp 00000000 08:01 2319                       /lib/libpthread-2.11.1.so
  7f97c918f000-7f97c938e000 ---p 00018000 08:01 2319                       /lib/libpthread-2.11.1.so
  7f97c938e000-7f97c938f000 r--p 00017000 08:01 2319                       /lib/libpthread-2.11.1.so
  7f97c938f000-7f97c9390000 rw-p 00018000 08:01 2319                       /lib/libpthread-2.11.1.so
  7f97c9390000-7f97c9394000 rw-p 00000000 00:00 0
  7f97c9394000-7f97c9416000 r-xp 00000000 08:01 399                        /lib/libm-2.11.1.so
  7f97c9416000-7f97c9615000 ---p 00082000 08:01 399                        /lib/libm-2.11.1.so
  7f97c9615000-7f97c9616000 r--p 00081000 08:01 399                        /lib/libm-2.11.1.so
  7f97c9616000-7f97c9617000 rw-p 00082000 08:01 399                        /lib/libm-2.11.1.so
  7f97c9617000-7f97c9619000 r-xp 00000000 08:01 379                        /lib/libdl-2.11.1.so
  7f97c9619000-7f97c9819000 ---p 00002000 08:01 379                        /lib/libdl-2.11.1.so
  7f97c9819000-7f97c981a000 r--p 00002000 08:01 379                        /lib/libdl-2.11.1.so
  7f97c981a000-7f97c981b000 rw-p 00003000 08:01 379                        /lib/libdl-2.11.1.so
  7f97c981b000-7f97c997d000 r-xp 00000000 08:07 5985                       /usr/lib/libperl.so.5.10.1
  7f97c997d000-7f97c9b7d000 ---p 00162000 08:07 5985                       /usr/lib/libperl.so.5.10.1
  7f97c9b7d000-7f97c9b81000 r--p 00162000 08:07 5985                       /usr/lib/libperl.so.5.10.1
  7f97c9b81000-7f97c9b86000 rw-p 00166000 08:07 5985                       /usr/lib/libperl.so.5.10.1
  7f97c9b86000-7f97c9b8f000 r-xp 00000000 08:01 1900                       /lib/libwrap.so.0.7.6
  7f97c9b8f000-7f97c9d8e000 ---p 00009000 08:01 1900                       /lib/libwrap.so.0.7.6
  7f97c9d8e000-7f97c9d8f000 r--p 00008000 08:01 1900                       /lib/libwrap.so.0.7.6
  7f97c9d8f000-7f97c9d90000 rw-p 00009000 08:01 1900                       /lib/libwrap.so.0.7.6
  7f97c9d90000-7f97c9d91000 rw-p 00000000 00:00 0
  7f97c9d91000-7f97c9f0b000 r-xp 00000000 08:01 329                        /lib/libc-2.11.1.so
  7f97c9f0b000-7f97ca10a000 ---p 0017a000 08:01 329                        /lib/libc-2.11.1.so
  7f97ca10a000-7f97ca10e000 r--p 00179000 08:01 329                        /lib/libc-2.11.1.so
  7f97ca10e000-7f97ca10f000 rw-p 0017d000 08:01 329                        /lib/libc-2.11.1.so
  7f97ca10f000-7f97ca114000 rw-p 00000000 00:00 0
  7f97ca114000-7f97ca1a7000 r-xp 00000000 08:07 6110                       /usr/lib/libnetsnmp.so.15.1.2
  7f97ca1a7000-7f97ca3a7000 ---p 00093000 08:07 6110                       /usr/lib/libnetsnmp.so.15.1.2
  7f97ca3a7000-7f97ca3a8000 r--p 00093000 08:07 6110                       /usr/lib/libnetsnmp.so.15.1.2
  7f97ca3a8000-7f97ca3aa000 rw-p 00094000 08:07 6110                       /usr/lib/libnetsnmp.so.15.1.2
  Aborted

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/764014/+subscribe


** Attachment added: "mibs.zip"
   https://bugs.launchpad.net/bugs/764014/+attachment/2088777/+files/mibs.zip

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/764014

Title:
  *** buffer overflow detected ***: /usr/sbin/snmptrapd terminated



More information about the Ubuntu-server-bugs mailing list