Bug 766354

Summary: Crash in Xorg server - intel graphics
Product: [Fedora] Fedora Reporter: Kjartan Maraas <kmaraas>
Component: xorg-x11-serverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 14:00:24 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
dmesg output after the crash
none
patch for crash none

Description Kjartan Maraas 2011-12-11 20:49:17 UTC
Description of problem:

I see this crash with selinux enabled. setenforce 0 makes it go away...

0: /usr/bin/Xorg (xorg_backtrace+0x38) [0x80a9c28]
1: /usr/bin/Xorg (0x8048000+0x66bec) [0x80aebec]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xd8340c]
3: /usr/lib/xorg/modules/extensions/librecord.so (0x1a2000+0x2071) [0x1a4071]
4: /usr/bin/Xorg (_CallCallbacks+0x3c) [0x807b35c]
5: /usr/bin/Xorg (WriteToClient+0x273) [0x80ad1c3]
6: /usr/lib/xorg/modules/extensions/libdri2.so (ProcDRI2WaitMSCReply+0x71) [0x1af071]
7: /usr/lib/xorg/modules/extensions/libdri2.so (DRI2WaitMSCComplete+0x74) [0x1ad344]
8: /usr/lib/xorg/modules/drivers/intel_drv.so (0xed9000+0x244db) [0xefd4db]
9: /usr/lib/xorg/modules/drivers/intel_drv.so (0xed9000+0x9a54) [0xee2a54]
10: /usr/lib/libdrm.so.2 (drmHandleEvent+0xd6) [0xc91a86]
11: /usr/lib/xorg/modules/drivers/intel_drv.so (0xed9000+0x9abf) [0xee2abf]
12: /usr/bin/Xorg (WakeupHandler+0x66) [0x807ab86]
13: /usr/bin/Xorg (WaitForSomething+0x1a5) [0x80a6f45]
14: /usr/bin/Xorg (0x8048000+0x2e692) [0x8076692]
15: /usr/bin/Xorg (0x8048000+0x1c44a) [0x806444a]
16: /lib/libc.so.6 (__libc_start_main+0xf3) [0x47fab6b3]
17: /usr/bin/Xorg (0x8048000+0x1c779) [0x8064779]
Segmentation fault at address 0xb6b8c008

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):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Kjartan Maraas 2011-12-11 20:50:52 UTC
From Xorg.0.log.old:

Backtrace:
[  2998.567] 0: /usr/bin/Xorg (xorg_backtrace+0x38) [0x80a9c28]
[  2998.567] 1: /usr/bin/Xorg (0x8048000+0x66bec) [0x80aebec]
[  2998.567] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0x4f740c]
[  2998.567] 3: /usr/lib/xorg/modules/extensions/librecord.so (0x830000+0x2071) [0x832071]
[  2998.567] 4: /usr/bin/Xorg (_CallCallbacks+0x3c) [0x807b35c]
[  2998.567] 5: /usr/bin/Xorg (WriteToClient+0x273) [0x80ad1c3]
[  2998.567] 6: /usr/lib/xorg/modules/extensions/libdri2.so (ProcDRI2WaitMSCReply+0x71) [0x906071]
[  2998.567] 7: /usr/lib/xorg/modules/extensions/libdri2.so (DRI2WaitMSCComplete+0x74) [0x904344]
[  2998.567] 8: /usr/lib/xorg/modules/drivers/intel_drv.so (0x41f000+0x244db) [0x4434db]
[  2998.567] 9: /usr/lib/xorg/modules/drivers/intel_drv.so (0x41f000+0x9a54) [0x428a54]
[  2998.567] 10: /usr/lib/libdrm.so.2 (drmHandleEvent+0xd6) [0xce0a86]
[  2998.567] 11: /usr/lib/xorg/modules/drivers/intel_drv.so (0x41f000+0x9abf) [0x428abf]
[  2998.567] 12: /usr/bin/Xorg (WakeupHandler+0x66) [0x807ab86]
[  2998.567] 13: /usr/bin/Xorg (WaitForSomething+0x1a5) [0x80a6f45]
[  2998.567] 14: /usr/bin/Xorg (0x8048000+0x2e692) [0x8076692]
[  2998.567] 15: /usr/bin/Xorg (0x8048000+0x1c44a) [0x806444a]
[  2998.567] 16: /lib/libc.so.6 (__libc_start_main+0xf3) [0x47fab6b3]
[  2998.567] 17: /usr/bin/Xorg (0x8048000+0x1c779) [0x8064779]
[  2998.567] Segmentation fault at address 0xb6e01008
[  2998.567] 
Fatal server error:
[  2998.567] Caught signal 11 (Segmentation fault). Server aborting
[  2998.567] 
[  2998.567] 
Please consult the Fedora Project support 
	 at http://wiki.x.org
 for help. 
[  2998.567] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2998.567] 
[  2998.577] (II) evdev: Video Bus: Close
[  2998.577] (II) UnloadModule: "evdev"
[  2998.584] (II) evdev: Power Button: Close
[  2998.584] (II) UnloadModule: "evdev"
[  2998.584] (II) evdev: Sleep Button: Close
[  2998.584] (II) UnloadModule: "evdev"
[  2998.586] (II) evdev: HID 413c:8161: Close
[  2998.586] (II) UnloadModule: "evdev"
[  2998.587] (II) evdev: HID 413c:8162: Close
[  2998.587] (II) UnloadModule: "evdev"
[  2998.588] (II) evdev: Integrated_Webcam_2M: Close
[  2998.588] (II) UnloadModule: "evdev"
[  2998.589] (II) evdev: Logitech USB Receiver: Close
[  2998.589] (II) UnloadModule: "evdev"
[  2998.590] (II) evdev: Logitech USB Receiver: Close
[  2998.590] (II) UnloadModule: "evdev"
[  2998.591] (II) evdev: AT Translated Set 2 keyboard: Close
[  2998.591] (II) UnloadModule: "evdev"
[  2998.599] (II) evdev: DualPoint Stick: Close
[  2998.599] (II) UnloadModule: "evdev"
[  2998.601] (II) UnloadModule: "synaptics"
[  2998.602] (II) evdev: Dell WMI hotkeys: Close
[  2998.602] (II) UnloadModule: "evdev"
[  2998.602] (II) AIGLX: Suspending AIGLX clients for VT switch
[  2998.680] Server terminated with error (1). Closing log file.

Comment 2 Kjartan Maraas 2011-12-12 21:46:07 UTC
Possibly a duplicate of bug 739488 or bug 749354

Comment 3 Kjartan Maraas 2011-12-12 21:46:54 UTC
Created attachment 545953 [details]
dmesg output after the crash

dmesg output

Comment 4 Kjartan Maraas 2011-12-12 22:13:34 UTC
ickle and jcristeau in #intel-gfx mentioned this commit as a possible fix for this problem:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=fb22a408c69a84f81905147de9e82cf66ffb6eb2

Comment 5 Kjartan Maraas 2011-12-14 13:56:18 UTC
Created attachment 546746 [details]
patch for crash

Comment 6 Kjartan Maraas 2011-12-14 13:58:31 UTC
The attached patch (slightly massaged to apply cleanly) fixed it for me after building new xserver packages with it.

I've been running for half an hour now without a single crash. This is with selinux enabled and using firefox on webpages with flash etc. Previously this would make the xserver crash within a very short time.

Comment 7 Fedora End Of Life 2013-04-03 18:03:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 8 Fedora End Of Life 2015-01-09 16:54:32 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Fedora End Of Life 2015-02-17 14:00:24 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.