Package: snmpd Version: 5.4.2.1~dfsg-5+b1 Severity: important Hi!
I have strange problem with snmpd on one of my machines. Randomly, from few minutes to few hours, snmpd process dissapears and in dmesg I can find something like this: Apr 12 13:48:02 xxx kernel: [2631034.245761] snmpd[16576] trap divide error ip:7f7e99fe90bc sp:7fff5a45b710 error:0 in libnetsnmpmibs.so.15.1.2[7f7e99fb2000+117000] Apr 12 13:56:02 xxx kernel: [2631513.578136] snmpd[17269] trap divide error ip:7fda88a1d0bc sp:7fff7c4458a0 error:0 in libnetsnmpmibs.so.15.1.2[7fda889e6000+117000] Apr 12 14:11:01 xxx kernel: [2632413.006474] snmpd[17301] trap divide error ip:7f5a9d74d0bc sp:7fffc17930a0 error:0 in libnetsnmpmibs.so.15.1.2[7f5a9d716000+117000] Apr 12 14:38:02 xxx kernel: [2634033.055309] snmpd[17310] trap divide error ip:7f534113a0bc sp:7fffb89164f0 error:0 in libnetsnmpmibs.so.15.1.2[7f5341103000+117000] It is very strange because on second machine (which has exactly the same configuration and servs the same services - this is a FW cluster) this problem have never occured. I have installed libsnmp15-dbg and this is what I saw in gdb: Program received signal SIGFPE, Arithmetic exception. 0x00007f22fe73d0bc in var_hrproc (vp=<value optimized out>, name=<value optimized out>, length=<value optimized out>, exact=<value optimized out>, var_len=0x7fff211e9ea0, write_method=<value optimized out>) at host/hr_proc.c:183 183 host/hr_proc.c: No such file or directory. in host/hr_proc.c (gdb) bt #0 0x00007f22fe73d0bc in var_hrproc (vp=<value optimized out>, name=<value optimized out>, length=<value optimized out>, exact=<value optimized out>, var_len=0x7fff211e9ea0, write_method=<value optimized out>) at host/hr_proc.c:183 #1 0x00007f22fea5542f in netsnmp_old_api_helper (handler=<value optimized out>, reginfo=<value optimized out>, reqinfo=0x269ed60, requests=0x269f540) at old_api.c:286 #2 0x00007f22fec880b7 in netsnmp_call_handler (next_handler=0x256ba30, reginfo=0x256b3f0, reqinfo=0x269ed60, requests=0x269f540) at agent_handler.c:435 #3 0x00007f22fea50c39 in netsnmp_bulk_to_next_helper (handler=0x256bad0, reginfo=0x256b3f0, reqinfo=0x269ed60, requests=0x269f540) at bulk_to_next.c:117 #4 0x00007f22fec8901f in netsnmp_call_handler (reginfo=0x256b3f0, reqinfo=0x269ed60, requests=0x269f540) at agent_handler.c:435 #5 netsnmp_call_handlers (reginfo=0x256b3f0, reqinfo=0x269ed60, requests=0x269f540) at agent_handler.c:516 #6 0x00007f22fec7a311 in handle_var_requests (asp=0x269f180) at snmp_agent.c:2530 #7 0x00007f22fec7b4a0 in handle_getnext_loop (asp=0x269f180) at snmp_agent.c:2970 #8 0x00007f22fec7e3b0 in netsnmp_handle_request (asp=0x269f180, status=<value optimized out>) at snmp_agent.c:3122 #9 0x00007f22fec7ee9a in handle_snmp_packet (op=<value optimized out>, session=<value optimized out>, reqid=<value optimized out>, pdu=<value optimized out>, magic=<value optimized out>) at snmp_agent.c:1852 #10 0x00007f22fe476988 in _sess_process_packet (sessp=<value optimized out>, sp=0x26987e0, isp=0x26984a0, transport=<value optimized out>, opaque=0x26a0000, olength=<value optimized out>, packetptr=0x26a1970 "0\201\213\002\001\003\060\021\002\004\021\a\234m\002\003", length=142) at snmp_api.c:5326 #11 0x00007f22fe477705 in _sess_read (sessp=0x26987b0, fdset=<value optimized out>) at snmp_api.c:5742 #12 0x00007f22fe477fa9 in snmp_sess_read (sessp=0x3, fdset=0x2699b20) at snmp_api.c:5761 #13 0x00007f22fe477ffb in snmp_read (fdset=0x7fff211ea260) at snmp_api.c:5378 #14 0x0000000000404d6b in main () I can make more debugging or provide more information as necessary. Best regards, Remigiusz Swic -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages snmpd depends on: ii adduser 3.112 add and remove users and groups ii debconf [debconf-2.0] 1.5.30 Debian configuration management sy ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libsnmp15 5.4.2.1~dfsg-5+b1 SNMP (Simple Network Management Pr ii libwrap0 7.6.q-18 Wietse Venema's TCP wrappers libra ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip snmpd recommends no packages. snmpd suggests no packages. -- debconf information: snmpd/upgradefrom521: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org