SNMPD crash in NET-SNMP-5.2.2 on x86.
"Kurapati M-G19456" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello list,
We are using NET-SNMP-5.2.2, and we have a subagent (linked with
NET-SNMP-5.2.2 libraries). When the subagent closes the session, while
a Manager is walking on the MIBs supported by it, we are seeing SNMPD
crash. Following is the stack trace of it.
#0 netsnmp_call_handlers (reginfo=0x14300101, reqinfo=0x80f1418,
requests=0x80f8d30) at agent_handler.c:465
#1 0x400cbdfe in handle_var_requests (asp=0x80f8710) at
snmp_agent.c:2423
#2 0x400cd036 in handle_getnext_loop (asp=0x80f8710) at
snmp_agent.c:2844
#3 0x400ce8e2 in check_delayed_request (asp=0x80f8710) at
snmp_agent.c:2626
#4 0x400ce9ed in netsnmp_check_outstanding_agent_requests ()
at snmp_agent.c:2521
#5 0x400ced40 in netsnmp_remove_delegated_requests_for_session (
sess=0x80e6f90) at snmp_agent.c:1429
#6 0x400ec001 in close_agentx_session (session=0x80d5080, sessid=-1)
at mibgroup/agentx/master_admin.c:154
#7 0x400ec91d in handle_master_agentx_packet (operation=5,
session=0x80d5080,
reqid=0, pdu=0x0, magic=0x0) at mibgroup/agentx/master_admin.c:490
#8 0x401429c9 in _sess_read (sessp=0x80b8a60, fdset=0xbfffdf10)
at snmp_api.c:5506
#9 0x40142b20 in snmp_sess_read (sessp=0x80b8a60, fdset=0xbfffdf10)
at snmp_api.c:5694
#10 0x40142b7d in snmp_read (fdset=0xbfffdf10) at snmp_api.c:5328
#11 0x0804b894 in main (argc=5, argv=0xbffff0c4) at snmpd.c:1170
(gdb)fr 0
(gdb) p *reginfo
Cannot access memory at address 0x14300101
I have a question about the reginfo. Is this not gettig freed as part
of unregister_mibs_by_session(session); called from
close_agentx_session()? By any chance, are we trying to free the
already freed memory?
Any help in this regards would be gretly apreciated. Please let me
know, where to upload the core?
Regards
Mahesh
-------------------------------------------------------------------------
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-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