Preamble: I hesitated to create this topic for a long time, but too often a mistake makes me do it.
So, for about 1 year now, I've been seeing a project build error that always points to the same module. She appears from time to time. When rebuilding an unmodified project, the error does not appear and the project starts without errors. As the project grows, the error shows up more often.
The error appears regardless of whether I first build the project (Shift + F9) or immediately run with debugging (F9).
I get this error on any platform I run the project on (Win x64/Debian 11 (gtk2/qt5)/Darwin (Monterey))
I ask the main maintainers to look at what is the likely cause of the bug. Not sure if I can reproduce this error in a test project. Therefore, I am ready to give the maintainers full access to the source code in a private repository.
I hope for your attention.
I use:
FPC revision: git_start-3099-g8c9a07a3e8
Lazarus revision: main-2_3-2276-g1c7122b6ca