Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit 2aa0974d2573441bffd596b07bff8698b1f2f18c in glibc breaks steam runtimes #10209

Closed
NTMan opened this issue Nov 11, 2023 · 1 comment
Closed

Comments

@NTMan
Copy link

NTMan commented Nov 11, 2023

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 <[fweimer@redhat.com](mailto:fweimer@redhat.com)>
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 <[adhemerval.zanella@linaro.org](mailto:adhemerval.zanella@linaro.org)>

 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)"
@kisak-valve
Copy link
Member

Hello @NTMan, this issue is already being tracked at ValveSoftware/steam-runtime#630. Closing as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants