The problem began after adding the stb repo as a git submodule to a project, and I confirmed that specifically stb.h crashes the program on project loading.
Tested both with my own custom layer and with the default one, 4coder alpha 4.0.25 super.
Here is the gdb trace:
![](https://i.imgur.com/q3ZU5YZ.png)
Edit: this reproduces also on Windows.
Here is the MSVC callstack:
![](https://i.imgur.com/A8Aeml1.png)