[AGENT++] Re: AGENTPP Digest, Vol 25, Issue 10

???163 touchzhao at 163.com
Mon Feb 13 01:43:29 CET 2006



----- Original Message -----
From: <agentpp-request at agentpp.org>
To: <agentpp at agentpp.org>
Sent: Sunday, February 12, 2006 8:00 PM
Subject: AGENTPP Digest, Vol 25, Issue 10


>
> Send AGENTPP mailing list submissions to
> agentpp at agentpp.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.agentpp.org/mailman/listinfo/agentpp
> or, via email, send a message with subject or body 'help' to
> agentpp-request at agentpp.org
>
> You can reach the person managing the list at
> agentpp-owner at agentpp.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AGENTPP digest..."
>
>
> Today's Topics:
>
>    1. Re: SNMP++ 3.2.16 memory fault on AIX 5.3 (Jochen Katz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 11 Feb 2006 20:05:27 +0100
> From: Jochen Katz <katz at agentpp.com>
> Subject: Re: [AGENT++] SNMP++ 3.2.16 memory fault on AIX 5.3
> To: agentpp at agentpp.org
> Message-ID: <43EE3577.2050601 at 2006.joka.homelinux.org>
> Content-Type: text/plain; charset=windows-1252
>
> 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);
> }
>

If the ctarget line is not enabled, it reports:

1546-525 Object 0x20107DB8 is invalid or a libc heap object at line 535 in
../include/snmp_pp/address.h
1546-522 Traceback:
           d9e383fc = _debug_ufree + 0x38
           d9e30a18 = _debug_free + 0x18
           d9e213d0 = ? + 0x44
           1000b364 = __dt__10UdpAddressFv + 0x8C
           1000b24c = __dt__10GenAddressFv + 0xB0
           1000b0f0 = main + 0x78

And if ctarget is enabled, it reports:

1546-525 Object 0x20108468 is invalid or a libc heap object at line 535 in
../include/snmp_pp/address.h
1546-522 Traceback:
           d9e383fc = _debug_ufree + 0x38
           d9e30a18 = _debug_free + 0x18
           d9e213d0 = ? + 0x44
           1000b514 = __dt__10UdpAddressFv + 0x8C
           1000b3fc = __dt__10GenAddressFv + 0xB0
           1000b910 = __dt__10SnmpTargetFv + 0x74
           1000b2e4 = __dt__7CTargetFv + 0xB4
           1000b108 = main + 0x90
1546-525 Object 0x20108328 is invalid or a libc heap object at line 535 in
../include/snmp_pp/address.h
1546-522 Traceback:
           d9e383fc = _debug_ufree + 0x38
           d9e30a18 = _debug_free + 0x18
           d9e213d0 = ? + 0x44
           1000b514 = __dt__10UdpAddressFv + 0x8C
           1000b3fc = __dt__10GenAddressFv + 0xB0
           1000b120 = main + 0xA8

the snmp++ is linked as static lib.

> 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
>
>
> ------------------------------
>
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
>
>
> End of AGENTPP Digest, Vol 25, Issue 10
> ***************************************
>





More information about the AGENTPP mailing list