What a pleasant surprise from Platon42!! :-) Thank you!
I'm using MemOptimizer currently and i will test this patch, asap.
@platon42
From the docs:
There is a bug in all known version of the scsi.device (both IDE and NCR
SCSI). The devices will allocate an IORequest structure (32 bytes big) and
then use it as IOStdReq structure (which is 48 bytes big), overwriting
innocent memory past the 32 allocated bytes. By chance, this seems to have
no noticable effect on the standard AmigaOS allocator, but immediately
kills TLSFMem, as a vital pointer in its internal structures are
overwritten. Don't get me wrong: This is a bug in the scsi.device and that
TLSFMem triggers it makes it no bug of TLSFMem.
Hey, do you think that this bug could explain the (urg!..) partition trashing experiences that i had with PoolMem and AllocP?? (No problems with MemOptimizer, so far)
What are the expected consequences of this? I do know that you provide a bug-fix, but i still would like to know.
Edit:
Oh, another (important, i believe) question please: Many ppl like me are using the IDEFix package which patches/replaces the standard scsi.device. What's the case with this one? Is there a need for a fix? Which one from the ScsiBugfix directory?