On Wed, 20 Oct 2004 16:02:01 -0200 Ivens wrote:
IP> Robert Story (Coders) wrote:
IP> > On Tue, 19 Oct 2004 17:07:56 -0200 Ivens wrote:
IP> > IP> Robert Story (Coders) wrote:
IP> > IP> > On Tue, 19 Oct 2004 14:58:30 -0200 Ivens wrote:
IP> > IP> What if I shut everything down before restarting as an agent? Would 
IP> > IP> calling snmp_shutdown() solve the problem?
IP> > 
IP> > I was hoping you wouldn't ask that.
IP> > 
IP> > In theory, yes, that should work. However, since the agent exists when
IP> > shutting down, not a whole lot of work has gone into testing and working
IP> > out the kinks of snmp_shutdown. 
IP> 
IP> I didn't dig deep into the code but I ran my application on Valgrind to 
IP> try to detect memory problems and the only thing I got was an invalid 
IP> free() in snmp_shutdown(). Below is Valgrind output with the backtrace:
IP> 
IP> ==31937== Invalid free() / delete / delete[]
IP> ==31937==    by 0x1BBABDC7: clear_callback (callback.c:297)

Try the patch I just attached to this bug report, and see if it helps:

http://sourceforge.net/tracker/index.php?func=detail&aid=1027711&group_id=12694&atid=112694

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to