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

RE: VFAT.XFS ...by Julian Reschke?



Hi JR!

>MagiC does not have memory protection, but it implements memory guards
>at the begin and the end of allocated memory blocks. This way it can
>find some memory violations that MiNT will not notice, notably writing
>over the end of an allocated block. It is a Good Thing to test
>software in both environments whenever posssible.

Yeah, but if Magic detects an memory violation, it will crash
imediatly.
AND: MagiC will not recognice the violation until you free the
memory-block.

Under Mint the program crashs at the point the
violation occurs. Much easier to debug!


Bye,
     Björn

BTW:
I found the mv-bugs in my progs by wrinting my own Malloc/Mfree
routines which (like Magic) use magics at the beginning and end of
the memory block. Then start the prog under SingleTOS so the OS wont
crash while debugging.