Fwd: fail to access first row in the table

Evgeny Mugerman <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I have another problem:
When i set the timeout for my table to value -1 (intend to access data only
upon request) I got segmentation fault during the request performing.
According to my code fault happen within myTable_handler() routine.
If "timeout" value set to any other value and table read periodically -
everything works well.
My cache flag set to :

 cache->flags |=  (
         NETSNMP_CACHE_DONT_FREE_EXPIRED  |
         NETSNMP_CACHE_PRELOAD |
         NETSNMP_CACHE_AUTO_RELOAD    );

And I don't read/write directly to cache->flags fields.
Why that happen?

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.