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

Jason Evans jasone at FreeBSD.org
Sat May 12 05:29:57 UTC 2012


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


More information about the freebsd-current mailing list