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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: From: Eliot Moss 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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