delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/09/13/09:45:09

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=aHvFnHfEIV0fvw0y
MyDbM6KDQAjqCwSWnyFMMMiwGkhtS6QPYhXhIemv02HY9KWkQ4PRI8CPT0j81x3C
vPswsp3Kl8VR7+aZtXspErbmoKUjFezQYSs/5wYJx/Nv8TFiAg8zlL6g6WHiG8Ek
QLUbKlvB2bi7wo9ujnktgyUROPE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=367EgOBvdOgVP/ZnfmMbvF
OCKg8=; b=kPWQ4dCsTnAzQ7KQrGrA7kQl6MInEIgkgjnFjiINPjPjHplD1iqnhv
CxR4+/wsqtpxiHesDQIqoIo+kWj/y88B9cvEAXQOgmCpp1CPRNT5H6piJTJPqXQQ
JZurNPzAd+M+zY5rgnyuHdX/TdUZsNOxCJWsurIwrYJXNctDfYN8o=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: mailsrv.cs.umass.edu
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: my C arrays are too large
To: cygwin AT cygwin DOT com
References: <CY4PR1101MB21336C2AC930609E647E6ECE81B30 AT CY4PR1101MB2133 DOT namprd11 DOT prod DOT outlook DOT com>
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <2668cc9c-6ff2-7fe1-7b3a-16d935568629@cs.umass.edu>
Date: Fri, 13 Sep 2019 09:44:16 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <CY4PR1101MB21336C2AC930609E647E6ECE81B30@CY4PR1101MB2133.namprd11.prod.outlook.com>
X-IsSubscribed: yes

On 9/13/2019 9:21 AM, Blair, Charles E III wrote:
> Thank you very much for your help.  Moving the big array to a global variable made the problem go away.
> Before that, I tried
> 
> ulimit -Ss 8192
> 
> After this, the segmentation error message was still there.

I tried that too.  The failure seems to happen in chkstk_ms,
some assembly code in cygwin.S.  Perhaps Corrina or someone
can clarify if the behavior is correct, or at least explain
it.

Regards - Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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