maximmasiutin/FastMM4-AVX

AV in latest FastMM4-AVX trunk with C++Builder x32 project

MaxTerentiev opened this issue · 7 comments

Hi,
I found new problem with latest FastMM4-AVX:

After you fix AV with Delphi x64 project I start getting new AVs with C++Builder x32 project ! It was works fine with previous FastMM-AVX version ! C++Builder x64 project also works fine, so new problem only in x32 mode.

Attached error screenshot and also debugger screenshot with call stack and line number.

AVScreen
Debugger

I also get "Invalid floating point operation" error time to time and debugger stops at this line (see attached screenshot). This happens also with Delphi/CBuilder x32 projects and works fine with Delphi/CBuilder x64. This happens then I close TDBISAMTable. Because its commercial component - I can't publish example project in public (but can send directly to you somehow as .dcu's).

Debugger1

Thank you! I will take care of this.

What was the commit date of the last version that worked?

Last version fully working in both x32 and x64 in delphi and bcb attached.
FastMM4.zip

Fixed in the recent commit, thank you!

This is the commit that fixes it: 21b9838

The error was caused by improper handling of 8-byte alignment. You can specify 16-byte or 32-byte alignment to fix this problem without even taking the previous commit. Sorry for that!