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

appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols #8

Open
ibrokemypie opened this issue Jun 15, 2017 · 32 comments
Open

appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols #8

ibrokemypie opened this issue Jun 15, 2017 · 32 comments

Comments

@ibrokemypie
Copy link

On void linux, starting lsi-steam opens the login screen, which after signing in, spews out appdatacache.cpp (2078) : Assertion Failed: !bSharedKVSymbols and essentially freezes. Have tried running steam --reset before lsi-steam, same thing.

steam.txt

@ikeydoherty
Copy link
Member

This is more likely due to the binary compatibility of the host distro, and it's broken somewhere. Just to clarify are you using glibc or musl built packages? Also what drivers, etc.

Lastly, your os-release file is apparently missing VERSION_ID field.

@ibrokemypie
Copy link
Author

glibc, just plain intel right now so xf86-video-intel. I think the field is non existent since Void is a rolling release like Arch.

@ikeydoherty
Copy link
Member

Do you have access to the backtrace?

DEBUGGER=gdb steam

@ibrokemypie
Copy link
Author

ibrokemypie commented Jun 15, 2017

is this what you meant?

$ DEBUGGER=gdb lsi-steam
/extra/home/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
/extra/home/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
Running Steam on void  64-bit
STEAM_RUNTIME is disabled by the user
GNU gdb (GDB) 8.0
Copyright (C) 2017 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-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
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 /extra/home/.local/share/Steam/ubuntu12_32/steam...(no debugging symbolsfound)...done.
LD_PRELOAD = /usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1
(gdb) run
Starting program: /extra/home/.local/share/Steam/ubuntu12_32/steam
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Installing breakpad exception handler for appid(steam)/version(1496897923)
[New Thread 0xf5627b40 (LWP 12857)]
Installing breakpad exception handler for appid(steam)/version(1496897923)
[New Thread 0xf53ffb40 (LWP 12858)]
Installing breakpad exception handler for appid(steam)/version(1496897923)
[New Thread 0xf1980b40 (LWP 12870)]
Installing breakpad exception handler for appid(steam)/version(1496897923)
[New Thread 0xee8aeb40 (LWP 12897)]
[New Thread 0xee5ffb40 (LWP 12898)]
[New Thread 0xee153b40 (LWP 12899)]
[New Thread 0xedeffb40 (LWP 12900)]
[New Thread 0xedbffb40 (LWP 12901)]
[Thread 0xedbffb40 (LWP 12901) exited]
[New Thread 0xed05cb40 (LWP 12902)]
[Thread 0xedeffb40 (LWP 12900) exited]
[Thread 0xee5ffb40 (LWP 12898) exited]
[New Thread 0xee2ffb40 (LWP 12903)]
[New Thread 0xecaffb40 (LWP 12904)]
[New Thread 0xec9feb40 (LWP 12905)]
Installing breakpad exception handler for appid(steam)/version(1496897923)
[New Thread 0xec6ffb40 (LWP 12906)]
[Thread 0xecaffb40 (LWP 12904) exited]
Setting breakpad minidump AppID = 769
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded no]
[New Thread 0xedbffb40 (LWP 13006)]
Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
[New Thread 0xedeffb40 (LWP 13007)]
[New Thread 0xeb7ffb40 (LWP 13030)]

Thread 5 "CIPCServer::Thr" received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xee8aeb40 (LWP 12897)]
0xef62321a in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
(gdb) bt
#0  0xef62321a in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#1  0xeef3d490 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#2  0xef22ef65 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#3  0xef3386a8 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#4  0xeed759a8 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#5  0xef339dc8 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#6  0xeed744a2 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#7  0xeed76c8a in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#8  0xeed77ab6 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#9  0xef628f50 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#10 0xef627bcb in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#11 0xef627d8d in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#12 0xef62a433 in ?? () from /extra/home/.local/share/Steam/linux32/steamclient.so
#13 0xf7c0b38d in start_thread (arg=0xee8aeb40) at pthread_create.c:456
#14 0xf7aee676 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110
(gdb) Assert( Fatal Assertion Failed: Stalled cross-thread pipe ):../common/pipes.cpp:561

