steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Segmentation Fault on startup

Open tonyblatt opened this issue 12 years ago • 53 comments

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

tonyblatt avatar Apr 12 '14 02:04 tonyblatt

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.

goosier avatar Apr 12 '14 16:04 goosier

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.

tonyblatt avatar Apr 12 '14 18:04 tonyblatt

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.

goosier avatar Apr 12 '14 18:04 goosier

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

tonyblatt avatar Apr 12 '14 22:04 tonyblatt

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

sigmabeta avatar May 05 '14 14:05 sigmabeta

so this is happening with nvidia cards as well ?

mathieujobin avatar Jul 07 '14 15:07 mathieujobin

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 [email protected] 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 .

tonyblatt avatar Jul 08 '14 23:07 tonyblatt

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.

rblakemesser avatar Nov 17 '14 04:11 rblakemesser

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

nonamedotc avatar Nov 23 '14 21:11 nonamedotc

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

JarrodHenry avatar Jan 03 '15 20:01 JarrodHenry

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.

Esras avatar Jan 04 '15 00:01 Esras

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

richardramirez avatar Jan 04 '15 18:01 richardramirez

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.

JarrodHenry avatar Jan 04 '15 19:01 JarrodHenry

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

richardramirez avatar Jan 04 '15 20:01 richardramirez

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.

eddie-dunn avatar Jan 07 '15 13:01 eddie-dunn

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

richardramirez avatar Jan 07 '15 16:01 richardramirez

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

eddie-dunn avatar Jan 08 '15 12:01 eddie-dunn

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.

Esras avatar Jan 12 '15 01:01 Esras

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?

wolterhv avatar Jan 22 '15 17:01 wolterhv

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.

ZedCode avatar Feb 26 '15 00:02 ZedCode