ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.22k stars 174 forks source link

Segmentation Fault on startup #3248

Closed tonyblatt closed 6 years ago

tonyblatt commented 10 years ago

On a new installation of the steam client (ubuntu 13.10), steam immediately crashed due to a segmentation fault. Output from terminal:

Running Steam on ubuntu 13.10 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0_client) /home/tony/.local/share/Steam/steam.sh: line 755: 21860 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@" mv: cannot stat ‘/home/tony/.steam/registry.vdf’: No such file or directory Installing bootstrap /home/tony/.local/share/Steam/bootstrap.tar.xz Reset complete! Restarting Steam by request... Running Steam on ubuntu 13.10 64-bit STEAM_RUNTIME has been set by the user to: /home/tony/.local/share/Steam/ubuntu12_32/steam-runtime Installing breakpad exception handler for appid(steam)/version(0_client) /home/tony/.local/share/Steam/steam.sh: line 755: 21988 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

I was unable to locate the core dump

dbass81 commented 10 years ago

This is a known problem with the proprietary AMD driver installed. If you want to install Steam, uninstall the AMD driver and use the default open source Radeon driver to install. After Steam is installed and you log into your account, then you can install the proprietary AMD driver and Steam will still work.

tonyblatt commented 10 years ago

I'm running an NVidia GeForce GTX 750 (not an AMD card). I'll work on disabling the NVidia driver to log in. I thought you should know that the issue goes beyond AMD cards.

dbass81 commented 10 years ago

Good to know, thanks. I found the solution to the problem was to install Steam using the open source driver, then after it is installed and working, to install the proprietary driver. I'm not sure whether or not it works for you.

tonyblatt commented 10 years ago

It appears that your solution worked. Thank you for the help.

sigmabeta commented 10 years ago

This issue is happening for me as well, on 14.04 64-bit with proprietary Nvidia drivers. I would really really rather not have to go back to the open-source ones to get Steam to work...

mathieujobin commented 10 years ago

so this is happening with nvidia cards as well ?

tonyblatt commented 10 years ago

I can confirm that I was having this problem and that I was using an NVidia card.

On Mon, Jul 7, 2014 at 11:38 AM, Mathieu Jobin notifications@github.com wrote:

so this is happening with nvidia cards as well ?

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

rblakemesser commented 9 years ago

Also affected with nvidia drivers on ubuntu 14.10:

$ steam
Running Steam on ubuntu 14.10 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1415758987_client)
/home/blake/.steam/steam.sh: line 730: 18501 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
mv: cannot stat ‘/home/blake/.steam/registry.vdf’: No such file or directory
Installing bootstrap /home/blake/.steam/bootstrap.tar.xz
Reset complete!
Restarting Steam by request...
Running Steam on ubuntu 14.10 64-bit
STEAM_RUNTIME has been set by the user to: /home/blake/.steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(1415758987_client)
/home/blake/.steam/steam.sh: line 730: 18624 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

Here's my graphics card. I'm using the proprietary driver-- haven't yet tried uninstalling it, as suggested.

$ lspci -v | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1) (prog-if 00 [VGA controller])
    Kernel driver in use: nvidia

EDIT: OK, I uninstalled the nvidia drivers, couldn't reboot into unity, but got into recovery mode, installed the steam package from recovery mode with dpkg -i steam_latest.deb, reinstalled the nvidia drivers, rebooted, and it's worky. I didn't need to login to steam while booted into my computer with the open source drivers.

nonamedotc commented 9 years ago

I am seeing the same thing with NVIDIA GEFORCE GTX 860M.

JarrodHenry commented 9 years ago

Need to bump this, as I'm seeing it on Fedora 21 with an Nvidia Geforce GTX 660

Esras commented 9 years ago

With the Nvidia 343 driver (installed through the downloadable installer) on Fedora 21 with dual GTX970s, I am getting the following, as well:

$ steam
Running Steam on fedora 21 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/USER/.local/share/Steam/steam.sh: line 730:  5127 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
mv: cannot stat ‘/home/USER/.steam/registry.vdf’: No such file or directory
Installing bootstrap /home/USER/.local/share/Steam/bootstrap.tar.xz
Reset complete!
Restarting Steam by request...
Running Steam on fedora 21 64-bit
STEAM_RUNTIME has been set by the user to: /home/USER/.local/share/Steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/USER/.local/share/Steam/steam.sh: line 730:  5216 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

