Fw: Table Iterator Crashes in free_data_context

2020-08-31 Thread Ian C via Net-snmp-coders
My crash issue stems from   iinfo->free_data_context cb being called repeatedly with the same address to free. Any thoughts? thanksIan - Forwarded Message - From: Ian C via Net-snmp-coders To: net-snmp-coders@lists.sourceforge.net Sent: Tuesday, August 25, 2020, 3:20:07 p.m. EDTSu

Fw: Table Iterator Crashes in free_data_context

2020-08-26 Thread Ian C via Net-snmp-coders
I've added some cout's for debug (// free() commented out in favor of a cout). If _get_next_ has a non-NULL entry it will cout entry's two strings ('A1' is the idx) Here's the output (thanks for the help): NET-SNMP version 5.9.rc2 AgentX subagent connected _get_first_() populate() populate ju

Fw: Table Iterator Crashes in free_data_context

2020-08-26 Thread Ian C via Net-snmp-coders
Yes that's correct, memory leak flagged by valgrind. - Forwarded Message - From: Wes Hardaker To: Ian C via Net-snmp-coders Cc: Ian C Sent: Wednesday, August 26, 2020, 10:13:09 a.m. EDTSubject: Re: Table Iterator Crashes in free_data_context Ian C via Net-snmp-coders writes: > I