Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Steam SEGFAULT with libtier0_s.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Thu May 25, 2017 2:25 am    Post subject: [SOLVED] Steam SEGFAULT with libtier0_s.so Reply with quote

After an update to the Steam client (as in when I opened it, it updated itself), it no longer opens. It now SEGFAULTs.

I ran it with
Code:
DEBUGGER=gdb steam
and got the following output:

Code:

../vgui_surfacelib/FontManager.cpp (276) : Assertion Failed: descs.Count() >= 1
../vgui_surfacelib/FontManager.cpp 276 Assertion Failed: descs.Count() >= 1
Program received signal SIGTRAP, Trace/breakpoint trap.
0xf25eace3 in AssertMsgImplementation () from /home/nticompass/.local/share/Steam/ubuntu12_32/libtier0_s.so
(gdb) info stack
#0  0xf25eace3 in AssertMsgImplementation () from /home/nticompass/.local/share/Steam/ubuntu12_32/libtier0_s.so
#1  0xed64cedb in ?? () from /home/nticompass/.local/share/Steam/ubuntu12_32/vgui2_s.so
#2  0xed680104 in ?? () from /home/nticompass/.local/share/Steam/ubuntu12_32/vgui2_s.so
#3  0xed671960 in ?? () from /home/nticompass/.local/share/Steam/ubuntu12_32/vgui2_s.so
#4  0xed673998 in ?? () from /home/nticompass/.local/share/Steam/ubuntu12_32/vgui2_s.so
#5  0xed66f1d7 in ?? () from /home/nticompass/.local/share/Steam/ubuntu12_32/vgui2_s.so
#6  0xf0073430 in ?? () from /home/nticompass/.local/share/Steam/ubuntu12_32/steamui.so
#7  0xf0073ab1 in ?? () from /home/nticompass/.local/share/Steam/ubuntu12_32/steamui.so
#8  0x5658d790 in RunSteam(int, char**, bool) ()
#9  0x565798f9 in ?? ()
#10 0xf7a774e6 in __libc_start_main () from /lib32/libc.so.6
#11 0x5657cfe9 in _start ()


Full output at: https://pastebin.com/ZFvsvts1

I've done a lot of changes to my system (like trying to clang instead of gcc) and I am having trouble pinpointing what exactly is wrong here.

If it's needed here's emerge --info: https://pastebin.com/iHZ949J0

P.S. I have a Radeon RX 460, which uses VIDEO_CARDS="amdgpu radeonsi" and I had to run the following or else steam complained about not being able to load the dri drivers:

Code:
find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete


Last edited by NTICompass on Wed Jun 07, 2017 5:11 am; edited 1 time in total
Back to top
View user's profile Send private message
rh
n00b
n00b


Joined: 19 Sep 2006
Posts: 55

PostPosted: Thu May 25, 2017 1:04 pm    Post subject: Reply with quote

Just guessing, but this could be audio related? Do you mind posting info about your audio software, it might reveal something. For example "emerge -vp alsa-lib pulseaudio openal".

Have you tried with STEAM_RUNTIME=0? STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 is another envvar to try.
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Fri May 26, 2017 1:34 am    Post subject: Reply with quote

rh wrote:
Just guessing, but this could be audio related? Do you mind posting info about your audio software, it might reveal something. For example "emerge -vp alsa-lib pulseaudio openal".

Have you tried with STEAM_RUNTIME=0? STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 is another envvar to try.


My audio setup is just alsa. PulseAudio is not installed. Because of this running "DEBUGGER=gdb STEAM_RUNTIME=0 steam" shows:

Code:
Error: You are missing the following 32-bit libraries, and Steam may not run:
libpulse.so.0


My attempt to solve this was to install apulse. I have apulse, openal and alsa-lib installed. I ran "DEBUGGER=gdb STEAM_RUNTIME=0 apulse steam" and got a popup saying "Fatal Error: Failed to load steamui.so"! Here's the output:

Code:
Failed to load steamui.so - dlerror(): /usr/lib32/apulse/libpulse.so.0: undefined symbol: trace_pa_volume_as_string

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) info stack
#0  0x00000000 in ?? ()
#1  0xf68b00c3 in ?? () from /usr/lib32/libz.so.1
#2  0xf7fe9aa2 in ?? () from /lib/ld-linux.so.2
#3  0xf7a55313 in ?? () from /lib32/libc.so.6
#4  0xf7a5536f in exit () from /lib32/libc.so.6
#5  0xf7a3f4f2 in __libc_start_main () from /lib32/libc.so.6
#6  0x5657cfe9 in _start ()


