Bug 1528

Summary: Xorg segfaults 'randomly'
Product: Fedora Reporter: Mathew Hennessy <rpmfusion>
Component: xorg-x11-drv-nvidia-newestAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED INVALID    
Severity: major CC: egil, s.adam
Priority: P1    
Version: 14   
Hardware: All   
OS: GNU/Linux   
URL: https://jira.skype.com/browse/SCL-747
namespace:
Attachments: X server crash

Description Mathew Hennessy 2010-11-19 22:38:35 CET
Xorg is segfaulting on my workstation after upgrading from FC13 to FC14.  I can trigger it anytime by running a compiled copy of multi-gnome-terminal, but it will also trigger when running other apps at 'random', or various xscreensaver hacks.

Here's some output:
##Xorg.0.log.old
[ 98803.221] (**) Option "xkb_options" "terminate:ctrl_alt_bksp,"
[264355.129] 
Backtrace:
[264355.191] 0: /usr/bin/Xorg (xorg_backtrace+0x39) [0x80c6ea1]
[264355.191] 1: /usr/bin/Xorg (0x8047000+0x4ebb7) [0x8095bb7]
[264355.191] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xa6840c]
[264355.191] 3: /usr/bin/Xorg (doListFontsWithInfo+0xb6) [0x806ca74]
[264355.191] 4: /usr/bin/Xorg (ProcessWorkQueue+0x28) [0x806f93c]
[264355.191] 5: /usr/bin/Xorg (WaitForSomething+0x48) [0x80906c6]
[264355.191] 6: /usr/bin/Xorg (0x8047000+0x2504f) [0x806c04f]
[264355.191] 7: /usr/bin/Xorg (0x8047000+0x1b434) [0x8062434]
[264355.191] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x7fde16]
[264355.191] 9: /usr/bin/Xorg (0x8047000+0x1af61) [0x8061f61]
[264355.191] Segmentation fault at address (nil)
[264355.191] 
Fatal server error:
[264355.191] Caught signal 11 (Segmentation fault). Server aborting
[264355.191] 
[264355.191] 
Please consult the Fedora Project support 
	 at http://wiki.x.org
 for help. 
[264355.202] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[264355.202] 
[264355.269] (II) Power Button: Close
[264355.269] (II) UnloadModule: "evdev"
[264355.270] (II) Power Button: Close
[264355.270] (II) UnloadModule: "evdev"
[264355.271] (II) Venus USB2.0 Camera: Close
[264355.271] (II) UnloadModule: "evdev"
[264355.274] (II) HID 062a:0000: Close
[264355.274] (II) UnloadModule: "evdev"
[264355.274] (II)   USB Keyboard: Close
[264355.275] (II) UnloadModule: "evdev"
[264355.275] (II)   USB Keyboard: Close
[264355.276] (II) UnloadModule: "evdev"


[hennessy@marvin hennessy]$ ldd `which multi-gnome-terminal`
	linux-gate.so.1 =>  (0x00801000)
	libutil.so.1 => /lib/libutil.so.1 (0x00e7d000)
	libglade-gnome.so.0 => /usr/lib/libglade-gnome.so.0 (0x00c92000)
	libglade.so.0 => /usr/lib/libglade.so.0 (0x00f63000)
	libxml.so.1 => /usr/lib/libxml.so.1 (0x00136000)
	libz.so.1 => /lib/libz.so.1 (0x009ec000)
	libgnorba.so.27 => /usr/lib/libgnorba.so.27 (0x00c6b000)
	libORBitCosNaming.so.0 => /usr/lib/libORBitCosNaming.so.0 (0x00c28000)
	libORBit.so.0 => /usr/lib/libORBit.so.0 (0x00bd9000)
	libIIOP.so.0 => /usr/lib/libIIOP.so.0 (0x00bcf000)
	libORBitutil.so.0 => /usr/lib/libORBitutil.so.0 (0x001ae000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x0058c000)
	libgnomeui.so.32 => /usr/lib/libgnomeui.so.32 (0x001b0000)
	libart_lgpl.so.2 => /usr/lib/libart_lgpl.so.2 (0x00c59000)
	libgdk_imlib.so.1 => /usr/lib/libgdk_imlib.so.1 (0x00c33000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x002a7000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x002af000)
	libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x00802000)
	libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x00cba000)
	libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x00c23000)
	libdl.so.2 => /lib/libdl.so.2 (0x00752000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x002c9000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00c7d000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00a2f000)
	libgnome.so.32 => /usr/lib/libgnome.so.32 (0x00ba9000)
	libgnomesupport.so.0 => /usr/lib/libgnomesupport.so.0 (0x00bc7000)
	libesd.so.0 => /usr/lib/libesd.so.0 (0x00b9c000)
	libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x002da000)
	libm.so.6 => /lib/libm.so.6 (0x00302000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x00b6d000)
	libc.so.6 => /lib/libc.so.6 (0x00f7d000)
	libuuid.so.1 => /lib/libuuid.so.1 (0x00de4000)
	/lib/ld-linux.so.2 (0x0043b000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00a0f000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x009cd000)
	libdb.so.2 => /usr/lib/libdb.so.2 (0x0032d000)
	libasound.so.2 => /lib/libasound.so.2 (0x076e8000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00b68000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x0033d000)
	librt.so.1 => /lib/librt.so.1 (0x0068b000)


