bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep bug with large zero-filled file


From: Ronnie Misra
Subject: grep bug with large zero-filled file
Date: Thu, 12 Feb 2009 14:24:03 -0800

I've discovered a bug in grep on Mac OS X, which also reproduces with the stock FSF grep-2.5.4:

* create a large empty file. I did this with:
        dd if=/dev/zero of=/tmp/out bs=1024k count=800
* run
        grep foo /tmp/out

In my tests, grep's memory usage continues to grow until it eventually crashes.

Ronnie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]