ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.23k stars 174 forks source link

steam-runtime-identify-library-abi: Cannot run ldconfig: wait status 135 on Fedora 39 #10493

Open kepeter opened 8 months ago

kepeter commented 8 months ago

Your system information

After updating Fedora (including kernel, wine and others - but not steam), steam crashes... Removed and installed again steam (and deleted steam directory in between), but no changes...

This is the output when running steam from the terminal:

steam.sh[11608]: Running Steam on fedora 39 64-bit
steam.sh[11608]: STEAM_RUNTIME is enabled automatically
setup.sh[11681]: Steam runtime environment up-to-date!
steam-runtime-identify-library-abi: Cannot run ldconfig: wait status 135
run.sh[11694]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
run.sh[11694]: Warning: An unexpected error occurred while executing "/sbin/ldconfig -XNv", the exit status was 135
steam.sh[11608]: Steam client's requirements are satisfied
tid(11744) burning pthread_key_t == 0 so we never use it
[2024-02-11 18:08:47] Startup - updater built Jan 13 2024 00:51:43
[2024-02-11 18:08:47] Startup - Steam Client launched with: '/home/peter/.local/share/Steam/ubuntu12_32/steam'
02/11 18:08:47 Init: Installing breakpad exception handler for appid(steam)/version(1705108172)/tid(11744)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-02-11 18:08:47] Loading cached metrics from disk (/home/peter/.local/share/Steam/package/steam_client_metrics.bin)
[2024-02-11 18:08:47] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2024-02-11 18:08:47] Using the following download hosts for Public, Realm steamglobal
[2024-02-11 18:08:47] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-02-11 18:08:47] Checking for update on startup
[2024-02-11 18:08:47] Checking for available updates...
[2024-02-11 18:08:47] Downloading manifest: https://cdn.steamstatic.com/client/steam_client_ubuntu12
[2024-02-11 18:08:48] Manifest download: send request
[2024-02-11 18:08:48] Manifest download: waiting for download to finish
[2024-02-11 18:08:48] Manifest download: finished
[2024-02-11 18:08:48] Download skipped: /client/steam_client_ubuntu12 version 1705108172, installed version 1705108172, existing pending version 0
[2024-02-11 18:08:48] Nothing to do
[2024-02-11 18:08:48] Verifying installation...
[2024-02-11 18:08:48] Performing checksum verification of executable files
[2024-02-11 18:08:49] Verification complete

