Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 16:16:44 -0800
From:      Jason Evans <jasone@FreeBSD.org>
To:        cokane@cokane.org
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/stdlib malloc.c
Message-ID:  <45C1316C.8010500@FreeBSD.org>
In-Reply-To: <346a80220701311514j6aa9e3eavc5a4de2bffc039d7@mail.gmail.com>
References:  <200701312254.l0VMsKZ6050188@repoman.freebsd.org> <346a80220701311514j6aa9e3eavc5a4de2bffc039d7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@netbsd.org <mailto:ad@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45C1316C.8010500>