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

Re: [MiNT] Corruption of high TPA



On Thu, 2009-06-11 at 15:33 +0200, Vincent Rivière wrote:
> Alan Hourihane wrote:
> > I'm pretty sure I have memory protection enabled here when I did the
> > test. Why don't I see the problem ??
> 
> I don't understand exactly when it becomes visible, because I have very 
> limited knowledge about memory protection settings. The only concrete 
> fact is I have an ARAnyM disk image where the tst.tos binary crashes.

I get a little uneasy about adding patches to mintlib when we can't
reproduce the bug on more than one system. Has anyone else reproduced
this without Aranym/EmuTOS ?

> This is a problem for the early stack. The bug was never triggered 
> before, because I guess there was no trap call from the early stack. In 
> my latest patch for the startup code, I added a Ssystem() call very 
> early on the early stack, so any programs built with the current CVS 
> MiNTLib crashes before main() on systems (like mine) where the bug is 
> visible.

Did you enable the NEW_SYSCALL stuff in the kernel and the bug
disappeared ??

Alan.