Seg fault in SNMP++3.2

Jochen Katz katz____agentpp.com
Wed Sep 4 21:26:08 CEST 2002


Hi,

> I have a seg fault bug in an application that's receiving SNMP traps.
> It's happening at a customer site, and I'm unable to reproduce the bug
> myself. I have output from gdb below. Does anyone have an idea what
> might be causing the problem? The platform is Red Hat Linux 7.2.

I see only one reason for this to happen: The target object passed to 
the callback is not a CTarget, but a UTarget or a SnmpTarget. Do you 
verify the target type with SnmpTarget::get_Type()?

Kind regards,
   Jochen

-- 
Public GPG Key: http://www.sa-ha.de




More information about the AGENTPP mailing list