Date: Mon, 15 Mar 2004 14:20:34 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Jorgefran <jorgefran@prodap.ap.gov.br> Cc: questions@freebsd.org Subject: Re: grep do core.dump!!!! Message-ID: <20040315142034.GC26079@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <40557AE1.2050804@prodap.ap.gov.br> References: <40557AE1.2050804@prodap.ap.gov.br>
next in thread | previous in thread | raw e-mail | index | archive | help
--HG+GLK89HZ1zG0kk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 15, 2004 at 09:44:01AM +0000, Jorgefran wrote: > I have had troubles wheen i use the grep in any shell(bash,sh,etc...).=20 > All time that I use grep (ex: grep -i root /etc/passwd) , I have one=20 > core.dump. How I can solve this ???? If it is just grep(1) that's resulting in core dumps, then you've probably got a corrupted copy of the /usr/bin/grep executable. You can simply copy a clean version from the live filesystem image on Disk 2 of the installation set, or you can run a make world cycle as detailed in /usr/src/UPDATING and in the Handbook, which will replace the broken executable. =20 Of course the interesting question is why did the grep executable get corrupted? Either someone was running some buggy code as root, and it ended up writing to /usr/bin/grep; or the install image you pulled down was corrupted in transit or when you burnt the CD (but you should have detected that by checking the md5 checksums) or there's some sort of hardware problem with your harddrive and the grep program was unlucky enough to land right on a bad spot. I'd keep an eye on the system in case things like this start happening again, and look through the system logs to see if there are any relevant error messages. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --HG+GLK89HZ1zG0kk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVbuydtESqEQa7a0RAmMhAJ4qdAZGVl26D9ZWVIEzsc21yTiUZgCfRTjk S5a0J9Fr6Axquj7x5pPNgio= =FFhQ -----END PGP SIGNATURE----- --HG+GLK89HZ1zG0kk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315142034.GC26079>