On Fri, Nov 14, 2008 at 5:41 PM, Laurent Fousse <[EMAIL PROTECTED]> wrote:
> Package: grep > Version: 2.5.1.ds2-6 > Severity: important > > Hello, > > A grep for a simple pattern on a big file results in a similarly big > memory consumption, rendering the machine unusable as it swaps as hell > and/or a memory allocation failure occurs. E.g.: > > $ grep foo /dev/zero > grep: /dev/zero: Cannot allocate memory > > I noticed this problem because of a simple `grep php' test in > chkrootkit (launched from tiger) making my machine unusable. > > I can reproduce this problem with 2.5.3~dfsg-6 on amd64. > > Regards, > > Laurent. > > -- System Information: > Debian Release: 4.0 > APT prefers stable > APT policy: (500, 'stable') > Architecture: amd64 (x86_64) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.18-6-amd64 > Locale: LANG=en_US, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL > set to en_US.UTF-8) > > Versions of packages grep depends on: > ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared > libraries > > grep recommends no packages. > > -- no debconf information > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > Maybe the kernel is at fault?