This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Random failures when calling free()/malloc()


Martin Schlemmer wrote:
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().

Run that in gdb and let's see a backtrace... - Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]