Hello, I'm experiencing random crashes when running my FPC-compiled application (version 3.2.2 for aarch64) on a Mac Studio with ARM64 architecture. The crashes occur 25% of the time at the same point in the program, while the other 75% of the time, the program runs without any issue.
My application involves parsing an input file and managing complex data structures using dynamic arrays of record pointers. I have carefully implemented memory allocation and deallocation, and I have tested my cleanup procedures thoroughly. I have also verified that there are no concurrency issues, external factors, or random elements causing the crashes.
I suspect the issue might be related to the ARM64 target or the Mac Studio architecture. Are there any known issues or quirks specific to compiling for ARM64 on Mac Studio using FPC 3.2.2? If so, could you provide any recommendations, workarounds, or fixes that could help resolve this issue?
Thank you for your assistance.