www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/09/13/14:40:28

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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=M7zyw
caPzYZ0V7walsRAe/ymig1oQhAscX5kYv9xmCMEwf3YpXhz87i0FXpA96P/574h6
1jENa0U9AxDGKpQZOIIm0pGR5INSv1UFwqrb/hG71h1NMSyclR5I6DD7WnejAA7r
F+smNJHgF3hiKZLxbGINRvRnfgif7vZrJUIssw=
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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=KwxUu2ZvR7Z
Lg98qveHeZxyvSSo=; b=W22ecCXiQFvMBTFtN7j0ajAYle/t7W/4uO4m/OTNHTs
cp5sLunvN/rY5H4yOz8DXXM6V7CXNOWaL6xQ5HWjeZ+FWbSVm9J27hjUrExg5Dm8
GLjJBHRaFSCfRcIkKIpmXuByyK9+i+ovIyh7/7H4vxxFf2LpqHQ4nKrzuoR8jTtY
=
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.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Spam-Relays-External:ESMTPA
X-HELO: mx009.vodafonemail.xion.oxcs.net
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: My C arrays are too large
References: <CY4PR1101MB21339312E8F5656D8C887BFE81B30 AT CY4PR1101MB2133 DOT namprd11 DOT prod DOT outlook DOT com>
Date: Fri, 13 Sep 2019 20:39:21 +0200
In-Reply-To: <CY4PR1101MB21339312E8F5656D8C887BFE81B30@CY4PR1101MB2133.namprd11.prod.outlook.com> (Charles E. Blair, III's message of "Fri, 13 Sep 2019 12:10:47 +0000")
Message-ID: <87ftl0jb1i.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0

Blair, Charles E III writes:
> My apologies for failing to reply on-list.  I don't know how :(
>
> My machine is 64 bit, and I hope I installed the correct version of cygwin.
>
> This program:
>
> #include<stdio.h>
> int main(){char *a[50][8192];
> return 0;}
>
> compiles with gcc  (no special options) but gives "Segmentation fault".

You are creating an automatic variable that's larger than the default
stack.  You need to enlarge the stack, either during link time or later
e.g. via

peflags -x0x800000 a.out


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
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