Bug 23612 - [945GM/GMS] Xorg crash when starting directx game in wine
Summary: [945GM/GMS] Xorg crash when starting directx game in wine
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Ian Romanick
QA Contact: Xorg Project Team
Keywords: NEEDINFO
Depends on:
Reported: 2009-08-31 17:03 UTC by Alex Mauer
Modified: 2011-07-10 06:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Xorg.log with crash (956.41 KB, text/plain)
2009-08-31 17:04 UTC, Alex Mauer
no flags Details

Description Alex Mauer 2009-08-31 17:03:26 UTC
Intel 945GM/GMS chipset according to lspci

Ubuntu 9.10 ('Karmic')

X server 1.6.3
intel module 2.8.1
libdrm 2.4.12 (git 20090801.45078630 according to Ubuntu package version)
mesa 7.6.0 (git 20090817.7c422387 according to Ubuntu package version)

Kernel 2.6.31-8, i386

The machine is a Dell Latitude D620; using the built-in LVDS display

The crash happened when I was launching a game (Dungeon Keeper II) using Codeweavers' Crossover Games 8.0.0 beta.  A similar crash happens with standalone wine, and I will also attempt to verify that it's the same exact crash.
Comment 1 Alex Mauer 2009-08-31 17:04:51 UTC
Created attachment 29054 [details]
Xorg.log with crash
Comment 2 Alex Mauer 2009-08-31 17:13:44 UTC
It seems to happen consistently the second time I try to run the game, in both Crossover and regular Wine.
Comment 3 Gordon Jin 2009-09-01 18:09:52 UTC
Is this regression?
Comment 4 Alex Mauer 2009-09-01 19:56:26 UTC
Not sure, as I've only run into the problem in this version (only tried to play the game with this version of the driver)
Comment 5 Ian Romanick 2009-09-16 23:55:10 UTC
The trace isn't exactly the same, but this sounds a lot like bug #23418 (and bug #22946).  Could you test and see of the commit below fixes this problem?

commit 2921a2555d0a76fa649b23c31e3264bbc78b2ff5
Author: Ian Romanick <ian.d.romanick@intel.com>
Date:   Wed Sep 16 07:39:58 2009 -0700

    intel: Deassociated drawables from private context struct in

    The generic DRI infrastructure makes sure that
    and __DRIcontextRec::driReadablePriv are set to NULL after unbinding a
    context.  However, the intel_context structure keeps cached copies of
    these pointers.  If these cached pointers are not NULLed and the
    drawable is actually destroyed after unbinding the context (typically
    by way of glXDestroyWindow), freed memory will be dereferenced in

    This should fix bug #23418.
Comment 6 Chris Wilson 2011-07-10 06:38:18 UTC
I actually recognise that crash as being one that krh fixed for handling failures in DRI2GetBuffers.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.