grep do core.dump!!!!
m.seaman at infracaninophile.co.uk
Mon Mar 15 06:20:43 PST 2004
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...).
> All time that I use grep (ex: grep -i root /etc/passwd) , I have one
> 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.
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
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040315/790c6921/attachment.bin
More information about the freebsd-questions