flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
335 stars 70 forks source link

Steam failed to launch due to a segfault #1312

Open sagehane opened 1 month ago

sagehane commented 1 month ago

Distribution name and version where applicable NixOS on Unstable branch, using a Wayland compositor called River at v0.3.2:

$ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.31, NixOS, 24.11 (Vicuña), 24.11.20240524.bfb7a88`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/z71lmgd0ydfnax1b13zbrls5idf1y7ak-source`

Flatpak info

$ flatpak --version
Flatpak 1.14.6

$ flatpak --gl-drivers
default
host

Steam version is 1.0.0.79.

Problem description Trying to launch Steam fails with the following output:

$ flatpak run com.valvesoftware.Steam --reset
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /home/plumeus/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
WARNING:root:Missing permissions for input devices
INFO:root:Overriding TZ to Asia/Tokyo
steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[75]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
[2024-05-29 14:50:46] Startup - updater built May 24 2024 20:46:19
[2024-05-29 14:50:46] Startup - Steam Client launched with: '/home/plumeus/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' '--reset'
05/29 14:50:46 minidumps folder is set to /tmp/dumps
05/29 14:50:46 Init: Installing breakpad exception handler for appid(steam)/version(1716584667)/tid(132)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-05-29 14:50:46] Loading cached metrics from disk (/home/plumeus/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2024-05-29 14:50:46] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-05-29 14:50:46] Using the following download hosts for Public, Realm steamglobal
[2024-05-29 14:50:46] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-05-29 14:50:46] Checking for update on startup
[2024-05-29 14:50:46] Checking for available updates...
[2024-05-29 14:50:46] Downloading manifest: https://cdn.steamstatic.com/client/steam_client_ubuntu12
[2024-05-29 14:50:47] Manifest download: send request
[2024-05-29 14:50:47] Manifest download: waiting for download to finish
[2024-05-29 14:50:47] Manifest download: finished
[2024-05-29 14:50:47] Download skipped: /client/steam_client_ubuntu12 version 1716584667, installed version 1716584667, existing pending version 0
[2024-05-29 14:50:47] Nothing to do
[2024-05-29 14:50:47] Verifying installation...
[2024-05-29 14:50:47] Performing checksum verification of executable files
[2024-05-29 14:50:48] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/plumeus/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xecb1f8f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xecb1e1c0
steamwebhelper.sh[166]: === Wed May 29 14:50:48 Asia 2024 ===
steamwebhelper.sh[166]: Starting steamwebhelper under bootstrap sniper steam runtime at /home/plumeus/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-sniper
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
/home/plumeus/.var/app/com.valvesoftware.Steam/.local/share/Steam/steam.sh: line 813:   132 Segmentation fault      (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"

Uninstalling and reinstalling Steam or removing the ~/.var/app/com.valvesoftware.Steam doesn't seem to help. strace didn't seem to find anything suspicious, but I'm willing to provide logs if requested.

Does this issue reproduce with native Steam Have not tested

Dyf-Tfh commented 3 weeks ago

I can confirm i have the same issue on ublue-os/fedora kinoite 40.20240602.0

Same steam version

flatpak run com.valvesoftware.Steam --reset
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /var/home/nicolas/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
INFO:root:Overriding TZ to Europe/Paris
DEBUG:root:Addding /usr/lib/extensions/vulkan/OBSVkCapture/bin to PATH
DEBUG:root:Addding /usr/lib/extensions/vulkan/vkBasalt/bin to PATH
steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[75]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
[2024-06-03 20:29:37] Startup - updater built May 24 2024 20:46:19
[2024-06-03 20:29:37] Startup - Steam Client launched with: '/var/home/nicolas/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox' '--reset'
06/03 20:29:37 minidumps folder is set to /tmp/dumps
06/03 20:29:37 Init: Installing breakpad exception handler for appid(steam)/version(1716584667)/tid(131)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-06-03 20:29:37] Loading cached metrics from disk (/var/home/nicolas/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2024-06-03 20:29:37] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-06-03 20:29:37] Using the following download hosts for Public, Realm steamglobal
[2024-06-03 20:29:37] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-06-03 20:29:37] Checking for update on startup
[2024-06-03 20:29:37] Checking for available updates...
[2024-06-03 20:29:37] Downloading manifest: https://cdn.steamstatic.com/client/steam_client_ubuntu12
[2024-06-03 20:29:37] Manifest download: send request
[2024-06-03 20:29:37] Manifest download: waiting for download to finish
[2024-06-03 20:29:37] Manifest download: finished
[2024-06-03 20:29:37] Download skipped: /client/steam_client_ubuntu12 version 1716584667, installed version 1716584667, existing pending version 0
[2024-06-03 20:29:37] Nothing to do
[2024-06-03 20:29:37] Verifying installation...
[2024-06-03 20:29:37] Performing checksum verification of executable files
[2024-06-03 20:29:39] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /var/home/nicolas/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf00b28f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf00b11c0
steamwebhelper.sh[138]: === lun. 03 juin 2024 20:29:40 CEST ===
steamwebhelper.sh[138]: Starting steamwebhelper under bootstrap sniper steam runtime at /var/home/nicolas/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-sniper
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
/var/home/nicolas/.var/app/com.valvesoftware.Steam/.local/share/Steam/steam.sh : ligne 813 :   131 Erreur de segmentation  (core dumped)"$STEAMROOT/$STEAMEXEPATH" `"$@"`
sagehane commented 2 weeks ago

Hmm, I can no-longer reproduce this error. The version of Steam I have installed is still 1.0.0.79, so I'm not sure what fixed it. It looks like this issue is caused upstream and is a duplicate of https://github.com/ValveSoftware/steam-for-linux/issues/10969 though.