From owner-freebsd-stable@FreeBSD.ORG Thu Jul 2 17:57:26 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C0C11065673 for ; Thu, 2 Jul 2009 17:57:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 796528FC16 for ; Thu, 2 Jul 2009 17:57:25 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id n62HvMNB062658; Thu, 2 Jul 2009 19:57:22 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 98906BA8F; Thu, 2 Jul 2009 19:57:22 +0200 (CEST) Date: Thu, 2 Jul 2009 19:57:22 +0200 From: Roland Smith To: Sagara Wijetunga Message-ID: <20090702175722.GA75808@slackbox.xs4all.nl> References: <20090701070409.7740.qmail@us1.tomahawkonline.net> <20090701174930.GC37269@slackbox.xs4all.nl> <20090702012352.17934.qmail@us1.tomahawkonline.net> <20090702062738.GA58158@slackbox.xs4all.nl> <20090702041707.19651.qmail@us1.tomahawkonline.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <20090702041707.19651.qmail@us1.tomahawkonline.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD child process die for root X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2009 17:57:26 -0000 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2009 at 11:17:07PM -0500, Sagara Wijetunga wrote: > Roland Smith writes:=20 >=20 > >>=20 > >> I have tested with bash, sh and csh. It seems the child process forked= =20 > >> simply die irrespective of the shell.=20 > >=20 > > Ok, so it's probably not a shell problem > > =20 > >> There is no change in the dot files for root: > >> [root@tds sagara]# diff /root/.cshrc /usr/src/etc/root/dot.cshrc > >> [root@tds sagara]# diff /root/.login /usr/src/etc/root/dot.login > >> [root@tds sagara]# diff /root/.profile /usr/src/etc/root/dot.profile= =20 > >=20 > > /root/.login executes the fortune program. Can you su to root and then > > run '/usr/games/fortune -s'?=20 > >=20 >=20 > /root/.login is completely commented out.=20 You're right. I missed that. :-) > >> Here is the log message for "su -l": > >> Jul 2 12:38:17 tds kernel: pid 943 (su), uid 0: exited on signal 11= =20 Is there anything else from su in the logfiles? That might help narrow down where it crashes. Are you using the standard FreeBSD su? If not, check your modifications. Does the version of the userland that you are using match the version of the kernel? I've verified that 'su -l' works fine on FreeBSD 7.2-RELEASE-p2 on the amd64 architecture.=20 What you could do is run 'su -l' under a debugger.=20 > > It could be a hardware problem. Signal 11 can be a sign of bad memory. > > Can you reproduce the problem on multiple machines?=20 >=20 > I have taken the hard disk out and fixed on different machines, the sympt= oms=20 > are still the same. So it may not be a hardware error.=20 Ok. So it is probably a software bug then. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpM9QIACgkQEnfvsMMhpyWyGQCePxeDzNQO9AwTvI//ZmVT0iC5 zg8An0dwoGWEPVan/96MwwMqrtLnYGn2 =ezud -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--