[root@marvin log]# rpm -qa|grep nvidia
nvidia-xconfig-1.0-5.fc14.i686
kmod-nvidia-2.6.35.6-48.fc14.i686-260.19.12-1.fc14.2.i686
xorg-x11-drv-nvidia-260.19.12-3.fc14.i686
kmod-nvidia-2.6.34.7-61.fc13.i686-260.19.12-1.fc13.1.i686
kmod-nvidia-2.6.34.7-56.fc13.i686-260.19.12-1.fc13.i686
xorg-x11-drv-nvidia-libs-260.19.12-3.fc14.i686
nvidia-settings-1.0-8.fc14.i686
kmod-nvidia-260.19.12-1.fc14.2.i686
akmod-nvidia-260.19.12-1.fc14.1.i686

[root@marvin log]# for x in xorg-x11-server-Xorg xorg-x11-drv-nvidia kmod-nvidia akmod-nvidia; do rpm -qi $x; done
Name        : xorg-x11-server-Xorg         Relocations: (not relocatable)
Version     : 1.9.1                             Vendor: Fedora Project
Release     : 2.fc14                        Build Date: Sun Oct 24 19:23:18 2010
Install Date: Tue Nov 16 13:44:46 2010         Build Host: x86-19.phx2.fedoraproject.org
Group       : User Interface/X              Source RPM: xorg-x11-server-1.9.1-2.fc14.src.rpm
Size        : 3460534                          License: MIT
Signature   : RSA/SHA256, Tue Oct 26 14:13:38 2010, Key ID 421caddb97a1071f
Packager    : Fedora Project
URL         : http://www.x.org
Summary     : Xorg X server
Description :
X.org X11 is an open source implementation of the X Window System.  It
provides the basic low level functionality which full fledged
graphical user interfaces (GUIs) such as GNOME and KDE are designed
upon.
Name        : xorg-x11-drv-nvidia          Relocations: (not relocatable)
Version     : 260.19.12                         Vendor: RPM Fusion
Release     : 3.fc14                        Build Date: Sun Oct 24 17:24:06 2010
Install Date: Tue Nov 16 14:11:25 2010         Build Host: hephaestus.wilsonet.com
Group       : User Interface/X Hardware Support   Source RPM: xorg-x11-drv-nvidia-260.19.12-3.fc14.src.rpm
Size        : 10339035                         License: Redistributable, no modification permitted
Signature   : RSA/SHA256, Tue Oct 26 14:30:45 2010, Key ID 80648b53f09d8368
Packager    : <http://nonfree.rpmfusion.org/>
URL         : http://www.nvidia.com/
Summary     : NVIDIA's proprietary display driver for NVIDIA graphic cards
Description :
This package provides the most recent NVIDIA display driver which allows for
hardware accelerated rendering with NVIDIA chipsets GeForce6 series and newer.
GeForce5 and below are NOT supported by this release.

