From owner-freebsd-stable@FreeBSD.ORG Mon Jun 9 15:38:28 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D804B37B401 for ; Mon, 9 Jun 2003 15:38:28 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 496A143F75 for ; Mon, 9 Jun 2003 15:38:28 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 1F17666CFA; Mon, 9 Jun 2003 15:38:28 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 120C5B74; Mon, 9 Jun 2003 15:38:28 -0700 (PDT) Date: Mon, 9 Jun 2003 15:38:28 -0700 From: Kris Kennaway To: Southo Message-ID: <20030609223827.GA94512@rot13.obsecurity.org> References: <00d901c32ebc$33de93a0$f901a8c0@southoq6ppwrt1> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <00d901c32ebc$33de93a0$f901a8c0@southoq6ppwrt1> User-Agent: Mutt/1.4.1i cc: freebsd-stable@freebsd.org Subject: Re: hostname cores X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 22:38:29 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 09, 2003 at 12:20:35PM -0700, Southo wrote: > Greetings Listmembers, >=20 > Any thoughts on why I would get segmentation faults every time I run > hostname(8)? I get the same error when using 'su'. I suppose this is beca= use > the system is looking for the hostname or something related. Whenever I r= un > the hostname or su commands I get a segmentation fault error and a core f= ile > (hostname.core) in the current dir.=20 >=20 > I've tried debugging, totally not knowing what I'm doing, and managed to > produce this hoping it will help one of the gurus on the list help me out. You need to rebuild the binary (and possibly the libraries it uses) with DEBUG_FLAGS=3D"-g" This is a strange problem though, and it's likely that you have either damaged your FreeBSD installation or have hardware problems. Kris --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+5QxjWry0BWjoQKURAlK4AKDVsaXkmLPuRqMXw73ohtz4sAQPPACcCfBG /JgAw38oLkkkGpJ7H3Zt7MU= =o5hx -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--