Public bug reported:

Installed net-snmp on a server (itanium) and enabled disk/load checks.
When I query the server with snmpwalk (or cricket), snmpd segfaults.
Below is a gdb backtrace from such a segfault, triggered by snmpwalk.

halley:~# gdb /usr/sbin/snmpd 
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ia64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run -f -Lsd -Lf /dev/null -u snmp -p /var/run/snmpd.pid
Starting program: /usr/sbin/snmpd -f -Lsd -Lf /dev/null -u snmp -p 
/var/run/snmpd.pid
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x2000000000136760 in _mfd_ifTable_get_values ()
   from /usr/lib/libnetsnmpmibs.so.9
(gdb) bt
#0  0x2000000000136760 in _mfd_ifTable_get_values ()
   from /usr/lib/libnetsnmpmibs.so.9
#1  0x20000000002d59e0 in _baby_steps_access_multiplexer ()
   from /usr/lib/libnetsnmphelpers.so.9
#2  0x200000000027d910 in netsnmp_call_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#3  0x200000000027e5f0 in netsnmp_call_next_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#4  0x20000000002d4b50 in _baby_steps_helper ()
   from /usr/lib/libnetsnmphelpers.so.9
#5  0x200000000027d910 in netsnmp_call_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#6  0x200000000027e5f0 in netsnmp_call_next_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#7  0x20000000002e2e60 in netsnmp_row_merge_helper_handler ()
   from /usr/lib/libnetsnmphelpers.so.9
#8  0x200000000027d910 in netsnmp_call_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#9  0x200000000027e5f0 in netsnmp_call_next_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#10 0x20000000002e85a0 in _container_table_handler ()
   from /usr/lib/libnetsnmphelpers.so.9
#11 0x200000000027d910 in netsnmp_call_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#12 0x200000000027e5f0 in netsnmp_call_next_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#13 0x20000000002f2e80 in table_helper_handler ()
   from /usr/lib/libnetsnmphelpers.so.9
---Type <return> to continue, or q <return> to quit--- 
#14 0x200000000027d910 in netsnmp_call_handler ()
   from /usr/lib/libnetsnmpagent.so.9
#15 0x200000000027e100 in netsnmp_call_handlers ()
   from /usr/lib/libnetsnmpagent.so.9
#16 0x2000000000265450 in handle_var_requests ()
   from /usr/lib/libnetsnmpagent.so.9
#17 0x2000000000265e60 in handle_getnext_loop ()
   from /usr/lib/libnetsnmpagent.so.9
#18 0x2000000000267010 in handle_pdu () from /usr/lib/libnetsnmpagent.so.9
#19 0x2000000000269430 in netsnmp_handle_request ()
   from /usr/lib/libnetsnmpagent.so.9
#20 0x2000000000269ff0 in handle_snmp_packet ()
   from /usr/lib/libnetsnmpagent.so.9
#21 0x200000000039d5d0 in snmp_create_sess_pdu () from /usr/lib/libnetsnmp.so.9
#22 0x0000000000000000 in ?? ()
(gdb) quit

** Affects: net-snmp (Ubuntu)
     Importance: High
         Status: Confirmed

-- 
segfault when querying
https://launchpad.net/bugs/65047

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to