protonscr

Steam segfaults while starting after kernel and drivers update

steamclosed reviewedNot a bug
ValveSoftware/steam-for-linux#2822 · opened 2013-09-02 by nake90 · updated 2013-11-03 · 3 comments · github
Nnake90 2013-09-02 github

I used to play before using an old 3.2.0 kernel, but since I updated my system to 3.10-2 I get a segmentation fault every time that I try to start steam.

I'm running debian 64 testing using the new NVIDIA 325.15 driver.
I tried reinstalling steam (purged and deleted ~/.steam/ and ~/.local/share/Steam/) and using the default nvidia drivers from the repositories with no luck (304.108).

$ LC_ALL=C steam
Running Steam on debian  64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/nake/.local/share/Steam/steam.sh: line 704: 13443 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /home/nake/.local/share/Steam/bootstrap.tar.xz
Running Steam on debian  64-bit
STEAM_RUNTIME has been set by the user to: /home/nake/.local/share/Steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/nake/.local/share/Steam/steam.sh: line 704: 13531 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

Running steam with STEAM_RUNTIME=1 steam gives the same result.
The backtrace from gdb (DEBUGGER=gdb steam) is:

(gdb) r
Starting program: /home/nake/.local/share/Steam/ubuntu12_32/steam 
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Installing breakpad exception handler for appid(steam)/version(0_client)

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xf7d07d38 in pthread_once ()
   from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#2  0xf748285f in ?? () from /lib/i386-linux-gnu/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I'm starting to think that the problem resides in the NVIDIA drivers but I can't use a lower version because they can't be installed in a 3.10.X kernel due to a bug.

Thanks in advance.

TTele42 2013-09-02 github

nvidia's 319.49 release is also compatible with the 3.10 kernel.

Nnake90 2013-09-02 github

Oh, I didn't know that. Thanks for pointing it up.
However the problem persists after downgrading to 319.49:

$ glxinfo | grep -i nvidia
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL version string: 4.3.0 NVIDIA 319.49
OpenGL shading language version string: 4.30 NVIDIA via Cg compiler
$ steam
Running Steam on debian  64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/nake/.local/share/Steam/steam.sh: línea 704:  4613 Violación de segmento  $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Installing bootstrap /home/nake/.local/share/Steam/bootstrap.tar.xz
Running Steam on debian  64-bit
STEAM_RUNTIME has been set by the user to: /home/nake/.local/share/Steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(0_client)
/home/nake/.local/share/Steam/steam.sh: línea 704:  4701 Violación de segmento  $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"

So I suppose I'll upgrade it again to version 325.15.
(btw, I uninstalled the drivers, installed the new ones AND rebooted to make sure the new (old?) drivers are loaded and used).

Nnake90 2013-11-01 github

Fixed.
The problem was a symbolic link pointing to a wrong library (libGL.so.1) Just removing it made steam use the correct GL library and everything seems to work now.

Nothing extracted yet.