crash_20170615220550_2.dmp[14676]: Uploading dump (out-of-process)
/tmp/dumps/crash_20170615220550_2.dmp
crash_20170615220550_2.dmp[14676]: Finished uploading minidump (out-of-process): success = yes
crash_20170615220550_2.dmp[14676]: response: Discarded=1
crash_20170615220550_2.dmp[14676]: file ''/tmp/dumps/crash_20170615220550_2.dmp'', upload yes: ''Discarded=1''      

@ikeydoherty
Copy link
Member

Alright so you need to tell it to run, and when it crashes, use bt to get the backtrace

@ibrokemypie
Copy link
Author

Did do, updated the comment as such

@ikeydoherty
Copy link
Member

Looking at ValveSoftware/steam-for-linux#5014 this very much looks like an issue with your host libraries

@ikeydoherty
Copy link
Member

Sidenote also make sure you're using the latest Steam package too so that Steam itself isn't using problematic stuff

@ibrokemypie
Copy link
Author

I have completely removed steam, updated the package cache, deleted ~/.steam and then reinstalled steam, error persists. How would I diagnose which library is to blame?

@Vaelatern
Copy link

Would libappindicator being built against gtk+3 be a possible problem?

@ikeydoherty
Copy link
Member

Ideally you want both gtk2 and gtk2 builds of that available. See how we tricksed it in Solus for an example: https://dev.solus-project.com/source/libappindicator/browse/master/package.yml

Plus the emul32 patch to save needing emul32 python: https://dev.solus-project.com/source/libappindicator/browse/master/files/0001-Disable-Python-build-required-for-multilib-build.patch

Same thing for libdbusmenu https://dev.solus-project.com/source/libdbusmenu/browse/master/package.yml

@ikeydoherty
Copy link
Member

Also given you're using the open source drivers and this looks suspiciously like some kind of race condition, it might be worth trying to disable DRI3 in mesa too to see if it helps:

export LIBGL_DRI3_DISABLE=1

@ibrokemypie
Copy link
Author

ibrokemypie commented Jun 16, 2017

export LIBGL_DRI3_DISABLE=1 has made no difference from what I can tell, exactly the same.
something that is possibly of note, running STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 STEAM_RUNTIME=1 steam results in Failed to load steamui.so - dlerror(): /usr/lib32/libXxf86vm.so.1: undefined symbol: _XEatDataWords which seems possibly related to https://cgit.freedesktop.org/xorg/lib/libXfixes/patch/?id=1702cdfe45c9bdd7dacfc8f27a49f89fcd1d02c3

@ikeydoherty
Copy link
Member

Please re-try with 0.4

@QkiZMR
Copy link

QkiZMR commented Oct 11, 2017

Running Steam on ubuntu 17.04 64-bit
STEAM_RUNTIME is disabled by the user
[2017-10-11 23:22:20] Startup - updater built Oct  4 2017 22:37:14
[2017-10-11 23:22:21] Weryfikowanie instalacji...
[2017-10-11 23:22:21] Verification complete
appdatacache.cpp (2095) : Assertion Failed: !bSharedKVSymbols
roaming config store loaded successfully - 4802 bytes.
migrating temporary roaming config store
appdatacache.cpp (2095) : Assertion Failed: !bSharedKVSymbols
appdatacache.cpp (2095) : Assertion Failed: !bSharedKVSymbols
appdatacache.cpp (2095) : Assertion Failed: !bSharedKVSymbols
(...)

Same problem on Ubuntu 17.04 after enabling native system libs in lsi-settings tool.

@ikeydoherty
Copy link
Member

Truncating it won't help me :) I need the full log data.

This will result in a very large log, but you could also do LD_DEBUG=all lsi-steam and upload the (very large) log somewhere so I can run through it.

@QkiZMR
Copy link

QkiZMR commented Oct 12, 2017

I truncated repeating error appdatacache.cpp. Today I will run with ld_debug var and will send results.

@QkiZMR
Copy link

QkiZMR commented Oct 14, 2017

liblsi-intercept enabled, rest is disabled.

liblsi-intercept.log

@QkiZMR
Copy link

QkiZMR commented Oct 14, 2017

native runtime provided by OS enabled, rest is disabled. Steam doesn't start. Freeze on connecting window.
native runtime.log

@norg
Copy link

norg commented Nov 11, 2017

I have the same issue with 0.6 on 64 Bit Archlinux. The logfile would be 287MB are you sure you want the whole debug log or should we focus on specific parts? :)

@ikeydoherty
Copy link
Member

This is very likely an issue with trying to load steamui.so, try:

LSI_DEBUG=1 LD_AUDIT="/usr/\$LIB/liblsi-intercept.so" ldd steamui.so

You'll need to do this in your Steam ubuntu12_32 directory, i.e. ~/.local/share/Steam/ubuntu12_32

@norg
Copy link

norg commented Nov 12, 2017

Looks like I need to find out which libs are in which packages :)

[andi@x250 ubuntu12_32]% LSI_DEBUG=1 LD_AUDIT="/usr/\$LIB/liblsi-intercept.so" ldd steamui.so
	linux-gate.so.1 (0xf7f44000)
	libtier0_s.so => not found
	libvstdlib_s.so => not found
	libv8.so => not found
	libvideo.so => not found

@ikeydoherty
Copy link
Member

Those are all within same directory

@norg
Copy link

norg commented Nov 12, 2017

Even when I add those to the $LD_LIBRARY_PATH and the ldd output looks fine then, I still run into the described issue above :/

@norg
Copy link

norg commented Nov 16, 2017

Do you think the pkbuild for arch needs to handle those libs? https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux-steam-integration

@lee8oi
Copy link

lee8oi commented Dec 8, 2017

Whatever this issue is, still isn't resolved in the Arch AUR linux-steam-integration package yet. Sad panda. But I'm cool with being patient.

Edit: (Facepalm). I resolved this issue by installing 'steam-native-runtime' and of course prior to discovering this error I had to install lib32-sdl2. I bet that arch package would benefit from requiring these packages to be installed.

Edit 2: I should also mention that while I was trying to resolve the issue I also installed 'libstdc++5'. I don't know if that had anything to do with anything. Just mentioning it here in case it did have something to do with making things work.

@ikeydoherty
Copy link
Member

At this point I'm gonna start focusing on moving us to the snap instead of trying to package LSI up - it's incredibly hard for the distros (as you're seeing!)

@lee8oi i reckon adding those missing deps would be a very good move :)

@norg
Copy link

norg commented Dec 10, 2017

Ah thanks @lee8oi that helped :) I installed the native runtime as well and now steam is starting with LSI. Although Project Highrise still doesn't work. Will open another issue for that.

@ikeydoherty
Copy link
Member

Yeah its working here so I'm still not convinced you have it installed/activated right.

@corusm
Copy link

corusm commented Dec 3, 2020

Same issue in my case. Is there any fix yet?
/data/src/clientdll/appdatacache.cpp (2538) : Assertion Failed: !bSharedKVSymbols

@deathxxx123
Copy link

deathxxx123 commented Jun 27, 2021

Same issue in my case. Is there any fix yet?
/data/src/clientdll/appdatacache.cpp (2538) : Assertion Failed: !bSharedKVSymbols

Same issue(maybe):
src/clientdll/appdatacache.cpp (2679) : Assertion Failed: !bSharedKVSymbols
Manjaro Linux Gnome + Nvidia 1060 6GB

I found solution here:
https://bugs.archlinux.org/task/71092#comment200392

@onlycs
Copy link

onlycs commented Dec 6, 2022

cd into ~/.steam/root/ubuntu12_32, then run:

pushd ~/.steam/root/ubuntu12_32; file * | grep ELF | cut -d: -f1 | LD_LIBRARY_PATH=. xargs ldd | grep 'not found' | sort | uniq; popd

this will list all missing libraries. install them!
I had to install lib32-libudev0-shim (for libudev.so.0) and lib32-libnm (for libnm.so.0)
sudo pacman -Fy somelib.so.0 for finding packages

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

9 participants