Double free() in libc or gdb ?
--nextPart4136842.SocrAYyRgt
Content-Type: multipart/mixed;
boundary="Boundary-01=_aliXPnKyhLuiC9U"
Content-Transfer-Encoding: 7bit
--Boundary-01=_aliXPnKyhLuiC9U
Content-Type: Text/Plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Dear all,
I'm currently having some trouble with the dynamic loader.
I have the libc compilled with "MALLOC_DEBUG" flag to detect double free.
When i run this piece of code (attached file) thought GDB, i have this=20
assertion :
Assertion failed: ((run->regs_mask[elm] & (1U << bit)) =3D=3D 0), function=
=20
arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 2543.
But when i run the same binary without GDB, no assert.
I'm very confused. Can you help me to debug that ?
Best regards
=2D-=20
Alexandre Martins
NETASQ -- We secure IT
--Boundary-01=_aliXPnKyhLuiC9U--
--nextPart4136842.SocrAYyRgt--
討論串 (同標題文章)
完整討論串 (本文為第 2 之 9 篇):