--> Mike1888 has joined #net-snmp
--> ChanServ has joined #net-snmp
--> jbpn has joined #net-snmp
--> rstory|Asleep has joined #net-snmp
--> ua has joined #net-snmp
--> slam has joined #net-snmp
--> hampa has joined #net-snmp
--> df has joined #net-snmp
--> tarantulla has joined #net-snmp
--> _void has joined #net-snmp
[2002/10/17 05:59:29] #net-snmp <_void> hi
--> TrogL has joined #net-snmp
--> miike has joined #net-snmp
--> df has joined #net-snmp
--> hampa_zzz has joined #net-snmp
--> benr has joined #net-snmp
--> rstory has joined #net-snmp
--> miike has joined #net-snmp
--> ua has joined #net-snmp
--> ua has joined #net-snmp
--> ua has joined #net-snmp
--> galmeida has joined #net-snmp
[2002/10/17 14:12:49] #net-snmp <galmeida> I'm writing an agent using mib2c iterator, (almost) everything is working OK, my only problem is: free_loop_context_at_end nor free_loop_context are called. I'm setting iinfo->free_loop_context, iinfo->free_loop_context_at_end and netsnmp_register_table_iterator()
[2002/10/17 14:14:58] #net-snmp <galmeida> where can I find info about free_loop_context_at_end free_loop_context and free_data_context ?
[2002/10/17 14:15:41] #net-snmp <rstory> have you checked the mailing lists? I believe someone posted patches to add these calls...
[2002/10/17 14:16:59] #net-snmp <galmeida> since 10/02 the only post about it is mine
[2002/10/17 14:17:19] #net-snmp <galmeida> I'll look at sf archives
[2002/10/17 14:18:27] #net-snmp <rstory> are you J.P.?
[2002/10/17 14:19:33] #net-snmp <rstory> if so, then your patch is the one I'm referring to... thought someone else posted a similar patch on 10/4..
[2002/10/17 14:19:55] #net-snmp <galmeida> no I'm not JP
[2002/10/17 14:20:26] #net-snmp <rstory> wes is the table_iterator author, so he would be the one to decide whether or not the patches will be accepted..
[2002/10/17 14:21:29] #net-snmp <galmeida> does net-snmp (without this patch) call free_loop_context ?
[2002/10/17 14:23:20] #net-snmp <rstory> couldn't tell you. I think it will under certain conditions, but there are still some places where it should be called but isnt.
[2002/10/17 14:26:42] #net-snmp <galmeida> the patch was posted to coders malling list ?
[2002/10/17 14:28:01] #net-snmp <rstory> yes, one around 10/2, another on 10/4
[2002/10/17 14:28:33] #net-snmp <rstory> Subject: table_iterator Memory Leak
[2002/10/17 14:31:12] #net-snmp <galmeida> I found it!! I'll try it, thanks!
[2002/10/17 14:41:29] #net-snmp <galmeida> compiling
[2002/10/17 14:46:41] #net-snmp <galmeida> :( the patch did not fixed my problem
[2002/10/17 14:47:42] #net-snmp <rstory> bummer... did it help a little, or not at all?
[2002/10/17 14:48:19] #net-snmp <galmeida> not at all.. free_loop_context* are not being called ate all
--> ua has joined #net-snmp
[2002/10/17 14:50:15] #net-snmp <galmeida> do you know anyone who uses the new API for anything serius ?
[2002/10/17 14:53:05] #net-snmp <rstory> the table iterator is used internally in the nsModule tables, and I know wes and I are using it for another project...
[2002/10/17 14:53:28] #net-snmp <rstory> but that project is still in the 'make it work' phase, and hasn't reached the 'fix memory leaks phase'
[2002/10/17 14:53:58] #net-snmp <galmeida> free_loop_context and free_loop_context_at_end are not called. free_data_context IS called
[2002/10/17 14:55:42] #net-snmp <galmeida> when should one use free_loop_context, free_loop_context_at_end or free_data_context
[2002/10/17 14:59:56] #net-snmp <galmeida> ?
[2002/10/17 15:01:46] #net-snmp <rstory> you'll have to post a message to the mailing list, as wes is the one to answer that. I use the new API, but use the array_user helper instead of the table_iterator.
[2002/10/17 15:02:28] #net-snmp <galmeida> OK, I'll do it. Thanks
--> wes has joined #net-snmp
--> jbpn has joined #net-snmp

Powered by: SourceForge Logo