Mail Archives: djgpp/1996/02/28/04:26:57
On Wed, 28 Feb 1996 j DOT aldrich6 AT genie DOT com wrote:
> Reply to message 9341724 from J DOT ALDRICH6 AT GE on 02/27/96 9:52PM
>
[snip]
> not overflowing my buffer variables, it was overflowing my stack. It
> seems that in allocating the stack space necessary to store the local
> variables in my function, the stack grew so large that it actually overwrote
> segments of static storage!
This evil stack overflow thing has happened a lot of times, it seems. I
didn't get stack overflow errors either when my program crashed... seems
like a "feature" which cropped up along with DJGPP V2 -- the standard
stack (256K) is too small.
An easier (ugly) way to fix your problem would have been to STUBEDIT the
resulting EXE you got and increase the stack size to something nice (4
Meg works well for me, thank you).
Regards,
------------------------
Orlando A. Andico
oandico AT eee DOT upd DOT edu DOT ph
------------------------
- Raw text -