From owner-freebsd-current@FreeBSD.ORG Mon Dec 1 19:08:45 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A2FA106564A for ; Mon, 1 Dec 2008 19:08:45 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from canonware.com (canonware.com [64.183.146.166]) by mx1.freebsd.org (Postfix) with ESMTP id 071FD8FC23 for ; Mon, 1 Dec 2008 19:08:44 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from [192.168.168.201] (unknown [192.168.168.201]) by canonware.com (Postfix) with ESMTP id 00C2D1298C7; Mon, 1 Dec 2008 11:14:48 -0800 (PST) Message-ID: <4934363C.9090200@FreeBSD.org> Date: Mon, 01 Dec 2008 11:08:44 -0800 From: Jason Evans User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Kyle Allender References: <4933E158.5030407@completecomputing.com> <20081201132656.GB1397@lizard.fafoe.narf.at> <4933E7D9.7030707@completecomputing.com> <20081201134942.GC1397@lizard.fafoe.narf.at> <4933ED44.7010205@completecomputing.com> In-Reply-To: <4933ED44.7010205@completecomputing.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Stefan Farfeleder , freebsd-current@freebsd.org Subject: Re: Problem in malloc.c, rev. 1.183 while building phonon-4.2.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: Mon, 01 Dec 2008 19:08:45 -0000 Kyle Allender wrote: > Stefan Farfeleder wrote: >> On Mon, Dec 01, 2008 at 07:34:17AM -0600, Kyle Allender wrote: >>> Stefan Farfeleder wrote: >>>> On Mon, Dec 01, 2008 at 07:06:32AM -0600, Kyle Allender wrote: >>>>> Hello. >>>>> Generating mediaobjecttest.moc >>>>> Assertion failed: ((ret << BLOCK_COST_2POW) != 0), function >>>>> malloc_spin_lock, file /usr/src/lib/libc/stdlib/malloc.c, line 1287. >>>>> Abort trap (core dumped) >>>> Hi, >>>> >>>> this assertion has been fixed yesterday (svn r185483). >>> Should I rerun build/installworld before re-attempting the kde build >>> or just run make clean in the phonon directory? >> >> You need at least an updated libc. build/installworld will do that but >> there are faster ways for this small update. After that you can >> continue building kde. >> > OK. I've kicked off a buildworld as that's about the only method I know > that will resolve this issue. The "faster ways" I'm unaware of - if > someone could enlighten me, that'd be great. Buildworld will work in > the meantime, though. In this case of libc, it's usually a good idea to do the full buildworld, since libc gets statically linked into various toolchain binaries. Fortunately, this bug in malloc only affects multi-threaded applications; otherwise you'd have an unrecoverable system (though I would have noticed that before committing). Jason