I might not be able to do anything with Steam with Nouveau, because that produces a "Something went wrong" message on the Gnome login screen and won't let me get past it to a GUI, so I'm betting steam won't start if it can't find X.

richardramirez commented 9 years ago

I am just trying to install Steam on fresh F21 install with nvidia 340.65 drivers:

$ steam 
Running Steam on fedora 21 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/ysy/.local/share/Steam/steam.sh: linia 730:  3760 Naruszenie ochrony pamięci   (zrzut pamięci) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
mv: nie można wykonać stat na „/home/ysy/.steam/registry.vdf”: Nie ma takiego pliku ani katalogu
Installing bootstrap /home/ysy/.local/share/Steam/bootstrap.tar.xz
Reset complete!
Restarting Steam by request...
Running Steam on fedora 21 64-bit
STEAM_RUNTIME has been set by the user to: /home/ysy/.local/share/Steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/ysy/.local/share/Steam/steam.sh: linia 730:  3849 Naruszenie ochrony pamięci   (zrzut pamięci) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

i tried both http://negativo17.org/steam/ and RPMFusion Graphics card is GTS 450

JarrodHenry commented 9 years ago

Okay, there is a workaround for this (for fedora users.) You're going to need to remove your nvidia drivers and jump back to nouveau. Get back into X running nouveau (by removing the nvidia driver AND the nvidia X Server) , and removing the blacklist of the module from /etc/modprobe.d (Just comment it out.) You MAY also have it blacklisted in /etc/sysconfig/grub, check there too.

Once you're back in nouveau, give steam a start up. All you need to do is login to it. Then, reverse the process, put the nvidia drivers back in, and you should be good to go.

Obviously though this is steam bug or an nvidia driver bug, but this will get you moving.

richardramirez commented 9 years ago

I can confirm this walkaround - steam updated itself on nouveau, now its running ok on nvidia drivers

remove your nvidia drivers and jump back to nouveau

eddie-dunn commented 9 years ago

This bug is a showstopper. Many people won't have the werewithal to google around for the workaround solution.

As it affects both AMD and nVidia users, I reckon it should be fixed asap.

richardramirez commented 9 years ago

Not sure how this could be ATI users problem? All users in this thread have nvidia cards and use nvidia binary drivers.

eddie-dunn commented 9 years ago

@richardramirez read the second post in this thread. Also, I encountered this problem with my AMD card, and a friend of mine did as well. Curiously, none of my systems with nVidia cards had this issue.

Esras commented 9 years ago

An update:

With F21 now running the latest kernel update (from 1/11/2015 - 3.17.8-300.fc21.x86_64), Steam was able to start just fine and run its update process. Note that I did have to reinstall the NVidia driver (343.36) for the new kernel as I had originally installed it from their downloaded package.

wolterhv commented 9 years ago

I am following the average advise on the workaround for nvidia: 1) purge nvidia prop. binary drivers, 2) install and select nouveau drivers, 3) reboot, 4) purge steam, reinstall and let update, 5) install nvidia prop. binary drivers and select, 6) reboot, 7) try steam; (I'm on step 4 now.) However, I wonder if its really necessary to uninstall nvidia prop. drivers or moreover purge them; would it not work to just boot into X using nouveau and perform steps 4 and beyond?

UPDATE: Done. However, steam still doesn't launch on my computer. On nouveau it didn't launch because nouveau didn't have OpenGL direct rendering. Now back with nv. prop. drivers, it doesn't launch either. What could I have done wrong?

ZedCode commented 9 years ago

I ran into this issue on Fedora 21 and I had installed the nvidia drivers for my GTX 970m via the script from the nvidia site. This resulted in the same core dumping seen here. I resolved this issue by following the instructions here: http://rpmfusion.org/Howto/nVidia#Uninstall_the_nvidia_driver and ran yum install akmod-nvidia "kernel-devel-uname-r == $(uname -r)".

Once I did this, I rebooted, launched Steam, signed in, then dropped back to the shell and re-ran the script from nvidia. That seemed to work without having to uninstall the nvidia drivers. I couldn't actually launch anything in steam because I only had the 64-bit drivers, but once I re-installed the nvidia drivers it all worked as expected.

wlejon commented 9 years ago

I ran strace on the steam executable (according to the steam.sh script parameters) and found the crash happened in the libnvidia-glcore.so.

Updating to the latest nvidia driver (346.47) solved this problem for me.

kalyanac commented 9 years ago

I am experiencing this with AMD GPUs Using fglrx 14.501 (catalyst 14.12 omega driver).

OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: AMD Radeon HD 7560D OpenGL version string: 4.4.13283 Compatibility Profile Context 14.501.1003

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.10 DISTRIB_CODENAME=utopic DISTRIB_DESCRIPTION="Ubuntu 14.10"

3.16.0-33-generic #44-Ubuntu SMP Thu Mar 12 12:19:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

voidstarr commented 9 years ago

I am running nvidia gtx660 on ubuntu 14.04 with the driver version 346.47 and I am experiencing this issue.

jairuncaloth commented 9 years ago

I'm on Fedora 22 and was using official NVIDIA 349.16 driver and was experiencing this issue. Upgrading to NVIDIA 346.72 resolved this issue for me.

djtm commented 9 years ago

A similar error happens when you restore a backup and symlinks were not properly transfered.

Demiu commented 9 years ago

Using Manjaro Linux. Sadly, this bug has reappeared and steam reinstall, log in and update on noveau drivers now doesn't fix the issue when switching back to propetiary.

wilken commented 9 years ago

This happens for me as well, on an XPS 13 2015 DE edition. I get

/home/morten/.local/share/Steam/steam.sh: line 756: 3011 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

When i try to run the installer.

My graphics card is:

00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller]) Subsystem: Dell Device 0665 Flags: bus master, fast devsel, latency 0, IRQ 47 Memory at f6000000 (64-bit, non-prefetchable) [size=16M] Memory at e0000000 (64-bit, prefetchable) [size=256M] I/O ports at f000 [size=64] Expansion ROM at [disabled] Capabilities: Kernel driver in use: i915

But unfortunately I have no idea what the drivers are, how to uninstall them and how to apply any of th tips in this thread. Has anyone written a step-by-step guide?

triffid commented 9 years ago

I just got hit with this one too, using nvidia-drivers-349.16 and kernel 4.0.5

Can confirm that temporarily switching to another driver, starting steam, then re-enabling nvidia-driver allows me to access my games via steam.

rohit-n commented 9 years ago

Can confirm this issue on Manjaro Linux with proprietary NVIDIA drivers. Switching to nouveau and back does not work - I must stay on nouveau to use Steam.

triffid commented 9 years ago

@rohit-n the procedure that worked for me is this:

1) switch to nouveau 2) start steam 3) switch to nvidia binary driver (keeping steam open) 4) run your favourite games

fritz-net commented 9 years ago

same issue with AMD R9 290 and linux mint 17 3.19.0-22-generic OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: AMD Radeon R9 200 Series OpenGL version string: 4.4.13374 Compatibility Profile Context 13.35.1005

kyng commented 9 years ago