Full output: https://pastebin.com/2rwPCXJ3

I didn't know about the "STEAM_RUNTIME_PREFER_HOST_LIBRARIES" variable. Here's what "DEBUGGER=gdb STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam" did:

Code:
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) info stack
#0  0x00000000 in ?? ()
#1  0xf68cb0c3 in ?? () from /usr/lib32/libz.so.1
#2  0xf7fe9aa2 in ?? () from /lib/ld-linux.so.2
#3  0xf7a71313 in ?? () from /lib32/libc.so.6
#4  0xf7a7136f in exit () from /lib32/libc.so.6
#5  0x56578053 in ?? ()
#6  0xf7a5b4e6 in __libc_start_main () from /lib32/libc.so.6
#7  0x5657aae9 in _start ()


Full output: https://pastebin.com/btc8nTqj

(STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 showed the same thing)
Back to top
View user's profile Send private message
rh
n00b
n00b


Joined: 19 Sep 2006
Posts: 55

PostPosted: Fri May 26, 2017 5:32 pm    Post subject: Reply with quote

NTICompass wrote:
My audio setup is just alsa.


Just to verify, are alsa-lib and openal stable versions, or do you have some other versions? Do you have 32bit versions enabled on both? There have been some issues that show on some specific versions, that's why I ask. I've heard apulse causing issues before. One quick fix to try would be installing pulseaudio, if it's something you would be willing to try. It might save you some trouble later, even if it doesn't solve this issue. See issue below as an example.

https://github.com/ValveSoftware/steam-for-linux/issues/3555

I don't know if gdb backtraces give any valuable info to anyone else, but I can't read them. It might be easier for you to test without gdb unless someone asks for a backtrace. Steam startup log can be found in /tmp/dumps/steam_stdout.txt, that gives best clues to google.
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Mon May 29, 2017 5:26 am    Post subject: Reply with quote

rh wrote:
Just to verify, are alsa-lib and openal stable versions, or do you have some other versions? Do you have 32bit versions enabled on both?


I have alsa-lib installed with both 32 and 64 bit, but openal is only 64 bit.. Do I need 32 bit openal?

I have media-libs/alsa-lib-1.1.2 (32 and 64) and media/liba/openal-1.15.1-r2 (64 only) [with alsa USE flag).
Back to top
View user's profile Send private message
rh
n00b
n00b


Joined: 19 Sep 2006
Posts: 55

PostPosted: Mon May 29, 2017 5:48 am    Post subject: Reply with quote

NTICompass wrote:
I have alsa-lib installed with both 32 and 64 bit, but openal is only 64 bit.. Do I need 32 bit openal?


Yes, that's propably it. See Arch wiki section linked below:

https://wiki.archlinux.org/index.php/Steam/Troubleshooting#Missing_vgui2_s.so
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Wed May 31, 2017 2:49 am    Post subject: Reply with quote

I may need to bite the bullet and install pulseaudio. Installing 32-bit openal didn't change anything.

Though, I'm not even sure pulseaudio is the issue here. Why would I be getting weird segfaults?

I found this: https://bbs.archlinux.org/viewtopic.php?id=191810 It could be a mesa issue. I'm using amdpgu (for my RX 460) and have installed media-libs/mesa-17.1.0.
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Wed May 31, 2017 3:29 pm    Post subject: Reply with quote

I'm having a similar segfault compiling LLVM now. Something is seriously wrong with my system :/

https://bugs.gentoo.org/show_bug.cgi?id=608984#c3
Back to top
View user's profile Send private message
rh
n00b
n00b


Joined: 19 Sep 2006
Posts: 55

PostPosted: Wed May 31, 2017 7:58 pm    Post subject: Reply with quote

If you just upgraded your gcc, I have found out that it might bring some wierd issues that get fixed after recompiling the whole system with same version of gcc. I know it shouldn't be needed, but theory and practise don't always turn out to be the same. Sorry I can't help more with this, I keep to stable versions of gcc and most other core system components.
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Wed Jun 07, 2017 5:07 am    Post subject: Reply with quote

zlib was the issue. It needed to be recompiled with gcc6, instead of clang.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum