Good afternoon Thomas, all
Attached you'll find the gdb log of the core dumps on both 5.3.0.1 and
5.3.1 rc1. Both on Solaris 8. I've also included gdb output of the core
dump I get when running -L -f -D ALL on both versions.
HTH
Hendrik
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Thomas Anders
Sent: 28 June 2006 18:02
To: [email protected]
Subject: Re: Snmpd 5.3.0.1 on Solaris 8 core dumps
Thomas Anders wrote:
> Hendrik Vanbelleghem wrote:
>> I'm experiencing core dumps when I build Net-SNMP 5.3.0.1 on Solaris
8.
>> When I do an snmpwalk on . , snmpd crashes. It seems that
"ipRouteTable"
>> causes the crash.
>
> Can you please try 5.3.1.rc1 and tell us whether it fixes your
problem?
And if it doesn't, please run the agent under gdb and get us a backtrace
(type "bt" after it has crashed).
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
(gdb) run -f -L
Starting program: /usr/local/sbin/snmpd -f -L
NET-SNMP version 5.3.0.1
Program received signal SIGSEGV, Segmentation fault.
0xfedd06a8 in exit () from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
(gdb) bt
#0 0xfedd06a8 in exit () from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
#1 0xff2da460 in getMibstat (grid=MIB_IP_ROUTE, resp=0xffbee758,
entrysize=156, req_type=GET_NEXT, comp=0xff2dcc44 <IP_Cmp_Route>,
arg=0xffbee7f8) at kernel_sunos5.c:705
#2 0xff2dcde8 in var_ipRouteEntry (vp=0xffbeea28, name=0x12be48,
length=0x12be38, exact=0, var_len=0xffbeea24, write_method=0xffbee970)
at mibII/var_route.c:742
#3 0xff1ee24c in netsnmp_old_api_helper (handler=0xffbeea28,
reginfo=0x12be48, reqinfo=0x12be38, requests=0x0) at old_api.c:280
(gdb)
--
(gdb) run -f -L -D ALL
Starting program: /usr/local/sbin/snmpd -f -L -D ALL
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting LIB:11 = 1/True
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
trace: netsnmp_register_handler(): agent_handler.c, 212:
handler::register: Registering (::null) at .0
trace: netsnmp_inject_handler_before(): agent_handler.c, 342:
handler:inject: injecting bulk_to_next before null
trace: netsnmp_register_mib(): agent_registry.c, 606:
register_mib: registering "" at .0
Program received signal SIGSEGV, Segmentation fault.
0xfed33218 in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0 0xfed33218 in strlen () from /usr/lib/libc.so.1
#1 0xfed86530 in _doprnt () from /usr/lib/libc.so.1
#2 0xfed88730 in vsnprintf () from /usr/lib/libc.so.1
#3 0xff1536d0 in snmp_vlog (priority=7,
format=0x7fffffff <Address 0x7fffffff out of bounds>, ap=0xff258270)
at snmp_logging.c:1165
--------------------------------
(gdb) run -f -L
Starting program: /usr/local/sbin/snmpd -f -L
NET-SNMP version 5.3.1.rc1
Program received signal SIGSEGV, Segmentation fault.
0xfedd06a8 in exit () from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
(gdb) bt
#0 0xfedd06a8 in exit () from /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
#1 0xff2da7fc in getMibstat (grid=MIB_IP_ROUTE, resp=0xffbee758,
entrysize=156, req_type=GET_NEXT, comp=0xff2dcfe0 <IP_Cmp_Route>,
arg=0xffbee7f8) at kernel_sunos5.c:705
#2 0xff2dd178 in var_ipRouteEntry (vp=0xffbeea28, name=0x12c718,
length=0x12c708, exact=0, var_len=0xffbeea24, write_method=0xffbee970)
at mibII/var_route.c:742
#3 0xff1ee274 in netsnmp_old_api_helper (handler=0xffbeea28,
reginfo=0x12c718, reqinfo=0x12c708, requests=0x0) at old_api.c:281
(gdb)
--
(gdb) run -f -L -D ALL
Starting program: /usr/local/sbin/snmpd -f -L -D ALL
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting LIB:11 = 1/True
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
trace: netsnmp_register_handler(): agent_handler.c, 212:
handler::register: Registering (::null) at .0
trace: netsnmp_inject_handler_before(): agent_handler.c, 342:
handler:inject: injecting bulk_to_next before null
trace: netsnmp_register_mib(): agent_registry.c, 606:
register_mib: registering "" at .0 with context "(null)"
trace: netsnmp_subtree_find_first(): agent_registry.c, 152:
subtree: looking for subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 161:
subtree: didn't find a subtree for context: ""
trace: netsnmp_register_handler(): agent_handler.c, 212:
handler::register: Registering (::null) at .0
trace: netsnmp_inject_handler_before(): agent_handler.c, 342:
handler:inject: injecting bulk_to_next before null
trace: netsnmp_register_mib(): agent_registry.c, 606:
register_mib: registering "" at .0 with context "(null)"
trace: netsnmp_subtree_find_first(): agent_registry.c, 152:
subtree: looking for subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 161:
subtree: didn't find a subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 152:
subtree: looking for subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 161:
subtree: didn't find a subtree for context: ""
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1488:
wtest: oid in: .0
trace: netsnmp_subtree_find_first(): agent_registry.c, 152:
subtree: looking for subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 161:
subtree: didn't find a subtree for context: ""
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1488:
wtest: oid in: .0
trace: netsnmp_subtree_find_first(): agent_registry.c, 152:
subtree: looking for subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 161:
subtree: didn't find a subtree for context: ""
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1488:
wtest: oid in: .0
trace: add_subtree(): agent_registry.c, 179:
subtree: adding subtree for context: ""
trace: init_callbacks(): callback.c, 174:
callback: initialized
trace: _callback_lock(): callback.c, 118:
9:callback:lock:
Program received signal SIGSEGV, Segmentation fault.
0xfed33218 in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0 0xfed33218 in strlen () from /usr/lib/libc.so.1
#1 0xfed86530 in _doprnt () from /usr/lib/libc.so.1
#2 0xfed88730 in vsnprintf () from /usr/lib/libc.so.1
#3 0xff153908 in snmp_vlog (priority=7,
format=0x7fffffff <Address 0x7fffffff out of bounds>, ap=0xff17f8e0)
at snmp_logging.c:1171
(gdb)Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders