From dm@home.dinoex.sub.de  Tue Dec  3 13:14:33 2002
Return-Path: <dm@home.dinoex.sub.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 66F3137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  3 Dec 2002 13:14:33 -0800 (PST)
Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D05AC43EAF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  3 Dec 2002 13:14:30 -0800 (PST)
	(envelope-from dm@home.dinoex.sub.de)
Received: from home.dinoex.sub.de (home [217.6.200.196])
	by net2.dinoex.sub.org (8.12.6/8.12.6) with ESMTP id gB3LDxaX014120
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 3 Dec 2002 22:14:02 +0100 (CET)
	(envelope-from dm@home.dinoex.sub.de)
Received: (from dm@localhost)
	by home.dinoex.sub.de (8.12.6/8.12.6/Submit) id gB3LEmQv065638;
	Tue, 3 Dec 2002 22:14:48 +0100 (CET)
	(envelope-from dm)
Message-Id: <200212032114.gB3LEmQv065638@home.dinoex.sub.de>
Date: Tue, 3 Dec 2002 22:14:48 +0100 (CET)
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sh throws core on buildworld CURRENT on a STABLE box
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45974
>Category:       bin
>Synopsis:       sh throws core on buildworld CURRENT on a STABLE box
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 03 13:20:01 PST 2002
>Closed-Date:    Thu Dec 05 09:19:56 PST 2002
>Last-Modified:  Thu Dec 05 09:19:56 PST 2002
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
privat
>Environment:
System: FreeBSD 4.7-STABLE i386

>Description:

	sh throws core on buildworld CURRENT on a STABLE box

buildlog:
--------------------------------------------------------------
>How-To-Repeat:

	cvsup sources to current
	cd /usr/src && make buildworld

>Fix:

	
>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.org>
To: dirk.meyer@dinoex.sub.org
Cc: bugbusters@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: bin/45974: sh throws core on buildworld CURRENT on a STABLE box
Date: Wed, 4 Dec 2002 15:18:31 +0200

 --5xSkJheCpeK0RUEJ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Tue, Dec 03, 2002 at 10:14:48PM +0100, dirk.meyer@dinoex.sub.org wrote:
 >=20
 > sh throws core on buildworld CURRENT on a STABLE box
 >=20
 >  syslog:
 >  	/kernel: pid 56038 (sh), uid 0: exited on signal 12 (core dumped)
 > =20
 That means that your build environment is damages; most
 likely kernel/userland are not in sync.  Buildworld does
 use the /bin/sh shell only.
 
 I was going to close this PR when I found that it has
 already been mysteriously closed, without any signs
 of closure.  Anyone knows how it was made `closed'?
 
 
 Cheers,
 --=20
 Ruslan Ermilov		Sysadmin and DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
 
 --5xSkJheCpeK0RUEJ
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE97gCnUkv4P6juNwoRAhM1AJ9Hznxj804JRGYYaomg2M/D77k2egCfVtLF
 0Z+DxsArl3/bZkuH+1kHkQY=
 =L1+v
 -----END PGP SIGNATURE-----
 
 --5xSkJheCpeK0RUEJ--
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Thu Dec 5 09:18:19 PST 2002 
State-Changed-Why:  
ru@FreeBSD.org (Ruslan Ermilov) wrote: 

That means that your build environment is damages; most 
likely kernel/userland are not in sync.  Buildworld does 
use the /bin/sh shell only. 

closed now by originator 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45974 
>Unformatted:
 >>> stage 4: populating /usr/obj/usr/src/i386/usr/include
 --------------------------------------------------------------
 cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin  GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font  GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac  DESTDIR=/us r/obj/usr/src/i386  INSTALL="sh /usr/src/tools/install.sh"  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/usr/obj/usr/src/make.i386:/sbin:/bin:/usr/sbin:/usr
 /bin make -f Makefile.inc1 SHARED=symlinks par-includes
 ===> share/info
 cd /usr/src/share/info; make buildincludes; make installincludes
 ===> include
 cd /usr/src/include; make buildincludes; make installincludes
 creating osreldate.h from newvers.sh
 setvar PARAMFILE /usr/src/include/../sys/sys/param.h;  . /usr/src/include/../sys/conf/newvers.sh;                   
          echo "$COPYRIGHT" > osreldate.h;                        echo "#ifdef _KERNEL" >> osreldate.h;              
          echo '#error "/usr/include/osreldate.h cannot be used in the kernel, use sys/param.h"' >> osreldate.h;  echo "#else" >> osreldate.h;                                echo \#'undef __FreeBSD_version' >> osreldate.h;        echo \#'define __FreeBSD_ version' $RELDATE >> osreldate.h;  echo "#endif" >> osreldate.h
 *** Signal 12
 
 Stop in /usr/src/include.
 *** Error code 1
 
 syslog:
 	/kernel: pid 56038 (sh), uid 0: exited on signal 12 (core dumped)q
 
 # gdb /bin/sh /usr/obj/usr/src/include/sh.core
 GNU gdb 5.2.0 (FreeBSD) 20020627
 Copyright 2002 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "i386-undermydesk-freebsd"...(no debugging symbols found)...
 Core was generated by `sh'.
 Program terminated with signal 12, Bad system call.
 #0  0x08086853 in ?? ()
 (gdb) bt
 #0  0x08086853 in ?? ()
 #1  0x0805b95e in ?? ()
 #2  0x0805b793 in ?? ()
 #3  0x0805b669 in ?? ()
 #4  0x0805b599 in ?? ()
 #5  0x0805b503 in ?? ()
 #6  0x0804c955 in ?? ()
 #7  0x0804b75f in ?? ()
 #8  0x0804b649 in ?? ()
 #9  0x0804b966 in ?? ()
 #10 0x0804b6cb in ?? ()
 #11 0x080552c4 in ?? ()
 #12 0x08055554 in ?? ()
 #13 0x0804c955 in ?? ()
 #14 0x0804b75f in ?? ()
 #15 0x0804b531 in ?? ()
 #16 0x0804b50f in ?? ()
 #17 0x0804b50f in ?? ()
 #18 0x0804b50f in ?? ()
 #19 0x0804b50f in ?? ()
 #20 0x0804b50f in ?? ()
 #21 0x0804b50f in ?? ()
 #22 0x0804b50f in ?? ()
 #23 0x0804b48d in ?? ()
 #24 0x08055180 in ?? ()
 #25 0x08048170 in ?? ()
 (gdb)
 
