Access violation during compilation

Summary

Compilation raise reproduceable internal error:

[4.250] Fatal: (1018) Compilation aborted
An unhandled exception occurred at $000000010004B3F8:
EAccessViolation: Access violation
  $000000010004B3F8
  $000000010004B571
  $000000010004B68F
  $0000000100181BC4
  $00000001001817AF
  $0000000100183624
  $0000000100185A90
  $0000000100185AC9
  $0000000100185AC9
  $0000000100185AC9
  $0000000100186F81
  $00000001001A01F7
  $00000001001A067D
  $000000010013EF8A
  $0000000100142C40
  $00000001001430E4
  $000000010014375D

Error: C:\lazarus3\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode

System Information

  • Operating system: Windows 11
  • Processor architecture: x86_64-win64-win32/win64
  • Compiler version: Lazarus 3.99 (rev 53f21809d1) FPC 3.3.1
  • Device: Samsung 340XAA, Notebook (Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz 1.80 GHz)

Steps to reproduce

  1. Install Lazarus and FPC using fpcupdeluxe
  2. Download and unzip attached project files
  3. Press F9/Compilation button (DO NOT CLEAN UP AND BUILD)

Example Project

stimulus-control-sdl2.zip

What is the expected (correct) behavior?

The project should compile.

Relevant logs and/or screenshots

acess-violation.txt

Possible fixes

I have no clue at all.

Edited by Rafael Picanço
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information