Re: snmp agent crashed when i used the tool snmpwalk running through out my private MIB(a table).

2007-01-15 Thread Dave Shield
On 22/12/06, jiang jilin <[EMAIL PROTECTED]> wrote: > Program received signal SIGSEGV, Segmentation fault. > 0xb7e95b20 in rsfwTable_handler (handler=0x80a1e60, > reginfo=0x80a1ea0, reqinfo=0x0, requests=0x810ebe0) at rfw/rs.c:361 > 361 > snmp_set_var_typed_integer(request->requestvb, ASN_COUN

Re: snmp agent crashed when i used the tool snmpwalk running through out my private MIB(a table).

2006-12-21 Thread jiang jilin
Hi,Dave I'm really sorry,I changed the name of My table & files,so when you encounter the rsfwSysAntivirusTable_handler ,yeah,it equals rsfwTable_handler ,and the same as the files. Also,sorry for my poor english. forgive me please! Thanks for your help! Regards, Jiang On 12/22/06, jiang ji

Re: snmp agent crashed when i used the tool snmpwalk running through out my private MIB(a table).

2006-12-21 Thread jiang jilin
Thanks for your reply,Dave. Maybe,I should modify the rsfwTable_handler routine shown as follows, /** handles requests for the rsfwTable table */ int rsfwTable_handler(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, n

Re: snmp agent crashed when i used the tool snmpwalk running through out my private MIB(a table).

2006-12-21 Thread Dave Shield
On 21/12/06, jiang jilin <[EMAIL PROTECTED]> wrote: > I've found that agent crashed at function "myTable_handler ".Anynoe can help > me resolve the problem? Try running the agent under a debugger, or running the debugger on the core file from the crash. A backtrace should indicate where exactly

snmp agent crashed when i used the tool snmpwalk running through out my private MIB(a table).

2006-12-20 Thread jiang jilin
Hi,all I extend the agent with using mib2c ,you know,i run mib2c -S cache=1 -c mib2c.iterator.c myoid.And it works well but not as I expeted. When I used snmpgetnext to require the last oid (in my private table,exactly,the last oid ,I mean,is the index of last row of my table.),the agent crashed