Hi
Just got Mac M1, installed native Arch64 Lazarus, and am having problem loading in a project in the ide.
First problem I had, was the it complained that Project CPU Target options was wrong clicked ok, then Lazarus would just crash out..
So I created another project build option and set that to Arch64 cocoa, and set as current Build option.
Now when I try to open the project, the first message is not there, but it just crashes immediately after trying to open a project, no error, just crash report.
Any body aware of such behaviour, what to look for, and possibly how to fix, it seems it is trying to show some model message, but is failing.
Process: lazarus [9058]
Path: /Users/USER/Documents/*/lazarus.app/Contents/MacOS/lazarus
Identifier: lazarus.freepascal.ide
Version: 2.1.0 (1)
Code Type: ARM-64 (Native)
Parent Process: ??? [1]
Responsible: lazarus [9058]
User ID: 501
Date/Time: 2021-04-03 00:14:44.963 +0100
OS Version: macOS 11.2.3 (20D91)
Report Version: 12
Anonymous UUID: 93F595A2-2AEB-CD19-A06C-DA3BBCD9B155
Time Awake Since Boot: 3300 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000300000000
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x300000000:
MALLOC metadata 283a88000-283ac8000 [ 256K] rw-/rwx SM=PRV
-->
commpage (reserved) fc0000000-1000000000 [ 1.0G] ---/--- SM=NUL reserved VM address space (unallocated)
Application Specific Information:
*** Terminating app due to uncaught exception 'NSGenericException', reason: '-[NSAlert runModal] may not be invoked inside of transaction begin/commit pair, or inside of transaction commit (usually this means it was invoked inside of a view's -drawRect: method.)'
abort() called
terminating with uncaught exception of type NSException
ps All the components used are installed and working; as other projects work when Extra Build option created.