cvs commit: src/lib/libc/stdlib malloc.c

Jason Evans jasone at FreeBSD.org
Thu Feb 1 00:44:59 UTC 2007


Coleman Kane wrote:
>       Modified files:
>         lib/libc/stdlib      malloc.c
>       Log:
>       Fix a utrace(2)-related bug in calloc(3).
> 
>       Integrate various pedantic cleanups.
> 
>       Submitted by:   Andrew Doran <ad at netbsd.org <mailto:ad at netbsd.org>>
> 
>       Revision  Changes    Path
>       1.139     +56 -44    src/lib/libc/stdlib/malloc.c
>     _______________________________________________
> 
> Does this fix the following error I get in GDB alot:
> Assertion failed: (mapelm.free == false), function arena_salloc, file 
> /usr/src/lib/libc/stdlib/malloc.c, line 2355.

That assertion failure is likely due to an application bug, specifically 
a double free.

Jason


More information about the cvs-src mailing list