www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/22/03:05:44

Date: Thu, 22 Feb 2001 10:02:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: GP fault on a new -- why?
In-Reply-To: <3a94a56b.86152342@news.redshift.com>
Message-ID: <Pine.SUN.3.91.1010222100128.1660G-100000@is>
MIME-Version: 1.0
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

On Thu, 22 Feb 2001, Damon Casale wrote:

> >Problems with deeply recursive functions are indeed one of the possible 
> >causes for crashes inside CWSDPMI.  If your recursion is so deep that it 
> >overflows the 512K stack, you can overwrite crucial data structures in 
> >the DJGPP exception handlers and get such crashes.
> 
> I tried setting _stklen to 1 meg, but that didn't seem to help.  Maybe I
> didn't do that right.  *shrugs*

More probably, 1 MB wasn't enough, either.  You could have infinite 
recursion on your hands, for example.

- Raw text -


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