We need more information.
It looks like you're running on a Sun Netra-240 but we need the OS
version. (uname -a)
We also need the net-snmp version (eg. 5.4.1) and how it was compiled.
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, July 23, 2007 5:31 AM
To: net-snmp-users@lists.sourceforge.net
Subject: Clarification : snmpd core dump every 30 mins (URGENT)
Hi,
In one of our lab, continous core dump is seen in every 30 mins. From
the investigation, I have concluded like it is because of some
segmentation fault core dump was generated (reception of SIGSEGV).
Why this core dump is happening in every 30 mins in this lab? Is this
the problem with SNMP? Any bug needs to be raised for this?
It looks like every 30 minutes, a SNMP manager in their network sends
out a SNMP request for a table (GET_NEXT), and during the handling of
this request, the SNMP daemon core dumped.
Any help from your side is appreciable. We are trying to avoid this core
dumps. Please provide your inputs and views towards this problem.
Details are as follows.
#pstack core.snmpd.6378.1184245202
| core 'core.snmpd.6378.1184245202' of 6378:
/opt/netsnmp5/sbin/snmpd -f |
| -s -l /var/log/snmpd.log -a -c /opt/netsnm
|
| ff3b068c memcpy (5, 104, 74, 2, ff2bf874, ffffffff) + 1ac
|
| ff2bfa00 var_ipRouteEntry (ffbfdc80, 1228d8, 1228c8, 0, ffbfdc7c, 2)
+ 70 |
| ff3577fc netsnmp_old_api_helper (28, 9f448, 112f28, 124030, ff35de50,
0) + |
| 350
|
| ff391270 netsnmp_call_handler (9ddf0, 9f448, 112f28, 124030, 1,
ff20549c) + |
| 8c
|
| ff3910d4 netsnmp_call_handlers (9f448, 112f28, 124030, 9f480, 5,
9f480) + |
| f8
|
| ff388da4 handle_var_requests (ec5e0, 19c, ff392b60, ec5e0, 1,
ff20549c) + |
| 48
|
| ff38978c handle_getnext_loop (ec5e0, 1a0, 1a8, 140, 148, ff2053a8) +
8c |
| ff38a1c8 handle_pdu (0, 5, ffbfe328, ffffffff, ff3a5238, a1) + f4
|
| ff389d34 netsnmp_handle_request (ec5e0, 0, ec548, a1, 0, 0) + 58
|
| ff387d30 handle_snmp_packet (1, ebc78, 73e2b, ec548, ec5e0, 1) + 104
|
| ff1b7178 _sess_process_packet (0, ebc78, 10d098, f89b0, 0, ec548) +
4c8 |
| ff1b7fac _sess_read (1121b0, 129b10, 0, 0, f89b0, 10000) + 990
|
| ff1b85dc snmp_sess_read (1121b0, ffbfe728, 1, ffbfe528, 0, ff205454)
+ 14 |
| ff1b75f8 snmp_read (ffbfe728, 54fc8, 551a8, 54fd8, 44c, ff20549c) +
2c |
| 0001b208 receive (55000, 7a400, 6f800, a, 78400, 0) + 488
|
| 0001a454 main (9, ffbfed1c, 1, 0, 1, 0) + 990
|
| 0001965c _start (0, 0, 0, 0, 0, 0) + 5c
| #pcred core.snmpd.6378.1184245202
|
| core of 6378: e/r/suid=0 e/r/sgid=0
|
|
|
| [EMAIL PROTECTED] /opt/cores]# pldd core.snmpd.6378.1184245202
|
| core 'core.snmpd.6378.1184245202' of 6378:
/opt/netsnmp5/sbin/snmpd -f |
| -s -l /var/log/snmpd.log -a -c /opt/netsnm
|
| /opt/netsnmp5/lib/libnetsnmpagent.so.5.0.9
|
| /opt/netsnmp5/lib/libnetsnmpmibs.so.5.0.9
|
| /opt/netsnmp5/lib/libnetsnmphelpers.so.5.0.9
|
| /opt/netsnmp5/lib/libnetsnmp.so.5.0.9
|
| /usr/lib/libdl.so.1
|
| /usr/lib/libkvm.so.1
|
| /usr/lib/libkstat.so.1
|
| /usr/lib/libelf.so.1
|
| /usr/lib/libm.so.1
|
| /usr/lib/libnsl.so.1
|
| /usr/lib/libsocket.so.1
|
| /usr/lib/libadm.so.1
|
| /usr/lib/libc.so.1
|
| /usr/lib/libmp.so.2
|
| /usr/platform/sun4u-us3/lib/libc_psr.so.1
|
| /usr/lib/nss_files.so.1
|
| /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
|
| #pflags core.snmpd.6378.1184245202
|
| core 'core.snmpd.6378.1184245202' of 6378:
/opt/netsnmp5/sbin/snmpd -f |
| -s -l /var/log/snmpd.log -a -c /opt/netsnm
|
| data model = _ILP32
|
| /1: flags = PR_PCINVAL
|
| sigmask = 0xffffbefc,0x00003fff cursig = SIGSEGV
|
[EMAIL PROTECTED] /opt/cores]# gdb /opt/netsnmp5/sbin/snmpd
|
| core.snmpd.6378.1184245202
|
|
|
| Core was generated by `/opt/netsnmp5/sbin/snmpd -f -s -l
/var/log/snmpd.log |
| -a -c /opt/netsnmp5/sbin/s'.
|
| Program terminated with signal 11, Segmentation fault.
|
| #0 0xff3b068c in memcpy () from
|
| /usr/platform/SUNW,Netra-240/lib/libc_psr.so.1
|
| (gdb) bt
|
| #0 0xff3b068c in memcpy () from
|
| /usr/platform/SUNW,Netra-240/lib/libc_psr.so.1
|
| #1 0xff2bd754 in getMibstat (grid=MIB_IP_ROUTE, resp=0xffbfda28,
|
| entrysize=116, req_type=GET_NEXT,
|
| comp=0xff2bf874 <IP_Cmp_Route>, arg=0xffbfdaa0) at
kernel_sunos5.c:565 |
| #2 0xff2bfa08 in var_ipRouteEntry (vp=0xffbfdc80, name=0x1228d8,
|
| length=0x1228c8, exact=0, var_len=0xffbfdc7c,
|
| write_method=0xffbfdc78) at mibII/var_route.c:862
Regards,
Rosmi
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error please notify the system manager. This
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users