>>>>> "WJ" == Wojciech Jawor <[EMAIL PROTECTED]> writes:

WJ> The second call would crash the agent.

WJ> (I tried to reproduce this on the table from the tutorial, but it seems
WJ> to be too small; I was able to reproduce this on slightly larger tables
WJ> with a more than 2 calls to snmpset)

I would suggest taking the example table that you're saying doesn't
cause crashes when it is small and extend it *in exactly the same way
as it's written* to a large number of columns and see if that
crashes.  If it doesn't, then the crash you're seeing is likely
specific to your particular table implementation.

WJ> I started looking at the code of the helper handler and determined that
WJ> the agent crashes at the very end of the set request, particularly on
WJ> the STATE_COMMIT, when it executes (table_dataset.c:588)

WJ> data =
WJ> netsnmp_table_data_set_find_column(data,
table_info-> colnum);

WJ> The "data" structure is corrupted, and since this is obtained from the
WJ> "row" structure that would mean that "row" is corrupted.

Is the data structure being passed in corrupted, or the one coming
out?

-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to