ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
784 stars 69 forks source link

Game doesnt launch when userdata-dir exists #2409

Open leberknecht opened 4 years ago

leberknecht commented 4 years ago

Your system information

Please describe your issue in as much detail as possible:

On first install, the game runs fine, but after i exit and try to re-launch, i run into an error. The text "cs:go" shows for a moment, but doesnt fade in/out. After ~10-15 seconds, the game exists without an error message (when launched from steam). When i launch it via cli, i get this:

SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system supports the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system supports the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system supports the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system supports the OpenGL extension GL_ARB_buffer_storage.
This system supports the OpenGL extension GLX_EXT_swap_control_tear.
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/engine_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/engine_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/filesystem_stdio_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/filesystem_stdio_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/inputsystem_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/inputsystem_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vphysics_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vphysics_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/materialsystem_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/materialsystem_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/datacache_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/datacache_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-StrikUsing breakpad crash handler
Setting breakpad minidump AppID = 730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198006670766 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561198006670766
e Global Offensive/bin/studiorender_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/studiorender_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/soundemittersystem_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/soundemittersystem_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vscript_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vscript_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vguimatsurface_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vguimatsurface_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vgui2_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vgui2_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/shaderapidx9_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/shaderapidx9_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/localize_client.so error=/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/localize_client.so: wrong ELF class: ELFCLASS32
Created D3D9 device successfully
Using breakpad minidump system 730/13748.1097.JC
Got ISteamNetworkingSockets user interfaces from standalone lib
Pending ping measurement until network config is obtained.
RelayNetWorkStatus:  avail=Attempting  config=Attempting  anyrelay=Waiting   (Attempt #1 to fetch config from https://api.steampowered.com/ISteamApps/GetSDRConfig/v1?appid=730&partner=valve)
AuthStatus (steamid:76561198006670766):  Attempting  (Requesting cert)
USRLOCAL path using Steam profile data folder:
/home/leberle/.local/share/Steam/userdata/46405038/730/local
Initializing joystick #0 and making it active.
ConVarRef joystick doesn't point to an existing ConVar
RESZ NOT SUPPORTED!
INTZ NOT SUPPORTED!
RESZ NOT SUPPORTED!
INTZ NOT SUPPORTED!

 ##### swap interval = 0     swap limit = 1 #####
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 31: Use of ambiguous <dir> element. please add prefix="cwd" if current behavior is desired.
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 38: unknown element "fontpattern"
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 39: unknown element "fontpattern"
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 40: unknown element "fontpattern"
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 41: unknown element "fontpattern"
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 42: unknown element "fontpattern"
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/home/leberle/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
assert_20200420170127_1.dmp[266154]: Uploading dump (out-of-process)
/tmp/dumps/assert_20200420170127_1.dmp
assert_20200420170127_1.dmp[266154]: Finished uploading minidump (out-of-process): success = yes
assert_20200420170127_1.dmp[266154]: response: Discarded=1
assert_20200420170127_1.dmp[266154]: file ''/tmp/dumps/assert_20200420170127_1.dmp'', upload yes: ''Discarded=1''

I digged a bit around and found:

 rm -rf /home/leberle/.local/share/Steam/userdata/46405038/730/

fixes the problem, i can launch the game again. But of course that also removes my config.. :/

Steps for reproducing this issue:

  1. Install the game via steam
  2. Launch it
  3. exit
  4. try to launch again => error
  5. fire the rm
  6. game launches successfully

Core-dump files attached cs-go-segfault.zip

kisak-valve commented 4 years ago

For reference, the attached minidump is a SIGSEGV in libdbus-1.so.3.5.8, and it's not the minidump mentioned in the terminal spew. There's been some libdbus related work that's in Steam's beta client which may help with that, but could also be unrelated to this issue.

fosron commented 4 years ago

Can't seem to launch the game even after deleting the userdata dir as the OP did. Mac OS Catalina https://gist.github.com/fosron/494634346f2a615703eb1a64c2293c31