delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/27/14:25:36

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
References: <e0fa509d-890a-2db7-c91f-2b1d904a9a1e AT comcast DOT net>
To: cygwin AT cygwin DOT com
In-Reply-To: <e0fa509d-890a-2db7-c91f-2b1d904a9a1e@comcast.net>
X-Forwarded-Message-Id: <e0fa509d-890a-2db7-c91f-2b1d904a9a1e AT comcast DOT net>
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ed Morton via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ed Morton <mortoneccc AT comcast DOT net>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
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 <mortoneccc AT comcast DOT net>
To: 	bug-gawk AT gnu DOT org <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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019