anyc / steam-overlay

Gentoo overlay for Valve's Steam client and Steam-based games
GNU General Public License v2.0
202 stars 44 forks source link

SEGFAULT: Thread 69 "threaded-ml" received signal SIGTRAP, Trace/breakpoint trap from libvstdlib_s.so #322

Closed AndrewAmmerlaan closed 1 year ago

AndrewAmmerlaan commented 1 year ago

Steam is segfaulting for me, last week it still worked. I tried removing the users steam directories and running a new clean instance. I also tried enabling the steam runtime. None of that fixed it. Here's the backtrace, looks like it has something to do with libpulse:

andrew@andrew-gentoo-pc ~ % DEBUGGER=gdb steam
steam.sh[42317]: Running Steam on gentoo 1.0.0.74-r1 64-bit
steam.sh[42317]: STEAM_RUNTIME is disabled by the user
steam.sh[42317]: Can't find 'steam-runtime-check-requirements', continuing anyway
gdb/cgdb launch with ARGSFILE: andrew.steam.gdb.UId1
gdb -x andrew.steam.gdb.UId1 --args /home/andrew/.local/share/Steam/ubuntu12_32/steam
GNU gdb (Gentoo 12.1 vanilla) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/andrew/.local/share/Steam/ubuntu12_32/steam...
(No debugging symbols found in /home/andrew/.local/share/Steam/ubuntu12_32/steam)
LD_LIBRARY_PATH = /home/andrew/.local/share/Steam/ubuntu12_32:/home/andrew/.local/share/Steam/ubuntu12_32/panorama:/usr/lib64/debiancompat:/usr/lib/debiancompat:/usr/lib64/fltk:/usr/lib/fltk
Warning: 'set index-cache on', an alias for the command 'set index-cache enabled', is deprecated.
Use 'set index-cache enabled on'.

index-cache directory:  The directory of the index cache is "/home/andrew/.cache/gdb".
index-cache enabled:  The index cache is on.
index-cache stats:
Cache hits (this session): 0
Cache misses (this session): 0

