Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2003 15:38:28 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Southo <keith@southo.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: hostname cores
Message-ID:  <20030609223827.GA94512@rot13.obsecurity.org>
In-Reply-To: <00d901c32ebc$33de93a0$f901a8c0@southoq6ppwrt1>
References:  <00d901c32ebc$33de93a0$f901a8c0@southoq6ppwrt1>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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