Date: Thu, 22 Feb 2001 10:02:23 +0200 (IST) From: Eli Zaretskii 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.