delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Thu, 12 Aug 2004 13:02:26 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: simple C program crashes at run time |
Message-ID: | <20040812110226.GB28756@cygbert.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <1092304835 DOT 13420 DOT ezmlm AT cygwin DOT com> <200408121041 DOT MAA00181 AT gsnet0 DOT lngs DOT infn DOT it> |
Mime-Version: | 1.0 |
In-Reply-To: | <200408121041.MAA00181@gsnet0.lngs.infn.it> |
User-Agent: | Mutt/1.4.2i |
On Aug 12 12:47, user AT lngs DOT infn DOT it wrote: > > #include <stdio.h> > #include <stdlib.h> > #include <string.h> > > #define TAGLIA 415 > main() > { > > int i, j, k, iran; > unsigned int seed; > float unran; > float mata[TAGLIA][TAGLIA], > matb[TAGLIA][TAGLIA], > matc[TAGLIA][TAGLIA]; Your local data is too big for the default stack size of 2 Megs when you're setting TAGLIA to a value >= 416. Try e. g. gcc -Wl,--stack=3000000 unlucky.c -o unlucky Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |