From owner-svn-src-head@FreeBSD.ORG Mon Feb 10 00:11:54 2014 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8C5FB9F; Mon, 10 Feb 2014 00:11:54 +0000 (UTC) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 85F341688; Mon, 10 Feb 2014 00:11:54 +0000 (UTC) Received: from lgwl-lstewart2.corp.netflix.com (lstewart-laptop.caia.swin.edu.au [136.186.229.148]) by lauren.room52.net (Postfix) with ESMTPSA id A66FA7E84F; Mon, 10 Feb 2014 11:11:46 +1100 (EST) Message-ID: <52F81936.6030703@freebsd.org> Date: Mon, 10 Feb 2014 11:11:34 +1100 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Jason Evans Subject: Re: svn commit: r261071 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src include lib/libc/gen lib/libc/... References: <201401230247.s0N2lbkU098546@svn.freebsd.org> <52F45AA4.4000004@freebsd.org> <78E18422-AA85-41D4-9DE8-D33D00881ABA@freebsd.org> In-Reply-To: <78E18422-AA85-41D4-9DE8-D33D00881ABA@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lauren.room52.net Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 00:11:54 -0000 On 02/07/14 16:06, Jason Evans wrote: > On Feb 6, 2014, at 8:01 PM, Lawrence Stewart > wrote: >> On 01/23/14 13:47, Jason Evans wrote: >>> Author: jasone Date: Thu Jan 23 02:47:36 2014 New Revision: >>> 261071 URL: http://svnweb.freebsd.org/changeset/base/261071 >>> >>> Log: Update jemalloc to version 3.5.0. >> >> I suspect that this commit is related to the assertion failures >> I've been seeing on recent head when I updated from r260427 to >> r261453. Here's two I noticed today: >> >> : >> /usr/local/poudriere/jails/head-amd64/usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:7 >> >> 76: Failed assertion: "binind == actual_binind" >> *** Signal 6 >> >> and >> >> : >> /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:776: >> >> Failed assertion: "binind == actual_binind" >> Abort trap >> >> I seem to be able to reproduce the first one readily when >> poudriere tries to build chromium so I can provide more info and >> help test ideas. >> >> Cheers, Lawrence > > Are the failures you saw happening only for the chromium build, or > have you seen that same failure for other things as well? Other things as well. The second example came from a completely unrelated app - dnsmasq if I remember correctly. The assertion failures are not deterministic. I do recall the machine was using a fairly substantial amount of swap at the time which might be relevant, as I haven't noted a failure recently since rebooting the laptop. > If this is an application bug, it’s probably due do a buffer overrun > corrupting an adjacent page that contains page run metadata. If it’s > a jemalloc bug, I’m going to need to reproduce it and dig in; it’s > unlikely to be easy to diagnose. I'll keep an eye out for further failures and see if I can figure out a reproduction recipe. Cheers, Lawrence