From owner-freebsd-mips@freebsd.org Thu Oct 15 18:42:42 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AA73A15174 for ; Thu, 15 Oct 2015 18:42:42 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B246C1034 for ; Thu, 15 Oct 2015 18:42:41 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t9FIgOGX058304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Oct 2015 20:42:25 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: adrian.chadd@gmail.com Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t9FIgEKn032512; Fri, 16 Oct 2015 01:42:15 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: jemalloc aborts: lloc_arena.c:363: Failed assertion: "p[i] == 0" To: Adrian Chadd References: <561D2EC1.6030402@grosbein.net> <561D5459.70900@grosbein.net> <561E8C80.4030005@grosbein.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <561FF386.7030307@grosbein.net> Date: Fri, 16 Oct 2015 01:42:14 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2015 18:42:42 -0000 On 15.10.2015 00:53, Adrian Chadd wrote: > No, you're finding an actual real bug with jemalloc, so don't define > MALLOC_PRODUCTION. As a test, I've used qemu under FreeBSD/amd64 to build two packages for MIPS32: pkg-1.6.1.txz and mpd-5.7_3.txz and stored them to USB flash. I've mounted that USB flash as /usr/local in my TL WDR3600, extracted pkg-static and tried to install both packages and got kernel panic in process: # ./pkg-static install -yU /usr/local/pkg/*.txz pkg-static: Repository FreeBSD cannot be opened. 'pkg update' required Checking integrity... done (0 conflicting) The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: mpd5: 5.7_3 pkg: 1.6.1 The process will require 12 MiB more space. [1/2] Installing mpd5-5.7_3... [1/2] Extracting mpd5-5.7_3: 100% [2/2] Installing pkg-1.6.1... [2/2] Extracting pkg-1.6.1: 16% Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode) panic: trap Uptime: 3m7s panic: bufwrite: buffer is not busy??? Uptime: 3m7s This is repeatable. This time the device used system built using HEAD sources r289362 with MALLOC_PRODUCTION.