Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2012 22:29:55 -0700
From:      Jason Evans <jasone@FreeBSD.org>
To:        Stefan Farfeleder <stefanf@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: <jemalloc>: jemalloc_arena.c:182: Failed assertion: "p[i] == 0"
Message-ID:  <DB4D87E8-566A-452C-B545-9BB18FDD6560@FreeBSD.org>
In-Reply-To: <20120509070101.GC1395@mole.fafoe.narf.at>
References:  <20120421185402.GH1743@albert.catwhisker.org> <7AD8956D-AD18-4CAB-9953-06E00185A7DA@freebsd.org> <a457b78de070b45bbffdd06271c6a7ef.squirrel@mouf.net> <A67012C5-E54A-4F60-A1DD-AAFB3867793B@FreeBSD.org> <4FA94E51.8020902@FreeBSD.org> <20120508213717.GA1410@mole.fafoe.narf.at> <EBD45BFC-D4A4-4B29-B946-5C67357FC2CD@FreeBSD.org> <20120508215802.GB1410@mole.fafoe.narf.at> <93A2687F-5061-42B7-883B-F92371F8023F@FreeBSD.org> <20120509070101.GC1395@mole.fafoe.narf.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>>>>>=20
>>>>> I hit the same assertion with r235052 and inkscape. I'm now using
>>>>> MALLOC_PRODUCTION and it works again.
>>>>=20
>>>> Was the assertion failure easily reproducible with inkscape?
>>>=20
>>> Yes, it crashed everytime before showing the GUI. The backtrace goes
>>> like this:
>=20
> [snip]
>=20
>> 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.
>=20
> I'm afraid the backtrace was somehow corrupted. Here's a new one from =
a libc
> compiled with -g:
>=20
> [=85]

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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB4D87E8-566A-452C-B545-9BB18FDD6560>