[macOS aarch64] Lazarus BIGIDE executable dies on startup
Original Reporter info from Mantis: trev @trevoz
-
Reporter name: Trevor Roydhouse
Original Reporter info from Mantis: trev @trevoz
- Reporter name: Trevor Roydhouse
Description:
Lazarus executable built with BIGIDE option dies on startup:
trev@macmini8 [/Users/trev/laz_trunk] $ ./lazarus
[FORMS.PP] ExceptionOccurred
Sender=EReadError
Exception=Error reading MainDM.Height: Access violation
Stack trace:
$00000001023D47E4
$00000001023C8388
$00000001023CA440
$00000001023D5478
$00000001024A2FC4
$00000001024A2D3C
$0000000102499C30
$00000001023CCEAC
$00000001023C9A7C
$00000001034D1C88
TApplication.HandleException: EReadError
Error reading MainDM.Height: Access violation
Stack trace:
$00000001023D47E4
$00000001023C8388
$00000001023CA440
$00000001023D5478
$00000001024A2FC4
$00000001024A2D3C
$0000000102499C30
$00000001023CCEAC
$00000001023C9A7C
$00000001034D1C88
Exception at 00000001023D47E4: EReadError:
Error reading MainDM.Height: Access violation.
(lldb) r
Process 21339 launched: '/Users/trev/laz_trunk/lazarus' (arm64)
Process 21339 stopped
* thread #1 (closed), queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x70)
frame #0: 0x000000010010a198 lazarus`CLASSES$_$TDATAMODULE_$__$$_DEFINEPROPERTIES$TFILER + 120
lazarus`CLASSES_
TDATAMODULE___
$_DEFINEPROPERTIES$TFILER:
\-> 0x10010a198 <+120>: ldr w2, [x0, #0x70]<br/>
0x10010a19c <+124>: cmp w2, w1
0x10010a1a0 <+128>: cset w2, ne
0x10010a1a4 <+132>: cmp w1, #0x60 ; =0x60
Target 0: (lazarus) stopped.
Steps to reproduce:
make distclean all LCL_PLATFORM=cocoa CPU_TARGET=aarch64 bigide
Mantis conversion info:
- Mantis ID: 38582
- OS: macOS
- OS Build: 11.2.2
- Build: SVN 64744@trunk
- Platform: Apple aarch64
- Version: 2.1 (SVN)
- Monitored by: » @trevoz (Trevor Roydhouse)