protonscr

segfault on debian 10/11

steamclosed Steam clientDistro Family: Debian
ValveSoftware/steam-for-linux#7400 · opened 2020-10-13 by andrewzah · updated 2021-03-08 · 22 comments · github
1 matching comments, n / p to jump
Aandrewzah 2020-10-13 github

Your system information

  • Steam client version (build number or date): 1602115886
  • Distribution (e.g. Ubuntu): debian 10 buster, upgraded to deb 11 bullseye (same issue on both)
  • Opted into Steam client beta?: [Yes/No] yes
  • Have you checked for system updates?: [Yes/No] yes

I manually installed nvidia's drivers, and also removed that then installed it through apt. currently at version: 450.66

Please describe your issue in as much detail as possible:

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

Running steam checks for and installs any updates, then segfaults.

Dump file here: https://gist.github.com/andrewzah/19137afd5466e3d816514a5cd9ee5e4d

Kkisak-valve maintainer 2020-10-13 github

Hello @andrewzah, does any 32 bit OpenGL application like glxinfo from mesa-utils:i386 work?

Aandrewzah 2020-10-13 github

mesa-utils:i386 info:

λ (0s) ~ $ apt info mesa-utils:i386
Package: mesa-utils:i386
Version: 8.4.0-1+b1
Priority: optional
Section: x11
Source: mesa-demos (8.4.0-1)
Maintainer: Debian X Strike Force <[email protected]>
Installed-Size: 140 kB
Depends: libc6 (>= 2.4), libgl1, libglew2.1 (>= 1.12.0), libglu1-mesa | libglu1, libx11-6, libxext6
Homepage: https://mesa3d.org/
Tag: admin::benchmarking, admin::hardware, hardware::video,
 interface::commandline, interface::graphical, interface::x11,
 role::program, use::viewing, x11::application
Download-Size: 35.3 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian bullseye/main i386 Packages
Description: Miscellaneous Mesa GL utilities
 This package provides several basic GL utilities built by Mesa, including
 glxinfo and glxgears.

commands like glxinfo, glxgears, and glxdemo do work.

glxinfo output: https://gist.github.com/andrewzah/a8292233f1620ef3a862f598d6c8a023

Kkisak-valve maintainer 2020-10-13 github

Thanks, if you run steam from a terminal, does the terminal spew have any hints?

Aandrewzah 2020-10-13 github

steam output:

λ (3s) ~ $ steam
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
Running Steam on debian  64-bit
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
/home/andrew/.local/share/Steam/ubuntu12_32/steam
[2020-10-13 09:47:33] Startup - updater built Oct  7 2020 06:15:36
Installing breakpad exception handler for appid(steam)/version(1602115886)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2020-10-13 09:47:33] Loading cached metrics from disk (/home/andrew/.local/share/Steam/package/steam_client_metrics.bin)
[2020-10-13 09:47:33] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2020-10-13 09:47:33] Using the following download hosts for Public, Realm steamglobal
[2020-10-13 09:47:33] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2020-10-13 09:47:33] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1602115886)
[2020-10-13 09:47:33] Checking for update on startup
[2020-10-13 09:47:33] Checking for available updates...
[2020-10-13 09:47:33] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1602115886)
[2020-10-13 09:47:34] Download skipped: /client/steam_client_ubuntu12 version 1602115886, installed version 1602115886, downloaded version 0
[2020-10-13 09:47:34] Nothing to do
[2020-10-13 09:47:34] Verifying installation...
[2020-10-13 09:47:34] Performing checksum verification of executable files
[2020-10-13 09:47:34] Verification complete
Loaded SDL version 2.0.13-5919606
assert_20201013094733_1.dmp[4606]: Uploading dump (out-of-process)
/tmp/dumps/assert_20201013094733_1.dmp
/home/andrew/.local/share/Steam/steam.sh: line 750:  4598 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
λ (5s) ~ $ assert_20201013094733_1.dmp[4606]: Finished uploading minidump (out-of-process): success = yes
assert_20201013094733_1.dmp[4606]: response: CrashID=bp-b694de73-0006-455b-9e91-cd9252201013
assert_20201013094733_1.dmp[4606]: file ''/tmp/dumps/assert_20201013094733_1.dmp'', upload yes: ''CrashID=bp-b694de73-0006-455b-9e91-cd9252201013''

and the dump: https://gist.github.com/andrewzah/a6e53dc326a91751d730a22245b3c357

TTTimo 2020-10-19 github

crashes in SDL2 (presumably during initialization).

Aandrewzah 2020-10-23 github

updated to version 1602115886, same issue.

associated .dmp

associated .dmp

Kkisak-valve maintainer 2020-10-23 github

Hello @andrewzah, friendly note that copying minidumps to a gist damages them. You can throw them in an archive or attach them as a file with a wrong extension (ending in .txt or whatever).

Aandrewzah 2020-10-23 github
TTTimo 2020-10-23 github

The CrashID values are more useful to us as they get uploaded to the minidump servers (not that I would expect the crash to be any different in this case).

Aandrewzah 2020-10-23 github

crash ids:

  • bp-a53dd8dc-3bc1-4a72-a06f-b055d2201023
  • bp-bc4f3dd0-fd23-45cb-9222-6f61b2201023
Aandrewzah 2020-10-24 github

Some further analysis.

$ ldd ~/.local/share/Steam/ubuntu12_32/steamclient.so | grep not

libtier0_s.so => not found
libvstdlib_s.so => not found
libnm-glib.so.4 => not found
libnm-util.so.2 => not found

LD_LIBRARY_PATH is unset. If I add the paths manually:

## steam & ldd
local ldd_path1="/home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu"
local ldd_path2="/home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu"
local ldd_path3="/home/andrew/.local/share/Steam/ubuntu12_32"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ldd_path1}:${ldd_path2}:${ldd_path3}"

(just to be clear:)

$ echo $LD_LIBRARY_PATH
:/home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu:/home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/andrew/.local/share/Steam/ubuntu12_32/:/home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu:/home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/andrew/.local/share/Steam/ubuntu12_32

then re-run the ldd command, nothing shows:

$ ldd ~/.local/share/Steam/ubuntu12_32/steamclient.so | grep not
$

the debian docs for steam suggest running with STEAM_RUNTIME=0. Before I fixed the LD_LIBRARY_PATH env var, it would error with something like "vgui2_s.so is missing.

I found those directories for the env var with find:

$ find / -name "vgui2_s.so" |& grep -v denied
/home/andrew/.local/share/Steam/ubuntu12_32/vgui2_s.so

$ find / -name "*libtier*so*" |& grep -v denied
/home/andrew/.local/share/Steam/ubuntu12_32/libtier0_s.so

after I set LD_LIBRARY_PATH, even with STEAM_RUNTIME=0, it crashes as usual.

crash id = bp-de22bfcf-ec05-45f1-ba2b-69a972201024'
see the attached as well for the dump.
assert_20201024183131_1.txt

(for running without the STEAM_RUNTIME arg: crash-id = bp-c1768dda-67d7-4510-9657-9440c2201024)

$ STEAM_RUNTIME=0 steam
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
Running Steam on debian  64-bit
STEAM_RUNTIME is disabled by the user
Can't find 'steam-runtime-check-requirements', continuing anyway
/home/andrew/.local/share/Steam/ubuntu12_32/steam
[2020-10-24 18:31:31] Startup - updater built Oct 23 2020 20:26:36
Installing breakpad exception handler for appid(steam)/version(1603487799)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2020-10-24 18:31:31] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2020-10-24 18:31:31] Using the following download hosts for Public, Realm steamglobal
[2020-10-24 18:31:31] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2020-10-24 18:31:31] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1603487799)
[2020-10-24 18:31:31] Checking for update on startup
[2020-10-24 18:31:31] Checking for available updates...
[2020-10-24 18:31:31] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1603487799)
[2020-10-24 18:31:32] Download skipped: /client/steam_client_ubuntu12 version 1603487799, installed version 1603487799, downloaded version 0
[2020-10-24 18:31:32] Nothing to do
[2020-10-24 18:31:32] Verifying installation...
[2020-10-24 18:31:32] Performing checksum verification of executable files
[2020-10-24 18:31:32] Verification complete
Loaded SDL version 2.0.13-6142881
assert_20201024183131_1.dmp[65134]: Uploading dump (out-of-process)
/tmp/dumps/assert_20201024183131_1.dmp
/home/andrew/.local/share/Steam/steam.sh: line 750: 65126 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
λ (4s) ~ $ assert_20201024183131_1.dmp[65134]: Finished uploading minidump (out-of-process): success = yes
assert_20201024183131_1.dmp[65134]: response: CrashID=bp-de22bfcf-ec05-45f1-ba2b-69a972201024
assert_20201024183131_1.dmp[65134]: file ''/tmp/dumps/assert_20201024183131_1.dmp'', upload yes: ''CrashID=bp-de22bfcf-ec05-45f1-ba2b-69a972201024''