For the full product support list, please consult the release notes
for driver version 260.19.12.
Name        : kmod-nvidia                  Relocations: (not relocatable)
Version     : 260.19.12                         Vendor: RPM Fusion
Release     : 1.fc14.2                      Build Date: Mon Nov  1 16:14:17 2010
Install Date: Tue Nov 16 14:11:18 2010         Build Host: hephaestus.wilsonet.com
Group       : System Environment/Kernel     Source RPM: nvidia-kmod-260.19.12-1.fc14.2.src.rpm
Size        : 0                                License: Redistributable, no modification permitted
Signature   : RSA/SHA256, Tue Nov  2 04:29:02 2010, Key ID 80648b53f09d8368
Packager    : <http://nonfree.rpmfusion.org/>
URL         : http://www.nvidia.com/
Summary     : Metapackage which tracks in nvidia kernel module for newest kernel
Description :
This is a meta-package without payload which sole purpose is to require the
nvidia kernel module(s) for the newest kernel.
to make sure you get it together with a new kernel.
Name        : akmod-nvidia                 Relocations: (not relocatable)
Version     : 260.19.12                         Vendor: RPM Fusion
Release     : 1.fc14.1                      Build Date: Fri Oct 29 15:51:03 2010
Install Date: Tue Nov 16 14:12:19 2010         Build Host: hephaestus.wilsonet.com
Group       : System Environment/Kernel     Source RPM: nvidia-kmod-260.19.12-1.fc14.1.src.rpm
Size        : 7017580                          License: Redistributable, no modification permitted
Signature   : RSA/SHA256, Sat Oct 30 14:04:35 2010, Key ID 80648b53f09d8368
Packager    : <http://nonfree.rpmfusion.org/>
URL         : http://www.nvidia.com/
Summary     : Akmod package for nvidia kernel module(s)
Description :
This package provides the akmod package for the nvidia kernel modules.
[root@marvin log]# uname -a
Linux marvin.thoughtcrime.com 2.6.35.6-48.fc14.i686 #1 SMP Fri Oct 22 15:34:36 UTC 2010 i686 i686 i386 GNU/Linux
[root@marvin log]# cat /etc/redhat-release 
Fedora release 14 (Laughlin)
Comment 1 Nicolas Chauvet 2010-11-19 22:44:19 CET
Can you give a try on the newest version:
yum update --enablerepo=rpmfusion-nonfree-updates-testing kmod-nvidia\*

Once reboot, can you do a :
yum list extras




Comment 2 Mathew Hennessy 2010-11-19 23:00:44 CET
OK, I installed the testing pkgs and rebooted..  When the system came back up I tried to run multi-gnome-terminal again and got a segfault:

[    97.506] 
Backtrace:
[    97.520] 0: /usr/bin/Xorg (xorg_backtrace+0x39) [0x80c6ea1]
[    97.520] 1: /usr/bin/Xorg (0x8047000+0x4ebb7) [0x8095bb7]
[    97.520] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0x94640c]
[    97.520] 3: /usr/bin/Xorg (doListFontsWithInfo+0xb6) [0x806ca74]
[    97.520] 4: /usr/bin/Xorg (ProcessWorkQueue+0x28) [0x806f93c]
[    97.520] 5: /usr/bin/Xorg (WaitForSomething+0x48) [0x80906c6]
[    97.520] 6: /usr/bin/Xorg (0x8047000+0x2504f) [0x806c04f]
[    97.520] 7: /usr/bin/Xorg (0x8047000+0x1b434) [0x8062434]
[    97.521] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x20ae16]
[    97.521] 9: /usr/bin/Xorg (0x8047000+0x1af61) [0x8061f61]
[    97.521] Segmentation fault at address (nil)
[    97.521] 
Fatal server error:
[    97.521] Caught signal 11 (Segmentation fault). Server aborting
[    97.521] 
[    97.521] 
Please consult the Fedora Project support 
	 at http://wiki.x.org
 for help. 
[    97.521] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    97.521] 

Here's the extras:

[root@marvin etc]# yum list extras
Loaded plugins: refresh-packagekit
Extra Packages
HandBrake-gui.i686                             0.9.4-1.fc12                  @/HandBrake-0.9.4-Fedora_GUI_i686/12           
antlr.i686                                     2.7.7-6.fc12                  @fedora/12                                     
audacity-freeworld.i686                        1.3.12-0.7.beta.fc13          @rpmfusion-free-updates/13                     
brutus-keyring.i686                            0.9.30-3.fc12                 @fedora/12                                     
brutus-keyring-devel.i686                      0.9.30-3.fc12                 @fedora/12                                     
cherokee.i686                                  1.0.6-1.fc13                  @updates/13                                    
dbus-qt.i686                                   0.70-7.fc12                   @anaconda-InstallationRepo-200911081854.i386/12
gecko-mediaplayer.i686                         0.9.9.2-2.fc13                @anaconda-InstallationRepo-201005130056.i386/13
gnome-mplayer.i686                             0.9.9.2-2.fc13                @anaconda-InstallationRepo-201005130056.i386/13
gnome-mplayer-common.i686                      0.9.9.2-2.fc13                @anaconda-InstallationRepo-201005130056.i386/13
ifd-egate.i686                                 0.05-22                       @anaconda-InstallationRepo-200911081854.i386/12
jre.i586                                       1.6.0_20-fcs                  installed                                      
kernel.i686                                    2.6.34.7-56.fc13              @updates/13                                    
kernel.i686                                    2.6.34.7-61.fc13              @updates/13                                    
kernel-devel.i686                              2.6.34.7-56.fc13              @updates/13                                    
kernel-devel.i686                              2.6.34.7-61.fc13              @updates/13                                    
kmod-nvidia.i686                               1:260.19.21-1.fc14            @rpmfusion-nonfree-updates-testing             
kmod-nvidia-2.6.34.7-56.fc13.i686.i686         1:260.19.12-1.fc13            @rpmfusion-nonfree-updates/13                  
kmod-nvidia-2.6.34.7-61.fc13.i686.i686         1:260.19.12-1.fc13.1          @rpmfusion-nonfree-updates/13                  
kmod-nvidia-2.6.35.6-48.fc14.i686.i686         1:260.19.21-1.fc14            @rpmfusion-nonfree-updates-testing             
kudzu.i686                                     1.2.86-2                      @fedora/12                                     
multi-gnome-terminal.i386                      1.6.2-1                       installed                                      
mysql-administrator.i686                       5.0r14-1.fc12                 @fedora/12                                     
mysql-gui-common.i686                          5.0r14-1.fc12                 @fedora/12                                     
mysql-gui-tools.i686                           5.0r14-1.fc12                 @fedora/12                                     
mysql-query-browser.i686                       5.0r14-1.fc12                 @fedora/12                                     
openchange-server.i686                         0.9-2.fc13                    @anaconda-InstallationRepo-201005130056.i386/13
pidgin-knotify.i586                            0.1-7.fc11                    installed                                      
rhpl.i686                                      0.221-2                       @fedora/12                                     
schroedinger.i686                              1.0.10-1.fc13                 @updates/13                                    
skype.i586                                     2.1.0.81-fc10                 @/skype-2.1.0.81-fc10.i586/12                  
socat.i686                                     1.7.1.3-1.fc13                @updates/13                                    
system-config-cluster.noarch                   1.0.53-7                      @fedora/12                                     
system-config-display.i686                     2.2-1.fc12                    @fedora/12                                     
xorg-x11-drv-nvidia.i686                       1:260.19.21-1.fc14            @rpmfusion-nonfree-updates-testing             
xorg-x11-drv-nvidia-libs.i686                  1:260.19.21-1.fc14            @rpmfusion-nonfree-updates-testing         
Comment 3 Nicolas Chauvet 2010-12-05 23:03:01 CET
Can you attach the output of nvidia-bug-report.sh
Comment 4 Nicolas Chauvet 2010-12-14 23:27:41 CET
Invalid is no report of nvidia-bug-report.sh is made either here or on nvnews.net
Please re-open once done.
Comment 5 Egil Kvaleberg 2011-05-20 11:35:49 CEST
Created attachment 630 [details]
X server crash

I have exactly the same problem as described. The full logs are attached.

I can reproduce this with 100% certainty by starting skype, then opening a chat window.
Comment 6 Egil Kvaleberg 2011-05-20 11:37:36 CEST
See attachment, I have exactly the same problem (I believe)
Comment 7 Egil Kvaleberg 2011-05-20 11:39:31 CEST
Link to bug report on skype developer site
Comment 8 Egil Kvaleberg 2011-05-20 11:43:52 CEST
$ rpm -qa |grep nvidia
nvidia-xconfig-1.0-7.fc14.i686
kmod-nvidia-260.19.36-1.fc14.4.i686
kmod-nvidia-2.6.35.9-64.fc14.i686-260.19.29-1.fc14.i686
kmod-nvidia-2.6.35.13-91.fc14.i686-260.19.36-1.fc14.4.i686
kmod-nvidia-2.6.35.10-74.fc14.i686-260.19.36-1.fc14.i686
xorg-x11-drv-nvidia-libs-260.19.36-1.fc14.i686
xorg-x11-drv-nvidia-260.19.36-1.fc14.i686
nvidia-settings-1.0-9.fc14.i686
$ 
Comment 9 Nicolas Chauvet 2011-05-28 19:47:52 CEST
(In reply to comment #5)
> Created an attachment (id=630) [details]
> X server crash
Please create another report for this the problem as it is not related.
Note that I do not reproduce the problem on F14 x86_64 with the current version of skype 2.2beta