delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/14/06:16:07

Date: Tue, 14 Apr 1998 13:13:15 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Chris Frolik <frolikcc AT indy DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: gcc crash
In-Reply-To: <3532E807.18DC@indy.net>
Message-ID: <Pine.SUN.3.91.980414130713.3323D-100000@is>
MIME-Version: 1.0

On Mon, 13 Apr 1998, Chris Frolik wrote:

> I was compiling with djgpp today, and gcc decided to crash...here's the
> traceback:
> 
> C:\Chris\C\xapheus>make -f makefile.txt
> gcc -c -g -O3 -finline -Wimplicit -Wreturn-type -Werror -m486 newplyr.c
> Exiting due to signal SIGTRAP
> Debug at eip=0009172d

My first guess would be insufficient stack size.  Try bumping up the 
maximum stack size of cc1.exe, like this:

	stubedit d:/djgpp/bin/cc1.exe minstack=1536k

then see if the problem goes away.  If not, try enlarging the stack to 
4MB.  If that doesn't help either, then the stack isn't the problem.

Either way, watch closely if the crash traceback changes when you enlarge 
the stack.  If it does, it might reveal the *real* reason for the crashes 
(even if enlarging the stack doesn't solve it), so post the traceback 
again if you cannot figure out what's wrong.

- Raw text -


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