the full output of ldd ~/.local/share/Steam/ubuntu12_32/steamclient.so:

 $ ldd ~/.local/share/Steam/ubuntu12_32/steamclient.so
	linux-gate.so.1 (0xf7fa6000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf637d000)
	libstdc++.so.6 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf627b000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6259000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf624e000)
	/lib/ld-linux.so.2 (0xf7fa8000)
	libtier0_s.so => /home/andrew/.local/share/Steam/ubuntu12_32/libtier0_s.so (0xf620a000)
	libvstdlib_s.so => /home/andrew/.local/share/Steam/ubuntu12_32/libvstdlib_s.so (0xf6199000)
	libSDL2-2.0.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0 (0xf6061000)
	libXrandr.so.2 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libXrandr.so.2 (0xf6056000)
	libXext.so.6 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libXext.so.6 (0xf6044000)
	libXi.so.6 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libXi.so.6 (0xf6032000)
	libGL.so.1 => /lib/i386-linux-gnu/libGL.so.1 (0xf5fc5000)
	libXrender.so.1 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libXrender.so.1 (0xf5fbb000)
	libX11.so.6 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libX11.so.6 (0xf5e83000)
	libXtst.so.6 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libXtst.so.6 (0xf5e7c000)
	libusb-1.0.so.0 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libusb-1.0.so.0 (0xf5e64000)
	libopenal.so.1 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libopenal.so.1 (0xf5df6000)
	libpulse.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libpulse.so.0 (0xf5da8000)
	libgobject-2.0.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf5d59000)
	libglib-2.0.so.0 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libglib-2.0.so.0 (0xf5c60000)
	libudev.so.0 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libudev.so.0 (0xf5c4e000)
	libgio-2.0.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xf5af7000)
	libdbus-glib-1.so.2 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libdbus-glib-1.so.2 (0xf5ad1000)
	libnm-glib.so.4 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libnm-glib.so.4 (0xf5a98000)
	libnm-util.so.2 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libnm-util.so.2 (0xf5a3a000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf5936000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf574d000)
	libgcc_s.so.1 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libgcc_s.so.1 (0xf572f000)
	libGLdispatch.so.0 => /lib/i386-linux-gnu/libGLdispatch.so.0 (0xf56b2000)
	libGLX.so.0 => /lib/i386-linux-gnu/libGLX.so.0 (0xf5674000)
	libxcb.so.1 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libxcb.so.1 (0xf5651000)
	libjson.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libjson.so.0 (0xf5648000)
	libpulsecommon-1.1.so => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libpulsecommon-1.1.so (0xf55e1000)
	libdbus-1.so.3 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libdbus-1.so.3 (0xf5597000)
	libffi.so.6 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libffi.so.6 (0xf5590000)
	libpcre.so.3 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libpcre.so.3 (0xf5553000)
	libgmodule-2.0.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xf554e000)
	libz.so.1 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libz.so.1 (0xf5538000)
	libselinux.so.1 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libselinux.so.1 (0xf5517000)
	libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf54fe000)
	libgudev-1.0.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libgudev-1.0.so.0 (0xf54f4000)
	libuuid.so.1 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libuuid.so.1 (0xf54ee000)
	libnss3.so => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libnss3.so (0xf53dd000)
	libsmime3.so => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libsmime3.so (0xf53b7000)
	libnspr4.so => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libnspr4.so (0xf5378000)
	libXau.so.6 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libXau.so.6 (0xf5374000)
	libXdmcp.so.6 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf536d000)
	libwrap.so.0 => /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libwrap.so.0 (0xf5360000)
	libsndfile.so.1 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libsndfile.so.1 (0xf52ee000)
	libasyncns.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libasyncns.so.0 (0xf52e7000)
	libnssutil3.so => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libnssutil3.so (0xf52c3000)
	libplc4.so => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libplc4.so (0xf52bd000)
	libplds4.so => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libplds4.so (0xf52b8000)
	libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf529c000)
	libFLAC.so.8 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libFLAC.so.8 (0xf524d000)
	libvorbisenc.so.2 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libvorbisenc.so.2 (0xf51c1000)
	libogg.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libogg.so.0 (0xf51b7000)
	libvorbis.so.0 => /home/andrew/.steam/bin32/steam-runtime/usr/lib/i386-linux-gnu/libvorbis.so.0 (0xf518c000)
Aandrewzah 2020-10-24 github

purging & reinstalling steam lead to these errors:

sudo apt remove --purge steam
sudo rm -rf /home/andrew/.steam
sudo rm -rf /home/andrew/.local/share/Steam
sudo apt install steam

...
Installing breakpad exception handler for appid(steam)/version(1.0)
[2020-10-24 18:44:49] Installing update...
[2020-10-24 18:44:49] Cleaning up...
[2020-10-24 18:44:49] Update complete, launching...
[2020-10-24 18:44:49] Shutdown
Restarting Steam by request...
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
Running Steam on debian  64-bit
STEAM_RUNTIME is disabled by the user
Can't find 'steam-runtime-check-requirements', continuing anyway
/home/andrew/.local/share/Steam/ubuntu12_32/steam
[2020-10-24 18:44:52] Startup - updater built Oct 23 2020 20:26:36
Installing breakpad exception handler for appid(steam)/version(1603487799)
[2020-10-24 18:44:52] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2020-10-24 18:44:52] Using the following download hosts for Public, Realm steamglobal
[2020-10-24 18:44:52] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2020-10-24 18:44:52] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1603487799)
[2020-10-24 18:44:52] Verifying installation...
[2020-10-24 18:44:52] Verification complete
Failed to load steamui.so - dlerror(): /home/andrew/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /lib/i386-linux-gnu/libpng16.so.16)

which lead me to do:

$ cd ~/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu
$ mv libz.so.1 libz.so.1.bk
$ ln -s /lib/x86_64-linux-gnu/libz.so.1 libz.so.1

$ STEAM_RUNTIME=0 steam

/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
Running Steam on debian  64-bit
STEAM_RUNTIME is disabled by the user
Can't find 'steam-runtime-check-requirements', continuing anyway
/home/andrew/.local/share/Steam/ubuntu12_32/steam
[2020-10-24 18:48:29] Startup - updater built Oct 23 2020 20:26:36
Installing breakpad exception handler for appid(steam)/version(1603487799)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2020-10-24 18:48:29] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2020-10-24 18:48:29] Using the following download hosts for Public, Realm steamglobal
[2020-10-24 18:48:29] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2020-10-24 18:48:29] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1603487799)
[2020-10-24 18:48:29] Checking for update on startup
[2020-10-24 18:48:29] Checking for available updates...
[2020-10-24 18:48:29] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1603487799)
[2020-10-24 18:48:30] Download skipped: /client/steam_client_ubuntu12 version 1603487799, installed version 1603487799, downloaded version 0
[2020-10-24 18:48:30] Nothing to do
[2020-10-24 18:48:30] Verifying installation...
[2020-10-24 18:48:30] Performing checksum verification of executable files
[2020-10-24 18:48:30] Verification complete
Failed to load steamui.so - dlerror(): /lib/i386-linux-gnu/libxcb-shm.so.0: undefined symbol: xcb_send_request_with_fds

re-running with LIBGL_DRI3_DISABLE=1 did not fix this.


After installing ia32-libs:i386 and removing (with purge) steam (again), I had to install libsm6 and libsm6:i386 after running LD_LIBRARY_PATH=. ldd vgui2_s.so, and re-ran steam with:

LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 STEAM_RUNTIME=0 steam

... and the login menu appeared! However after I logged in, it got stuck and when I re-ran the above command it went back to seg faults.

The prompt shows Updating Steam Information... and looks stuck at 100%. The terminal output:

LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' STEAM_RUNTIME=0 steam
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
/home/andrew/.local/share/Steam/steam.sh: line 114: VERSION_ID: unbound variable
Running Steam on debian  64-bit
STEAM_RUNTIME is disabled by the user
Can't find 'steam-runtime-check-requirements', continuing anyway
/home/andrew/.local/share/Steam/ubuntu12_32/steam
[2020-10-24 19:12:41] Startup - updater built Oct 23 2020 20:26:36
Installing breakpad exception handler for appid(steam)/version(1603487799)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2020-10-24 19:12:41] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2020-10-24 19:12:41] Using the following download hosts for Public, Realm steamglobal
[2020-10-24 19:12:41] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2020-10-24 19:12:41] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1603487799)
[2020-10-24 19:12:41] Checking for update on startup
[2020-10-24 19:12:41] Checking for available updates...
[2020-10-24 19:12:41] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1603487799)
[2020-10-24 19:12:42] Download skipped: /client/steam_client_ubuntu12 version 1603487799, installed version 1603487799, downloaded version 0
[2020-10-24 19:12:42] Nothing to do
[2020-10-24 19:12:42] Verifying installation...
[2020-10-24 19:12:42] Performing checksum verification of executable files
[2020-10-24 19:12:42] Verification complete
Loaded SDL version 2.0.13-6142881
Installing breakpad exception handler for appid(steam)/version(1603487799)
STEAM_RUNTIME_HEAVY: Disabled
[1024/191243.025942:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
[1024/191243.045081:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[1024/191243.045121:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1603484818
[1024/191243.045124:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[1024/191243.045130:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[1024/191243.078948:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[1024/191243.078988:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1603484818
[1024/191243.078991:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[1024/191243.078997:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[1024/191243.079444:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process
[1024/191243.173693:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[1024/191243.173735:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1603484818
[1024/191243.173738:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[1024/191243.173740:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[1024/191243.174185:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Installing breakpad exception handler for appid(steam)/version(1603487799)
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
LogonFailure 85

(steam:94677): Gtk-WARNING **: 19:13:11.319: gtk_disable_setlocale() must be called before gtk_init()
Opted-in Controller Mask for AppId 0: 0
Installing breakpad exception handler for appid(steam)/version(1603487799)
Installing breakpad exception handler for appid(steam)/version(1603487799)
roaming config store loaded successfully - 28904 bytes.
migrating temporary roaming config store
BRefreshApplicationsInLibrary 1: 9ms
/data/src/clientdll/appdatacache.cpp (2538) : Assertion Failed: !bSharedKVSymbols
/data/src/clientdll/appdatacache.cpp (2538) : Assertion Failed: !bSharedKVSymbols
assert_20201024191316_23.dmp[94758]: Uploading dump (out-of-process)
/tmp/dumps/assert_20201024191316_23.dmp
/data/src/clientdll/appdatacache.cpp (2538) : Assertion Failed: !bSharedKVSymbols
...
/data/src/clientdll/appdatacache.cpp (2538) : Assertion Failed: !bSharedKVSymbols
assert_20201024191316_23.dmp[94758]: Finished uploading minidump (out-of-process): success = yes
assert_20201024191316_23.dmp[94758]: response: CrashID=bp-4f078e53-5a5b-4620-8753-0e8852201024
assert_20201024191316_23.dmp[94758]: file ''/tmp/dumps/assert_20201024191316_23.dmp'', upload yes: ''CrashID=bp-4f078e53-5a5b-4620-8753-0e8852201024''
/data/src/clientdll/appdatacache.cpp (2538) : Assertion Failed: !bSharedKVSymbols

it appears that if I do the above steps (and don't log in), the login will open reliably. however if I run with STEAM_RUNTIME=1, which appears to download some dependencies, then it will continue to segfault aftwards regardless of the flags/env vars.

Aandrewzah 2020-11-05 github

The latest update appears to have fixed this.

Aandrewzah 2021-03-03 github

...and this issue rears its head again.

debian 10, manually installed nvidia driver 460.56.

Running Steam on debian 10 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
/home/andrew/.steam/debian-installation/ubuntu12_32/steam -nominidumps -nobreakpad
[2021-03-03 17:44:11] Startup - updater built Feb 12 2021 23:21:33
Installing breakpad exception handler for appid(steam)/version(1613176728)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2021-03-03 17:44:11] Loading cached metrics from disk (/home/andrew/.steam/debian-installation/package/steam_client_metrics.bin)
[2021-03-03 17:44:11] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-03-03 17:44:11] Using the following download hosts for Public, Realm steamglobal
[2021-03-03 17:44:11] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1613176728)
[2021-03-03 17:44:11] Checking for update on startup
[2021-03-03 17:44:11] Checking for available updates...
[2021-03-03 17:44:11] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1613176728)
[2021-03-03 17:44:12] Download skipped: /client/steam_client_ubuntu12 version 1613176728, installed version 1613176728, downloaded version 0
[2021-03-03 17:44:12] Nothing to do
[2021-03-03 17:44:12] Verifying installation...
[2021-03-03 17:44:12] Performing checksum verification of executable files
[2021-03-03 17:44:12] Verification complete
Loaded SDL version 2.0.15-6363475
assert_20210303174411_1.dmp[11028]: Uploading dump (out-of-process)
/tmp/dumps/assert_20210303174411_1.dmp
/home/andrew/.steam/debian-installation/steam.sh: line 759: 11020 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
λ (0s) ~ $ assert_20210303174411_1.dmp[11028]: Finished uploading minidump (out-of-process): success = yes
assert_20210303174411_1.dmp[11028]: response: CrashID=bp-faaf35a4-0bdb-4a9c-8cf7-96af62210303
assert_20210303174411_1.dmp[11028]: file ''/tmp/dumps/assert_20210303174411_1.dmp'', upload yes: ''CrashID=bp-faaf35a4-0bdb-4a9c-8cf7-96af62210303''

Aandrewzah 2021-03-04 github
ldd ~/.steam/debian-installation/ubuntu12_32/steamui.so| rg not
        libtier0_s.so => not found
        libvstdlib_s.so => not found
        libvideo.so => not found
TTTimo 2021-03-04 github

Yes this looks the same, crashing in SDL2 during startup according to the crash ID.

The history on this bug suggests you are disabling/altering the steam runtime. This is unsupported and not expected to work - when it works for someone it's basically down to luck. You can read more about this here: https://github.com/ValveSoftware/steam-runtime/blob/master/doc/possible-designs.md

TTTimo 2021-03-04 github

the steam-runtime-system-info might be able to shed some light on the runtime environment, you can run it outside of steam by doing something like this:

Relative to where your steam.sh lies:

~> ls ~/.local/share/Steam/steam.sh 
/home/timo/.local/share/Steam/steam.sh*
~> ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh steam-runtime-system-info

(You'll want to execute run.sh in the same "altered" runtime conditions as you do steam.sh)

Aandrewzah 2021-03-04 github

The history on this bug suggests you are disabling/altering the steam runtime.

@TTimo this is for a default steam installation on a brand new debian 10 install (previously it was debian 11). I only started messing with things as part of the debugging process.

My best guess here is it's related to debian & drivers for the Nvidia RTX 2070 super FTW3. Log output shows that it had an issue with dbus-launcher.

.steam/debian-installation $ pwd
/home/andrew/.steam/debian-installation

.steam/debian-installation $ ls
bin               fossilize_engine_filters.json  legacycompat  package   skins         steam_subscriber_agreement.txt  steamui                     ThirdPartyLegalNotices.html
bin_steamdeps.py  friends                        linux32       public    steam         steamclient.dll                 tenfoot                     ubuntu12_32
clientui          GameOverlayRenderer64.dll      linux64       resource  steam.sh      steamclient64.dll               ThirdPartyLegalNotices.css  ubuntu12_64
controller_base   graphics                       logs          servers   steam_msg.sh  steamdeps.txt                   ThirdPartyLegalNotices.doc

In order to get the same environment, I added this line to /usr/games/steam:

test -x "$STEAMDIR/steam.sh" && "$STEAMDIR/steam.sh" --run "steam-runtime-system-info"

then ran

$ steam

-> https://paste.gg/p/anonymous/3bf3934828a44a859fb235e5ef55d326

Aandrewzah 2021-03-05 github

Going off of that output, installing dbus-x11 appears to have fixed it.


Incidentally, I also did the following:

  1. upgraded from kernel 4.9 -> 5.10 for unrelated reasons.
$ uname -ra
Linux shea 5.10.0-0.bpo.3-amd64 #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11) x86_64 GNU/Linux
  1. re-installed nvidia drivers manually with NVIDIA-Linux-x86_64-460.56.run

  2. used ldd and apt-file search to install missing dev libraries (i386). (not all were possible)

$ ldd ~/.steam/debian-installation/ubuntu12_32/steamui.so| rg not
        libSDL2-2.0 => not found
        libtier0_s.so => not found
        libvstdlib_s.so => not found
        libvideo.so => not found

$ apt-file search libSDL2-2.0.so.0
libsdl2-2.0-0: /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
libsdl2-2.0-0: /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.9.0

$ apt install libsdl2-2.0-0 libsdl2-2.0-0:i386
  1. purged steam:
$ apt remove --purge steam 
$ rm -rf ~/.steam/
  1. lastly, apt install dbus-x11

Hope this helps someone else.

TTTimo 2021-03-06 github

good find!

@smcv is this a missing dependency that we should add to the installer dependency logic?

Ssmcv 2021-03-07 github

is this a missing dependency that we should add to the installer dependency logic?

That depends, is Steam intended to require (and crash/exit if it does not have) a D-Bus session bus?

Some programs require a session bus, and will not work at all if it is missing. gnome-terminal is a good example.

Some programs can use the session bus for optional features, but can work (maybe with severely reduced functionality) without it. Flatpak is a good example. I thought Steam was in this category too.

The session bus is normally meant to be provided by the distro or the desktop environment, and installing any typical desktop environment like GNOME, KDE Plasma or XFCE should pull it in, but if you install a very minimal system (barely enough to run Steam under a small window manager like openbox) then it might not be present.

If Steam needs it, then the preferred way to get that on a modern Debian derivative is:

Depends: default-dbus-session-bus | dbus-session-bus

or to support really old releases (Debian 8, Ubuntu 14.04) we could use:

Depends: default-dbus-session-bus | dbus-session-bus | dbus-x11

However, unless there is other evidence available, I don't think the absence of the D-Bus session bus is actually what made Steam crash. If you're going by this:

"xdg-portals" : {
--
  | "issues" : [
  | "unknown"
  | ],
  | "messages" : "Unable to get the session bus: Error spawning command line `dbus-launch --autolaunch=93ea63e10a2c494ba38af8fb400002e8 --binary-syntax --close-stderr': Failed to execute child process \"dbus-launch\" (No such file or directory)\n"
  | },

then that just means Steam can't contact xdg-desktop-portal, which is used for some features of the container runtime (ability for games to open URLs in the default web browser by running xdg-open http://example.com inside the container). Not having that available will result in reduced functionality, but isn't a fatal error.

I think it's more likely that one of the many other steps in https://github.com/ValveSoftware/steam-for-linux/issues/7400#issuecomment-791715267 resolved this.

Aandrewzah 2021-03-08 github

Yeah, I should have mentioned that this is a very minimal install of debian. No desktop environment, just X11 + i3.