Steam logging initialized: directory: /home/peter/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf648f370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf648dcc0
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier `direction', expected character `}'
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
steamwebhelper.sh[11836]: Runtime for steamwebhelper: defaulting to /home/peter/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[11836]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Fontconfig warning: line 5: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/10-sub-pixel-rgb-for-kde.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-yes-antialias.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/25-unhint-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-cjk-vf-fonts.conf", line 11: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-cjk-vf-fonts.conf", line 33: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-cjk-vf-fonts.conf", line 52: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-cjk-vf-fonts.conf", line 73: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-cjk-vf-fonts.conf", line 96: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-mono-cjk-vf-fonts.conf", line 11: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-mono-cjk-vf-fonts.conf", line 33: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-mono-cjk-vf-fonts.conf", line 52: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-mono-cjk-vf-fonts.conf", line 73: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/65-google-noto-sans-mono-cjk-vf-fonts.conf", line 96: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/66-lohit-bengali-fonts.conf", line 32: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/69-gnu-free-sans.conf", line 24: unknown element "langset"
Fontconfig warning: "/etc/fonts/conf.d/69-nonlatin.conf", line 4: unknown element "description"
glXChooseVisual failed
glXChooseVisual failedsrc/steamUI/spewmanager.cpp (184) : Assertion Failed: Error: glXChooseVisual failed
src/steamUI/spewmanager.cpp (184) : Assertion Failed: Error: glXChooseVisual failed
02/11 18:08:49 Init: Installing breakpad exception handler for appid(steam)/version(1705108172)/tid(11744)
assert_20240211180849_8.dmp[11866]: Uploading dump (out-of-process)
/tmp/dumps/assert_20240211180849_8.dmp
crash_20240211180849_9.dmp[11882]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240211180849_9.dmp
/home/peter/.local/share/Steam/steam.sh: line 798: 11744 Segmentation fault      (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"

Steam's window (the one that checks for update) pops up then closes and nothing...

Also tried debugging (using DEBUGGER=gdb steam), but the only additional detail I can see is this:

Error:  glXChooseVisual failed
Thread 1 "steam" received signal SIGSEGV, Segmentation fault.
0xf2e977ef in ?? () from /home/peter/.local/share/Steam/ubuntu12_32/vgui2_s.so

The interesting part that at the begining steam stats that it runs 64 bit, but in the debugger it seems to reference a 32 bit library...

Any clue how to fix?

kisak-valve commented 8 months ago

Hello @kepeter, there's some similarity to https://github.com/ValveSoftware/steam-runtime/issues/639.Can you check that the storage medium and filesystem your home folder is in is healthy?

kepeter commented 8 months ago

@kisak-valve Thank you for your reply... I followed that issue, but not really understood the answer there, so I did two things...

  1. Checked my disks for possible defects - none found
  2. run STEM_RUNTIME=0 steam and got this:
    
    steam.sh[5285]: Running Steam on fedora 39 64-bit
    steam.sh[5285]: STEAM_RUNTIME is disabled by the user
    steam.sh[5285]: Can't find 'steam-runtime-check-requirements', continuing anyway
    tid(5367) burning pthread_key_t == 0 so we never use it
    [2024-02-11 20:39:54] Startup - updater built Jan 13 2024 00:51:43
    [2024-02-11 20:39:54] Startup - Steam Client launched with: '/home/peter/.local/share/Steam/ubuntu12_32/steam'
    02/11 20:39:54 Init: Installing breakpad exception handler for appid(steam)/version(1705108172)/tid(5367)
    Looks like steam didn't shutdown cleanly, scheduling immediate update check
    [2024-02-11 20:39:55] Loading cached metrics from disk (/home/peter/.local/share/Steam/package/steam_client_metrics.bin)
    [2024-02-11 20:39:55] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
    [2024-02-11 20:39:55] Using the following download hosts for Public, Realm steamglobal
    [2024-02-11 20:39:55] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
    [2024-02-11 20:39:55] Checking for update on startup
    [2024-02-11 20:39:55] Checking for available updates...
    [2024-02-11 20:39:55] Downloading manifest: https://cdn.steamstatic.com/client/steam_client_ubuntu12
    [2024-02-11 20:39:55] Manifest download: send request
    [2024-02-11 20:39:55] Manifest download: waiting for download to finish
    [2024-02-11 20:39:56] Manifest download: finished
    [2024-02-11 20:39:56] Download skipped: /client/steam_client_ubuntu12 version 1705108172, installed version 1705108172, existing pending version 0
    [2024-02-11 20:39:56] Nothing to do
    [2024-02-11 20:39:56] Verifying installation...
    [2024-02-11 20:39:56] Performing checksum verification of executable files
    [2024-02-11 20:39:57] Verification complete

Steam logging initialized: directory: /home/peter/.local/share/Steam/logs

src/steamUI/Main.cpp (2155) : !"Fatal Error: Could not load module 'bin/vgui2_s.dll'" src/steamUI/Main.cpp (2155) : !"Fatal Error: Could not load module 'bin/vgui2_s.dll'"


I also got a popup with the same error and an URL to check out: For more information visit https://support.steampowered.com/kb_article.php?ref=9205-OZVN-0660

I followed the link and installed mesa-demos - all works fine, but it seems that it exist only for 64 bits, so can't tell with confident that 32 mesa drivers are working...

Any further ideas?
kepeter commented 8 months ago

@kisak-valve I also realized that you changed the title of the issue, which means that you identify the main problem differently from what I was thinking... So I run ldconfig as it shows in the message and got this:

[user@fedora ~]$ /sbin/ldconfig -XNv

/sbin/ldconfig: Can't stat /libx32: No such file or directory
/sbin/ldconfig: Path `/usr/lib' given more than once
(from <builtin>:0 and <builtin>:0)
/sbin/ldconfig: Path `/usr/lib64' given more than once
(from <builtin>:0 and <builtin>:0)
/sbin/ldconfig: Can't stat /usr/libx32: No such file or directory
/usr/lib64/llvm15/lib: (from /etc/ld.so.conf.d/llvm15-x86_64.conf:1)
    libclang.so.15 -> libclang.so.15.0.7
    libclang-cpp.so.15 -> libclang-cpp.so.15
    libRemarks.so.15 -> libRemarks.so.15
    libLTO.so.15 -> libLTO.so.15
    libLLVM-15.so -> libLLVM-15.0.7.so
/usr/lib/llvm16/lib: (from /etc/ld.so.conf.d/llvm16-i386.conf:1)
    libclang.so.16 -> libclang.so.16.0.6
    libclang-cpp.so.16 -> libclang-cpp.so.16
    libRemarks.so.16 -> libRemarks.so.16
    libLTO.so.16 -> libLTO.so.16
    libLLVM-16.so -> libLLVM-16.0.6.so
/usr/lib64/llvm16/lib: (from /etc/ld.so.conf.d/llvm16-x86_64.conf:1)
    libclang.so.16 -> libclang.so.16.0.6
    libclang-cpp.so.16 -> libclang-cpp.so.16
    libRemarks.so.16 -> libRemarks.so.16
    libLTO.so.16 -> libLTO.so.16
    libLLVM-16.so -> libLLVM-16.0.6.so
/usr/i686-w64-mingw32/lib: (from /etc/ld.so.conf.d/mingw32-hostlib.conf:1)
/usr/x86_64-w64-mingw32/lib: (from /etc/ld.so.conf.d/mingw64-hostlib.conf:1)
/usr/lib64/pipewire-0.3/jack: (from /etc/ld.so.conf.d/pipewire-jack-x86_64.conf:1)
    libjackserver.so.0 -> libjackserver.so.0.3.1003
    libjacknet.so.0 -> libjacknet.so.0.3.1003
    libjack.so.0 -> libjack.so.0.3.1003
/usr/lib64/tcl8.6: (from /etc/ld.so.conf.d/tix-x86_64.conf:1)
    libTix.so -> libTix.so
/lib: (from <builtin>:0)
Bus error (core dumped)

I'm not sure what the error here, if any, and where to look, but maybe it can help...

kepeter commented 8 months ago

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/10493#issuecomment-1937836377

Some improvement... After realizing that I missing the 32 bit version of openal - and installing it - I was able to run steam with

STEAM_RUNTIME=0 steam
smcv commented 7 months ago

Sorry, if /sbin/ldconfig is crashing with a bus error, then something is going seriously wrong at OS level, which Steam will not be able to solve for you.

The Steam Runtime requires that your ld.so.cache has been built correctly by ldconfig. If that doesn't work, all bets are off.

tojestzart commented 7 months ago

(this topic is first on google search, and is very fresh)

lsd@Crawler-E25:~$ steam
steam.sh[3702]: Running Steam on ubuntu 23.10 64-bit
steam.sh[3702]: STEAM_RUNTIME is enabled automatically
setup.sh[3816]: Steam runtime environment up-to-date!
/home/lsd/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found
run.sh[3828]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
steam.sh[3702]: Can't find 'steam-runtime-check-requirements', continuing anyway
tid(3866) burning pthread_key_t == 0 so we never use it
lsd@Crawler-E25:~$ 

I changed NVME drive, might be that related to it? ( i have huge problems with bios from insyde corp)

smcv commented 7 months ago

steam-runtime-identify-library-abi: command not found

This is not the same error. You will notice that this is not the same error message as "Cannot run ldconfig: wait status 135". Please open a separate issue with full details of your system and any logs that are available.