X crash in xf86ModesEqual on gnome-session start

Bug #253021 reported by James Westby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Hi,

This started occuring sometime in the last week. (Today was the first
session restart in that time).

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

using the intel driver leads to the following backtrace:

#0 0x080efcac in xf86ModesEqual (pMode1=0x9fcf478, pMode2=0xb8) at ../../../../hw/xfree86/modes/xf86Modes.c:269
No locals.
#1 0x080e97a3 in xf86SetScrnInfoModes (scrn=0x9cb1d60) at ../../../../hw/xfree86/modes/xf86Crtc.c:1709
    config = (xf86CrtcConfigPtr) 0x9cb4538
    output = (xf86OutputPtr) 0x9cb5218
    crtc = <value optimized out>
    last = (DisplayModePtr) 0xb8
    mode = (DisplayModePtr) 0x9fcf478
#2 0x080f1a78 in xf86RandR12GetInfo12 (pScreen=0x9cbe640, rotations=0xbfd640ca) at ../../../../hw/xfree86/modes/xf86RandR12.c:1012
    pScrn = (ScrnInfoPtr) 0x9cb1d60
#3 0x0816d6c9 in RRGetInfo (pScreen=0x9cbe640) at ../../randr/rrinfo.c:196
    pScrPriv = (rrScrPrivPtr) 0x9cc2210
    rotations = 0
    i = 167572600
#4 0x081719dc in ProcRRGetScreenResources (client=0x9cc1940) at ../../randr/rrscreen.c:345

(full backtrace attached).

I get gdm fine, but this occurs when starting gnome-session. Failsafe GNOME also fails, but failsafe
terminal works. If I start gnome-session from failsafe terminal then I get the crash, but I can
start e.g. compiz without problems. Reproducible with no xorg.conf as well.

Running up-to-date Intrepid, specific versions of a few packages:

ii xserver-xorg 1:7.4~0ubuntu2 the X.Org X server
ii xserver-xorg-core 2:1.4.99.905-0ubuntu4 Xorg X server - core server
ii xserver-xorg-video-intel 2:2.3.2-2ubuntu3 X.Org X server -- Intel i8xx, i9xx display d
ii libxrandr2 2:1.2.2-2 X11 RandR extension library
ii libglu1-mesa 7.1~rc3-1ubuntu1 The OpenGL utility library (GLU)
ii libgl1-mesa-dri 7.1~rc3-1ubuntu1 A free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-glx 7.1~rc3-1ubuntu1 A free implementation of the OpenGL API -- GLX runtime

Please let me know any more information that I can provide.

Thanks,

James

Related branches

Revision history for this message
James Westby (james-w) wrote :
Revision history for this message
James Westby (james-w) wrote :

xorg.conf. Driver changed to vesa to get working X, but "intel" when crashes.
Crash is reproducible with no xorg.conf.

Revision history for this message
James Westby (james-w) wrote :

Xorg.0.log.old showing the crash.

Revision history for this message
James Westby (james-w) wrote :

Xorg.0.log from a succesful start with vesa.

Revision history for this message
James Westby (james-w) wrote :

Hi,

Here's the .xsession-errors from a failure.

There was no change when I disabled the g-s-d xrandr
plugin.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

bug 247003 has some similarities to this one.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

Keywork googling shows that 1771edcb44b564f83f509748b4e4cd5b7586e2a8
may be relevant.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

Bingo, applying that commit fixes the crash and I am able to login.

Thanks,

James

Changed in xserver-xorg-video-intel:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
James Westby (james-w) wrote :

Hi,

This fix is apparently in xorg-server-1.4.99.906, but not 905.

Thanks,

James

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.4.99.906-1ubuntu1

---------------
xorg-server (2:1.4.99.906-1ubuntu1) intrepid; urgency=low

  * Merge with debian experimental, 1.5RC6 (LP: #247120, #253021)
  * Drop 120_fedora_xserver-xaa-evict-pixmaps.patch, because offscreen
    pixmaps are already disabled by default.
  * Drop 124_fix_randr_no_crtc.patch, fixed upstream.
  * Add 130_fedora_call_switchcorekeyboard.patch, a hack to fix fd.o bug
    #16364. Breaks if the first hotplugged keyboard is not the wanted
    keyboard.
  * Patches from upstream master:
    131_remove_open-coded_strcasestr.patch
    - pre-requisite for the rest
    132_add_parsing_for_xkb.options.patch
    - parsing xkb.options didn't work (fd.o #16874)
    133_support_strlist_for_xkboptions.patch
    - allow using a list for xkb.options like before.
    134_protect_against_out_of_bounds.patch
    - protect against potential out-of-bounds indexing.

xorg-server (2:1.4.99.906-1) experimental; urgency=low

  * debian/rules: drop useless handling of nostrip in DEB_BUILD_OPTIONS (this
    is taken care of by dh_strip); make the rules files and xsfbs.mk
    parallel-safe, and enable parallel=n using example code from Debian
    Policy.
  * debian/rules: put the source package name and version in builderstring
    instead of osvendor, add builder email as well; don't explicitly set
    osname, configure sets it to $(uname -srm) by default.
  * New upstream release candidate.
    - fixes 64-bit Xephyr (closes: #491569)
    - work around the DIX losing physical monitor dimensions for randr 1.1
      drivers, in particular nvidia (closes: #488987)
    - make sure RANDR reports refresh as 0 if pixel clock is 0 (closes:
      #490258)
    - doesn't try to load dri2 when it's not built (closes: #491651)
  * Switch to running autoreconf at build time, and build-depend on automake,
    libtool and xutils-dev.
  * Reformat the SGI Free Software License B, to shut up over 1000 lintian
    warnings.

 -- Timo Aaltonen <email address hidden> Tue, 05 Aug 2008 01:49:42 +0300

Changed in xorg-server:
status: Triaged → Fix Released
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.