From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resdmta-a1p-077741.sys.comcast.net (resdmta-a1p-077741.sys.comcast.net [IPv6:2001:558:fd01:2bb4::e]) by sourceware.org (Postfix) with ESMTPS id A03DD3858D1E for ; Sun, 27 Aug 2023 18:25:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A03DD3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=comcast.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=comcast.net Received: from resomta-a1p-077251.sys.comcast.net ([96.103.145.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resdmta-a1p-077741.sys.comcast.net with ESMTP id aK5oqUyZOoYNAaKRoqJyrq; Sun, 27 Aug 2023 18:25:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1693160716; bh=1HTtwRvs6fA2QC+ExJ263t8evvnvFe2bR+KvYdzy5qg=; h=Received:Received:Content-Type:Message-ID:Date:MIME-Version: Subject:To:From:Xfinity-Spam-Result; b=mqMtHAvuOsrgwyXw70JxSzeMAPLh8uxPSXN2kRSWJsI2EPQo+CE7ibrV+FiHrLMDA gifq7NcWq6XJjeYKsaeNp/vjCIboLxCfXHr0FulCxOq/GQfy48WNltbQL4IYx7cP5S G4nQu985KDGfmGlFgfn2XrTGX/OtOrPmqY5mlm6/UELjwccPv3fShXm/A6BnEhAYvG cUxdT5klPi/m2J+7PbraaWI9eL12430+Kv2i5KGmkDgmYJKNwU9zT7hIVgTnG9dzVZ 4RQI9+lthsxiBl11fVsn7PZZEYerZJ/Fbg+b1aayf3tTjpxz0jD/0l0vXVE6xyvkM9 dDTkTa9R+WcVg== Received: from [IPV6:::1] ([IPv6:2601:249:d01:7420:89d2:38d1:2033:9ba6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resomta-a1p-077251.sys.comcast.net with ESMTPSA id aKRSqS768Sr6IaKRSqfSVe; Sun, 27 Aug 2023 18:24:55 +0000 Content-Type: multipart/alternative; boundary="------------WJrc8T09I1SgpZl50zEpKefG" Message-ID: <0b55205e-fc7c-98cf-c186-783e5c0655b0@comcast.net> Date: Sun, 27 Aug 2023 13:24:55 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Fwd: gawk core dumped on too many input values Content-Language: en-US References: To: cygwin@cygwin.com From: Ed Morton In-Reply-To: X-Forwarded-Message-Id: X-Antivirus: Avast (VPS 230827-2, 8/27/2023), Outbound message X-Antivirus-Status: Clean X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_SHORT,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is a multi-part message in MIME format. --------------WJrc8T09I1SgpZl50zEpKefG Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit This (original email below) turned out to be a general cygwin issue, not a gawk issue: $ LC_ALL=C sed 's/x/y/' $(seq 1000000) Segmentation fault (core dumped) $ LC_ALL=C grep 'foo' $(seq 1000000) Segmentation fault (core dumped) Regards,     Ed. -------- Forwarded Message -------- Subject: gawk core dumped on too many input values Date: Sun, 27 Aug 2023 08:09:54 -0500 From: Ed Morton To: bug-gawk@gnu.org Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: cygwin Compiler: gcc Compilation CFLAGS: -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/cygdrive/d/a/scallywag/gawk/gawk-5.2.2-1.x86_64/build=/usr/src/debug/gawk-5.2.2-1 -fdebug-prefix-map=/cygdrive/d/a/scallywag/gawk/gawk-5.2.2-1.x86_64/src/gawk-5.2.2=/usr/src/debug/gawk-5.2.2-1 -DNDEBUG uname output: CYGWIN_NT-10.0-22621 TournaMart_2023 3.4.8-1.x86_64 2023-08-17 17:02 UTC x86_64 Cygwin Machine Type: x86_64-pc-cygwin Gawk Version: 5.2.2 Attestation 1:         I have read https://www.gnu.org/software/gawk/manual/html_node/Bugs.html.         Yes Attestation 2:         I have not modified the sources before building gawk.         True Description:         I was trying to test something related to ARG_MAX when I ran the         awk script below and it core dumped instead of reporting an error         and exiting gracefully. In case it's useful getconf ARG_MAX outputs         32000. Repeat-By:         $ LC_ALL=C awk 'BEGIN{print ARGC}' $(seq 1000000)         Segmentation fault (core dumped) --------------WJrc8T09I1SgpZl50zEpKefG--