From owner-freebsd-current@FreeBSD.ORG Mon Nov 29 16:22:40 2010 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 03301106566C for ; Mon, 29 Nov 2010 16:22:40 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 84E858FC15 for ; Mon, 29 Nov 2010 16:22:39 +0000 (UTC) Received: by wyf19 with SMTP id 19so4546069wyf.13 for ; Mon, 29 Nov 2010 08:22:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=QlFv3dIIp1xnablN6RJpXv11/jYqAIhUIqYyJ/cAOTo=; b=r6umxHy3mnXWM1xA/Rt1/3SrJHHQHKyro60y+BSbl7njlESJNisIr/uLZnaphvFd4C IFaoHuAtvif0sdryf3A2d6eBGSPdtH7WEkprPTZqIpUIX2pBdsiA3H1Th4jD4n7T6itX Wzl5XuuT3DYb8Lpmc48WcKtyuJtA3np2kGamc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Naf1tPDRzMelosdooAU0pwWPGfb5CBVwrTKCnN+NXLDqu8+V14z9vziJI3IYZt9PNT HvwXXicB7azF/vLT5QsREIC/rv3M6awPVhRN72DLaG1FkUUemZtUZKJoR1YDBwx7NQet TL9tz6YU1yiPf+ulPCy2geCu9GEPSUkGiiXPE= MIME-Version: 1.0 Received: by 10.216.7.8 with SMTP id 8mr626916weo.30.1291047757400; Mon, 29 Nov 2010 08:22:37 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Mon, 29 Nov 2010 08:22:37 -0800 (PST) In-Reply-To: <20101129160501.GC85724@pcbsd.org> References: <20101126145909.GB90693@pcbsd.org> <20101126152206.GA2392@deviant.kiev.zoral.com.ua> <20101129160501.GC85724@pcbsd.org> Date: Mon, 29 Nov 2010 08:22:37 -0800 X-Google-Sender-Auth: A2buoIt-TsIMLQ4kvBF7ntdQMvs Message-ID: From: Garrett Cooper To: Kris Moore Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , freebsd-current@freebsd.org Subject: Re: Broken make distribution on amd64? 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, 29 Nov 2010 16:22:40 -0000 On Mon, Nov 29, 2010 at 8:05 AM, Kris Moore wrote: > On Fri, Nov 26, 2010 at 05:22:06PM +0200, Kostik Belousov wrote: >> On Fri, Nov 26, 2010 at 09:59:09AM -0500, Kris Moore wrote: >> > >> > For about 2 weeks now I've been seeing failures when trying to spin IS= Os >> > of CURRENT (amd64) and using "make distribution" specifically: >> > >> > -------------------- >> > pwd_mkdb -L -i -p -d /usr/pcbsd-build90/buildworld/etc =A0/usr/pcbsd-b= uild90/buildworld/etc/master.passwd >> > *** Signal 6 >> > >> > Stop in /usr/pcbsd-build90/fbsd-source/9.0/etc. >> > *** Error code 1 >> > >> > --------------------- >> > >> > It looks like the pwd_mkdb command is core dumping every time: >> > >> > pwd_mkdb -L -i -p -d /usr/pcbsd-build90/buildworld/etc /usr/pcbsd-buil= d90/buildworld/etc/master.passwd >> > Abort (core dumped) >> > >> > Whats odd is that with the same source tree, I'm spinning ISOs of i386= no >> > problem. I've tried rebuilding the world / pwd_mkdb command with the l= atest >> > source a few times, and no luck so far. >> > >> > Is anybody else seeing this on amd64? Here's the core file: >> > >> > http://www.pcbsd.org/~kris/pwd_mkdb.core.gz >> The core file is only useful for somebody who has a binary and full set >> of dsos that were loaded into the image. >> >> I think you should start with build containing debug symbols and show >> us the full backtrace from gdb. > > Ok, I was able to figure this out the cause of the crash. I had a number = of entries in /etc/shells > from some odd port builds I had been doing. When I cleaned this up, the c= ore dump went away. > > I haven't had a chance to look much farther than this, but somewhere in t= here it doesn't like > /etc/shells with lots of entries :) If somebody wants to look into this g= reat, otherwise sorry > about the noise. Just for future reference, what were your build machine's src.conf WITHOUT_* knobs? Thanks, -Garrett