shkhln / linuxulator-steam-utils

Steam launcher for FreeBSD
MIT License
130 stars 14 forks source link

segfault on 13.0-CURRENT #1

Closed dch closed 4 years ago

dch commented 4 years ago

I get this might be a EWONTFIX, as I don't have a suitable 12.1R system to test this on:

$ /opt/steam-utils/bin/steam

ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
/opt/steam-utils/bin/../lxbin/patch-steam.rb: /home/dch/.steam/steam/ubuntu12_32/chromehtml.so not found, nothing to patch
/opt/steam-utils/bin/../lxbin/patch-steam.rb: /home/dch/.steam/steam/ubuntu12_64/steamwebhelper not found, nothing to patch
/opt/steam-utils/bin/../lxbin/patch-steam.rb: /home/dch/.steam/steam/ubuntu12_64/steamwebhelper.sh not found, nothing to patch
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
[2020-01-13 09:22:17] Startup - updater built Apr  9 2019 22:48:20
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0)
SteamUpdateUI: An X Error occurred
X Error:  BadValue
Request Major code 18
Value 0xffffff94
Error Serial #11
xerror_handler: X failed, continuing
*** Segmentation fault
Register dump:

 EAX: 00000000   EBX: 21894000   ECX: 00000001   EDX: 00000000
 ESI: 01421b20   EDI: ffffb7b0   EBP: 00000000   ESP: ffffb740

 EIP: 2174a13d   EFLAGS: 00210202

 CS: 0033   DS: 003b   ES: 003b   FS: 0013   GS: 001b   SS: 003b

 Trap: 00000006   Error: 00000004   OldMask: 00010000
 ESP/signal: ffffb740   CR2: fffffffd

Backtrace:
/lib/libc.so.6(cfree+0x2d)[0x2174a13d]
/home/dch/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6(XFree+0x1b)[0x214650eb]
/home/dch/.steam/steam/ubuntu12_32/steam(+0x555ef)[0x10565ef]
/home/dch/.steam/steam/ubuntu12_32/steam(+0x395a4)[0x103a5a4]
/home/dch/.steam/steam/ubuntu12_32/steam(+0x243ac)[0x10253ac]
/lib/libc.so.6(__libc_start_main+0xf3)[0x216e72a3]
/home/dch/.steam/steam/ubuntu12_32/steam(+0x27e09)[0x1028e09]

Memory map:

fish: “/opt/steam-utils/bin/steam” terminated by signal SIGSEGV (Address boundary error)
dch commented 4 years ago

looks like I'll need at least lib32, which isn't installed here, re-trying with that.

shkhln commented 4 years ago

I kind of dropped the ball on identifying exact dependencies, especially since it's not clear which steam-runtime libraries are safe to use and which should be avoided. Try the following packages:

linux_base-c7
linux-c7-alsa-lib
linux-c7-atk
linux-c7-cairo
linux-c7-dbus-libs
linux-c7-elfutils-libelf
linux-c7-elfutils-libs
linux-c7-expat
linux-c7-fontconfig
linux-c7-freetype
linux-c7-fribidi
linux-c7-gdk-pixbuf2
linux-c7-graphite2
linux-c7-gtk2
linux-c7-harfbuzz
linux-c7-libdrm
linux-c7-libgcrypt
linux-c7-libglvnd
linux-c7-libgpg-error
linux-c7-libpng
linux-c7-libthai
linux-c7-lz4
linux-c7-nspr
linux-c7-nss
linux-c7-openal-soft
linux-c7-systemd-libs
linux-c7-pango
linux-c7-pixman
linux-c7-xorg-libs
linux-nvidia-libs
dch commented 4 years ago

^5 that's amazing! I just needed linux-c7-libgpg-error above as there's no linux-c7-libgpg in ports. Steam installer and client has run, now I just need to figure out how to hook up my downloaded games already - I have an 80GiB zfs dataset from linux that I'd prefer not to need to download again from scratch.

shkhln commented 4 years ago

I just needed linux-c7-libgpg-error above as there's no linux-c7-libgpg in ports.

Yeah, looks like I accidentally removed the suffix while editing the list.

Steam installer and client has run, now I just need to figure out how to hook up my downloaded games already - I have an 80GiB zfs dataset from linux that I'd prefer not to need to download again from scratch.

Settings -> Downloads -> Steam Library Folders