GNU bug report logs - #71013
Bug Report: Unexpected Termination of grep Process

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: grep; Reported by: Joseph Joshua <okikijoshua123@HIDDEN>; merged with #71079; dated Fri, 17 May 2024 14:34:02 UTC; Maintainer for grep is bug-grep@HIDDEN.
Merged 71013 71079. Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 71013 <at> debbugs.gnu.org:


Received: (at 71013) by debbugs.gnu.org; 17 May 2024 15:46:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 17 11:46:22 2024
Received: from localhost ([127.0.0.1]:55872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s7zmn-000672-Pr
	for submit <at> debbugs.gnu.org; Fri, 17 May 2024 11:46:22 -0400
Received: from resqmta-c2p-570503.sys.comcast.net ([96.102.19.37]:38910)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <worley@HIDDEN>) id 1s7zml-00066v-Mm
 for 71013 <at> debbugs.gnu.org; Fri, 17 May 2024 11:46:20 -0400
Received: from resomta-c2p-555922.sys.comcast.net ([96.102.18.230])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits)
 (Client did not present a certificate)
 by resqmta-c2p-570503.sys.comcast.net with ESMTPS
 id 7xFnsetRGlvYE7zkfsHwFg; Fri, 17 May 2024 15:44:09 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=comcastmailservice.net; s=20211018a; t=1715960649;
 bh=jxXU7Q2oVIVKbLnPAt6D5cRB32HS29uLRck6c9TDpOU=;
 h=Received:Received:Received:Received:From:To:Subject:Date:
 Message-ID:Xfinity-Spam-Result;
 b=i8qyb5H1m48p56dXdNZ/VvKft74W0BanSZiYKpn3LmULYIZCTEEN/G2J0Df0O5x8Z
 TPltsxtkL8dwr8CQmVwJckG7vM1MwwIeYKrw3F9wM5ctoEO/sm0gAs1pkyO7I71DV4
 2uUJ0EzhtH5Z7dkRQcIZRESJx7OBJsor0Rlq7qUrEJt6tGJDOA7fqRic2GMcYSKGcC
 Mtd4KwDazFyH5v43larerI5HIDkDBrHg0x41RxpqrP86+b7O2ENKGR2vC2OvrhKTHj
 PnxAZPJLdInIlRbujMp/Ojk7qWVHngGzSb9k1UpMCOsJqpkKrfU6WajSyWwIV9JGU0
 tb6fhgIVUiMsQ==
Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4a00:430::d68a])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits)
 (Client did not present a certificate)
 by resomta-c2p-555922.sys.comcast.net with ESMTPSA
 id 7zkIsNK0hmoLE7zkIsZJPR; Fri, 17 May 2024 15:43:47 +0000
Received: from hobgoblin.ariadne.com (localhost [127.0.0.1])
 by hobgoblin.ariadne.com (8.16.1/8.16.1) with ESMTPS id 44HFhk2f442429
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Fri, 17 May 2024 11:43:46 -0400
Received: (from worley@localhost)
 by hobgoblin.ariadne.com (8.16.1/8.16.1/Submit) id 44HFhjdZ442426;
 Fri, 17 May 2024 11:43:45 -0400
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to
 worley@HIDDEN using -f
From: "Dale R. Worley" <worley@HIDDEN>
To: Joseph Joshua <okikijoshua123@HIDDEN>
Subject: Re: bug#71013: Bug Report: Unexpected Termination of grep Process
In-Reply-To: <CAO1wkveENTGdWA4B-hCbW+RppydR1BsZ=8NVp7uJbHJFu=0CLA@HIDDEN>
 (okikijoshua123@HIDDEN)
Date: Fri, 17 May 2024 11:43:45 -0400
Message-ID: <87pltkwij2.fsf@HIDDEN>
X-CMAE-Envelope: MS4xfOjNN0knslD6jHYPw47R+heDYZEAmwTWoGjJ0RrRKORqQXdk7YCbCA3HXw89DzViZHW8kXVDNO6RUg1ZNqjmgUDHgQgjs/5M9/bSgisz4Cguac2NvIeK
 TFNF7PReuGHQYR+xQn2HZIeEF3YuuMw3gbhQmT3jPqJAuMhFgTgfbnVZGF7zEvJ8QwhikQ4CKqdo4/XtC1MOFaMcZZpaYodkmdYQUgDbQrbL3omoq/sxGkSL
 ERdYAL36W7CURUyQnzqzK3vdI9TXMcGpTJN+CNhtTZE=
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 71013
Cc: 71013 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Joseph Joshua <okikijoshua123@HIDDEN> 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




Information forwarded to bug-grep@HIDDEN:
bug#71013; Package grep. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 May 2024 14:33:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 17 10:33:18 2024
Received: from localhost ([127.0.0.1]:55566 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s7ye1-00055e-Ow
	for submit <at> debbugs.gnu.org; Fri, 17 May 2024 10:33:18 -0400
Received: from lists.gnu.org ([209.51.188.17]:35156)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <okikijoshua123@HIDDEN>) id 1s7x4z-0000zA-1t
 for submit <at> debbugs.gnu.org; Fri, 17 May 2024 08:52:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <okikijoshua123@HIDDEN>)
 id 1s7x4v-0002TA-7n
 for bug-grep@HIDDEN; Fri, 17 May 2024 08:52:53 -0400
Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <okikijoshua123@HIDDEN>)
 id 1s7x4q-0004B8-2z
 for bug-grep@HIDDEN; Fri, 17 May 2024 08:52:52 -0400
