I implemented a few tables (created using the MFD config) and I noticed when I 
perform the first query on any table, then the container_load() routines for 
each table is called in succession to load the tables data.  

Anyway, one of my tables might not have any entries in it during the first 1/2 
hour of our hardware box's operation, so if this table's container_load() 
routine is called when there is no data to place into the table, then the 
container_load() routine exits and returns a MFD_ERROR response (I also tried 
returning a MFD_SUCCESS response as well).  However, it seems when the 
container_load() routine exits without any data actually being stored in the 
container, then the code crashes and produces a coredump.  I tried using GDB to 
get a back trace, but had no luck.

I traced through my code using "printf" statements to prove to myself that the 
crash occurs after the the container_load() routine returns with no data 
inserted into the container..

I am currently using Net-Snmp 5.4.1 ....... has there been any patches 
submitted which address this issue?   If not, then perhaps someone can help me 
figure out what I need to do when the container_load() routine is called and I 
have nothing to put into the container.

Thanks for any help.





      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to