[AGENT++] process crash after changing from snmpv1 to snmpv3

Jochen Katz katz at agentpp.com
Fri Aug 19 23:13:18 CEST 2005


Hi Paul,

>    I had been using Snmp++ 2.6 till now.. Now I have upgraded it to
> V3.2.17 for snmpv3 support.
> I am using Solaris8.
> I have compiled the snmp library with the following compiler options:
> -D_XPG4_EXTENDED -Dsun -D__unix -D_SNMPv3
> Now what is happening is after sending two snmp get command or snmp sert
> command , my proxy process is crashing due to some segmentation fault.I
> am using Asynchronous Snmp get or set request..
> 
> What all changes has to be done in my code to use the new library.

it's hard to say which changes you have to make to your code, but yo can
do two things:
- Compare what your code does to send async reqests to the code of the
async consoleExample.
- As you can reproduce the crash you can use a debugger to see where the
crash occurs.

Regards,
  Jochen



More information about the AGENTPP mailing list