From owner-freebsd-stable@FreeBSD.ORG Mon Jun 9 12:20:50 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 EC8A537B401 for ; Mon, 9 Jun 2003 12:20:50 -0700 (PDT) Received: from fed1mtao03.cox.net (fed1mtao03.cox.net [68.6.19.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57A3D43FCB for ; Mon, 9 Jun 2003 12:20:48 -0700 (PDT) (envelope-from keith@southo.net) Received: from southoq6ppwrt1 ([68.8.194.17]) by fed1mtao03.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030609192046.VABC5853.fed1mtao03.cox.net@southoq6ppwrt1> for ; Mon, 9 Jun 2003 15:20:46 -0400 From: "Southo" To: Date: Mon, 9 Jun 2003 12:20:35 -0700 Message-ID: <00d901c32ebc$33de93a0$f901a8c0@southoq6ppwrt1> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: 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 19:20:51 -0000 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.=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. # gdb -c hostname.core GNU gdb 4.18 (FreeBSD) Copyright 1998 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 conditions. 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-unknown-freebsd". Core was generated by `hostname'. Program terminated with signal 11, Segmentation fault. #0 0x7f00 in ?? () (gdb) bt #0 0x7f00 in ?? () #1 0x8048127 in ?? () Cannot access memory at address 0x80480b6. (gdb) I've been searching the net for answers. I've been to the signal 11 = faq's page and will try swapping out the ram in an attempt to fix. I thought maybe there was a problem with the cvsup and make world I did = on this machine so I tried to update again. Now I cant finish make = buildworld due to errors in the buildprocess, will post in another thread due to = lack of information the moment. I was also wondering if it's possible to just rebuild the hostname binary if that would fix this. # uname -a FreeBSD dragon.exsus-shell1.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon = May 19 17:11:53 PDT 2003 TIA for any pointers to fixing this problem