Re: Core dump with net-snmp-5.8

2019-04-08 Thread Masayoshi Mizuma
Hi Josef, I attach two patches to fix the memory inconsistency if the request is resend and timed out. Could you try them? - 0001-agentx-master-Return-when-NETSNMP_CALLBACK_OP_RESEND.patch This patch was posted by Anders, and I tried to add the description. This patch fixes the missing NETS

Re: Core dump with net-snmp-5.8

2019-04-08 Thread Anders Wallin
Hi Masa, looks like it solves the problem reported by Josef, BUT it breaks DTLSUDP. I run the tests w/o analyzing why. To reproduce the issue I did the following using net-snmp master branch, plus these patches 39485c6f2 - snmplib/snmp_api: Remove the request on the session when the sending is fai

Re: Core dump with net-snmp-5.8

2019-04-08 Thread Masayoshi Mizuma
Hi Anders, Thank you for your feedback! I attach the v2 patch. Could you try it? On the v1 patch, I missed the check for the request callback. So, the request gets removed even though the callback doesn't run. Thanks, Masa On 4/8/19 11:06 AM, Anders Wallin wrote: > Hi Masa, > > looks like it s