From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47537 invoked by alias); 13 Sep 2019 13:44:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 47530 invoked by uid 89); 13 Sep 2019 13:44:19 -0000 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 Received: from mailsrv.cs.umass.edu (HELO mailsrv.cs.umass.edu) (128.119.240.136) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Sep 2019 13:44:18 +0000 Received: from [128.119.224.80] (1x-vl908-128-119-224-80.wireless.umass.edu [128.119.224.80]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id 9C7ED4023B91; Fri, 13 Sep 2019 09:44:16 -0400 (EDT) Reply-To: moss@cs.umass.edu Subject: Re: my C arrays are too large To: cygwin@cygwin.com References: From: Eliot Moss Message-ID: <2668cc9c-6ff2-7fe1-7b3a-16d935568629@cs.umass.edu> Date: Fri, 13 Sep 2019 14:20:00 -0000 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 X-SW-Source: 2019-09/txt/msg00156.txt.bz2 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