[i915] X crashes after gdm login because of xrandr (Jaunty)

Bug #312849 reported by unggnu
6
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
Critical
libxrandr (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Jaunty by Omegamormegil

Bug Description

Binary package hint: libxrandr2

X crashes in the Jaunty Alpha 2 Live CD and yesterdays daily after Gdm login. It works at first if I have removed compiz but afterwards it crashes again with this backtrace. It seems to work fine with vesa driver.

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller [8086:2590] (rev 03)
     Subsystem: Sony Corporation Unknown device [104d:81e2]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03) (prog-if 00 [VGA])
     Subsystem: Sony Corporation Unknown device [104d:81e2]

Revision history for this message
unggnu (unggnu) wrote :
Revision history for this message
unggnu (unggnu) wrote :
Revision history for this message
unggnu (unggnu) wrote :
Revision history for this message
unggnu (unggnu) wrote :

Linux ubuntu-laptop 2.6.28-4-generic #5-Ubuntu SMP Fri Dec 26 22:48:51 UTC 2008 i686 GNU/Linux

Revision history for this message
unggnu (unggnu) wrote :

Last dmesg lines are important I guess.
[ 698.897200] Xorg[4650]: segfault at bf55afe0 ip 080f6511 sp bf55afe0 error 6 in Xorg[8048000+199000]
This message doesn't appear twice I just created the backtrace after the second crash.

Revision history for this message
unggnu (unggnu) wrote :

This time X started without Compiz fine again. After starting the 3D desktop with "compiz --replace" I got this backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7a208d0 (LWP 3874)]
0x080f64e6 in xf86RotateBlockHandler (screenNum=0, blockData=0x0,
    pTimeout=0xbfc09068, pReadmask=0x81f4200)
    at ../../../../hw/xfree86/modes/xf86Rotate.c:283
283 ../../../../hw/xfree86/modes/xf86Rotate.c: No such file or directory.
 in ../../../../hw/xfree86/modes/xf86Rotate.c
(gdb) backtrace full
#0 0x080f64e6 in xf86RotateBlockHandler (screenNum=0, blockData=0x0,
    pTimeout=0xbfc09068, pReadmask=0x81f4200)
    at ../../../../hw/xfree86/modes/xf86Rotate.c:283
 pScreen = (ScreenPtr) Cannot access memory at address 0xbf40afb0

So both seem to be connected. I also got the Xorg.0.log message before Compiz "exaCopyDirty: Pending damage region empty!" and afterwards the usual dmesg output "[ 44.072877] Xorg[3470]: segfault at bf417fc0 ip 080f64e6 sp bf417f90 error 6 in Xorg[8048000+199000]".

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi unggnu,

Please attach the output of `lspci -vvnn` too.

Changed in libxrandr:
status: New → Incomplete
Revision history for this message
unggnu (unggnu) wrote :
Bryce Harrington (bryce)
description: updated
Revision history for this message
unggnu (unggnu) wrote :

Ok, I've posted it upstream. I hope that this will get fixed soon.

Changed in xserver-xorg-video-intel:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
unggnu (unggnu) wrote :

There is already a patch upstream https://bugs.freedesktop.org/attachment.cgi?id=21667 .

Changed in xserver-xorg-video-intel:
status: Unknown → Fix Released
Revision history for this message
unggnu (unggnu) wrote :

I have compiled Jaunty xorg with the patch and it works fine but I guess it should be in newer xorg releases anyway.

Revision history for this message
Omegamormegil (omegamormegil) wrote :

I'm having this problem with intel 915. I can only log in to Jaunty in Failsafe Terminal mode, and trying to adjust the Appearance crashes X. Hopefully the patch will make it's way into Ubuntu soon.

Revision history for this message
Omegamormegil (omegamormegil) wrote :

Patch available upstream.

Changed in libxrandr:
status: Incomplete → Confirmed
Revision history for this message
Omegamormegil (omegamormegil) wrote :

Actually, the latest Jaunty daily works for me now. I'm changing libxrandr back to invalid, as I was probably incorrect in marking it confirmed.

Changed in libxrandr:
status: Confirmed → Invalid
Revision history for this message
unggnu (unggnu) wrote :

I can confirm that this is fixed in Alpha 4 and latest Xorg.

Changed in libxrandr:
status: Invalid → Fix Released
Changed in xserver-xorg-video-intel:
importance: Unknown → Critical
Changed in xserver-xorg-video-intel:
importance: Critical → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.