delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/02/09/00:55:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: 09 Feb 2004 07:51:26 +0200
Message-Id: <uvfmgu7fl.fsf@elta.co.il>
From: Eli Zaretskii <eliz AT elta DOT co DOT il>
To: djgpp AT delorie DOT com
In-reply-to: <be40988.0402081729.bc9835d@posting.google.com>
(kernco AT earlham DOT edu)
Subject: Re: Strange runtime error
References: <be40988 DOT 0402081729 DOT bc9835d AT posting DOT google DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: kernco AT earlham DOT edu (Colin Kern)
> Newsgroups: comp.os.msdos.djgpp
> Date: 8 Feb 2004 17:29:35 -0800
> 
> Two of my projects has succumbed to a strange error in which my
> program compiles with no errors or warnings (even with pedantic) and
> then crashes on the first line, regardless of what the first line is. 
> GDB can tell me nothing, the backtrace is simply:
> #0 xxxxxxxxxx in main () at program.cpp:13
> #1 xxxxxxxxxx in ___crt1_startup ()

The full crash message printed when the program goes down (outside the
debugger), complete with registers' dump and everything else, would be
useful here.  Please consider posting it if the guess below doesn't
solve the problem.

One situation where such crashes happen is when you have a very large
automatic array in your main function, so large that it blows up the
512MB stack.  See section 15.9 of the DJGPP FAQ for more details.

- Raw text -


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