Mail Archives: djgpp/2004/02/09/00:55:24
> 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 -