Received: by mail-lj1-x229.google.com with SMTP id
 38308e7fff4ca-2df83058d48so23710181fa.1
 for <bug-grep@HIDDEN>; Fri, 17 May 2024 05:52:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1715950365; x=1716555165; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=gOFIQXd8v+hzDHHbAeT2sogett50hrhm3XLi+CiWl8s=;
 b=PIam0ZRd7SP2TvzWqPA073V1a+TWOyps4p8jZ5u1XgApMvIz3P5cfsTIwJcg4qvUau
 4y5hWHrXKen7xsJnAufPWYJ9nMvdtwpiwBnG7nJaf8B24UvxMBsLodKwYM//RfMJuojw
 bGZ4rNqC2WAah3vIWBuaI8O0qgfAZAiiD0uOPDDbPg8sklqRWgASL0+jSlDNZFA5dgUk
 mqb9+eNQsqozH6Nir7jY3cPeC6xK7P4WYjckZ0oUVnzJmzRI2EYA9gOzADhmWYCuLIlh
 TyWQv4/uCL6xF/JusTfu8Ot9xOgIgAWdnLBv2/Be0F0YVVFDat9bnBNWNx+Hh4w5ayVq
 y5IQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1715950365; x=1716555165;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=gOFIQXd8v+hzDHHbAeT2sogett50hrhm3XLi+CiWl8s=;
 b=kM3Qvjz8vSHHza9v10hcqBwQvG14Rb+GHzKygN+Q2EZWNJJBx9gzVCXGTQytd7vXOn
 y7FcLY9MyZCdfO9V3h7DvPSWYfW6W6AJLIzljSN30BeGaTfBBOgCXcjM4u1FqPp+vhVG
 eqfaye9aVNqm8cVl5tgtVXDFi52IgtHmNjKShQ6wM1IRYnCqRTySE+iEiB/g6xCwi9S8
 xDKioyTxZXo4oM4N1HZgJJ345Ub6cWvtO9UGIGxyhkfPwkyAZaab/sqBPwaxcnRMf5rv
 XKFZH1vNkSk/a1A63BKGFHYh2TilTOg2r1cHHLOWDZeBh+M2aUi7ANV8VrQNtdZDmUoV
 iW5Q==
X-Gm-Message-State: AOJu0Yypg9OwwKvftpTKJ0TD6xYQrSdvDpg/YY7HiVY56yOqsYKsbMDE
 OOnf5YTcpV2oobLYeekl2YjCBbCgm+yGjq88kA7+Aoh5Do5pCzqsk20qwF74n290xFeAI7GGT7H
 1Ovim43IJCNJXHah+3vZpln0rnjr+rS8jlZyoiA==
X-Google-Smtp-Source: AGHT+IHTZhJYWvfX2O59+Q57xqGcqGSZQZpCV336yDJuY/h1Qx+QEc1689nAtJazQ1yLV1zns92xhzkHm0CdjtPnXvU=
X-Received: by 2002:a19:ca08:0:b0:51b:ecc2:dc9c with SMTP id
 2adb3069b0e04-5220fc7dbcfmr13584429e87.16.1715950364961; Fri, 17 May 2024
 05:52:44 -0700 (PDT)
MIME-Version: 1.0
From: Joseph Joshua <okikijoshua123@HIDDEN>
Date: Fri, 17 May 2024 13:52:29 +0100
Message-ID: <CAO1wkveENTGdWA4B-hCbW+RppydR1BsZ=8NVp7uJbHJFu=0CLA@HIDDEN>
Subject: Bug Report: Unexpected Termination of grep Process
To: bug-grep@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000f4b4710618a5d357"
Received-SPF: pass client-ip=2a00:1450:4864:20::229;
 envelope-from=okikijoshua123@HIDDEN; helo=mail-lj1-x229.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 17 May 2024 10:33:12 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

--000000000000f4b4710618a5d357
Content-Type: text/plain; charset="UTF-8"

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@HIDDEN

--000000000000f4b4710618a5d357
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>Dear GNU Grep Maintainers,<br><br>I am encounterin=
g an issue with GNU grep version 3.8. The grep process terminates unexpecte=
dly during our build process with the following error: The build failed bec=
ause the process exited too early. This probably means the system ran out o=
f memory or someone called \`kill -9\` on the process. Additionally, we som=
etimes see the following message, which may be related to the issue: Usage:=
 grep [OPTION]... PATTERNS [FILE]... Try &#39;grep --help&#39; for more inf=
ormation.=C2=A0<div>Steps to reproduce:=C2=A0</div><div>1. Run the followin=
g command as part of a build process: grep -r &#39;pattern&#39; /path/to/di=
rectory=C2=A0</div><div>2. The process runs for a while and then terminates=
 unexpectedly.=C2=A0</div><div>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 &#39=
;pattern&#39; /path/to/directory - Logs: Build log excerpt: The build faile=
d 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 exce=
rpt: [Any relevant log messages] Please let me know if further information =
is required to diagnose and resolve this issue. Thank you for your assistan=
ce. Best regards,=C2=A0<div><br></div><div><br></div><div>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0yours faithfully</div><div>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0Joshua</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A009023556682</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0<a href=3D"mailto:okikijoshua123@HIDDEN">okikijoshua123@HIDDEN</a>=
</div><div><br></div><div><br><div><div><br></div></div></div></div></div>

--000000000000f4b4710618a5d357--




Acknowledgement sent to Joseph Joshua <okikijoshua123@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-grep@HIDDEN. Full text available.
Report forwarded to bug-grep@HIDDEN:
bug#71013; Package grep. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 20 May 2024 15:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.