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

steam-launcher Segmentation fault "$STEAMROOT/$STEAMEXEPATH" "$@" #323

Closed mrturcot closed 1 year ago

mrturcot commented 1 year ago

hey so my steam was working last week and when I launched it today I got this? steam.sh: line 798: 10898 Segmentation fault "$STEAMROOT/$STEAMEXEPATH" "$@"

Any ideas? Thanks!

➜ STEAM_RUNTIME=1 steam
steam.sh[9353]: Running Steam on gentoo 1.0.0.74-r1 64-bit
steam.sh[9353]: STEAM_RUNTIME is enabled by the user
setup.sh[9421]: Steam runtime environment up-to-date!
steam.sh[9353]: Steam client's requirements are satisfied
[2022-12-28 21:32:03] Startup - updater built Dec 15 2022 21:26:49
[2022-12-28 21:32:03] Startup - Steam Client launched with: '/home/mrturcot/.local/share/Steam/ubuntu12_32/steam'
Installing breakpad exception handler for appid(steam)/version(1671236931)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2022-12-28 21:32:03] Loading cached metrics from disk (/home/mrturcot/.local/share/Steam/package/steam_client_metrics.bin)
[2022-12-28 21:32:03] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2022-12-28 21:32:03] Using the following download hosts for Public, Realm steamglobal
[2022-12-28 21:32:03] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1671236931)
[2022-12-28 21:32:03] Checking for update on startup
[2022-12-28 21:32:03] Checking for available updates...
[2022-12-28 21:32:03] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
[2022-12-28 21:32:03] Manifest download: send request
Installing breakpad exception handler for appid(steam)/version(1671236931)
[2022-12-28 21:32:03] Manifest download: waiting for download to finish
[2022-12-28 21:32:03] Manifest download: finished
[2022-12-28 21:32:03] Download skipped: /client/steam_client_ubuntu12 version 1671236931, installed version 1671236931, existing pending version 0
[2022-12-28 21:32:03] Nothing to do
[2022-12-28 21:32:03] Verifying installation...
[2022-12-28 21:32:03] Performing checksum verification of executable files
[2022-12-28 21:32:04] Verification complete
crash_20221228213204_4.dmp[9516]: Uploading dump (out-of-process)
/tmp/dumps/crash_20221228213204_4.dmp
/home/mrturcot/.local/share/Steam/steam.sh: line 798:  9505 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"

crash_20221228213204_4.dmp[9516]: Finished uploading minidump (out-of-process): success = yes
crash_20221228213204_4.dmp[9516]: response: CrashID=bp-5fa810ea-2a29-4263-87c5-0d9f12221228
crash_20221228213204_4.dmp[9516]: file ''/tmp/dumps/crash_20221228213204_4.dmp'', upload yes: ''CrashID=bp-5fa810ea-2a29-4263-87c5-0d9f12221228''

crash https://pastebin.com/X2e62uG1

❯➜ STEAM_RUNTIME=0 steam
steam.sh[9678]: Running Steam on gentoo 1.0.0.74-r1 64-bit
steam.sh[9678]: STEAM_RUNTIME is disabled by the user
steam.sh[9678]: Can't find 'steam-runtime-check-requirements', continuing anyway
[2022-12-28 21:33:11] Startup - updater built Dec 15 2022 21:26:49
[2022-12-28 21:33:11] Startup - Steam Client launched with: '/home/mrturcot/.local/share/Steam/ubuntu12_32/steam'
Installing breakpad exception handler for appid(steam)/version(1671236931)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2022-12-28 21:33:11] Loading cached metrics from disk (/home/mrturcot/.local/share/Steam/package/steam_client_metrics.bin)
[2022-12-28 21:33:11] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2022-12-28 21:33:11] Using the following download hosts for Public, Realm steamglobal
[2022-12-28 21:33:11] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1671236931)
[2022-12-28 21:33:11] Checking for update on startup
[2022-12-28 21:33:11] Checking for available updates...
[2022-12-28 21:33:11] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
[2022-12-28 21:33:11] Manifest download: send request
Installing breakpad exception handler for appid(steam)/version(1671236931)
[2022-12-28 21:33:12] Manifest download: waiting for download to finish
[2022-12-28 21:33:12] Manifest download: finished
[2022-12-28 21:33:12] Download skipped: /client/steam_client_ubuntu12 version 1671236931, installed version 1671236931, existing pending version 0
[2022-12-28 21:33:12] Nothing to do
[2022-12-28 21:33:12] Verifying installation...
[2022-12-28 21:33:12] Performing checksum verification of executable files
[2022-12-28 21:33:12] Verification complete
crash_20221228213312_4.dmp[9771]: Uploading dump (out-of-process)
/tmp/dumps/crash_20221228213312_4.dmp
/home/mrturcot/.local/share/Steam/steam.sh: line 798:  9759 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"

crash_20221228213312_4.dmp[9771]: Finished uploading minidump (out-of-process): success = yes
crash_20221228213312_4.dmp[9771]: response: CrashID=bp-b3ec3e2b-301a-48f8-a97e-9a1092221228
crash_20221228213312_4.dmp[9771]: file ''/tmp/dumps/crash_20221228213312_4.dmp'', upload yes: ''CrashID=bp-b3ec3e2b-301a-48f8-a97e-9a1092221228''

crash https://pastebin.com/AtrYPw3E

❯ emerge --info games-util/steam-launcher   
Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-11, glibc-2.36-r5, 6.1.1-gentoo-filthy x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.1-gentoo-filthy-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.36
KiB Mem:    65778880 total,  57305604 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Thu, 29 Dec 2022 03:33:07 +0000
Head commit of repository gentoo: 9bd6e828782f9077664b30f3cabc5aa5e37bc71f

Timestamp of repository 4nykey: Wed, 28 Dec 2022 10:33:06 +0000
Head commit of repository 4nykey: 2d46728924cf1428134fb621d1058a0b35d9deec

Timestamp of repository ROKO__: Wed, 28 Dec 2022 10:33:03 +0000
Head commit of repository ROKO__: 58220b1f19bd1d8b30643fa140d36a7d1df45c8f

Timestamp of repository dev1990-overlay: Wed, 28 Dec 2022 10:33:06 +0000
Head commit of repository dev1990-overlay: 3c395c4b16ff042a7bbb4ec8d0e522c1dd0c455b

Timestamp of repository gentoo-zh: Wed, 28 Dec 2022 16:18:00 +0000
Head commit of repository gentoo-zh: 6cd9dc5cc874f544d58238ae8ab44ef8a352feb3

Timestamp of repository guru: Wed, 28 Dec 2022 10:33:06 +0000
Head commit of repository guru: 280e810033617c22eeff097981d31bff4668c54d

Head commit of repository librewolf: 237624eb6f60c604b4f4a552ba0e377fc16851bb

Timestamp of repository menelkir: Wed, 28 Dec 2022 10:33:07 +0000
Head commit of repository menelkir: 6ae38cfb093d1b69da61055fb9d6fb6c80141f48

Timestamp of repository pf4public: Tue, 27 Dec 2022 16:49:30 +0000
Head commit of repository pf4public: f33bc9c737baafe8bbb78dd9966b005c784bcbb1

Timestamp of repository src_prepare-overlay: Wed, 28 Dec 2022 15:18:02 +0000
Head commit of repository src_prepare-overlay: 8b12df35299bed5b1d7aa25027e6eb0e9705e2fc

Timestamp of repository steam-overlay: Tue, 27 Dec 2022 16:49:00 +0000
Head commit of repository steam-overlay: 40d6049781a464f1d47e1a42e2d35f0d091fb7b1

Timestamp of repository vapoursynth: Tue, 27 Dec 2022 16:49:01 +0000
Head commit of repository vapoursynth: 7ba5d17cc2aa3fb436f9ae7fe68eac9d823e93dd

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-lang/rust-bin:         1.65.0::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            0.63.3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.6::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo, 12.2.1_p20221224::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.6::gentoo
sys-devel/llvm:            15.0.6::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo

ROKO__
    location: /var/db/repos/ROKO__
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ROKO__.git
    masters: gentoo

dev1990-overlay
    location: /var/db/repos/dev1990-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dev1990-overlay.git
    masters: gentoo

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git
    masters: gentoo

menelkir
    location: /var/db/repos/menelkir
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/menelkir.git
    masters: gentoo

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo

src_prepare-overlay
    location: /var/db/repos/src_prepare-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

vapoursynth
    location: /var/db/repos/vapoursynth
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/vapoursynth.git
    masters: gentoo

Installed sets: @clang-rebuild, @clang-toolchain
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr clang cli colord crypt dbus dri drm dts dvd dvdr eds elogind encode evo exif flac fortran fuse gdbm gdm gif gnome gnome-keyring gnome-online-accounts gpm graphite gstreamer gtk gtk4 gui iconv icu introspection ipv6 jpeg lame lcms libglvnd libnotify libsecret libtirpc llvm-libunwind lm-sensors lto mad mng mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio qt5 readline samba sdl seccomp sound spell split-usr ssl startup-notification svg sysprof test-rust tiff tracker truetype udev udisks unicode upower usb vaapi vim-syntax vorbis vulkan wxwidgets x x264 x265 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid fma fma3 fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca mce misalignsse monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmul pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 rapl rdrand rdseed rdtscp rep_good sep sev sev_es sha sha_ni skinit smap smca smep ssbd sse3 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="joystick libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="aarch64 arm x86_64" QEMU_USER_TARGETS="aarch64 arm x86_64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

games-util/steam-launcher-1.0.0.74-r1::steam-overlay was built with the following:
USE="joystick steamruntime udev" ABI_X86="(64)"
chewi commented 1 year ago

It's working fine here, but I haven't updated that recently. I'll let you know if I hit this.

mrturcot commented 1 year ago

okay... ty

mrturcot commented 1 year ago

I guess steam doesn't like mesa that's been compiled using LLVM / clang / libc++ ?? 😅

After I recompiled LLVM & mesa with libstdc++. Steam now launches. Would that be a LLVM, mesa or steam bug do you think??

anyway CLOSED

chewi commented 1 year ago

Glad you figured it out. libc++ is not ABI compatible with libstdc++. That's not a bug, that's just how it is. There are some details that I don't fully understand though.