[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] USERDEF stack size



Den 22.12.2010 09:23, skrev Vincent Rivière:
So the problem only occurs with plain TOS/EmuTOS and QED recompiled with
a recent GemLib.

I don't know what to do, so comments are welcome.

This particular problem must be fixed in CF-Lib. Instead of putting the arrays on the stack, they should be Malloc-ed. Not as fast as static arrays, but you only need to store a couple of pointers on the stack and there will be no re-entrancy issues.

I have noticed this problem myself. Userdefs that works fine with XaAES crashes N.AES due to stack overflow. So XaAES probably has a larger stack to cope with these situations.

Jo Even