net-snmp dumps core in netsnmp_oid_find_prefix

Thumma Anil Reddy <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAERYPpLfm5vDJHrkCQEZJcJ9CQcD8rbnGAhN_EOwnvzRvPmXhg@mail.gmail.com>
Hi Team,

I am struct with the bug which creating core in net snmp.
So could you please help me in fixing this issue.

core was generated by `/usr/sbin/snmpd -LS0-6d -Lf /dev/null -p
/var/run/snmpd.pid'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f41acdf5001 in netsnmp_oid_find_prefix ()
   from /usr/lib64/libnetsnmp.so.20
Thread 1 (Thread 2898):
#0  0x00007f41acdf5001 in netsnmp_oid_find_prefix ()
   from /usr/lib64/libnetsnmp.so.20
#1  0x00007f41aecc61ae in netsnmp_add_varbind_to_cache ()
   from /usr/lib64/libnetsnmpagent.so.20
#2  0x00007f41aecc685c in netsnmp_reassign_requests ()
   from /usr/lib64/libnetsnmpagent.so.20
#3  0x00007f41aecc68e8 in handle_getnext_loop ()
   from /usr/lib64/libnetsnmpagent.so.20
#4  0x00007f41aecc9b82 in check_delayed_request ()
   from /usr/lib64/libnetsnmpagent.so.20
#5  0x00007f41aecc9d0d in netsnmp_check_outstanding_agent_requests ()
   from /usr/lib64/libnetsnmpagent.so.20
#6  0x00007f41aecca7d5 in netsnmp_remove_delegated_requests_for_session ()
   from /usr/lib64/libnetsnmpagent.so.20
#7  0x00007f41aeceafb7 in close_agentx_session ()
   from /usr/lib64/libnetsnmpagent.so.20
#8  0x00007f41aeceb57c in handle_master_agentx_packet ()
   from /usr/lib64/libnetsnmpagent.so.20
#9  0x00007f41ace0566f in _sess_read () from /usr/lib64/libnetsnmp.so.20
#10 0x00007f41ace06049 in snmp_sess_read2 () from /usr/lib64/libnetsnmp.so.20
#11 0x00007f41ace0610b in snmp_read2 () from /usr/lib64/libnetsnmp.so.20
#12 0x00007f41af126fde in main ()



Thanks and regards
        Anil

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.