hostname cores

Kris Kennaway kris at obsecurity.org
Mon Jun 9 15:38:29 PDT 2003


On Mon, Jun 09, 2003 at 12:20:35PM -0700, Southo wrote:
> Greetings Listmembers,
> 
> 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 because
> the system is looking for the hostname or something related. Whenever I run
> the hostname or su commands I get a segmentation fault error and a core file
> (hostname.core) in the current dir. 
> 
> 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="-g"

This is a strange problem though, and it's likely that you have either
damaged your FreeBSD installation or have hardware problems.

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030609/04d2fe5a/attachment.bin


More information about the freebsd-stable mailing list