From: SourceForge.net <no...@so...> - 2008-02-04 05:08:25
|
Bugs item #1886068, was opened at 2008-02-04 05:08 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1886068&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: agent Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: ambar (ambardeep) Assigned to: Nobody/Anonymous (nobody) Summary: snmpd crashes on loading Initial Comment: I have observed this behaviour on both 5.4 and 5.4.1 OS: Linux 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux To reproduce: run snmpd with gdb Backtrace: (gdb) run -Lo -f Starting program: /usr/local/sbin/snmpd -Lo -f [Thread debugging using libthread_db enabled] [New Thread -1208080160 (LWP 15765)] error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_index' insert (-1) error on subcontainer 'ia_addr' insert (-1) couldn't map value 0 for ipAddressAddrType Turning on AgentX master support. /usr/local/share/snmp/snmpd.conf: line 7: Warning: Unknown token: agentPingInterval. NET-SNMP version 5.4 error on subcontainer 'ia_addr' insert (-1) error on subcontainer 'ia_index' insert (-1) error on subcontainer 'ia_addr' insert (-1) error on subcontainer '' insert (-1) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208080160 (LWP 15765)] netsnmp_remove_list_node (realhead=0x920b658, name=0x80166d "ioctl_extras") at data_list.c:205 205 if (head->name && strcmp(head->name, name) == 0) { (gdb) where #0 netsnmp_remove_list_node (realhead=0x920b658, name=0x80166d "ioctl_extras") at data_list.c:205 #1 0x007d5f65 in netsnmp_ioctl_ipaddress_entry_cleanup (entry=0x920b638) at ip-mib/data_access/ipaddress_ioctl.c:86 #2 0x007d3afd in netsnmp_arch_ipaddress_entry_cleanup (entry=0x920b638) at ip-mib/data_access/ipaddress_linux.c:61 #3 0x007d331d in netsnmp_access_ipaddress_entry_free (entry=0x920b638) at ip-mib/data_access/ipaddress_common.c:189 #4 0x00785e74 in ipAddressTable_release_data (data=0x920b638) at ip-mib/ipAddressTable/ipAddressTable.c:287 #5 0x00785ed3 in ipAddressTable_rowreq_ctx_cleanup (rowreq_ctx=0x924e4d0) at ip-mib/ipAddressTable/ipAddressTable.c:160 #6 0x007b3186 in ipAddressTable_release_rowreq_ctx (rowreq_ctx=0x924e4d0) at ip-mib/ipAddressTable/ipAddressTable_interface.c:569 #7 0x007b7fa6 in _add_new_entry (ipaddress_entry=0x920b638, container=0x0) at ip-mib/ipAddressTable/ipAddressTable_data_access.c:275 #8 0x001c37b4 in _ba_for_each (container=0x923e9c0, f=0x7b7dd0 <_add_new_entry>, context=0x91e4070) at container_binary_array.c:342 #9 0x007b842b in ipAddressTable_container_load (container=0x91e4070) at ip-mib/ipAddressTable/ipAddressTable_data_access.c:355 #10 0x007b41d8 in _cache_load (cache=0x91e3830, vmagic=0x91e4070) at ip-mib/ipAddressTable/ipAddressTable_interface.c:1912 #11 0x00f57848 in _cache_load (cache=0x91e3830) at cache_handler.c:537 #12 0x001a9e13 in run_alarms () at snmp_alarm.c:252 #13 0x0804b5f5 in main (argc=3, argv=0xbfe34e64) at snmpd.c:1203 (gdb) list 1203 run_alarms(); 1204 1205 netsnmp_check_outstanding_agent_requests(); 1206 1207 } /* endwhile */ 1208 1209 snmp_log(LOG_INFO, "Received TERM or STOP signal... shutting down...\n"); 1210 return 0; 1211 1212 } /* end receive() */ (gdb) 1213 1214 1215 1216 /*******************************************************************-o-****** 1217 * snmp_input 1218 * 1219 * Parameters: 1220 * op 1221 * *session 1222 * requid (gdb) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1886068&group_id=12694 |