Page 1 of 1

Steam gives me segmentation fault

Posted: Thu Aug 06, 2015 11:32 am
by Ignatius881
Hello.

I've installed Steam following every step from the Gentoo Wiki. The first time I've run Steam, it worked, but after that, no more. Here is my prompt, it shows me a segmentation fault on the line 756:

Code: Select all

$ steam
/home/ignacio/.local/share/Steam/steam.sh: línea 161: VERSION_ID: variable sin asignar
/home/ignacio/.local/share/Steam/steam.sh: línea 161: VERSION_ID: variable sin asignar
Running Steam on gentoo  64-bit
/home/ignacio/.local/share/Steam/steam.sh: línea 161: VERSION_ID: variable sin asignar
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1437790054)
Installing breakpad exception handler for appid(steam)/version(1437790054)
Installing breakpad exception handler for appid(steam)/version(1437790054)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
Installing breakpad exception handler for appid(steam)/version(1437790054)
[0806/132204:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Installing breakpad exception handler for appid(steamwebhelper)/version(20150723114749)
Installing breakpad exception handler for appid(steamwebhelper)/version(1437652069)
[0806/132204:INFO:audio_manager_pulse.cc(258)] Failed to connect to the context.  Error: Connection refused
Installing breakpad exception handler for appid(steamwebhelper)/version(20150723114749)
Installing breakpad exception handler for appid(steamwebhelper)/version(1437790054)
Installing breakpad exception handler for appid(steamwebhelper)/version(1437790054)
Installing breakpad exception handler for appid(steam)/version(1437790054)
Installing breakpad exception handler for appid(steam)/version(1437790054)
Installing breakpad exception handler for appid(steam)/version(1437790054)
Installing breakpad exception handler for appid(steam)/version(1437790054)
Installing breakpad exception handler for appid(steam)/version(1437790054)
Installing breakpad exception handler for appid(steam)/version(1437790054)
FillInMachineIDInfo took a total of 3 milliseconds
Installing breakpad exception handler for appid(steam)/version(1437790054)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
Dongle firmware /home/ignacio/.local/share/Steam/ubuntu12_32/../controller_base/d0ggle.bin loaded, version 1435869091.
Installing breakpad exception handler for appid(steam)/version(1437790054)
/home/ignacio/.local/share/Steam/steam.sh: línea 756:  3736 Violación de segmento  $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20150806132202_1.dmp[3773]: Uploading dump (out-of-process)
/tmp/dumps/crash_20150806132202_1.dmp
crash_20150806132202_1.dmp[3773]: Finished uploading minidump (out-of-process): success = yes
crash_20150806132202_1.dmp[3773]: response: CrashID=bp-0ac9b7e0-cc93-416e-b20f-71d5f2150806
crash_20150806132202_1.dmp[3773]: file ''/tmp/dumps/crash_20150806132202_1.dmp'', upload yes: ''CrashID=bp-0ac9b7e0-cc93-416e-b20f-71d5f2150806''

Posted: Tue Aug 11, 2015 8:48 pm
by audiodef
I get a slightly different error, but it also crashes for me after following the wiki guide. The only thing that has worked has been Steam updating itself - then it crashes. So I'd also like to know how to get it working.

Posted: Sat Aug 15, 2015 6:37 am
by Juippisi
I'm having similar problems. I found this,
https://wiki.gentoo.org/wiki/Steam#Segf ... s_selected

havent been able to test it yet, but I will later tonight. Im hoping it fixes since this is annoying.

Posted: Wed Aug 31, 2016 3:42 pm
by Romanujan
Anyone knows the solution of this famous (https://github.com/ValveSoftware/steam- ... ssues/4537) crash on Gentoo? For example downgrade some package? I think I have tried out every solution found on the net, I have even wiped out ~/.local/share/Steam and ~/.steam to force the client reinstallation (I use steam-launcher from steam-overlay) - but nothing helps...

Posted: Wed Aug 31, 2016 8:48 pm
by Chewi
I have always run it with the steamruntime USE flag disabled and haven't had any issues like this. However, I did briefly try enabling it while testing my esteam script recently and it did fail to start with probably the same issue. I seem to recall deleting libstdc++.so.6 from the Ubuntu runtime fixed it but it may have been a different library. I recommend disabling steamruntime though as esteam makes it much more reliable now!

Posted: Thu Sep 01, 2016 3:07 pm
by Romanujan
OK, disabled the flag, reemerged steam-launcher. Unfortunately, now the client installation gets stuck - I have 'Update Steam...' window with 'Downloading update' stuck at 0... System restart does not help.

Posted: Thu Sep 01, 2016 3:13 pm
by Chewi
Hmm. Not seen that before but maybe clearing ~/.local/share/Steam one more time will help.

Posted: Thu Sep 01, 2016 3:46 pm
by Romanujan
This had to be a temporary server issue - it downloads the updates now. Unfortunately, I now have another crash - this time line 713 :(

Code: Select all

/home/roman/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
/home/roman/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
Running Steam on gentoo  64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1471977975)
Installing breakpad exception handler for appid(steam)/version(1471977975)
Installing breakpad exception handler for appid(steam)/version(1471977975)
Gtk-Message: Failed to load module "canberra-gtk-module"
Installing breakpad exception handler for appid(steam)/version(1471977975)
[0901/173809:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
[0901/173809:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
Fontconfig warning: ignoring POSIX.utf8: not a valid language tag
Installing breakpad exception handler for appid(steamwebhelper)/version(20160823182455)
Installing breakpad exception handler for appid(steamwebhelper)/version(1471976695)
[0901/173809:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
Installing breakpad exception handler for appid(steamwebhelper)/version(20160823182455)
Installing breakpad exception handler for appid(steamwebhelper)/version(1471977975)
Installing breakpad exception handler for appid(steamwebhelper)/version(1471977975)
../vgui_surfacelib/FontManager.cpp (276) : Assertion Failed: descs.Count() >= 1
Assert( Assertion Failed: descs.Count() >= 1 ):../vgui_surfacelib/FontManager.cpp:276

Installing breakpad exception handler for appid(steam)/version(1471977975)
crash_20160901173809_6.dmp[1192]: Uploading dump (out-of-process)
/tmp/dumps/crash_20160901173809_6.dmp
../vgui_surfacelib/FontManager.cpp (276) : Assertion Failed: descs.Count() >= 1
../vgui_surfacelib/FontManager.cpp (276) : Assertion Failed: descs.Count() >= 1
../vgui_surfacelib/FontManager.cpp (276) : Assertion Failed: descs.Count() >= 1
Installing breakpad exception handler for appid(steam)/version(1471977975)
Installing breakpad exception handler for appid(steam)/version(1471977975)
Installing breakpad exception handler for appid(steam)/version(1471977975)                                                                                                                                           
Installing breakpad exception handler for appid(steam)/version(1471977975)                                                                                                                                           
Installing breakpad exception handler for appid(steam)/version(1471977975)                                                                                                                                           
Installing breakpad exception handler for appid(steam)/version(1471977975)                                                                                                                                           
Created shared memory when not owner SteamController_Shared_mem                                                                                                                                                      
Installing breakpad exception handler for appid(steam)/version(1471977975)                                                                                                                                           
Installing breakpad exception handler for appid(steam)/version(1471977975)                                                                                                                                           
Fontconfig warning: ignoring POSIX.utf8: not a valid language tag                                                                                                                                                    
crash_20160901173808_1.dmp[1223]: Uploading dump (out-of-process)                                                                                                                                                    
/tmp/dumps/crash_20160901173808_1.dmp                                                                                                                                                                                
/home/roman/.local/share/Steam/steam.sh: line 713:  1163 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"                                                                                     
Refresh rate: 1                                                                                                                                                                                                      
Refresh rate: 1                                                                                                                                                                                                      
Refresh rate: 1                                                                                                                                                                                                      
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
crash_20160901173809_6.dmp[1192]: Finished uploading minidump (out-of-process): success = yes
crash_20160901173809_6.dmp[1192]: response: CrashID=bp-5d10eccf-5fde-437b-9da1-0ae332160901
crash_20160901173809_6.dmp[1192]: file ''/tmp/dumps/crash_20160901173809_6.dmp'', upload yes: ''CrashID=bp-5d10eccf-5fde-437b-9da1-0ae332160901''
crash_20160901173808_1.dmp[1223]: Finished uploading minidump (out-of-process): success = yes
crash_20160901173808_1.dmp[1223]: response: CrashID=bp-5781c1a3-ac16-400d-95b7-1dc092160901
crash_20160901173808_1.dmp[1223]: file ''/tmp/dumps/crash_20160901173808_1.dmp'', upload yes: ''CrashID=bp-5781c1a3-ac16-400d-95b7-1dc092160901''

Posted: Thu Sep 01, 2016 3:55 pm
by Chewi
Given that it seems quite upset about font stuff, I'm guessing the key message here is:

Code: Select all

Fontconfig warning: ignoring POSIX.utf8: not a valid language tag
As it says, I don't know if that is valid. You can have POSIX and you can have en_GB.utf8 but I'm not so sure about POSIX.utf8.

Posted: Thu Sep 01, 2016 4:52 pm
by Romanujan
I actually don't have en_GB.utf8, but en_US.utf8 did the job. Seems to work now - thank you!

Posted: Sat Oct 08, 2016 9:39 am
by Althorion
I have a very similar problem:

Code: Select all

$ LANG=en_US.utf8 steam
/home/althorion/.local/share/Steam/steam.sh: linia 154: VERSION_ID: nieustawiona zmienna
/home/althorion/.local/share/Steam/steam.sh: linia 154: VERSION_ID: nieustawiona zmienna
Running Steam on gentoo  64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1474415843)
Installing breakpad exception handler for appid(steam)/version(1474415843)
Installing breakpad exception handler for appid(steam)/version(1474415843)
crash_20161008113628_1.dmp[5463]: Uploading dump (out-of-process)
/tmp/dumps/crash_20161008113628_1.dmp
/home/althorion/.local/share/Steam/steam.sh: linia 713:  5457 Naruszenie ochrony pamięci   $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20161008113628_1.dmp[5463]: Finished uploading minidump (out-of-process): success = yes
crash_20161008113628_1.dmp[5463]: response: CrashID=bp-51372405-53c7-45d8-a9fe-beddf2161008
crash_20161008113628_1.dmp[5463]: file ''/tmp/dumps/crash_20161008113628_1.dmp'', upload yes: ''CrashID=bp-51372405-53c7-45d8-a9fe-beddf2161008''
First, why does it still print messages in Polish with LANG=en_US.utf8? It is on a list of nown locales generated by localectl list-locales.
Second, what can I do to debug it?

Posted: Sat Oct 08, 2016 9:49 am
by Chewi
Althorion wrote:First, why does it still print messages in Polish with LANG=en_US.utf8? It is on a list of nown locales generated by localectl list-locales.
Second, what can I do to debug it?
Looks like you're using systemd, which I'm less familiar with, but try setting LC_ALL=en_US.utf8 as well. I think LC_ALL takes precedence over LANG.

Posted: Sat Oct 08, 2016 9:52 am
by Althorion
Same thing, unfortunatelly:

Code: Select all

$ LC_ALL=en_US.utf8 LANG=en_US.utf8 steam
/home/althorion/.local/share/Steam/steam.sh: linia 154: VERSION_ID: nieustawiona zmienna
/home/althorion/.local/share/Steam/steam.sh: linia 154: VERSION_ID: nieustawiona zmienna
Running Steam on gentoo  64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1474415843)
Installing breakpad exception handler for appid(steam)/version(1474415843)
Installing breakpad exception handler for appid(steam)/version(1474415843)
crash_20161008115020_1.dmp[20699]: Uploading dump (out-of-process)
/tmp/dumps/crash_20161008115020_1.dmp
/home/althorion/.local/share/Steam/steam.sh: linia 713: 20692 Naruszenie ochrony pamięci   $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20161008115020_1.dmp[20699]: Finished uploading minidump (out-of-process): success = yes
crash_20161008115020_1.dmp[20699]: response: CrashID=bp-99ebb542-c5c4-4a32-a081-80bce2161008
crash_20161008115020_1.dmp[20699]: file ''/tmp/dumps/crash_20161008115020_1.dmp'', upload yes: ''CrashID=bp-99ebb542-c5c4-4a32-a081-80bce2161008''
The funny thing is, I don’t even have Polish locales set to default:

Code: Select all

$ localectl 
   System Locale: LANG=en_CA.utf8
                  LC_COLLATE=C
       VC Keymap: pl2
      X11 Layout: pl
       X11 Model: pc105
     X11 Options: terminate:ctrl_alt_bksp

Posted: Sat Oct 08, 2016 9:58 am
by Chewi
Althorion wrote:The funny thing is, I don’t even have Polish locales set to default:
Weird. I don't tend to have these problems as I've native English anyway but see what the locale command outputs. It may give a clue.

Posted: Sat Oct 08, 2016 10:00 am
by Althorion

Code: Select all

$ locale
LANG=en_CA.UTF-8
LC_CTYPE=en_CA.UTF-8
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=

$ steam
/home/althorion/.local/share/Steam/steam.sh: linia 154: VERSION_ID: nieustawiona zmienna
/home/althorion/.local/share/Steam/steam.sh: linia 154: VERSION_ID: nieustawiona zmienna
Running Steam on gentoo  64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1474415843)
Installing breakpad exception handler for appid(steam)/version(1474415843)
Installing breakpad exception handler for appid(steam)/version(1474415843)
crash_20161008120029_1.dmp[27136]: Uploading dump (out-of-process)
/tmp/dumps/crash_20161008120029_1.dmp
/home/althorion/.local/share/Steam/steam.sh: linia 713: 27130 Naruszenie ochrony pamięci   $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20161008120029_1.dmp[27136]: Finished uploading minidump (out-of-process): success = yes
crash_20161008120029_1.dmp[27136]: response: CrashID=bp-6e546851-b7dd-439b-8423-5b6a42161008
crash_20161008120029_1.dmp[27136]: file ''/tmp/dumps/crash_20161008120029_1.dmp'', upload yes: ''CrashID=bp-6e546851-b7dd-439b-8423-5b6a42161008''
I guess my DE (Plasma 5) is to blame, because I don’t recall having such problems on anything before, and I’ve been using systemd for a couple of years now.

Posted: Fri Oct 14, 2016 7:39 am
by mrbassie
Try building dev-libs/nettle with 32bit support and rebuilding mesa.

Posted: Fri Oct 14, 2016 7:40 am
by Althorion
Done that already, no dice.

Posted: Sun Nov 27, 2016 11:59 am
by azp
I have the same issue as the latest poster. I've tried removing Steam completely to do a full re-install, but after that's done, it crashes in the exact same way again. The "Verifying Install" dialog comes up, and it crashes almost immediately.

Code: Select all

peter@skare ~/.steam $ steam
Running Steam on gentoo 2.2 64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
Installing breakpad exception handler for appid(steam)/version(1476379980)
assert_20161127125733_1.dmp[29502]: Uploading dump (out-of-process)
/tmp/dumps/assert_20161127125733_1.dmp
/home/peter/.local/share/Steam/steam.sh: line 713: 28884 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
assert_20161127125733_1.dmp[29502]: Finished uploading minidump (out-of-process): success = yes
assert_20161127125733_1.dmp[29502]: response: CrashID=bp-a64f9ebf-202a-427d-9e80-94c3d2161127
assert_20161127125733_1.dmp[29502]: file ''/tmp/dumps/assert_20161127125733_1.dmp'', upload yes: ''CrashID=bp-a64f9ebf-202a-427d-9e80-94c3d2161127''
Does anyone have any idea about how to get more info about the crash? If it's checking for libraries or something weird? I actually started getting this crash AFTER running the esteam script, I didn't have it before. But of course it can also be related to some recent Steam update.

Posted: Sun Nov 27, 2016 12:06 pm
by Chewi
azp wrote:Does anyone have any idea about how to get more info about the crash? If it's checking for libraries or something weird? I actually started getting this crash AFTER running the esteam script, I didn't have it before. But of course it can also be related to some recent Steam update.
I'm sorry to hear that though it's also a little surprising. While esteam does delete some files, it only touches the games, never Steam itself. This must be due to the presence of a new package or a USE flag change... or a Steam update as you say. It looks like you're getting a core dump file so find out how to use gdb. Don't have time to give details here, sorry.

Posted: Mon Nov 28, 2016 11:44 pm
by The Main Man
I had the same problem, there was some problem in mesa with openssl, after I emerged mesa with

Code: Select all

media-libs/mesa -openssl nettle
that steam error was gone.

Posted: Tue Nov 29, 2016 7:59 am
by Chewi
kajzer wrote:I had the same problem, there was some problem in mesa with openssl, after I emerged mesa with

Code: Select all

media-libs/mesa -openssl nettle
that steam error was gone.
I was under the impression he'd tried that already. The latest esteam also forces nettle.

Posted: Tue Nov 29, 2016 9:13 pm
by azp
Chewi wrote:
kajzer wrote:I had the same problem, there was some problem in mesa with openssl, after I emerged mesa with

Code: Select all

media-libs/mesa -openssl nettle
that steam error was gone.
I was under the impression he'd tried that already. The latest esteam also forces nettle.
I hadn't run the latest esteam, I ran it a couple of weeks back. I saw that an update @world just wanted to emerge mesa with the nettle useflag, so hopefully the problem will be gone soon!

Edit: It worked wonders, thank you!