protonscr

Commit 2aa0974d2573441bffd596b07bff8698b1f2f18c in glibc breaks steam runtimes

steamclosed
ValveSoftware/steam-for-linux#10209 · opened 2023-11-11 by NTMan · updated 2023-11-11 · 1 comments · github
NNTMan 2023-11-11 github

Your system information

  • Steam client version (build number or date): 1699498641
  • Distribution (e.g. Ubuntu): Fedora Rawhide
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes
  • Steam Logs: [generate by running this command in a terminal tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs]
    steam-logs.tar.gz
  • GPU: AMD

Please describe your issue in as much detail as possible:

After update glibc to 2.38.9000-18.fc40 version in my favorite distributive Fedora all Steam Runtimes stopped working.

/bin/sh\0-c\0/home/mikhail/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=391220 -- /home/mikhail/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/mikhail/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/mikhail/.local/share/Steam/steamapps/common/SteamLinuxRuntime'/scout-on-soldier-entry-point-v2 --  '/home/mikhail/.local/share/Steam/steamapps/common/Rise of the Tomb Raider/RiseOfTheTombRaider.sh'\0
chdir "/home/mikhail/.local/share/Steam/steamapps/common/Rise of the Tomb Raider"
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/mikhail/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/steam-runtime-launcher-interface-0: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Uploaded AppInterfaceStats to Steam


python3: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/bin/sh\0-c\0PROTON_LOG=1 /home/mikhail/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=2231380 -- /home/mikhail/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/mikhail/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/home/mikhail/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/mikhail/.local/share/Steam/steamapps/common/Ghost Recon Breakpoint/GRB_vulkan.exe' -uplay_steam_mode\0
chdir "/home/mikhail/.local/share/Steam/steamapps/common/Ghost Recon Breakpoint"
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/mikhail/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/steam-runtime-launcher-interface-0: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Uploaded AppInterfaceStats to Steam


python3: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/bin/sh\0-c\0PROTON_LOG=1 /home/mikhail/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1245620 -- /home/mikhail/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/mikhail/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/home/mikhail/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/mikhail/.local/share/Steam/steamapps/common/ELDEN RING/Game/start_protected_game.exe'\0
chdir "/home/mikhail/.local/share/Steam/steamapps/common/ELDEN RING/Game"
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/mikhail/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/home/mikhail/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/steam-runtime-launcher-interface-0: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Uploaded AppInterfaceStats to Steam

I bisected the issue and first bad commit is.

❯ git bisect good
2aa0974d2573441bffd596b07bff8698b1f2f18c is the first bad commit
commit 2aa0974d2573441bffd596b07bff8698b1f2f18c
Author: Florian Weimer <[[email protected]](mailto:[email protected])>
Date:   Fri Oct 20 14:29:50 2023 +0200

    elf: ldconfig should skip temporary files created by package managers
    
    This avoids crashes due to partially written files, after a package
    update is interrupted.
    
    Reviewed-by: Adhemerval Zanella <[[email protected]](mailto:[email protected])>

 NEWS           |  4 +++-
 elf/ldconfig.c | 39 +++++++++++++++++++++++++++------------
 2 files changed, 30 insertions(+), 13 deletions(-)

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2aa0974d2573441bffd596b07bff8698b1f2f18c

I can't judge but looks like something wrong make in steam client because all other software is not affected by this change.

Downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=2248915

Steps for reproducing this issue:

  1. Update glibc to 2.38.9000-18.fc40 version
  2. a) Launch any Window game in Steam client with Proton compatibility layer.
    b) Or launch native Linux game in Steam client with "Steam Linux Runtime 1.0 (scount)"
Kkisak-valve maintainer 2023-11-11 github

Hello @NTMan, this issue is already being tracked at https://github.com/ValveSoftware/steam-runtime/issues/630. Closing as a duplicate.