Re: <jemalloc>: jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

From: Jason Evans <jasone_at_FreeBSD.org>
Date: Fri, 11 May 2012 22:29:55 -0700
On May 9, 2012, at 12:01 AM, Stefan Farfeleder wrote:
> On Tue, May 08, 2012 at 03:59:42PM -0700, Jason Evans wrote:
>> On May 8, 2012, at 2:58 PM, Stefan Farfeleder wrote:
>>> On Tue, May 08, 2012 at 02:47:59PM -0700, Jason Evans wrote:
>>>> On May 8, 2012, at 2:37 PM, Stefan Farfeleder wrote:
>>>>> 
>>>>> I hit the same assertion with r235052 and inkscape. I'm now using
>>>>> MALLOC_PRODUCTION and it works again.
>>>> 
>>>> Was the assertion failure easily reproducible with inkscape?
>>> 
>>> Yes, it crashed everytime before showing the GUI. The backtrace goes
>>> like this:
> 
> [snip]
> 
>> sbrk() is being used rather than mmap().  Unless mmap() is failing (which would surprise me), this indicates that you are using a version of libc that's old enough to have the bug I fixed in r234569.
> 
> I'm afraid the backtrace was somehow corrupted. Here's a new one from a libc
> compiled with -g:
> 
> […]

I received a similar report from Kevin Lo regarding bsdtar that proved easy to reproduce.  The fix is part of the jemalloc 3.0.0 import I just did, and I expect it fixes the inkscape crashes as well.

Thanks,
Jason
Received on Sat May 12 2012 - 03:29:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC