Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2024 07:50:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239279] grep . /dev/zero hangs system
Message-ID:  <bug-239279-227-UVmi7XYHM1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239279-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239279-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239279

Wolfram Schneider <wosch@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wosch@FreeBSD.org
             Blocks|                            |230332

--- Comment #6 from Wolfram Schneider <wosch@FreeBSD.org> ---
I can confirm that the problem still exists on 15-CURRENT. bsdgrep eats all
memory until killed by the kernel:

$ grep . /dev/zero
Killed


gnugrep and ripgrep don't have this memory problem, they just run in an end=
less
loop as expected.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230332
[Bug 230332] TRACKING: bsdgrep as /usr/bin/grep
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239279-227-UVmi7XYHM1>