Hi, Zhouhuai,

I also saw the same coredump but it seemed to related to delegated requessts
on timeout in my case.

thanks,
Daniel
Zhouhuai Shen wrote:

> Hi,
>
> I had a coredump when I run net-snmp 5.3.1. It seems the leakage was
> observed when traps are sent.
> Doesanyoneknow about this issue and any possible patch has been done
> tofix this?It seems the problem also happens in net-snmp 5.4.1.
>
> My coredump is as the following:
>
> =====================================
>
> #0 netsnmp_add_varbind_to_cache (asp=0x100b58d8,vbcount=1,
>
> varbind_ptr=0x100a21a0, tp=0xffffffff) atsnmp_agent.c:1869
>
> #1 0x30153c88 in netsnmp_reassign_requests(asp=0x100b58d8)
>
> at snmp_agent.c:2337
>
> #2 0x30153e78 in handle_getnext_loop(asp=0xffffffff) at snmp_agent.c:2901
>
> #3 0x30155298 in check_delayed_request(asp=0x100b58d8) at
> snmp_agent.c:2684
>
> #4 0x301553dc innetsnmp_check_outstanding_agent_requests ()
>
> at snmp_agent.c:2579
>
> #5 0x30155708 innetsnmp_remove_delegated_requests_for_session (
>
> sess=0x100b58d8) at snmp_agent.c:1435
>
> #6 0x301732e4 in close_agentx_session(session=0x100b58d8, sessid=-1)
>
> at mibgroup/agentx/master_admin.c:154
>
> #7 0x3015f5c4 in agentx_got_response(operation=269096904,
>
> session=0x100b58d8, reqid=,
>
> pdu=,magic=)
>
> at mibgroup/agentx/master.c:248
>
> #8 0x301e2e74 in snmp_sess_timeout(sessp=)
>
> at snmp_api.c:6206
>
> #9 0x301e2f44 in snmp_timeout () atsnmp_api.c:6018
>
> #100x10004c0c in main (argc=269087568, argv=)
>
> at snmpd.c:1244
>
> ================================================
>
> Thanks a lot, Henry
> ------------------------------------------------------------------------
> MSN NZ Travel Get inspired - dream, research, plan and book your next
> holiday online with
>
>
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.p...r_id=100&url=/
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Net-snmp-coders mailing list
>Net-snmp-coders@lists.sourceforge.net
>https://lists.sourceforge.net/lists/...et-snmp-coders
>
>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders