Bug 680272

Summary: [Calistoga] x11 seg fault when logging out
Product: [Fedora] Fedora Reporter: Jeff Bastian <jbastian>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 15CC: ajax, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-14 21:50:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Xorg.0.log
none
new Xorg.0.log
none
Xorg.1.log
none
Xorg.2.log
none
Xorg.9.log
none
/var/log/messages
none
dmesg none

Description Jeff Bastian 2011-02-24 21:06:35 UTC
Created attachment 480856 [details]
Xorg.0.log

Description of problem:
While doing the restartx test for the Graphics Test Day, I noticed that X was occasionally crashing with a seg fault when I logged out of gnome.
http://fedoraproject.org/wiki/QA:Testcase_intelvideo_restartx

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
waiting for X server to shut down ** Message: Got disconnected from the session message bus; retrying to reconnect every 10 seconds

(gnome-screensaver:2055): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

0: /usr/bin/X (xorg_backtrace+0x2f) [0x4a120f]
1: /usr/bin/X (0x400000+0x61da6) [0x461da6]
2: /lib64/libc.so.6 (0x3d32600000+0x36300) [0x3d32636300]
3: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f4910d7e000+0x32c8b) [0x7f4910db0c8b]
4: /usr/bin/X (FreeClientResources+0xd5) [0x44bf95]
5: /usr/bin/X (FreeAllResources+0x48) [0x44c048]
6: /usr/bin/X (0x400000+0x2295c) [0x42295c]
7: /lib64/libc.so.6 (__libc_start_main+0xed) [0x3d326212fd]
8: /usr/bin/X (0x400000+0x22c11) [0x422c11]
Segmentation fault at address (nil)

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


Please consult the Fedora Project support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Version-Release number of selected component (if applicable):
xorg-x11-server-Xorg-1.9.99.1-4.20101201.fc15.x86_64

How reproducible:
occasionally

Steps to Reproduce:
1. boot into runlevel 3
2. startx
3. logout

Actual results:
x server seg faults on logout and sometimes prints a backtrace

Expected results:
no seg fault

Additional info:
It doesn't seem to hurt anything since I was logging out anyway...

Comment 1 Matěj Cepl 2011-03-10 13:10:59 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Jeff Bastian 2011-03-18 15:08:13 UTC
Created attachment 486260 [details]
new Xorg.0.log

I don't have an /etc/X11/xorg.conf.  I'll attach the rest of the files.

Here's the latest backtrace left on my console:

(gnome-settings-daemon:1922): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed                                                 
                                                                                
(gnome-settings-daemon:1922): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed                                                 

waiting for X server to shut down ** Message: Got disconnected from the session message bus; retrying to reconnect every 10 seconds

(gnome-screensaver:2046): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


Backtrace:
0: /usr/bin/X (xorg_backtrace+0x2f) [0x4a120f]
1: /usr/bin/X (0x400000+0x61da6) [0x461da6]
2: /lib64/libc.so.6 (0x3d32600000+0x36300) [0x3d32636300]
3: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fcde0ff0000+0x32c8b) [0x7fcde1022c8b]
4: /usr/bin/X (FreeClientResources+0xd5) [0x44bf95]
5: /usr/bin/X (FreeAllResources+0x48) [0x44c048]
6: /usr/bin/X (0x400000+0x2295c) [0x42295c]
7: /lib64/libc.so.6 (__libc_start_main+0xed) [0x3d326212fd]
8: /usr/bin/X (0x400000+0x22c11) [0x422c11]
Segmentation fault at address 0x4

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


Please consult the Fedora Project support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Comment 3 Jeff Bastian 2011-03-18 15:08:55 UTC
Created attachment 486261 [details]
Xorg.1.log

Comment 4 Jeff Bastian 2011-03-18 15:09:21 UTC
Created attachment 486262 [details]
Xorg.2.log

Comment 5 Jeff Bastian 2011-03-18 15:09:50 UTC
Created attachment 486263 [details]
Xorg.9.log

Comment 6 Jeff Bastian 2011-03-18 15:10:30 UTC
Created attachment 486264 [details]
/var/log/messages

Comment 7 Jeff Bastian 2011-03-18 15:11:00 UTC
Created attachment 486265 [details]
dmesg

Comment 8 Adam Jackson 2011-04-14 21:50:07 UTC

*** This bug has been marked as a duplicate of bug 690461 ***