Seg fault in SNMP++3.2
Kevin J. Schmidt
kschmidt____mindspring.com
Wed Sep 4 21:29:16 CEST 2002
No, I am not. Why would anything other than a CTarget be passed? What
return value should I be looking for from get_type()?
On Wed, 2002-09-04 at 15:26, Jochen Katz wrote:
> 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