protonscr

Latest beta version segfaults on launch

steamclosed reviewed
ValveSoftware/steam-for-linux#1075 · opened 2013-01-31 by Tea23 · updated 2014-07-14 · 50 comments · github
TTea23 2013-01-31 github

Having just updated to the latest beta version, Steam now segfaults on launch:

[joe@corbyn ~]$ steam
/home/joe/.local/share/Steam/steam.sh: line 376: 24528 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /home/joe/.local/share/Steam/bootstrap.tar.xz
/home/joe/.local/share/Steam/steam.sh: line 169: 24532 Segmentation fault      (core dumped) tar xf "$STEAMBOOTSTRAPARCHIVE"

My distribution is a fully updated Arch Linux x86_64 with the latest kernel.

Sscottlu 2013-01-31 github

Please try running this way:

$ STEAM_RUNTIME=0 steam

And let us know what happens. Thanks.

TTea23 2013-01-31 github

Running it with STEAM_RUNTIME=0 works, yep.

Interesting. I'm not sure what this new runtime looks like, but it doesn't look too Arch friendly right now, at least.

Sscottlu 2013-01-31 github

Thanks for trying this out quickly.

TTShadwell 2013-01-31 github

This also fixes the problem for me on Arch Linux.

Xxpander69 2013-01-31 github

same here on Arch x64

/home/xpander/.local/share/Steam/steam.sh: line 376: 7772 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /home/xpander/.local/share/Steam/bootstrap.tar.xz
/home/xpander/.local/share/Steam/steam.sh: line 169: 7776 Segmentation fault (core dumped) tar xf "$STEAMBOOTSTRAPARCHIVE"

?ghost 2013-01-31 github

Same on Debian x86:
/home/migbac/.local/share/Steam/steam.sh : ligne 376 : 9034 Erreur de segmentation $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@" Installing bootstrap /home/migbac/.local/share/Steam/bootstrap.tar.xz /home/migbac/.local/share/Steam/steam.sh : ligne 169 : 9037 Erreur de segmentation tar xf "$STEAMBOOTSTRAPARCHIVE"

and STEAM_RUNTIME=0 steam works.

Sscottlu 2013-01-31 github

We're working on an update to fix this.

Sscottlu 2013-01-31 github

Ok, update done. Please select Steam->Check for Steam Client Updates... to get the fix.

Thanks for the quick report.

Kkevincox 2013-01-31 github

Confirmed working.

Sslouken 2013-01-31 github

Thanks everyone!

Sslouken 2013-01-31 github

Can anyone who was experiencing this bug test a new workaround? This should give all the benefits of the steam runtime for systems with compatible libc.

cd ~/steam/root/ubuntu12_32/steam-runtime/amd64
rm -v cat installed/libc6*
cd ../i386
rm -v cat installed/libc6*
STEAM_RUNTIME=1 steam

ZZenitur 2013-01-31 github

Confirm. Gentoo, x86_64

$ LC_ALL=en_EN.UTF-8 SDL_AUDIODRIVER=alsa steam
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_EN.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_EN.UTF-8)
Traceback (most recent call last):
File "/usr/bin/steamdeps", line 309, in
status = main( *sys.argv[1:] )
File "/usr/bin/steamdeps", line 268, in main
process = subprocess.Popen( ['dpkg', '-l'] + list( packages.keys() ), stdout=subprocess.PIPE, stderr=subprocess.PIPE )
File "/usr/lib64/python2.7/subprocess.py", line 679, in init
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1228, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
/data/Steam-linux/steam.sh: line 376: 17391 Segmentation fault $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /data/Steam-linux/bootstrap.tar.xz
/data/Steam-linux/steam.sh: line 169: 17394 Segmentation fault tar xf "$STEAMBOOTSTRAPARCHIVE"
$

TTShadwell 2013-01-31 github

Slouken, I tried to do what you suggested, reading from the thread notifications github sent me in email, and because backticks are code-tags in markdown I ended up running rm -v cat installed/libc6*, which removed the file I should've been cating; how do I get the contents of that file back?

Edit: I just resinstalled steam and it worked, I assume that has the same effect anyway.

Edit: Trying to reinstall games, selecting my old ~/Steam directory (or anywhere else for that matter) reports New steam library folder must be on a filesystem mounted with execute permissions, causing disk space available to be 0MB.

TTea23 2013-01-31 github

slouken: Your workaround seems to have worked for me.

Xxpander69 2013-01-31 github

Soluken's workaround doesnt seem to work for me on Arch x86_64 with all the upgrades done

getting now:

STEAM_RUNTIME is enabled by the user
./steam.sh: line 403: 32345 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /home/xpander/.local/share/Steam/bootstrap.tar.xz
Installing breakpad exception handler for appid(steam)/version(1359600063_client)
Installing breakpad exception handler for appid(steam)/version(1359600063_client)
Installing breakpad exception handler for appid(steam)/version(1359600063_client)
Installing breakpad exception handler for appid(steam)/version(1359600063_client)
STEAM_RUNTIME is enabled by the user
/home/xpander/.local/share/Steam/steam.sh: line 403: 32452 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

AAnAkkk 2013-01-31 github

Still crashing for me.

Kkevincox 2013-01-31 github

@slouken I think these are the commands he wants run:

cd ~/steam/root/ubuntu12_32/steam-runtime/amd64
rm -v `cat installed/libc6*`
cd ../i386
rm -v `cat installed/libc6*`
STEAM_RUNTIME=1 steam
Kkevincox 2013-01-31 github

Works for me on arch 64 up-to-date.

If you don't mind, what is this runtime? Is it using the system libraries rather than a version that steam has downloaded for itself?

RRunningDroid 2013-01-31 github

Works for me on an up-to-date Arch64

@xpander69: Do you have lib32-glibc?

Xxpander69 2013-01-31 github

i do have lib32-glibc 2.17-2

Kkevincox 2013-01-31 github

Same version I have. Do you want to post a pastebin of pacman -Ssq. I want to see if I have any relevant packages that you don't.

Xxpander69 2013-01-31 github

thats a huge list of packages i have installed :)
http://pastebin.com/hXdt5BJ2

Kkevincox 2013-01-31 github

Oops, I'm stupid and typed the wrong command. That was all packages in your repos. Try this one.

pacman -Qsq
Xxpander69 2013-01-31 github
Kkevincox 2013-01-31 github

Here are the packages that I have that you don't. I'm just going to take a look and see if any are important.

http://pastebin.com/Egiw1UDk

Xxpander69 2013-01-31 github

just to make sure we dont talk about different issues.
im trying to run it with STEAM_RUNTIME=1
by default it sets to RUNTIME=0 now and that runs.

i installed lib32-libindicator which i was missing since it was from aur..but that didnt fix it.

Kkevincox 2013-01-31 github

If I remember correctly I saw these two packages related to steam. I think they were optional though.

lib32-libdbusmenu
lib32-libdbusmenu-gtk2

I don't know, but these may be important. Not lib32 though so I wouldn't expect them to matter.

sdl_gfx
sdl_mixer
sdl_net

Also, I noticed that you are using the beta nvidia drivers. I updated today and the 313 series are in the repos now. I doubt that would matter though.

Kkevincox 2013-01-31 github

Yeah, I am talking about that. I don't think I can help you any more. You will need to wait for someone who knows how steam works (aka Valve).

Xxpander69 2013-01-31 github

ok tried with all those installed, still no go.
and yeah i do have beta drivers since back when i installed the 313 wasnt in repos yet.
but i doubt thats the cause...

but thanks for trying..i wish i could backtrace the problem but i get just:

edit2: cannot debug when STEAM_RUNTIME=1
http://pastebin.com/EYsMs3p0

AAnAkkk 2013-01-31 github

By default it is still set to STEAM_RUNTIME=1 for me, I can't start Steam unless I set it to 0 myself.

TTea23 2013-01-31 github

@AnAkIn1 One workaround you can do for this is to add export STEAM_RUNTIME=0 to the top of /usr/bin/steam (obviously after the crunchbang!!)

AAnAkkk 2013-01-31 github

I know, I'm just wondering why Steam starts with STEAM_RUNTIME=0 for some people and it's still 1 for me.

Sslouken 2013-02-02 github

This should be fixed in the latest update. Please let me know if that's not the case.

TTea23 2013-02-02 github

Yep looks like it's working now. Thanks very much slouken!

Sslouken 2013-02-02 github

You're welcome! :)

Iifohancroft 2013-02-03 github

I have a fresh install of Fedora 18 x86_64 and that doesn't fix it for me (but I also have problems with wine running any games or windows steam so the problem maybe be in me):

$ steam
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/Acidcore/.local/share/Steam/steam.sh: line 337: 2316 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /home/Acidcore/.local/share/Steam/bootstrap.tar.xz
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/Acidcore/.local/share/Steam/steam.sh: line 337: 2364 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

$ STEAM_RUNTIME=0 steam
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/Acidcore/.local/share/Steam/steam.sh: line 337: 2413 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /home/Acidcore/.local/share/Steam/bootstrap.tar.xz
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/Acidcore/.local/share/Steam/steam.sh: line 337: 2461 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

P.S. Steam is latest (just downloaded from steampowered.com)

P.S. I solved the problem. It was a few hours old installation of the distro so I had nothing to lose if I re-install it so I did and now everything works fine. What I did different though: I didn't install the nvidia drivers right away. First I installed everything else on my system and steam and wine and other games then tried if they are running (they were) and then installed the driver. So I guess by not installing the driver right away I got some mesa package installed that I was missing previously or something.

Bbrootos 2013-02-04 github

Linux linuxlife 3.8.0-1-generic #5-Ubuntu SMP Fri Jan 18 15:23:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

ubuntu 13.04 x64 (not relise, dealy build)

brootos@linuxlife:~$ steam
Running Steam on ubuntu 13.04
STEAM_RUNTIME is enabled automatically on ubuntu
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
Installing breakpad exception handler for appid(steam)/version(1359765526_client)
unlinked 0 orphaned pipes
removing stale semaphore last operated on by process 14750 with name 0eBlobRegistryMutex_85D64A73FC985A5856A3E900C9F668C7
removing stale semaphore last operated on by process 14750 with name 0eBlobRegistrySignal_85D64A73FC985A5856A3E900C9F668C7
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20130204155544_1.dmp
success = yes
response: CrashID=bp-6403cf27-ccaa-47c1-b05f-161422130204
/home/brotoos/Steam/steam.sh: строка 443: 14931 Ошибка сегментирования $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

run it with STEAM_RUNTIME=1 and STEAM_RUNTIME=1 not work me. See up.

Update:

Fix

remove folders and steam

sudo apt-get purge steam
sudo apt-get purge steam*

remove folders

.steam
Steam

install steam

wget -c http://repo.steampowered.com/steam/archive/precise/steam_latest.deb
sudo dpkg -i steam_latest.deb
sudo apt-get -f install

Steam work!

Xxpander69 2013-02-04 github

it now works fine on Arch x64
and even try icon shows up (tho default icon, not the steam one)

Kkevincox 2013-02-04 github

I don't get the steam icon either. I thought it was just me. (There is steam in the systray but not the steam logo).

Kkevincox 2013-02-04 github

To fix the systray issue see #1190.

Vvixus0 2013-02-04 github

@xpander69: Is that after a Steam update or by reinstalling?

Xxpander69 2013-02-04 github

no reinstall. just the latest update, which came yesterday i think or day before that

Vvixus0 2013-02-04 github

ok, because the update I performed day before was what broke Steam for me.

On 4 February 2013 16:09, xpander69 [email protected] wrote:

no reinstall. just the latest update, which came yesterday i think or day
before that


Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/steam-for-linux/issues/1075#issuecomment-13083982.

  • Anshul
Xxpander69 2013-02-04 github

1st of Feb update it seems
https://dl.dropbox.com/u/28788188/Screenshot from 2013-02-04 18%3A17%3A44.png

its now STEAM_RUNTIME=1 by default on arch as well.

Vvixus0 2013-02-04 github

Is that the one that got the overlay working? That's when I started getting
crashes in-game on my nvidia GPU (nothing to do with the overlay) and
couldn't even get Steam started on the Intel GPU.

On 4 February 2013 16:20, xpander69 [email protected] wrote:

1st of Feb update it seems

https://dl.dropbox.com/u/28788188/Screenshot from 2013-02-04 18%3A17%3A44.png

its now STEAM_RUNTIME=1 by default on arch as well.


Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/steam-for-linux/issues/1075#issuecomment-13084550.

  • Anshul
Xxpander69 2013-02-04 github

hmm, overlay worked all the time for me afaik. except few games.
so i dont really know. i think the update was to fix the RUNTIME=1 issue
on some distros.
it defaulted to RUNTIME=0 before that on non-ubuntu distros.

On 02/04/2013 06:34 PM, vixus0 wrote:

Is that the one that got the overlay working? That's when I started
getting
crashes in-game on my nvidia GPU (nothing to do with the overlay) and
couldn't even get Steam started on the Intel GPU.

Reply to this email directly or view it on GitHub
https://github.com/ValveSoftware/steam-for-linux/issues/1075#issuecomment-13085371.

Vvixus0 2013-02-04 github

ok, guess it won't fix my crashes then. shame, i'll have to keep playing on
wine.. :(

On 4 February 2013 16:38, xpander69 [email protected] wrote:

hmm, overlay worked all the time for me afaik. except few games.
so i dont really know. i think the update was to fix the RUNTIME=1 issue
on some distros.
it defaulted to RUNTIME=0 before that on non-ubuntu distros.

On 02/04/2013 06:34 PM, vixus0 wrote:

Is that the one that got the overlay working? That's when I started
getting
crashes in-game on my nvidia GPU (nothing to do with the overlay) and
couldn't even get Steam started on the Intel GPU.

Reply to this email directly or view it on GitHub
<
https://github.com/ValveSoftware/steam-for-linux/issues/1075#issuecomment-13085371>.


Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/steam-for-linux/issues/1075#issuecomment-13085563.

  • Anshul
Xxpander69 2013-02-09 github

ok the bug is back again. STEAM_RUNTIME=1 doesnt run anymore and segfaults.
after todays update

Kkevincox 2013-02-09 github

See #1468

Vvixus0 2013-02-14 github

Just to say, this update never broke steam for me. I had applied the first steam-runtime-update.sh patch however.

Arch 64-bit: 3.7.6-1-ARCH #1 SMP PREEMPT Mon Feb 4 09:15:13 CET 2013 x86_64 GNU/Linux

Launch options

Upstream links