ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
470 stars 38 forks source link

Linux 23.10.06 update: Segmentation fault #2528

Open AngryPenguinPL opened 11 months ago

AngryPenguinPL commented 11 months ago

Your system information

Please describe your issue in as much detail as possible:

After totay dota 2 update - 2023.10.06 game no longer start on Linux. In terminal I see segmentation fault:

ERROR: ld.so: object '/tmp/pressure-vessel-libs-B7JLC2/${PLATFORM}/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
crash_20231006180008_2.dmp[111182]: Uploading dump (out-of-process)
/tmp/dumps/crash_20231006180008_2.dmp
/media/x/5afea239-9232-4445-a98e-4e892b1c4e26/steam/steamapps/common/dota 2 beta/game/dota.sh: line 122: 111166 Segmentation fault      (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
crash_20231006180008_2.dmp[111182]: Finished uploading minidump (out-of-process): success = yes
crash_20231006180008_2.dmp[111182]: response: CrashID=bp-c602cf61-aa13-4fba-87a5-1bb632231006
crash_20231006180008_2.dmp[111182]: file ''/tmp/dumps/crash_20231006180008_2.dmp'', upload yes: ''CrashID=bp-c602cf61-aa13-4fba-87a5-1bb632231006''

Also dmesg show me this:

 dota2[109372]: segfault at 0 ip 00007ffa9bf42da1 sp 00007ffe9b84c160 error 4 in libc.so.6[7ffa9bf1f000+156000] likely on CPU 5 (core 3, socket 0)
[pią  6 paź 17:57:18 2023] Code: ec 28 49 8b 41 08 48 89 74 24 08 44 89 44 24 18 85 c9 0f 85 09 03 00 00 83 ff 01 0f 84 78 01 00 00 83 ff 24 0f 87 6f 01 00 00 <49> 0f be 14 24 49 8b 49 68 4c 89 e3 48 89 d0 f6 44 51 01 20 74 1c
[pią  6 paź 17:58:06 2023] dota2[109559]: segfault at 0 ip 00007f3403247da1 sp 00007ffd11d5cc40 error 4 in libc.so.6[7f3403224000+156000] likely on CPU 0 (core 0, socket 0)
[pią  6 paź 17:58:06 2023] Code: ec 28 49 8b 41 08 48 89 74 24 08 44 89 44 24 18 85 c9 0f 85 09 03 00 00 83 ff 01 0f 84 78 01 00 00 83 ff 24 0f 87 6f 01 00 00 <49> 0f be 14 24 49 8b 49 68 4c 89 e3 48 89 d0 f6 44 51 01 20 74 1c
[pią  6 paź 17:58:51 2023] dota2[110358]: segfault at 0 ip 00007ff1c59a5da1 sp 00007fffff977bb0 error 4 in libc.so.6[7ff1c5982000+156000] likely on CPU 2 (core 4, socket 0)
[pią  6 paź 17:58:51 2023] Code: ec 28 49 8b 41 08 48 89 74 24 08 44 89 44 24 18 85 c9 0f 85 09 03 00 00 83 ff 01 0f 84 78 01 00 00 83 ff 24 0f 87 6f 01 00 00 <49> 0f be 14 24 49 8b 49 68 4c 89 e3 48 89 d0 f6 44 51 01 20 74 1c
[pią  6 paź 18:00:08 2023] dota2[111166]: segfault at 0 ip 00007f19d9739da1 sp 00007ffe35498440 error 4 in libc.so.6[7f19d9716000+156000] likely on CPU 4 (core 2, socket 0)
[pią  6 paź 18:00:08 2023] Code: ec 28 49 8b 41 08 48 89 74 24 08 44 89 44 24 18 85 c9 0f 85 09 03 00 00 83 ff 01 0f 84 78 01 00 00 83 ff 24 0f 87 6f 01 00 00 <49> 0f be 14 24 49 8b 49 68 4c 89 e3 48 89 d0 f6 44 51 01 20 74 1c

Steps for reproducing this issue:

AngryPenguinPL commented 11 months ago

Also here is mentioned crash log

crash_20231006180008_2.dmp.txt

kisak-valve commented 11 months ago

For reference, the attached minidump is a SIGSEGV in libc.so.6 coming from libSDL3.so.0 and librendersystemvulkan.so.

ahsanhussain commented 10 months ago

Still not fixed for me

runkelstein commented 10 months ago

I also get a segfault. I played dota, got a dc because my internet was down, since then I cant restart the game. I even reinstalled but it didnt fix it.

There was no update in between my dc and the attempt to start the game again. That happened last saturday or sunday

ERROR: ld.so: object '/home/.../.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/.../.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/.../.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/.../.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/.../.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

Loaded /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so, got 0x5603b76563c0 Using breakpad crash handler [S_API] SteamAPI_Init(): Loaded '/home/.../.steam/debian-installation/linux64/steamclient.so' OK. Setting breakpad minidump AppID = 570 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit 11/09 21:27:43 Init: Installing breakpad exception handler for appid(570)/version(8476512)/tid(22239) Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198013020041 [API loaded yes] SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561198013020041 Setting breakpad minidump AppID = 373300 Loaded libSDL3.so.0, got 0x5603b7943960 Loaded /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libtier0.so, got 0x5603b763f9f0 Loaded /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x5603b79860e0 Loaded /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libinputsystem.so, got 0x5603b7989250 Loaded /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/liblocalize.so, got 0x5603b7a2b940 Loaded /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x5603b79e9f70 Loaded /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x5603b7a355c0 Loaded /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libschemasystem.so, got 0x5603b7a04950 /home/.../.steam/debian-installation/steamapps/common/dota 2 beta/game/dota.sh: line 122: 22239 Segmentation fault (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

I tried running it with proton as well, but then the game starts, and I can use the menu etc, but it crashes after a few seconds. Linux support is getting worse and worse. It used to work very well.

genghisun commented 10 months ago

still cant play on my ubuntu20.04

AngryPenguinPL commented 10 months ago

@runkelstein your problem looks completely different. I had one once too. I had a power outage and DC during that. After restarting my PC and trying to launch the game, I had a strange crash. I was looking for solutions and it helped: delete shadercache in dota 2 beta/game/dota/shadercache/vulkan/ solution taken from this bug: https://github.com/ValveSoftware/Dota-2/issues/2369

AngryPenguinPL commented 10 months ago

Anyway, my main problem from first post, was fixed. I was able to workaround it by launching dota with "Linux steam runtime (scout 1.0)". After playing in that way one week or so, I switched back to previous and opt out from linux steam runtime and my game start working fine, like previous. I think it was a problem with this pressure vessel and with the transition to version 3.0.

thxrion commented 10 months ago

i seem to have a similar issue as @runkelstein

@AngryPenguinPL unfortunately #2369 issue and your advice didn't help

<usr>@archlinux ~/.local/share/Steam/steamapps/common/dota 2 beta/game$ bash ./dota.sh
Loaded /home/<usr>/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so, got 0x55f54f1ace00
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/<usr>/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 570
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
11/17 01:19:31 Init: Installing breakpad exception handler for appid(570)/version(8502353)/tid(21896)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561199105832683 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561199105832683
Setting breakpad minidump AppID = 373300
Loaded libSDL3.so.0, got 0x55f54f456e00
Loaded /home/<usr>/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libtier0.so, got 0x55f54f1960b0
Loaded /home/<usr>/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55f54f4a59d0
Loaded /home/<usr>/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libinputsystem.so, got 0x55f54f4a6720
Loaded /home/<usr>/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/liblocalize.so, got 0x55f54f535d90
Loaded /home/<usr>/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x55f54f539af0
Loaded /home/<usr>/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55f54f4fb5a0
Loaded /home/<usr>/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55f54f536c90
crash_20231117011931_2.dmp[21929]: Uploading dump (out-of-process)
/tmp/dumps/crash_20231117011931_2.dmp
./dota.sh: line 122: 21896 Segmentation fault      (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
<usr>@archlinux ~/.local/share/Steam/steamapps/common/dota 2 beta/game$ crash_20231117011931_2.dmp[21929]: Finished uploading minidump (out-of-process): success = yes
crash_20231117011931_2.dmp[21929]: response: CrashID=bp-6c8ab196-152f-4d64-a556-c8d5a2231116
Operating System Version:
Arch Linux (64 bit)
Kernel Name: Linux
Kernel Version: 6.6.1-arch1-1
X Server Vendor: The X.Org Foundation
X Server Release: 12101009
X Window Manager: Mutter (Muffin)
Steam Runtime Version: steam-runtime_0.20231024.64411
Video Card:
Driver: AMD AMD Radeon Graphics (renoir, LLVM 16.0.6, DRM 3.54, 6.6.1-arch1-1)
Driver Version: 4.6 (Compatibility Profile) Mesa 23.2.1-arch1.2
OpenGL Version: 4.6

tried everything i know, with proton i get to main menu but it crashes after two seconds or so.

ecuracosta commented 10 months ago

I'm in EndeavourOS (Kernel: 6.6.1-arch1-1) with Nvidia graphics (GeForce RTX 2060 Mobile) and experiencing the same problem.

Looking at dmesg I got more information:

[ 368.262802] dota2[4826]: segfault at 0 ip 00007fdb26577526 sp 00007ffd71f9acc0 error 6 in libtier0.so[7fdb264bf000+2f3000] likely on CPU 1 (core 1, socket 0)

libtier0.so shared library seems to be related to the problem.

ecuracosta commented 10 months ago

Replying to https://github.com/ValveSoftware/Dota-2/issues/2528#issuecomment-1815533546

Here there is a workaround

Strykar commented 4 months ago

This issue is back -

[12814.993558] fossilize_repla[86626]: segfault at 15e00000318a ip 00007d8f9c27b78d sp 000062ea5cff92b8 error 4 in libc.so.6[7d8f9c218000+15b000] likely on CPU 6 (core 8, socket 0)
[12814.993578] Code: 83 f8 03 b8 00 00 04 00 48 0f 46 d0 31 c0 48 39 fa 0f 93 c0 c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 64 48 8b 0c 25 10 00 00 00 <8b> 91 08 03 00 00 48 8d b9 08 03 00 00 89 d6 83 ce 02 39 d6 74 1d
[12815.138023] traps: fossilize_repla[86643] general protection fault ip:7d8f9c27b78d sp:62ea5cff92b8 error:0 in libc.so.6[7d8f9c218000+15b000]
[12815.723229] fossilize_repla[86633]: segfault at 631ac2714b28 ip 000062ea5552a14e sp 000062ea5cff9310 error 4 in fossilize_replay[62ea55513000+1ab000] likely on CPU 4 (core 4, socket 0)
[12815.723243] Code: c8 00 00 00 4c 8b 2d 49 74 1d 00 4d 85 ed 0f 84 b8 00 00 00 64 8b 2c 25 d8 ff ff ff 48 69 ed d8 00 00 00 49 03 ad d0 04 00 00 <83> bd b8 00 00 00 00 0f 84 b6 00 00 00 4c 8d 64 24 20 45 31 f6 0f
[12816.015931] fossilize_repla[86628]: segfault at 316 ip 00007d8f9c27b78d sp 000062ea5cff92b8 error 4 in libc.so.6[7d8f9c218000+15b000] likely on CPU 15 (core 3, socket 0)
[12816.015945] Code: 83 f8 03 b8 00 00 04 00 48 0f 46 d0 31 c0 48 39 fa 0f 93 c0 c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 64 48 8b 0c 25 10 00 00 00 <8b> 91 08 03 00 00 48 8d b9 08 03 00 00 89 d6 83 ce 02 39 d6 74 1d
[12816.151014] fossilize_repla[86650]: segfault at 308 ip 00007d8f9c27b78d sp 000062ea5cff92b8 error 4 in libc.so.6[7d8f9c218000+15b000] likely on CPU 7 (core 9, socket 0)
[12816.151031] Code: 83 f8 03 b8 00 00 04 00 48 0f 46 d0 31 c0 48 39 fa 0f 93 c0 c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 64 48 8b 0c 25 10 00 00 00 <8b> 91 08 03 00 00 48 8d b9 08 03 00 00 89 d6 83 ce 02 39 d6 74 1d
[12816.189238] traps: fossilize_repla[86640] general protection fault ip:7d8f9c27b78d sp:62ea5cff92b8 error:0 in libc.so.6[7d8f9c218000+15b000]
[12816.317146] traps: fossilize_repla[86649] general protection fault ip:7d8f9c27b78d sp:62ea5cff92b8 error:0 in libc.so.6[7d8f9c218000+15b000]
[12816.344238] fossilize_repla[86638]: segfault at 500000032b ip 00007d8f9c27b78d sp 000062ea5cff92b8 error 4 in libc.so.6[7d8f9c218000+15b000] likely on CPU 21 (core 11, socket 0)
[12816.344252] Code: 83 f8 03 b8 00 00 04 00 48 0f 46 d0 31 c0 48 39 fa 0f 93 c0 c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 64 48 8b 0c 25 10 00 00 00 <8b> 91 08 03 00 00 48 8d b9 08 03 00 00 89 d6 83 ce 02 39 d6 74 1d
[12816.623723] fossilize_repla[86646]: segfault at 308 ip 00007d8f9c27b78d sp 000062ea5cff92b8 error 4 in libc.so.6[7d8f9c218000+15b000] likely on CPU 20 (core 10, socket 0)
[12816.623738] Code: 83 f8 03 b8 00 00 04 00 48 0f 46 d0 31 c0 48 39 fa 0f 93 c0 c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 64 48 8b 0c 25 10 00 00 00 <8b> 91 08 03 00 00 48 8d b9 08 03 00 00 89 d6 83 ce 02 39 d6 74 1d
[12817.081984] traps: fossilize_repla[86642] general protection fault ip:7d8f9c27b78d sp:62ea5cff92b8 error:0 in libc.so.6[7d8f9c218000+15b000]

@kisak-valve For a game that awards abandons, this is a bloody annoying issue. Replacing libs from https://github.com/ValveSoftware/Dota-2/files/13377606/libs.zip does not work anymore.

Steam sysinfo - https://gist.github.com/Strykar/93a7335f00ad3d3523a45b7a70f803dc