From owner-freebsd-current@FreeBSD.ORG Thu Nov 6 05:21:06 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF71D16A4CF for ; Thu, 6 Nov 2003 05:21:06 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FC1B44001 for ; Thu, 6 Nov 2003 05:21:04 -0800 (PST) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id CAC255FC; Thu, 6 Nov 2003 14:21:02 +0100 (CET) Date: Thu, 6 Nov 2003 14:21:02 +0100 From: Simon Barner To: Philipp Westphal Message-ID: <20031106132102.GA968@zi025.glhnet.mhn.de> References: <3FB68966.6000300@dark-waves.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <3FB68966.6000300@dark-waves.de> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-current@freebsd.org Subject: Re: Bus error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 06 Nov 2003 13:21:06 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > Hi today, cvsup'ed my source and build world ... > and now get an so called >=20 > Bus error >=20 > while i want to su, anyone know about it (or fixed it) I think the best is to build debugging version of su: # cd /usr/src/usr.bin/su=20 # make clean # make depend # set CFLAGS=3D"$CFLAGS -g" # make # install -o root -g wheel -m 4555 -fschg /usr/obj/usr/src/usr.bin/su/su = /usr/bin ( 'make install' will strip the binary and all the nice debug info is gone) Now run su in the debugger, and will probably get a core dump: gdb /usr/bin/su =20 GNU gdb 5.2.1 (FreeBSD) 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 condition= s. 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 symbo= ls found)... (gdb) run Starting program: /usr/bin/su=20 When it crashes, get a backtrace (in gdb: `bt full' and post it here). Simon --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/qkq+Ckn+/eutqCoRAtIkAJ4ixZwctfVa57GD26X8uYKLl5wQHACfUXEW HsQE1qcpS5mW4j5ayxv1Fis= =T8vs -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--