[AGENT++] SNMP++ 3.2.16 memory fault on AIX 5.3

Jochen Katz katz at agentpp.com
Sat Feb 11 20:05:27 CET 2006


Hi,

> 1546-525 Object 0x20108BD8 is invalid or a libc heap object at line 535 in
> ../include/snmp_pp/address.h
> 
>            1000be38 = __dt__10UdpAddressFv + 0x8C
>            1000c9c4 = __dt__10GenAddressFv + 0xB0
>            1000c70c = __dt__10SnmpTargetFv + 0x74
>            1000c34c = __dt__7CTargetFv + 0xB4
>            1000b9f0 = main + 0x938

this whould indicate that the problem is only related to the GenAddress
class.

Can you do a new test with only the following code (enable the ctarget
line if there is no error message):

int main()
{
   UdpAddress udpaddr("127.0.0.1");
   GenAddress genaddr(udpaddr);
   //CTarget ctarget(udpaddr);
}

As you wrote that snmp++ is compiled with the same compiler flags: If
you use a shared lib, check that this lib is also used at runtime.

Regards,
  Jochen



More information about the AGENTPP mailing list