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

"jiang jilin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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(Segmentation fault).so did the snmpwalk my private
table.but,snmpgetnext works well on other oids,and snmpget works well
on whole  oids.

I've found that agent crashed at function "myTable_handler ".Anynoe can help
me resolve the problem?

Thanks in advance!

Jiang

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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