Closed smcv closed 1 year ago
Log file for a crash with launch options STEAM_LINUX_RUNTIME_VERBOSE=1 STEAM_LINUX_RUNTIME_LOG=1 %command%
:
Log file with workaround, same launch options plus SDL_DYNAMIC_API=/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
:
This might have been resolved by the recent update, I'll try to re-test tomorrow.
This is now working for me on Debian 11. It was probably fixed by the 2023-03-09 "Dead Reckoning Update", which included an upgraded SDL.
Your system information
Steam
->Help
->System Information
) in a gist: https://gist.github.com/smcv/f1a965093dbf20448254f796263bbbe8No, in progress now[edit: Yes]Please describe your issue in as much detail as possible:
This might be related to Steam Runtime issue https://github.com/ValveSoftware/Dota-2/issues/2257. While trying to reproduce that issue, I encountered a segmentation fault with different symptoms.
https://github.com/ValveSoftware/Dota-2/issues/2257 is a segmentation fault on startup in Dota 2, but a key distinguishing factor in that report is that the issue reporters have said that downgrading "Steam Linux Runtime - soldier" to its
previous_version
branch is a workaround for their crash.In my version of this crash, I'm seeing Dota 2 segfault on startup regardless of whether I downgrade "Steam Linux Runtime - soldier" to its
previous_version
branch, or keep it on the default branch, or upgrade to theclient_beta
version.Workaround
There is a workaround for the crash I'm seeing: if I set Dota 2's Launch Options to
to make it use the version of SDL that is maintained as part of "Steam Linux Runtime - soldier", then it no longer segfaults.
This suggests that Dota 2 developers could avoid this crash by either removing Dota 2's private copy of SDL and relying on the one from soldier, or upgrading it to match the version in soldier. [Edit: The reporter of https://github.com/ValveSoftware/Dota-2/issues/2257 has confirmed that this is also a workaround for their similar crash.]
The SDL version in the default branch of soldier is 2.26.2, but this version is known to have a regression for game controller hotplugging. The version in the
client_beta
branch is 2.26.3 with https://github.com/libsdl-org/SDL/commit/6edc0100e1a309aac924bcc1a71087903ab074f4 applied as a patch, fixing that regression. The beta version will be copied to the default branch when we are more confident that it doesn't cause any bad regressions, but we were concerned that it might be causing Dota 2 crashes similar to this one, which has delayed that.Steps for reproducing this issue:
steam
(beta branch in desktop mode, in case it matters) from a terminal.../game/dota2.sh: line 109: 8549 Segmentation fault
bp-f1cf2da3-51c9-4a75-8c45-9c07c2230222
for my most recent attempt