Random failures when calling free()/malloc()

Martin Schlemmer azarah@gentoo.org
Sat Jul 19 20:16:00 GMT 2003


On Sat, 2003-07-19 at 18:39, Dan Kegel wrote:
> BTW, have you cranked glibc's malloc debugging setting
> up to the max?  There's also a sanity check routine you
> could call periodically before the failure...

Ok, got this:

--------------------------------------
malloc.c:3212: munmap_chunk: Assertion `((p->prev_size + size) &
(mp_.pagesize-1)) == 0' failed.
--------------------------------------

Pretty much the same as the rest, just ending in the assert and not
the unlink().

Any ideas will be appreciated.


Thanks,

-- 

Martin Schlemmer



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030719/8bb9848c/attachment.sig>


More information about the Libc-alpha mailing list