crash in agent_check_and_process

YANG Kaigen <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <BJBPR01MB131174D8A4E4E1B17DBEFC3E1CF0@BJBPR01MB131.CHNPR01.prod.partner.outlook.cn>
Hi, we use snmp 5.7.3, using V3, authProtocol  SHA,  privProtocol  AES.

Sometimes the agent will be crash, the stack as flow.

Where there has some idea about it?  Thanks a lot.


#0  0x0000ffffafac7168 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x0000ffffafac855c in __GI_abort () at abort.c:89
#2  0x0000ffffafafe178 in __libc_message (do_abort=do_abort@entry=2, 
    fmt=fmt@entry=0xffffafbac7f0 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
#3  0x0000ffffafb03cf8 in malloc_printerr (action=3, 
    str=0xffffafbac8f8 "double free or corruption (out)", 
    ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5004
#4  0x0000ffffafb04568 in _int_free (av=0xffffafbd49a0 <main_arena>, 
    p=0xffff90007e30, have_lock=0) at malloc.c:3865
#5  0x0000ffffafdbb6b8 in snmp_free_pdu ()
   from /ptnapp/Active/lib/libnetsnmp.so.30
#6  0x0000ffffafdbebe4 in snmp_sess_timeout ()
   from /ptnapp/Active/lib/libnetsnmp.so.30
#7  0x0000ffffafdbe318 in snmp_timeout ()
   from /ptnapp/Active/lib/libnetsnmp.so.30
#8  0x0000ffffafebb63c in agent_check_and_process ()
   from /ptnapp/Active/lib/libnetsnmpagent.so.30


br.
kaigeny
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.