[已解决]Steam 游戏闪退

请各位参阅这里~
** __ github.com/ValveSoftware/steam-for-linux/issues/5000 __ **
原因: *They suspect that libgcrypt.so.20 is getting dynamically loaded somehow over libgcrypt.so.11 when preferring system libraries. *
steam 应当使用 ibgcrypt.so.11,但不知怎的调用了 libgcrypt.so.20
在终端中执行命令
aster @ Aster $ STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam
搞定

// 原文
这个问题出现在我升级 42.2, 随后用 Snapper 回滚 /home 后……不清楚是缺哪个库,已经尝试重装 steam,但是失败。抱歉是新人,不会自己 Debug,求教~
以 FEZ 为例:

No cached sticky mapping in ActivateActionSet.GameAction [AppID 224760, ActionID 6] : LaunchApp changed task to Starting with ""
GameAction [AppID 224760, ActionID 6] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 224760, ActionID 6] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 224760, ActionID 6] : LaunchApp waiting for user response to CreatingProcess ""
GameAction[AppID 224760, ActionID 6] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 224760 "FEZ", ProcID 9928, IP 0.0.0.0:0
>>> Adding process 9928 for game ID 224760
GameAction [AppID 224760, ActionID 6] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 224760, ActionID 6] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 9929 for game ID 224760
>>> Adding process 9930 for game ID 224760
>>> Adding process 9931 for game ID 224760
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 9932 for game ID 224760
>>> Adding process 9933 for game ID 224760
libgcrypt selftest: binary  (0): 没有那个文件或目录
Ohhhh jeeee: ... this is a bug (global.c:137:global_init)
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) OpenAL.ALC10.alcOpenDevice (string) <0xffffffff>
  at Microsoft.Xna.Framework.Audio.OpenALDevice..ctor () <0x0005f>
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.CreateALDevice () <0x0002f>
  at Microsoft.Xna.Framework.Audio.AudioDevice.Initialize () <0x00096>
  at Microsoft.Xna.Framework.FrameworkDispatcher.Update () <0x00017>
  at Microsoft.Xna.Framework.Game..ctor () <0x003fb>
  at FezGame.Fez..ctor () <0x0001f>
  at FezGame.Program.MainInternal () <0x00033>
  at Common.Logger.Try (System.Action) <0x0001d>
  at FezGame.Program.Main (string]) <0x00753>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        ./FEZ.bin.x86_64() [0x624cff]
        /lib64/libpthread.so.0(+0x10b10) [0x7f35e4287b10]
        /lib64/libc.so.6(gsignal+0x37) [0x7f35e3f088d7]
        /lib64/libc.so.6(abort+0x13a) [0x7f35e3f09caa]
        /usr/lib64/libgcrypt.so.20(+0xbf04) [0x7f35ce5b6f04]
        /usr/lib64/libgcrypt.so.20(+0xbf97) [0x7f35ce5b6f97]
        /usr/lib64/libgcrypt.so.20(+0xbfbf) [0x7f35ce5b6fbf]
        /usr/lib64/libgcrypt.so.20(+0x9d60) [0x7f35ce5b4d60]
        /lib64/ld-linux-x86-64.so.2(+0xecba) [0x7f35e4de0cba]
        /lib64/ld-linux-x86-64.so.2(+0xeda3) [0x7f35e4de0da3]
        /lib64/ld-linux-x86-64.so.2(+0x12f45) [0x7f35e4de4f45]
        /lib64/ld-linux-x86-64.so.2(+0xeb74) [0x7f35e4de0b74]
        /lib64/ld-linux-x86-64.so.2(+0x1272b) [0x7f35e4de472b]
        /lib64/libdl.so.2(+0xefb) [0x7f35e4494efb]
        /lib64/ld-linux-x86-64.so.2(+0xeb74) [0x7f35e4de0b74]
        /lib64/libdl.so.2(+0x14ad) [0x7f35e44954ad]
        /lib64/libdl.so.2(dlopen+0x31) [0x7f35e4494f91]
        /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libopenal.so.1(+0x44126) [0x7f35cf90e126]
        /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libopenal.so.1(+0x573cc) [0x7f35cf9213cc]
        /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libopenal.so.1(+0x29300) [0x7f35cf8f3300]
        /lib64/libpthread.so.0(+0x6c13) [0x7f35e427dc13]
        /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libopenal.so.1(alcOpenDevice+0x1e) [0x7f35cf8f464e]
        [0x400d728c]

