Page 1 of 1

[2.0.11] Crash, SDL_rawinputjoystick.c / VulkanSteamOverlayProcessCapturedFrame (MR)

Posted: Sun Oct 27, 2024 5:26 am
by lucyisgamer
Since updating to 2.0, I've been getting random crashes, all with the same log messages (most recent log and memory dump are attached). They have been happening during all phases of the game (I even had one during the initial startup load when booting the game). Despite what the logs may claim, I don't have any controllers connected to my machine.

Sorry for not having a reproducible test case, it's been happening often enough to impede progress but not enough to narrow down a cause. If need be, I can try and attach a debugger to the game while I play.

Re: [2.0.11] Seemingly random hard crash (possibly SDL related?)

Posted: Tue Oct 29, 2024 9:14 am
by Biometrix
I WAS randomly crashing before 2.0.8 I think? Several hours then a crash, consistently. Haven't in a day or two, though, since 2.0.8 or 2.0.9 or something like that.

[2.0.11] Game crash - SDL_rawinputjoystick.c

Posted: Tue Oct 29, 2024 4:06 pm
by A7x49
The game crashed randomly

Merged...

Re: [2.0.11] Crash, SDL_rawinputjoystick.c / VulkanSteamOverlayProcessCapturedFrame

Posted: Fri Nov 01, 2024 2:32 pm
by Loewchen
You could try disconnecting your joystick and disabling steam overlay for factorio.

Re: [2.0.11] Crash, SDL_rawinputjoystick.c / VulkanSteamOverlayProcessCapturedFrame (MR)

Posted: Wed Nov 06, 2024 8:07 am
by lucyisgamer
I didn't have any controllers connected to begin with, but I can try disabling the Steam Overlay. I can also confirm that this issue still affects 2.0.14.

Re: [2.0.11] Crash, SDL_rawinputjoystick.c / VulkanSteamOverlayProcessCapturedFrame (MR)

Posted: Wed Nov 06, 2024 6:22 pm
by lucyisgamer
Tried disabling Steam Overlay (and Steam Input, for good measure) and game still crashes on 2.0.15.

Re: [2.0.11] Crash, SDL_rawinputjoystick.c / VulkanSteamOverlayProcessCapturedFrame (MR)

Posted: Sun Nov 17, 2024 1:48 pm
by boskid

Re: [2.0.11] Crash, SDL_rawinputjoystick.c / VulkanSteamOverlayProcessCapturedFrame (MR)

Posted: Wed Dec 04, 2024 3:03 pm
by posila
Is this still an issue in the latest version (2.0.23 or newer)? In Factorio 2.0.16 we have updated SDL from version 2.30.0 to 2.30.9 and there are several fixes for controller support mentioned in the SDL patch notes.

Re: [2.0.21] Crash (RAWINPUT_UpdateWindowsGamingInput)

Posted: Sat Dec 07, 2024 8:58 pm
by Frazbil
Also had this crash occur on version 2.0.23. It seems to trigger when my XBox Series X Controller is turned on (even if it isn't actively connected to my PC via Bluetooth, i.e. it is connected to another PC, but in my "bluetooth devices" list)

Re: [2.0.11] Crash, SDL_rawinputjoystick.c / VulkanSteamOverlayProcessCapturedFrame (MR)

Posted: Fri Dec 13, 2024 5:52 pm
by posila
Thanks for the info.
I bought Wireless Xbox Controller but have not been able to reproduce the crash. One thing I noticed from minidump OP posted, is that they have somewhat outdated version of Steam's gameoverlayrenderer64.dll (in which the crash happens). I have version 9.38.28.26, OP's minidump has version 9.18.90.86, and one of the duplicate threads has minidump with version 9.33.91.58.

From the crashlog, SDL is calling Window's API function get_GamePads from Windows.Gaming.Input.IGamepadStatics interface, which is intercepted by Steam's overlay, which triggers the crash. So it might be even bug in Steam overlay which might have been fixed in current Steam client.

Re: [2.0.11] Crash, SDL_rawinputjoystick.c / VulkanSteamOverlayProcessCapturedFrame (MR)

Posted: Sat Jan 04, 2025 1:42 pm
by crystalin
Happens the same to me with XBox Controller when connecting/disconnecting frequently (not being used in Factorio but I left the controller on by mistake)