Can you post a simple non-lcl demo to demonstate the issue to the compiler people?
Such test project is probably not possible within days, because in the exe file,
every compiled line before str() has impact on the occurrence of crash
and I cannot publish my source. On every source change (exclude any unit,
or any sourceline) the crash effect changes (mostly disappears).
But I know for sure, the bug is not LCL: The normal LCL unit files are initialized
in uses clause, but nothing else of LCL is called before the crash, my project unit is:
begin
someUnit.doCrashTest; // crashes occur here (after calling str(f:w:d, s) in there)
exit; // always exit here
// unused, but can't be removed (changes exe file, thus removes crash above)
Application.Scaled:=True;
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end;