Mail Archives: djgpp/2001/02/22/00:56:46
On Wed, 21 Feb 2001 19:13:58 +0200 (IST), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:
>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.
I tried setting _stklen to 1 meg, but that didn't seem to help. Maybe I
didn't do that right. *shrugs*
Damon Casale, damon AT WRONG DOT redshift DOT com (remove the obvious)
"Warning: Playing 'Jenga' with your stack may be hazardous to your
health."
- Raw text -