On Mon, Mar 12, 2012 at 05:50:33PM +0100, Alexandre Martins wrote: > 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 > assertion : > > Assertion failed: ((run->regs_mask[elm] & (1U << bit)) == 0), function > 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 ? There is no attachment. Put the source somewhere on web.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC