protonscr

Steam suddenly wont start games, glibc-2.34 sefault.

steamclosed
ValveSoftware/steam-for-linux#8249 · opened 2021-11-21 by kwhat · updated 2023-04-29 · 2 comments · github
Kkwhat 2021-11-21 github

Your system information

  • Steam client version (build number or date): Nov 19 2021, at 20:59:59 (Steam API v020)
  • Distribution (e.g. Ubuntu): Gentoo
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

I've been using STEAM_RUNTIME=1 for a while without any issues but suddenly no games will start. I am not seeing any obvious error messages in the console but I am seeing a glibc segfault in dmesg.

traps: reaper[14843] general protection fault ip:f7d5334f sp:ff889bd0 error:0 in libc.so.6[f7ced000+183000]

I am using sys-libs/glibc-2.34-r2 which I believe was recently updated and is probably what is causing the issue here. If you have any suggestions for debugging this further, please let me know. I am not even sure how I can attach gdb to the game that is being launched.

steam.sh[15218]: Running Steam on gentoo 2.8 64-bit
steam.sh[15218]: STEAM_RUNTIME is enabled by the user
setup.sh[15340]: Steam runtime environment up-to-date!
steam.sh[15218]: Steam client's requirements are satisfied
[2021-11-20 19:37:03] Startup - updater built Nov 19 2021 20:59:37
Installing breakpad exception handler for appid(steam)/version(1637358733)
[2021-11-20 19:37:03] Loading cached metrics from disk (/home/kwhat/.local/share/Steam/package/steam_client_metrics.bin)
[2021-11-20 19:37:03] Using the following download hosts for Public, Realm steamglobal
[2021-11-20 19:37:03] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-11-20 19:37:03] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-11-20 19:37:03] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1637358733)
[2021-11-20 19:37:03] Verifying installation...
[2021-11-20 19:37:03] Verification complete
Loaded SDL version 2.0.17-6897280
Installing breakpad exception handler for appid(steam)/version(1637358733)
steamwebhelper.sh[15428]: Runtime for steamwebhelper: defaulting to /home/kwhat/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
CAppInfoCacheReadFromDiskThread took 20 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Proceed to auto login
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Local Device Found
  type: 0810 0001
  path: sdl://0
  serial_number:  - 0
  Manufacturer: 
  Product:      Twin USB PS2 Adapter
  Release:      110
  Interface:    -1

!! Steam controller device opened for index 0.
Steam Controller reserving XInput slot 0
Local Device Found
  type: 0810 0001
  path: sdl://1
  serial_number:  - 1
  Manufacturer: 
  Product:      Twin USB PS2 Adapter
  Release:      110
  Interface:    -1

!! Steam controller device opened for index 1.
Steam Controller reserving XInput slot 1
BYieldingQueryAccountsRegisteredToController
Controller 0 mapping uses xinput : false
BYieldingQueryAccountsRegisteredToController
Controller 1 mapping uses xinput : false
Opted-in Controller Mask for AppId 0: 0

(steam:15424): Gtk-WARNING **: 19:37:15.537: gtk_disable_setlocale() must be called before gtk_init()
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'

(steam:15424): Gtk-WARNING **: 19:37:15.544: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
Installing breakpad exception handler for appid(steam)/version(1637358733)
Controller has an Invalid or missing unit serial number, setting to '810-1-45a38c7g'
Controller has an Invalid or missing unit serial number, setting to '810-1-45a38c7'
BYieldingQueryAccountsRegisteredToController
BYieldingQueryAccountsRegisteredToController
Set Account Config Sets 0 0 0
CClientJobFetchPersonalizationFileID
Set Account Config Sets 1 0 0
CClientJobFetchPersonalizationFileID
roaming config store loaded successfully - 302 bytes.
migrating temporary roaming config store
BRefreshApplicationsInLibrary 1: 4ms
Installing breakpad exception handler for appid(steam)/version(1637358733)
Failed to init SteamVR because it isn't installed
ExecCommandLine: "'/home/kwhat/.local/share/Steam/ubuntu12_32/steam'"
Opted-in Controller Mask for AppId 413080: 0
System startup time: 15.28 seconds
BuildCompleteAppOverviewChange: 120
RegisterForAppOverview 1: 8ms
RegisterForAppOverview 2: 8ms
Installing breakpad exception handler for appid(steam)/version(1637358733)
Installing breakpad exception handler for appid(steam)/version(1637358733)
Opted-in Controller Mask for AppId 427520: 0
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to SynchronizingControllerConfig with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 427520, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 427520, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/kwhat/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=427520 -- '/home/kwhat/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio'\0
Game process added : AppID 427520 "/home/kwhat/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=427520 -- '/home/kwhat/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio'", ProcID 15677, IP 0.0.0.0:0
chdir /home/kwhat/.local/share/Steam/steamapps/common/Factorio
ERROR: ld.so: object '/home/kwhat/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/kwhat/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
GameAction [AppID 427520, ActionID 1] : LaunchApp changed task to Completed with ""
Game process removed: AppID 427520 "/home/kwhat/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=427520 -- '/home/kwhat/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio'", ProcID 15677 
Uploaded AppInterfaceStats to Steam
No cached sticky mapping in ActivateActionSet.No cached sticky mapping in ActivateActionSet.No cached sticky mapping in ActivateActionSet.Installing breakpad exception handler for appid(steam)/version(1637358733)

Steps for reproducing this issue:

  1. Press Play button on any game, either native or proton.
  2. Game prepares to launch...
  3. Play button goes green again, no game starts.
Kkwhat 2021-11-21 github

This was a problem when building glibc with -ftree-vectorize

Rrodan 2023-04-29 github

I have the exact same error, same OS.

I don't understand your comments. since you are using STEAM_RUNTIME=1 (which I guess equates to the steamruntime USE flag being enabled in steam-launcher), this means that steam will use the libc it comes with, not the one compiled by gentoo.
so surely the kernel trap refers to valve's libc, not the system one. which would mean that changing the CFLAGS on the system libc would have no effect on this bug whatsoever. what am I missing?

plus my make.conf CFLAGS="-O2 -pipe" don't even enable '-ftree-vectorize' which only comes in with -O3.
how can someone debug this reaper process? it's got no debug symbols, no sources afaict, plus steam re-syncs the reaper binary on start if it detects it's been changed.

Nothing extracted yet.