Yes. Saw that last week and got it corrected. I was following snmptrap.c
and it had those non multithreaded calls.
Best Regards,
Nishikant Deshmukh
On Thu, Oct 26, 2017 at 2:09 PM, Robert Story <[email protected]> wrote:
> On Fri, 20 Oct 2017 22:43:36 -0400 Nishikant wrote:
> ND> I have created a multithreaded application where each thread
> ND> creates a session, creates a PDU and sends it using snmp_send.
> ND> If I do snmp_close(session) after snmp_send, after a while I am
> ND> getting some sort of double free corruption message. If I
> ND> remove snmp_close(session) then after a while I am unable to
> ND> open any new transport client using
> ND> netsnmp_transport_open_client.
>
> Have you read README.thread and followed the suggestions it gives?
>
> Robert
>
------------------------------------------------------------------------------
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