Bug 727262

Summary: [Sandybridge] x server get SIGSEGV on startup
Product: [Fedora] Fedora Reporter: Bobby Powers <bobbypowers>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: ajax, gmuench, j, mcepl, notting, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: [cat:crash]
Fixed In Version: xorg-x11-drv-intel-2.15.901-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-22 14:55:43 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
x log none

Description Bobby Powers 2011-08-01 17:14:15 UTC
Created attachment 516180 [details]
x log

Description of problem:
when boot gets to the graphical startup, X crashes (several times), with systemd eventually leaving me with a console login screen.

Version-Release number of selected component (if applicable):
xorg-x11-drv-intel-2.15.0-5.fc15.x86_64
xorg-x11-server-Xorg-1.10.99.1-10.20110510.fc16.x86_64
Linux fina 3.0-0.rc7.git3.1.fc16.x86_64 #1 SMP Fri Jul 15 22:56:12 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux


How reproducible:
always

Steps to Reproduce:
1. power on machine
2.
3.
  
Actual results:
console login

Expected results:
gdm login

Additional info:
I've tried a 3.0-rc7 kernel, as well as a 3.1-rc0 one, same result.  I just updated this machine from f15 to rawhide last night, and on reboot got this behavior.

Comment 1 Matěj Cepl 2011-08-02 10:40:17 UTC
Backtrace:
[    22.390] 0: /usr/bin/Xorg (xorg_backtrace+0x2f) [0x46216f]
[    22.390] 1: /usr/bin/Xorg (0x400000+0x66eb6) [0x466eb6]
[    22.390] 2: /lib64/libpthread.so.0 (0x3632a00000+0xf470) [0x3632a0f470]
[    22.390] 3: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f2894e2b000+0xea09) [0x7f2894e39a09]
[    22.390] 4: /usr/bin/Xorg (AddScreen+0x17f) [0x433ccf]
[    22.390] 5: /usr/bin/Xorg (InitOutput+0x282) [0x47a0e2]
[    22.390] 6: /usr/bin/Xorg (0x400000+0x22b39) [0x422b39]
[    22.390] 7: /lib64/libc.so.6 (__libc_start_main+0xed) [0x363262150d]
[    22.390] 8: /usr/bin/Xorg (0x400000+0x22fe1) [0x422fe1]
[    22.390] Segmentation fault at address 0x18674c

Comment 2 Matěj Cepl 2011-08-02 15:03:49 UTC
In function I830ScreenInit:
(from frame 3: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f2894e2b000+0xea09) [0x7f2894e39a09])
957: 	if (!fbScreenInit(screen, NULL,
958: 			  scrn->virtualX, scrn->virtualY,
959: 			  scrn->xDpi, scrn->yDpi,
960: 			  scrn->displayWidth, scrn->bitsPerPixel))
961: 		return FALSE;
962: 
963: 	if (scrn->bitsPerPixel > 8) {
964: 		/* Fixup RGB ordering */
965: 		visual = screen->visuals + screen->numVisuals;
966: 		while (--visual >= screen->visuals) {
967: >>>>>>> 			if ((visual->class | DynamicClass) == DirectColor) {
968: 				visual->offsetRed = scrn->offset.red;
969: 				visual->offsetGreen = scrn->offset.green;
970: 				visual->offsetBlue = scrn->offset.blue;
971: 				visual->redMask = scrn->mask.red;
972: 				visual->greenMask = scrn->mask.green;
973: 				visual->blueMask = scrn->mask.blue;
974: 			}
975: 		}
976: 	}
977: 


Frame 4: /usr/bin/Xorg (AddScreen+0x17f) [0x433ccf]
	/usr/src/debug/xorg-server-20110510/dix/dispatch.c:3906
	AddScreen
Frame 5: /usr/bin/Xorg (InitOutput+0x282) [0x47a0e2]
	/usr/src/debug/xorg-server-20110510/hw/xfree86/common/xf86Init.c:758
	InitOutput
Frame 6: /usr/bin/Xorg (0x400000+0x22b39) [0x422b39]
	/usr/src/debug/xorg-server-20110510/dix/main.c:208
	main

Comment 3 Bill Nottingham 2011-08-03 00:59:01 UTC
This is fixed by downgrading to xorg-x11-server-Xorg-1.10.3-1.fc15.x86_64.

Comment 4 Bill Nottingham 2011-08-03 17:46:16 UTC
Alternatively, fixed by https://admin.fedoraproject.org/updates/xorg-x11-drv-intel-2.15.901-1.fc16

Comment 5 Fedora Update System 2011-08-03 17:52:03 UTC
xorg-x11-drv-intel-2.15.901-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/xorg-x11-drv-intel-2.15.901-1.fc16

Comment 6 Fedora Update System 2011-08-03 19:13:32 UTC
Package xorg-x11-drv-intel-2.15.901-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xorg-x11-drv-intel-2.15.901-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/xorg-x11-drv-intel-2.15.901-1.fc16
then log in and leave karma (feedback).

Comment 7 Jason Tibbitts 2011-08-04 20:16:37 UTC
Maybe this is just me being dumb, but while trying to track down another problem I pulled the above build (xorg-x11-drv-intel-2.15.901-1.fc16.x86_64) and installed it on an F15 system.  It installed without problems but the server segfaults with a backtrace mostly identical to that in comment 2.  I'm not sure if it's just not expected to work on an F15 system so don't want to leave pointless karma, but due to the similarity of the backtrace I figured I'd report it here.

[    22.058] 0: /usr/bin/X (xorg_backtrace+0x2f) [0x45e7ff]
[    22.058] 1: /usr/bin/X (0x400000+0x62e86) [0x462e86]
[    22.058] 2: /lib64/libpthread.so.0 (0x3c94c00000+0xeeb0) [0x3c94c0eeb0]
[    22.058] 3: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f20ffba3000+0xe549) [0x7f20ffbb1549]
[    22.058] 4: /usr/bin/X (AddScreen+0x17f) [0x42f10f]
[    22.058] 5: /usr/bin/X (InitOutput+0x282) [0x4721e2]
[    22.058] 6: /usr/bin/X (0x400000+0x22c69) [0x422c69]
[    22.059] 7: /lib64/libc.so.6 (__libc_start_main+0xed) [0x3c9402139d]
[    22.059] 8: /usr/bin/X (0x400000+0x23101) [0x423101]
[    22.059] Segmentation fault at address 0x18674e

Comment 8 Jason Tibbitts 2011-08-04 20:55:33 UTC
OK, so it seems that the backtrace goes away if I also update to xorg-x11-server-Xorg-1.10.99.1-10.20110510.fc16.x86_64 (along with various dependencies).  So I guess that backtrace just indicates a server/driver mismatch.

Comment 9 Fedora Update System 2011-08-22 14:55:37 UTC
xorg-x11-drv-intel-2.15.901-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.