<jemalloc>: jemalloc_arena.c:182: Failed assertion: "p[i] == 0"
Stefan Farfeleder
stefanf at FreeBSD.org
Wed May 9 07:01:35 UTC 2012
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:
(gdb) bt
#0 0x000000080ad760ac in thr_kill () at thr_kill.S:3
#1 0x000000080ae22548 in abort () at /usr/src/lib/libc/stdlib/abort.c:77
#2 0x000000080ad9f57d in arena_chunk_validate_zeroed (chunk=0x188d3, run_ind=6) at jemalloc_arena.c:182
#3 0x000000080ada1c51 in arena_run_split (arena=0x8104000c0, run=Variable "run" is not available.
) at jemalloc_arena.c:318
#4 0x000000080ada3624 in arena_run_alloc (arena=0x8104000c0, size=4096, large=false, zero=false)
at jemalloc_arena.c:524
#5 0x000000080ada3ffc in arena_bin_malloc_hard (arena=0x8104000c0, bin=0x810400298) at jemalloc_arena.c:1128
#6 0x000000080ada432d in __jemalloc_arena_tcache_fill_small (arena=0x8104000c0, tbin=0x810806068, binind=2,
prof_accumbytes=Variable "prof_accumbytes" is not available.
) at jemalloc_arena.c:1250
#7 0x000000080ad9394f in __jemalloc_tcache_alloc_small_hard (tcache=Variable "tcache" is not available.
) at jemalloc_tcache.c:32
#8 0x000000080ad93d70 in __jemalloc_tcache_alloc_small (tcache=0x810806000, size=32, zero=false) at tcache.h:340
#9 0x000000080ada73a0 in malloc (size=32) at jemalloc_jemalloc.c:807
#10 0x000000080a6a283d in operator new () from /usr/lib/libstdc++.so.6
#11 0x0000000803300dcf in sigc::internal::trackable_callback_list::add_callback ()
from /usr/local/lib/libsigc-2.0.so.0
#12 0x00000000007a5664 in sp_style_new_from_object ()
Stefan
More information about the freebsd-current
mailing list