Building our application using PackageCompiler v2.2.4, using Julia 1.12.3 (+ some patches), we see:
2026-01-16 17:17:15 - PackageCompiler: compiling incremental system image
2026-01-16 17:24:42 Warning: detected a stack overflow; program state may be corrupted, so further execution might be unreliable.
2026-01-16 17:24:42 Warning: detected a stack overflow; program state may be corrupted, so further execution might be unreliable.
2026-01-16 17:56:58 [ Info: Built the sysimg in 2421.695746075 seconds
This happens deterministically. We do have an rr trace that I will share privately.