delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/21/12:20:43

Date: Wed, 21 Feb 2001 19:13:58 +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: <3a93e928.37950550@news.redshift.com>
Message-ID: <Pine.SUN.3.91.1010221191100.22091D-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 Wed, 21 Feb 2001, Damon Casale wrote:

> The routine I had written which exhibited this problem was a recursive
> add-to-linked-list function.

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.

- Raw text -


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