Re: Double free() in libc or gdb ?

看板FB_current作者時間14年前 (2012/03/14 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/9 (看更多)
--nextPart15937267.aOW62MPspO Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Tuesday 13 March 2012 20:44:43 you wrote: > On 2012-03-13 11:08, Alexandre Martins wrote: > > On Monday 12 March 2012 18:55:55 Konstantin Belousov wrote: > >> On Mon, Mar 12, 2012 at 05:50:33PM +0100, Alexandre Martins wrote: > ... >=20 > >>> 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 assertion : > >>>=20 > >>> Assertion failed: ((run->regs_mask[elm] & (1U << bit)) =3D=3D 0), fun= ction > >>> arena_run_reg_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line > >>> 2543. >=20 > I have committed a fix for this assertion (actually a double free) in > r232934. Can you please update to that revision, rebuild your gdb, and > try again? Dear, The problem have disapear with an update to gdb 7.3. Thank you for your help ! Regards =2D-=20 Alexandre Martins NETASQ -- We secure IT --nextPart15937267.aOW62MPspO--
文章代碼(AID): #1FO5vEbk (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FO5vEbk (FB_current)