Debug info from gdb:

ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 9935 for game ID 224760
>>> Adding process 9936 for game ID 224760
[New LWP 9934]
Missing separate debuginfo for /home/aster/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
Try: zypper install -C "debuginfo(build-id)=8c51d4db0a1236f29a4dc382aab3112651e2affc"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libsteam_api.so
Try: zypper install -C "debuginfo(build-id)=ea99f4f166508e015455216f00292c155742b708"
Missing separate debuginfo for /home/aster/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=dda725e7a3b90fccfc3387a9822b8ffa95e45163"
Missing separate debuginfo for /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libogg.so.0
Try: zypper install -C "debuginfo(build-id)=100f45b54088b288c58abc06d21ef642b489256b"
Missing separate debuginfo for /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libvorbis.so.0
Try: zypper install -C "debuginfo(build-id)=0e1267a4d81de05f053eeed7f2f61fb46cda9e7c"
0x00007f35e4287736 in waitpid () from /lib64/libpthread.so.0
  Id   Target Id         Frame 
* 1    Thread 0x7f35e4fe37c0 (LWP 9933) "FEZ.bin.x86_64" 0x00007f35e4287736 in waitpid () from /lib64/libpthread.so.0
  2    Thread 0x7f35de4b3700 (LWP 9934) "Finalizer" 0x00007f35e42860ca in do_futex_wait.constprop () from /lib64/libpthread.so.0

Thread 2 (Thread 0x7f35de4b3700 (LWP 9934)):
#0  0x00007f35e42860ca in do_futex_wait.constprop () from /lib64/libpthread.so.0
#1  0x00007f35e4286171 in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0
#2  0x0000000000578618 in mono_sem_wait (sem=sem@entry=0x949480 <finalizer_sem>, alertable=alertable@entry=1) at mono-semaphore.c:101
#3  0x00000000004a4f9a in finalizer_thread (unused=<optimized out>) at gc.c:1074
#4  0x0000000000545cbc in start_wrapper_internal (data=<optimized out>) at threads.c:664
#5  start_wrapper (data=<optimized out>) at threads.c:711
#6  0x0000000000579f76 in inner_start_thread (arg=0x7ffc76665840) at mono-threads-posix.c:92
#7  0x00007f35e427f744 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f35e3fbdaad in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f35e4fe37c0 (LWP 9933)):
#0  0x00007f35e4287736 in waitpid () from /lib64/libpthread.so.0
#1  0x0000000000624d86 in mono_handle_native_sigsegv (signal=<optimized out>, ctx=<optimized out>, info=<optimized out>) at mini-exceptions.c:2347
#2  <signal handler called>
#3  0x00007f35e3f088d7 in raise () from /lib64/libc.so.6
#4  0x00007f35e3f09caa in abort () from /lib64/libc.so.6
#5  0x00007f35ce5b6f04 in ?? () from /usr/lib64/libgcrypt.so.20
#6  0x00007f35ce5b6f97 in ?? () from /usr/lib64/libgcrypt.so.20
#7  0x00007f35ce5b6fbf in ?? () from /usr/lib64/libgcrypt.so.20
#8  0x00007f35ce5b4d60 in ?? () from /usr/lib64/libgcrypt.so.20
#9  0x00007f35e4de0cba in call_init.part () from /lib64/ld-linux-x86-64.so.2
#10 0x00007f35e4de0da3 in _dl_init () from /lib64/ld-linux-x86-64.so.2
#11 0x00007f35e4de4f45 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#12 0x00007f35e4de0b74 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#13 0x00007f35e4de472b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#14 0x00007f35e4494efb in dlopen_doit () from /lib64/libdl.so.2
#15 0x00007f35e4de0b74 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#16 0x00007f35e44954ad in _dlerror_run () from /lib64/libdl.so.2
#17 0x00007f35e4494f91 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#18 0x00007f35cf90e126 in LoadLib () from /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libopenal.so.1
#19 0x00007f35cf9213cc in ALCpulseBackendFactory_ALCbackendFactory_init () from /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libopenal.so.1
#20 0x00007f35cf8f3300 in alc_initconfig () from /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libopenal.so.1
#21 0x00007f35e427dc13 in __pthread_once_slow () from /lib64/libpthread.so.0
#22 0x00007f35cf8f464e in alcOpenDevice () from /home/aster/.local/share/Steam/steamapps/common/FEZ/lib64/libopenal.so.1
#23 0x00000000400d728c in ?? ()
#24 0x0000000000000000 in ?? ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

/home/aster/.local/share/Steam/steamapps/common/FEZ/./FEZ: 行 23:  9933 已放弃               (核心已转储)./FEZ.bin.x86_64 $@
Game removed: AppID 224760 "FEZ", ProcID 9928 
No cached sticky mapping in ActivateActionSet.[0627/181303.983948:ERROR:web_plugin_impl.cc(38)] Widevine registration is not supported after context initialization

以 Stanley Parable 为例:

o cached sticky mapping in ActivateActionSet.GameAction [AppID 221910, ActionID 4] : LaunchApp changed task to Starting with ""
GameAction [AppID 221910, ActionID 4] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 221910, ActionID 4] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 221910, ActionID 4] : LaunchApp waiting for user response to CreatingProcess ""
GameAction[AppID 221910, ActionID 4] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 221910 "The Stanley Parable", ProcID 9893, IP 0.0.0.0:0
>>> Adding process 9893 for game ID 221910
GameAction [AppID 221910, ActionID 4] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 221910, ActionID 4] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 9895 != 9894, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
>>> Adding process 9894 for game ID 221910
>>> Adding process 9896 for game ID 221910
>>> Adding process 9897 for game ID 221910
>>> Adding process 9898 for game ID 221910
SDL video target is 'x11'

SDL failed to create GL compatibility profile (whichProfile=0!

Installing breakpad exception handler for appid(gameoverlayui)/version(20170608043310)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Using breakpad crash handler
Game update: AppID 221910 "The Stanley Parable", ProcID 9898, IP 0.0.0.0:0
Setting breakpad minidump AppID = 221910
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198201371826 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561198201371826
Did not detect any valid joysticks.

PERF WARNING: Failed to open model substitution file, cannot swap models out based on gpu_level!

CSoundEmitterSystemBase::BaseInit:  Manifest 'scripts/game_sounds_manifest.txt' with bogus file type 'new_sound_scripts_must_go_below_here', expecting 'declare_file' or 'precache_file'

Convar r_flashlightscissor has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, parent: has FCVAR_CHEAT, parent wins)

Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system DOES NOT support the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
Did not detect any valid joysticks.
PERF WARNING: Failed to open model substitution file, cannot swap models out based on gpu_level!
CSoundEmitterSystemBase::BaseInit:  Manifest 'scripts/game_sounds_manifest.txt' with bogus file type 'new_sound_scripts_must_go_below_here', expecting 'declare_file' or 'precache_file'
Convar r_flashlightscissor has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, parent: has FCVAR_CHEAT, parent wins)

 ##### swap interval = 1     swap limit = 1 #####
Could not load program cache file glbaseshaders.cfg

Could not find base GL shader cache file

CClientSteamContext logged on = 1

Convar building_cubemaps has conflicting FCVAR_CHEAT flags (child: has FCVAR_CHEAT, parent: no FCVAR_CHEAT, parent wins)

Game.dll loaded for "Half-Life 2"

Using Steam filesystem...

Using Steam filesystem...

libgcrypt selftest: binary  (0): No such file or directory
Ohhhh jeeee: ... this is a bug (global.c:137:global_init)
ERROR: ld.so: object '/home/aster/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
crash_20170627181004_1.dmp[9925]: Uploading dump (out-of-process)
/tmp/dumps/crash_20170627181004_1.dmp
>>> Adding process 9924 for game ID 221910
crash_20170627181004_1.dmp[9925]: Finished uploading minidump (out-of-process): success = yes
crash_20170627181004_1.dmp[9925]: response: Discarded=1
crash_20170627181004_1.dmp[9925]: file ''/tmp/dumps/crash_20170627181004_1.dmp'', upload yes: ''Discarded=1''
pid 9925 != 9924, skipping destruction (fork without exec?)
/home/aster/.local/share/Steam/steamapps/common/The Stanley Parable/stanley: 行 48:  9898 已放弃               (核心已转储)${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game removed: AppID 221910 "The Stanley Parable", ProcID 9898

你是怎么安装的?看报错在请求
/home/aster/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
动态库找不到,这个似乎是 ubuntu 的包?

风滚草前几天升了,文明 5 也闪退了,user 目录下这些库是 steam 在 ubuntu 下做的,或者一些游戏只找这个目录下的库,之前古墓也是这样,做个链接就好了。

不太清楚怎么做软链接额,求教。

ln -s 源文件路径(最好使用绝对路径) 目标路径 

对了,为什么不安装 openSUSE 官方提供的包呢?

额……就是用官方包重装的的。回滚后 (snapper rollback) 重装 steam 没用……

不过感谢~

请问文明 5 的下载地址,最好是国内可以直接下载的。不要 baidu 网盘

[quote=“hard-up”]

请问文明 5 的下载地址,最好是国内可以直接下载的。不要 baidu 网盘[/quote]

Steam(滑稽)
pirateproxy.cam/torrent/17451476/Civilization+V%3A+The+Complete+Edition++%28CRACK+Razor1911%29%28LINUX%29
这个是LINUX盗版
BT方式,会有点慢
善用海盗湾。
如有能力,请支持正版。在现在物价天天上涨[emoji409]的情况下,游戏显得越来越便宜。如果想要以史上最低价格入手,请移步IsThereAnyDeal.com :smirk:

通过我的 MI 5s Plus 上的 Tapatalk发言

我买的,没几块钱,建议就别玩,太耽误时间。

1赞