A user is reporting that my game doesn't start, it just freezes without opening a window. I got a minidump file from him, the stacktrace is as follows:
sfml-system-2.dll!587d59c0() Unknown
sfml-system-2.dll!587d59cc() Unknown
sfml-system-2.dll!587d1096() Unknown
sfml-window-2.dll!0f099fd8() Unknown
sfml-window-2.dll!0f09311b() Unknown
sfml-window-2.dll!0f0950f4() Unknown
sfml-window-2.dll!0f09abce() Unknown
sfml-window-2.dll!0f095604() Unknown
sfml-window-2.dll!0f0949a8() Unknown
keeper.exe!Renderer::initialize() Line 268 C++
The last line is in my code, as follows (display is a RenderWindow).
display.create(sf::VideoMode::getDesktopMode(), "KeeperRL");The method is called in an extra thread, while some stuff is done in the main thread first (RenderWindow constructor, Font::loadFromFile), could this cause any trouble?
EDIT: the problem persists even when the game is run in a single thread.
Is there any way to load the SFML symbols and see the whole stacktrace?
Note that this is a pretty uncommon bug, I couldn't reproduce it on many PCs, and the game has worked for lots of players for years. On that user's particular machine, we've tried a Visual Studio 14 build with the most recent SFML version, as well as a Mingw-w64 build with a slightly older verison of SFML.
The user's spec:
Windows 10
i7-4930K
GTX 970