X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7660E385802F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1693160735; bh=8gVA9yl2PfhiNE84qsCpnz8fU+fEA7l9MUC6pEC3YU0=; h=Date:Subject:References:To:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=SG6K6175svcEtlM+4qduIC4zSFVyJwMXcTAjIveL1avYVzz3EpHsAbohpkIseBuT2 vFZnn55tM9d1WqB1e/g9hgDWt+G5VWb7VfutT6sEjdpdk5IiSKPSJLnXI1q/CWW+rH Ay4gTgrrJUlVSKc2McqMuNLyIJ2xQuaNshWcC21U= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A03DD3858D1E 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 AT cygwin DOT com 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Ed Morton via Cygwin Reply-To: Ed Morton Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 37RIPaow009036 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 AT gnu DOT 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) -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple