Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Latest beta version segfaults on launch #1075

Closed
Tea23 opened this Issue · 50 comments
@Tea23

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.

@scottlu
Owner

Please try running this way:

$ STEAM_RUNTIME=0 steam

And let us know what happens. Thanks.

@slouken slouken was assigned
@Tea23

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.

@scottlu
Owner

Thanks for trying this out quickly.

@TShadwell

This also fixes the problem for me on Arch Linux.

@xpander69

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

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.

@scottlu
Owner

We're working on an update to fix this.

@scottlu
Owner

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

Thanks for the quick report.

@scottlu scottlu closed this
@kevincox

Confirmed working.

@slouken
Owner

Thanks everyone!

@slouken
Owner

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

@slouken slouken reopened this
@Zenitur

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"
$

@TShadwell

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.

@Tea23

slouken: Your workaround seems to have worked for me.

@xpander69

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" "$@"

@AnAkIn1

Still crashing for me.

@kevincox

@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
@kevincox

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?

@RunningDroid

Works for me on an up-to-date Arch64

@xpander69: Do you have lib32-glibc?

@xpander69

i do have lib32-glibc 2.17-2

@kevincox

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.

@xpander69

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

@kevincox

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

pacman -Qsq
@kevincox

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

@xpander69

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.

@kevincox

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.

@kevincox

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).

@xpander69

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

@AnAkIn1

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

@Tea23

@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!!)

@AnAkIn1

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

@slouken
Owner

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

@slouken slouken closed this
@Tea23

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

@slouken
Owner

You're welcome! :)

@ifohancroft

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.

@brootos

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!

@xpander69

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

@kevincox

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).

@kevincox

To fix the systray issue see #1190.

@vixus0

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

@xpander69

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

@vixus0
@xpander69

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

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

@vixus0
@xpander69
@vixus0
@xpander69

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

@vixus0

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.