On 23/01/2008, Xuan Pan wrote:
> > ....run a single "snmpgetnext -r 0 -t 6000 ..." query against this agent,
> > and single step through the routine until you hit this error.
> > What does the structure pointed to by 'pIndex' look like at that point?

> Well it is a segmentation fault caused by a 'NULL' pIndex pointer (print
> pIndex returns 0x1). Sadly, it looks wrong.

What is the *full* code of:
- the module initialisation routine;
- the getFirst hook routine;
- the getNext hook routine

Which line of code triggers the segmentation fault?

What is the exact command that you ran to query the agent?


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: