Re: Help required on net-snmp multiple varbind get-next generic error problem

"srinivas pippiri" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
HI,

 Thanks for the response from Dave.
 I tried upgrading to 5.3.2 and still the problem remains.

 Here again i am explaining the problem in detail.
1st case
 When i do the GET-NEXT from varbind in which only last MIB object of the
table is included, we are
 getting correct response and there is no loop.

2nd case
 But if i include more than one MIB object including the last MIB object of
the table, we are getting the problem of Generic error. In debug mode i have
seen there is a big loop going on(say suppose if i include all the 6 MIB
objects of the table get_next_data_point from our MIB module is getting
called 28000 times).

In debug mode i have seen that the following loop in table_iterator.c
file is going into the big loop(may be around 28000 times)

index_search *=*
(iinfo*->*get_first_data_point) (&callback_loop_context,
&callback_data_context,
index_search, iinfo);

*/* loop over each data point */*
*while* (index_search) {

*/* remember to free this later */*
free_this_index_search *=* index_search;

.....

Please let me know if more information is required about the problem.

Thanks and Regards,
Srinivas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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.