The index cache is currently enabled.
(gdb) run
Starting program: /home/andrew/.local/share/Steam/ubuntu12_32/steam
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
[2022-11-28 11:43:28] Startup - updater built Nov 17 2022 02:42:14
[2022-11-28 11:43:28] Startup - Steam Client launched with: '/home/andrew/.local/share/Steam/ubuntu12_32/steam'
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xebe00b40 (LWP 42423)]
[New Thread 0xeb000b40 (LWP 42424)]
[New Thread 0xea600b40 (LWP 42425)]
[New Thread 0xe9c00b40 (LWP 42426)]
[New Thread 0xe8e00b40 (LWP 42427)]
[New Thread 0xe8000b40 (LWP 42428)]
[New Thread 0xe7600b40 (LWP 42429)]
[New Thread 0xe6c00b40 (LWP 42430)]
[New Thread 0xe5e00b40 (LWP 42431)]
[New Thread 0xe5000b40 (LWP 42432)]
[New Thread 0xe4600b40 (LWP 42433)]
[New Thread 0xe3800b40 (LWP 42434)]
[New Thread 0xe2e00b40 (LWP 42435)]
[New Thread 0xe2000b40 (LWP 42436)]
[New Thread 0xe1600b40 (LWP 42437)]
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2022-11-28 11:43:28] Loading cached metrics from disk (/home/andrew/.local/share/Steam/package/steam_client_metrics.bin)
[2022-11-28 11:43:28] Using the following download hosts for Public, Realm steamglobal
[2022-11-28 11:43:28] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2022-11-28 11:43:28] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2022-11-28 11:43:28] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[New Thread 0xeb5ffb40 (LWP 42438)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[2022-11-28 11:43:28] Checking for update on startup
[2022-11-28 11:43:28] Checking for available updates...
[2022-11-28 11:43:28] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2022-11-28 11:43:28] Manifest download: send request
[New Thread 0xeb1ffb40 (LWP 42439)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[2022-11-28 11:43:28] Manifest download: waiting for download to finish
[2022-11-28 11:43:28] Manifest download: finished
[2022-11-28 11:43:28] Download skipped: /steam_client_ubuntu12 version 1668654564, installed version 1668654564, existing pending version 0
[2022-11-28 11:43:28] Nothing to do
[2022-11-28 11:43:28] Verifying installation...
[2022-11-28 11:43:28] Performing checksum verification of executable files
[2022-11-28 11:43:29] Verification complete
[Thread 0xe1600b40 (LWP 42437) exited]
[Thread 0xe2000b40 (LWP 42436) exited]
Loaded SDL version 2.25.0-p7648887
[Detaching after vfork from child process 42440]
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xebe095a0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xebe07f00
[New Thread 0xe2000b40 (LWP 42441)]
[New Thread 0xe1600b40 (LWP 42442)]
[New Thread 0xdac00b40 (LWP 42443)]
[New Thread 0xda200b40 (LWP 42444)]
[New Thread 0xd9800b40 (LWP 42445)]
[New Thread 0xd8a00b40 (LWP 42446)]
[New Thread 0xd7c00b40 (LWP 42447)]
[New Thread 0xd7200b40 (LWP 42448)]
[New Thread 0xd6400b40 (LWP 42449)]
[New Thread 0xd5a00b40 (LWP 42450)]
[New Thread 0xd4c00b40 (LWP 42451)]
[New Thread 0xd4200b40 (LWP 42452)]
[New Thread 0xd3400b40 (LWP 42453)]
[New Thread 0xd2a00b40 (LWP 42454)]
[New Thread 0xd1c00b40 (LWP 42455)]
[Thread 0xd1c00b40 (LWP 42455) exited]
[Thread 0xd2a00b40 (LWP 42454) exited]
ComputeStartupMode: found registry default startup mode: 0[Detaching after fork from child process 42456]
steamwebhelper.sh[42457]: Runtime for steamwebhelper: disabled by environment (this is unsupported)
steamwebhelper.sh[42457]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
[New Thread 0xe39ffb40 (LWP 42461)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xd2a00b40 (LWP 42463)]
[New Thread 0xd1c00b40 (LWP 42464)]
[New Thread 0xd0e00b40 (LWP 42465)]
[New Thread 0xd0000b40 (LWP 42466)]
[New Thread 0xcf600b40 (LWP 42467)]
[New Thread 0xcec00b40 (LWP 42468)]
[New Thread 0xce200b40 (LWP 42469)]
[New Thread 0xcd800b40 (LWP 42470)]
[New Thread 0xcce00b40 (LWP 42471)]
[New Thread 0xcc400b40 (LWP 42472)]
[New Thread 0xcba00b40 (LWP 42473)]
[New Thread 0xcb000b40 (LWP 42474)]
[New Thread 0xca600b40 (LWP 42475)]
[New Thread 0xc9c00b40 (LWP 42476)]
[New Thread 0xc9200b40 (LWP 42477)]
[New Thread 0xc6000b40 (LWP 42532)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xe0dffb40 (LWP 42533)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xdffffb40 (LWP 42534)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xdfbffb40 (LWP 42535)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[Thread 0xdfbffb40 (LWP 42535) exited]
[New Thread 0xdfbffb40 (LWP 42536)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xde1ffb40 (LWP 42537)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xdd7ffb40 (LWP 42538)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xdc5ffb40 (LWP 42539)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xdb1ffb40 (LWP 42540)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xdadffb40 (LWP 42541)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xda3ffb40 (LWP 42542)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xc3000b40 (LWP 42543)]
[Thread 0xda3ffb40 (LWP 42542) exited]
[New Thread 0xc2600b40 (LWP 42544)]
[New Thread 0xc1800b40 (LWP 42545)]
[New Thread 0xd99ffb40 (LWP 42546)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xd8bffb40 (LWP 42547)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xd81ffb40 (LWP 42548)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[Detaching after vfork from child process 42549]
[New Thread 0xd73ffb40 (LWP 42550)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xd65ffb40 (LWP 42551)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
[New Thread 0xbc200b40 (LWP 42552)]
[New Thread 0xd69ffb40 (LWP 42553)]
Installing breakpad exception handler for appid(steam)/version(1668654564)
src/vstdlib/strtools.cpp (252) : n == 0 || s1 != NULL
src/vstdlib/strtools.cpp (252) : n == 0 || s1 != NULL

Thread 69 "threaded-ml" received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xbc200b40 (LWP 42552)]
0xe854f9db in V_strnicmp () from /home/andrew/.local/share/Steam/ubuntu12_32/libvstdlib_s.so
(gdb) bt
#0  0xe854f9db in V_strnicmp () at /home/andrew/.local/share/Steam/ubuntu12_32/libvstdlib_s.so
#1  0xe0599a9e in  () at /home/andrew/.local/share/Steam/ubuntu12_32/libaudio.so
#2  0xe841e0e0 in  () at /usr/lib/libpulse.so.0
#3  0xe7651346 in  () at /usr/lib/pulseaudio/libpulsecommon-16.1.so
#4  0xe7651627 in pa_pdispatch_run () at /usr/lib/pulseaudio/libpulsecommon-16.1.so
#5  0xe8412d65 in  () at /usr/lib/libpulse.so.0
#6  0xe7654057 in  () at /usr/lib/pulseaudio/libpulsecommon-16.1.so
#7  0xe7656fa5 in  () at /usr/lib/pulseaudio/libpulsecommon-16.1.so
#8  0xe84288b5 in pa_mainloop_dispatch () at /usr/lib/libpulse.so.0
#9  0xe8428bec in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#10 0xe8428c9c in pa_mainloop_run () at /usr/lib/libpulse.so.0
#11 0xe8437360 in  () at /usr/lib/libpulse.so.0
#12 0xe7669b5b in  () at /usr/lib/pulseaudio/libpulsecommon-16.1.so
#13 0xf7a87195 in  () at /usr/lib/libc.so.6
#14 0xf7b22c18 in  () at /usr/lib/libc.so.6
(gdb)
AndrewAmmerlaan commented 1 year ago

This is upstream issue: https://github.com/ValveSoftware/steam-for-linux/issues/8940