Had the same problem: steam.sh: line 756: 15357 Bus error (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@" Error: Couldn't find bootstrap, it's not safe to reset Steam. Please contact technical support. (Nvidia GT 720 nvidia-drivers 346-96)

Solution @triffid + restart worked for me.

jimmyleith commented 8 years ago

Is there any actual solution to this other than some dodgy workaround? Getting this issues on Nvidia Prop Drivers on a 970 after updating my steam.

rijnswand commented 8 years ago

Is there a real solution to this? I've been running Steam without a problem until yesterday it suddenly decided to stop working.

deathlire commented 8 years ago

You are suffering from the new linux beta bug unfortunately..and I want to warn anyone who removes that beta dir to get steam working again.. It deleted all of my games and had to re-download, of course i haven't looked to see yet if they in fact still will be there when beta works again. But just a heads up. If they want us to have SSE3 or whatever, i'll just go buy the games off the devs. goto #4077

rijnswand commented 8 years ago

Thanks, deathlire! No need to erase the whole package dir, only the file called beta and steam.sh, see the reply here by eriixblaike: http://steamcommunity.com/groups/steamuniverse/discussions/1/490123727975571656/?tscn=1445401628#c490123832541973548

jimmyleith commented 8 years ago

My issue was with the beta client as well. Looked very similar to this issue. If only I read your comment earlier I wouldn't be redownloading all my games .

benletib commented 8 years ago

It's the first time I have pb with the beta client, same pb for me. Thank you guys.

My error msg (in french) :

Running Steam on ubuntu 12.04 64-bit
STEAM_RUNTIME is enabled automatically
/home/benletib/.local/share/Steam/steam.sh : ligne 756 :  3801 Instruction non permise (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
ghost commented 8 years ago

similar here (ati/amd card with open source driver):

iacopodeenosee@ArchBox ~$ steam
/media/Dati/Steam/steam.sh: riga 161: VERSION_ID: variabile non assegnata
/media/Dati/Steam/steam.sh: riga 161: VERSION_ID: variabile non assegnata
Running Steam on arch  64-bit
/media/Dati/Steam/steam.sh: riga 161: VERSION_ID: variabile non assegnata
STEAM_RUNTIME is enabled automatically
/media/Dati/Steam/steam.sh: riga 756: 30681 Istruzione non consentita (core dump creato) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
ghost commented 8 years ago

I get this when I start Steam on Fedora 22:

[alexhultman@localhost ~]$ steam Running Steam on fedora 22 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0) /home/alexhultman/.local/share/Steam/steam.sh: line 756: 2139 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

Edit: Yep it works by uninstalling the NVIDIA driver. You don't need to re-enable nouveau though, llvmpipe is your friend.

ptimatth commented 8 years ago

Hi! I have found the solution on fedora 23 ! I have the NVIDIA official(private) driver you need to execute :

sudo dnf install xorg-x11-drv-nvidia

reboot and reinstall the NVIDIA official(private) driver

4.2.6-300.fc23.x86_64 GNU/Linux Geforce GTX 760.

acornesque commented 8 years ago

@ptimatth Thanks. I have the same specifications (4.2.6-300.fc23, GTX760). After installing xorg-x11-drv-nvidia and restarting, I was able to launch Steam.

I have the latest proprietary NVIDIA drivers, was receiving a similar error as previously reported, and while stracing found it to be failing on libnvidia-glcore.so also.

ZorkMyst commented 8 years ago

Hi, maybe this will be usefully for someone. It's enough to compile official drivers with 32-bit support.

nycjv321 commented 8 years ago

I get a segmentation fault at a different location, are they related?

[user ~]$ steam 
Running Steam on fedora 23 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
/$HOME/.local/share/Steam/steam.sh: line 756: 26680 Segmentation fault      (core dumped)
$STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

My nvidia version is:

[user ~]$ nvidia-xconfig --version
nvidia-xconfig:  version 352.63  (buildmeister@swio-display-x64-rhel04-11)  Sat Nov  7 22:00:19 PST 2015

My system information is:

[user ~]$ uname -a
Linux my_box 4.2.8-300.fc23.x86_64 #1 SMP Tue Dec 15 16:49:06 UTC 2015
 x86_64 x86_64 x86_64 GNU/Linux
suciptoid commented 8 years ago

@ptimatth : Thanks, it's work for me.

also run this sudo dnf install xorg-x11-drv-nvidia-libs.i686 if you get error like this:

libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: Can't open configuration file /home/sucipto/.drirc: No such file or directory.
libGL: Can't open configuration file /home/sucipto/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

Fedora 23 NVIDIA Corporation GF116 [GeForce GTX 550 Ti] Linux fedora-pc 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

pcreech commented 8 years ago

For what it's worth, I ran into this myself, and just resolved it on Fedora 23.

Fedora 23 x86_64 installed nvidia drivers following http://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/ installed steam from http://negativo17.org/steam/

It appears the 32bit nvidia driver isn't installed properly first time around on a new install (due to 32bit libraries not being installed)

All I did, was reinstall the nvidia driver follwing the install guide sections 2.7 - 2.9, and it worked.

LeaPhant commented 8 years ago

@pcreech Thank you! This worked for me.

squareborg commented 8 years ago

@pcreech Yep worked for me too! thanks. I did notice the first time that the 32bit libs failed but though nothing of it.

svenevs commented 8 years ago

Did any of you have trouble connecting to the steam servers? I can connect the first time when it downloads, but then (e.g. if I try and install the beta or just straight restart it) I cannot ever connect. Running Fedora 23 x64, steam launches offline with nvidia drivers installed no problem. Running it from the console I get a large amount of bad ELF descriptors, mix ELF32 and ELF64. I'm trying to decide whether this install should be considered successful and there is a firewall issue of sorts (or router, or many others), or if the installation itself is faulty.

boltronics commented 8 years ago

Woah, I can't believe that actually worked! Just uninstalled fglrx on 14.04, re-installed Steam (in firejail) which worked, re-installed fglrx again... and now Steam starts. Thanks for the tip! Hope Valve can get this bug sorted. Seems to have been around long enough.