Net-snmp crash on solaris 10

"Gregoire, Marc (EXT)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <C12A115F71992249AC6EA6AEA5DED0060102C8F4@BRU0038A.ww018.siemens.net>
Hi,

I'm experiencing some problems with net-snmp on solaris 10. Version is
5.0.7, however I already tried the most recent version with the same
result. The crash does not occur on solaris 8 with the same version of
net-snmp.
I do a "snmpbulkwalk -v 2c -u snmpuser -c public localhost 1.3.6.1.2".
The last lines of the output are:
	IP-MIB::ipAdEntBcastAddr.10.240.1.2 = INTEGER: 1
	IP-MIB::ipAdEntBcastAddr.10.240.193.2 = INTEGER: 1
	IP-MIB::ipAdEntBcastAddr.127.0.0.1 = INTEGER: 0
	IP-MIB::ipAdEntBcastAddr.172.16.14.3 = INTEGER: 1
	Timeout: No Response from localhost
	bash-3.00#
However, it doesn't always stop exactly on the same attribute. The
net-snmp daemon crashes with the following stack trace:

Program received signal SIGSEGV, Segmentation fault.
0xfef98598 in exit () from /platform/SUNW,Ultra-80/lib/libc_psr.so.1
(gdb) bt
#0  0xfef98598 in exit () from /platform/SUNW,Ultra-80/lib/libc_psr.so.1
#1  0xff2d9b60 in getMibstat () from
/opt/net-snmp-5.0.7/lib/libnetsnmpmibs.so.5
#2  0xff2dccf0 in var_ipRouteEntry () from
/opt/net-snmp-5.0.7/lib/libnetsnmpmibs.so.5
#3  0xff2597ac in netsnmp_old_api_helper () from
/opt/net-snmp-5.0.7/lib/libnetsnmphelpers.so.5
#4  0xff378728 in netsnmp_call_handler () from
/opt/net-snmp-5.0.7/lib/libnetsnmpagent.so.5
#5  0xff3788cc in netsnmp_call_next_handler () from
/opt/net-snmp-5.0.7/lib/libnetsnmpagent.so.5
#6  0xff2548e0 in netsnmp_bulk_to_next_helper () from
/opt/net-snmp-5.0.7/lib/libnetsnmphelpers.so.5
#7  0xff378540 in netsnmp_call_handlers () from
/opt/net-snmp-5.0.7/lib/libnetsnmpagent.so.5
#8  0xff36b690 in handle_var_requests () from
/opt/net-snmp-5.0.7/lib/libnetsnmpagent.so.5
#9  0xff36c7bc in handle_getnext_loop () from
/opt/net-snmp-5.0.7/lib/libnetsnmpagent.so.5
#10 0xff36d67c in handle_pdu () from
/opt/net-snmp-5.0.7/lib/libnetsnmpagent.so.5
#11 0xff36cfc0 in netsnmp_handle_request () from
/opt/net-snmp-5.0.7/lib/libnetsnmpagent.so.5
#12 0xff369c84 in handle_snmp_packet () from
/opt/net-snmp-5.0.7/lib/libnetsnmpagent.so.5
#13 0xff1ce130 in _sess_process_packet () from
/opt/net-snmp-5.0.7/lib/libnetsnmp.so.5
#14 0xff1cfbe0 in _sess_read () from
/opt/net-snmp-5.0.7/lib/libnetsnmp.so.5
#15 0xff1cfc30 in snmp_sess_read () from
/opt/net-snmp-5.0.7/lib/libnetsnmp.so.5
#16 0xff1ce370 in snmp_read () from
/opt/net-snmp-5.0.7/lib/libnetsnmp.so.5
#17 0x00014048 in _end ()
#18 0x000137e8 in _end ()
(gdb)


bash-3.00# uname -a
SunOS hardy 5.10 Generic_118833-02 sun4u sparc SUNW,Ultra-80


Any ideas why it crashes?
If you need more information let me know.


Best Wishes,
Marc


-------------------------------------------------------
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&kid0709&bid&3057&dat1642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.