Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2010 11:05:01 -0500
From:      Kris Moore <kris@pcbsd.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Broken make distribution on amd64?
Message-ID:  <20101129160501.GC85724@pcbsd.org>
In-Reply-To: <20101126152206.GA2392@deviant.kiev.zoral.com.ua>
References:  <20101126145909.GB90693@pcbsd.org> <20101126152206.GA2392@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101129160501.GC85724>