App aarch64 crashes on Apple M1
Original Reporter info from Mantis: IgorKokarev
-
Reporter name: Igor Kokarev
Original Reporter info from Mantis: IgorKokarev
- Reporter name: Igor Kokarev
Description:
App (aarch64) crashes on creating of NSWindow initWithContentRect_styleMask_backing_defer() on Mac with Apple M1 chip.
Dec 8 05:37:07 Toms-Mac-mini com.apple.xpc.launchd[1]: Coalition Cache Hit: app&LtPos;application.SimpleApp.2109617.2109623(501)> [14248]
Dec 8 05:37:09 Toms-Mac-mini com.apple.xpc.launchd[1] (application.SimpleApp.2109617.2109623[14271]): Service exited with abnormal code: 217
Steps to reproduce:
Compile the attached test project for aarch64-darwin target and run APP bundle on Apple M1 Mac. Normally you should see an empty white window. This doesn't occur on M1 Mac.
Additional information:
This problem doesn't occur with x86-64 code executed via Rosetta emulation. Also native aarch64 code works fine on Apple DTK. The problem occurs only with Apple M1 Macs for aarch64 code.
FPC 3.2.1 fixes (2020/11/20), Lazarus 2.0.10, Intel Mac Big Sur 11.0.1, Xcode 12.2.
Mantis conversion info:
- Mantis ID: 38189
- OS: macOS
- OS Build: 11.0.1
- Build: 2020/11/20
- Platform: Apple M1
- Version: 3.2.1
- Fixed in version: 3.2.1
- Fixed in revision: 47756 (#c9c1c168)
- Monitored by: » @CuriousKit (J. Gareth Moreton)