X.org Fails With Segfault After Upgrading Slackware Packages (NVidia)

When I upgraded the x.org packages on my Slackware64 13.37 workstation recently, XWindows failed to start, bombing with a lovely segfault:

/usr/bin/X (xorg_backtrace+0x28) [0x4a02e8]
/usr/bin/X (0x400000+0x60fd9) [0x460fd9]
/lib64/libc.so.6 (0x7f682d403000+0x340b0) [0x7f682d4370b0]
Segmentation fault at address (nil)

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

It occurred to me that the NVidia driver I was using was built against the previous version of x.org. (The change seems to be from xorg-server-1.9.5-x86_64-1.txz to xorg-server-1.9.5-x86_64-2. So, it’s actually a rebuild of the same version: 1.9.5.) Anyway, I decided to reinstall the NVidia driver and see what happened.

From the shell, logged in as root, I ran:

sh NVIDIA-Linux-x86_64-310.44.run

and followed the prompts to reinstall the driver. Once that was done, my XWindows worked fine! Yay!

So, if you’re using the NVidia proprietary driver, you may need to reinstall it after upgrading the Slackware X.org packages.

Hope this is helpful!

Leave a Comment