Re: Coredump when having large number of rows in a table
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 22/02/2008, vsaavedra <[email protected]> wrote: > I run the agent with the option you suggested and the core file showed: > > #0 0x001bb1ab in netsnmp_table_data_set_find_column (start=0x28, column=2) > at table_dataset.c:1140 [snip] > 1135 netsnmp_table_data_set_storage * > 1136 netsnmp_table_data_set_find_column(netsnmp_table_data_set_storage *start, > 1137 unsigned int column) > 1138 { > 1139 while (start && start->column != column) > 1140 start = start->next; > 1141 return start; > } Hmmm.... that looks suspiciously as if the internal table may have got corrupted. What are the values of 'start' and 'start->column' when the agent crashes? It might be worth tweaking this routine to print out these two values each time round the loop, to see whether this sheds any light on the problem. Dave ------------------------------------------------------------------------- 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