GNU bug report logs -
#71013
Bug Report: Unexpected Termination of grep Process
Previous Next
To reply to this bug, email your comments to 71013 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-grep <at> gnu.org
:
bug#71013
; Package
grep
.
(Fri, 17 May 2024 14:34:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Joseph Joshua <okikijoshua123 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-grep <at> gnu.org
.
(Fri, 17 May 2024 14:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Dear GNU Grep Maintainers,
I am encountering an issue with GNU grep version 3.8. The grep process
terminates unexpectedly during our build process with the following error:
The build failed because the process exited too early. This probably means
the system ran out of memory or someone called \`kill -9\` on the process.
Additionally, we sometimes see the following message, which may be related
to the issue: Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help'
for more information.
Steps to reproduce:
1. Run the following command as part of a build process: grep -r 'pattern'
/path/to/directory
2. The process runs for a while and then terminates unexpectedly.
Additional Information: - Grep Version: 3.8 - Operating System: Debian
GNU/Linux 12 (bookworm) - Memory: Total RAM: 2.7 GiB, Used RAM: 1.8 GiB,
Free RAM: 594 MiB, Shared: 64 MiB, Buff/Cache: 331 MiB, Available: 926 MiB,
Swap: Not configured - Command Used: grep -r 'pattern' /path/to/directory -
Logs: Build log excerpt: The build failed because the process exited too
early. This probably means the system ran out of memory or someone called
\`kill -9\` on the process. System log excerpt: [Any relevant log messages]
Please let me know if further information is required to diagnose and
resolve this issue. Thank you for your assistance. Best regards,
yours faithfully
Joshua
09023556682
okikijoshua123 <at> gmail.com
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-grep <at> gnu.org
:
bug#71013
; Package
grep
.
(Fri, 17 May 2024 15:47:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 71013 <at> debbugs.gnu.org (full text, mbox):
Joseph Joshua <okikijoshua123 <at> gmail.com> writes:
> I am encountering an issue with GNU grep version 3.8.
You could help with two things. One is to try this with grep version
3.11, which is the latest. The other is to provide a transcript of what
commands you give and all the output. For instance, you mention "our
build process", but that tells us very little about what grep is being
asked to do or the context within which it is running. You mention this
command: "grep -r 'pattern' /path/to/directory", but don't list the
contents of /path/to/directory. Also, are "pattern" and
"/path/to/directory" literally correct, or are they placeholders for
text that you have redacted? (Likely the directory name isn't critical
for the problem, but the exact pattern likely is.)
This web page gives some good advice for dealing with situations like
this:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Dale
Merged 71013 71079.
Request was from
Paul Eggert <eggert <at> cs.ucla.edu>
to
control <at> debbugs.gnu.org
.
(Mon, 20 May 2024 15:00:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 26 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.