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

Latest beta version segfaults on launch #1075

Closed
Tea23 opened this issue Jan 31, 2013 · 50 comments
Closed

Latest beta version segfaults on launch #1075

Tea23 opened this issue Jan 31, 2013 · 50 comments
Assignees
Labels
Milestone

Comments

@Tea23
Copy link

Tea23 commented Jan 31, 2013

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
Copy link

scottlu commented Jan 31, 2013

Please try running this way:

$ STEAM_RUNTIME=0 steam

And let us know what happens. Thanks.

@ghost ghost assigned slouken Jan 31, 2013
@Tea23
Copy link
Author

Tea23 commented Jan 31, 2013

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
Copy link

scottlu commented Jan 31, 2013

Thanks for trying this out quickly.

@TShadwell
Copy link

This also fixes the problem for me on Arch Linux.

@xpander69
Copy link

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
Copy link

ghost commented Jan 31, 2013

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
Copy link

scottlu commented Jan 31, 2013

We're working on an update to fix this.

@scottlu
Copy link

scottlu commented Jan 31, 2013

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

Thanks for the quick report.

@scottlu scottlu closed this as completed Jan 31, 2013
@kevincox
Copy link

Confirmed working.

@slouken
Copy link

slouken commented Jan 31, 2013

Thanks everyone!

@slouken
Copy link

slouken commented Jan 31, 2013

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 Jan 31, 2013
@Zenitur
Copy link

Zenitur commented Jan 31, 2013

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
Copy link

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
Copy link
Author

Tea23 commented Jan 31, 2013

slouken: Your workaround seems to have worked for me.

@xpander69
Copy link

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

@AnAkkk
Copy link

AnAkkk commented Jan 31, 2013

Still crashing for me.

@kevincox
Copy link

@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
Copy link

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
Copy link

Works for me on an up-to-date Arch64

@xpander69: Do you have lib32-glibc?

@xpander69
Copy link

i do have lib32-glibc 2.17-2

@kevincox
Copy link

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
Copy link

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

@kevincox
Copy link

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

pacman -Qsq

@xpander69
Copy link

here u go
http://pastebin.com/FcguwrVJ

@kevincox
Copy link

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

@Tea23
Copy link
Author

Tea23 commented Jan 31, 2013

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

@AnAkkk
Copy link

AnAkkk commented Jan 31, 2013

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

@slouken
Copy link

slouken commented Feb 2, 2013

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

@Tea23
Copy link
Author

Tea23 commented Feb 2, 2013

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

@slouken
Copy link

slouken commented Feb 2, 2013

You're welcome! :)

@ifohancroft
Copy link

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
Copy link

brootos commented Feb 4, 2013

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
Copy link

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

@kevincox
Copy link

kevincox commented Feb 4, 2013

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
Copy link

kevincox commented Feb 4, 2013

To fix the systray issue see #1190.

@vixus0
Copy link

vixus0 commented Feb 4, 2013

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

@xpander69
Copy link

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

@vixus0
Copy link

vixus0 commented Feb 4, 2013

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

On 4 February 2013 16:09, xpander69 notifications@github.com 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//issues/1075#issuecomment-13083982.

  • Anshul

@xpander69
Copy link

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
Copy link

vixus0 commented Feb 4, 2013

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 notifications@github.com wrote:

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.


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

  • Anshul

@xpander69
Copy link

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
#1075 (comment).

@vixus0
Copy link

vixus0 commented Feb 4, 2013

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 notifications@github.com 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//issues/1075#issuecomment-13085563.

  • Anshul

@xpander69
Copy link

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

@kevincox
Copy link

kevincox commented Feb 9, 2013

See #1468

@vixus0
Copy link

vixus0 commented Feb 14, 2013

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
Labels
Projects
None yet
Development

No branches or pull requests