Double free() in libc or gdb ?

看板FB_current作者時間14年前 (2012/03/13 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/9 (看更多)
--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--
文章代碼(AID): #1FNZdVnk (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FNZdVnk (FB_current)