From owner-freebsd-current@FreeBSD.ORG Wed May 9 07:01:35 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D558106566B; Wed, 9 May 2012 07:01:35 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from fep13.mx.upcmail.net (fep13.mx.upcmail.net [62.179.121.33]) by mx1.freebsd.org (Postfix) with ESMTP id BDE028FC08; Wed, 9 May 2012 07:01:34 +0000 (UTC) Received: from edge02.upcmail.net ([192.168.13.237]) by viefep13-int.chello.at (InterMail vM.8.01.05.04 201-2260-151-105-20111014) with ESMTP id <20120509070133.YMPQ3333.viefep13-int.chello.at@edge02.upcmail.net>; Wed, 9 May 2012 09:01:33 +0200 Received: from mole.fafoe.narf.at ([80.109.55.137]) by edge02.upcmail.net with edge id 7j1Z1j00L2xdvHc02j1ZKQ; Wed, 09 May 2012 09:01:33 +0200 X-SourceIP: 80.109.55.137 Received: by mole.fafoe.narf.at (Postfix, from userid 1001) id 0C16B6D432; Wed, 9 May 2012 09:01:28 +0200 (CEST) Date: Wed, 9 May 2012 09:01:28 +0200 From: Stefan Farfeleder To: Jason Evans Message-ID: <20120509070101.GC1395@mole.fafoe.narf.at> References: <20120421185402.GH1743@albert.catwhisker.org> <7AD8956D-AD18-4CAB-9953-06E00185A7DA@freebsd.org> <4FA94E51.8020902@FreeBSD.org> <20120508213717.GA1410@mole.fafoe.narf.at> <20120508215802.GB1410@mole.fafoe.narf.at> <93A2687F-5061-42B7-883B-F92371F8023F@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <93A2687F-5061-42B7-883B-F92371F8023F@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@FreeBSD.org Subject: Re: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2012 07:01:35 -0000 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