You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are the exact conditions to trigger this exception:
SDL version 2.0.15 (I'm using 32-bit, same probably happens in 64).
Have at least 1 non-360 game controller plugged in before running.
Run from Visual Studio 2019. It happens in both release and debug mode.
SDL_INIT_GAMECONTROLLER with a window and very basic event loop.
Quit application after waiting about 30 seconds.
Run in Windows 10.
That's it. You don't need to actually open any controllers. It doesn't happen with a 360 controller. It doesn't trigger if you quit the application before about 30 seconds.
The exact message I get is:
Exception thrown at 0x532FFE27 (Windows.Gaming.Input.dll) in test.exe: 0xC0000005: Access violation reading location 0x60051B98.
I'm unable to debug this dll because there are no symbols, but when looking at the disassembly I see a symbol called "GameController::~GameController". Guessing this is Windows internal code relating to joystick destruction? Hope this makes sense to someone?