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

Dota2 Segmentation Fault linux #2597

Closed w8eight closed 9 months ago

w8eight commented 11 months ago

Your system information

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large pastes as a Github Gist.

Can't open dota 2 client, it starts for a moment while run with proton, but crashes seconds after main menu

Steps for reproducing this issue:

  1. Open Steam
  2. Open dota2

Logs from console:

/bin/sh\0-c\0/home/w8eight/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=570 -- /home/w8eight/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/w8eight/steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun --  '/home/w8eight/steam/steamapps/common/dota 2 beta/game/dota.sh' +@panorama_min_comp_layer_dimension 0 -prewarm_panorama -novid -vulkan_disable_steam_shader_cache\0
chdir "/home/w8eight/steam/steamapps/common/dota 2 beta"
ERROR: ld.so: object '/home/w8eight/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/w8eight/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/w8eight/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/w8eight/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/w8eight/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 22850 != 22849, skipping destruction (fork without exec?)
pid 22851 != 22849, skipping destruction (fork without exec?)
Loaded /home/w8eight/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so, got 0x556305fb2380
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/w8eight/.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/10 14:24:06 Init: Installing breakpad exception handler for appid(570)/version(8476512)/tid(22853)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198367911454 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198367911454
Setting breakpad minidump AppID = 373300
Loaded libSDL3.so.0, got 0x55630625de20
Loaded /home/w8eight/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libtier0.so, got 0x556305f9b9c0
Loaded /home/w8eight/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x5563062a33b0
Loaded /home/w8eight/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libinputsystem.so, got 0x5563062a40a0
Loaded /home/w8eight/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/liblocalize.so, got 0x5563063013e0
Loaded /home/w8eight/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x556306345040
Loaded /home/w8eight/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x556306366cb0
Loaded /home/w8eight/steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55630633c320
Fossilize INFO: Overriding serialization path: "/home/w8eight/steam/steamapps/shadercache/570/fozpipelinesv6/steamapprun_pipeline_cache".
crash_20231110142408_2.dmp[22894]: Uploading dump (out-of-process)
/tmp/dumps/crash_20231110142408_2.dmp
crash_20231110142408_2.dmp[22894]: Finished uploading minidump (out-of-process): success = yes
crash_20231110142408_2.dmp[22894]: response: CrashID=bp-c366983f-5b07-4af6-8e1a-74ac42231110
crash_20231110142408_2.dmp[22894]: file ''/tmp/dumps/crash_20231110142408_2.dmp'', upload yes: ''CrashID=bp-c366983f-5b07-4af6-8e1a-74ac42231110''
pid 22894 != 22893, skipping destruction (fork without exec?)
/home/w8eight/steam/steamapps/common/dota 2 beta/game/dota.sh: line 122: 22853 Segmentation fault      (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game 570 created interface STEAMAPPLIST_INTERFACE_VERSION001 / 
Game 570 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 570 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
Game 570 created interface STEAMHTTP_INTERFACE_VERSION003 / 
Game 570 created interface STEAMINVENTORY_INTERFACE_V003 / 
Game 570 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
Game 570 created interface STEAMMUSIC_INTERFACE_VERSION001 / 
Game 570 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
Game 570 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / 
Game 570 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
Game 570 created interface STEAMUGC_INTERFACE_VERSION018 / 
Game 570 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
Game 570 created interface STEAMVIDEO_INTERFACE_V003 / 
Game 570 created interface SteamController008 / 
Game 570 created interface SteamFriends017 / 
Game 570 created interface SteamInput006 / 
Game 570 created interface SteamMatchGameSearch001 / 
Game 570 created interface SteamMatchMaking009 / 
Game 570 created interface SteamMatchMakingServers002 / 
Game 570 created interface SteamNetworking006 / 
Game 570 created interface SteamUser023 / 
Game 570 created interface SteamUser023 / User
Game 570 created interface SteamUtils010 / 
Game 570 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 570 method call count for IClientAppManager::GetAppStateInfo : 1
Game 570 method call count for IClientUtils::RecordSteamInterfaceCreation : 24
Game 570 method call count for IClientUtils::IsSteamChina : 1
Game 570 method call count for IClientUtils::GetLauncherType : 1
Game 570 method call count for IClientUtils::GetSteamUILanguage : 1
Game 570 method call count for IClientUtils::GetAppID : 27
Game 570 method call count for IClientFriends::GetFriendPersonaName_Public : 2
Game 570 method call count for IClientUser::GetUserDataFolder : 1
Game 570 method call count for IClientUser::GetSteamID : 5
Uploaded AppInterfaceStats to Steam
Kuchizu commented 11 months ago

I'm also having this issue last couple days in CS2 and Dota2.

eoo commented 11 months ago

Dota 2 was working fine yesterday night but today morning after an update i got the same segmentation fault issue at the same line 122. The game tries to open but crashes.

andrelbc commented 11 months ago

Same here, started today after the last update.

l4ySS commented 11 months ago

Same issue.

w8eight commented 11 months ago

UPDATE: I was able to fix it temporary by removing steam and all gpu drivers, then installing vulkan_radeon only, but after few days issue came back

eoo commented 11 months ago

somebody pls help i just want to play some dota

eoo commented 11 months ago

this works https://github.com/ValveSoftware/Dota-2/issues/2603#issuecomment-1814368378

Kuchizu commented 11 months ago

Bro I gave up and just installed Windowsđź’€

w8eight commented 11 months ago

It appears to be fixed in last patch: https://steamdb.info/patchnotes/12727035/

kisak-valve commented 9 months ago

Closing per the last comment.