From owner-freebsd-current@FreeBSD.ORG Mon Nov 29 16:05:08 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 ED5BA1065693 for ; Mon, 29 Nov 2010 16:05:08 +0000 (UTC) (envelope-from kris@pcbsd.org) Received: from mta21.charter.net (mta21.charter.net [216.33.127.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7500E8FC14 for ; Mon, 29 Nov 2010 16:05:08 +0000 (UTC) Received: from imp10 ([10.20.200.15]) by mta21.charter.net (InterMail vM.7.09.02.04 201-2219-117-106-20090629) with ESMTP id <20101129160507.YWKW3705.mta21.charter.net@imp10>; Mon, 29 Nov 2010 11:05:07 -0500 Received: from moorefam.homeunix.org ([96.38.85.215]) by imp10 with smtp.charter.net id d4511f00c4elNjk05454nw; Mon, 29 Nov 2010 11:05:07 -0500 X-Authority-Analysis: v=1.0 c=1 a=n3COGU92RHEA:10 a=kj9zAlcOel0A:10 a=x2m3GPe0AAAA:8 a=0S--xU5sJboAFPBSwLAA:9 a=WmODYjDS7IrzpEnuSXPf7yX4JoEA:4 a=CjuIK1q_8ugA:10 Received: by moorefam.homeunix.org (sSMTP sendmail emulation); Mon, 29 Nov 2010 11:05:01 -0500 Date: Mon, 29 Nov 2010 11:05:01 -0500 From: Kris Moore To: Kostik Belousov Message-ID: <20101129160501.GC85724@pcbsd.org> References: <20101126145909.GB90693@pcbsd.org> <20101126152206.GA2392@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101126152206.GA2392@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: 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:05:09 -0000 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 ISOs > > of CURRENT (amd64) and using "make distribution" specifically: > > > > -------------------- > > pwd_mkdb -L -i -p -d /usr/pcbsd-build90/buildworld/etc /usr/pcbsd-build90/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-build90/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 latest > > 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 core dump went away. I haven't had a chance to look much farther than this, but somewhere in there it doesn't like /etc/shells with lots of entries :) If somebody wants to look into this great, otherwise sorry about the noise. -- Kris Moore PC-BSD Software