Bug 19717 - Crash when playing warcraft on wine because of assertion
Summary: Crash when playing warcraft on wine because of assertion
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: 7.2
Hardware: Other All
: medium blocker
Assignee: Ian Romanick
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 07:19 UTC by Diego Escalante Urrelo
Modified: 2009-06-08 16:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Diego Escalante Urrelo 2009-01-24 07:19:15 UTC
While playing warcraft III on wine (or virtualbox), I frequently get a crash on this assertion (get_dirty(state) == 0):

--- mesa-7.2.orig/src/mesa/drivers/dri/i915/i830_vtbl.c
+++ mesa-7.2/src/mesa/drivers/dri/i915/i830_vtbl.c
@@ -551,8 +551,8 @@
    }
 
    intel->batch->dirty_state &= ~dirty;
-   assert(get_dirty(state) == 0);
-   assert((intel->batch->dirty_state & (1<<1)) == 0);
+   //assert(get_dirty(state) == 0);
+   //assert((intel->batch->dirty_state & (1<<1)) == 0);
 }

Commenting the asserts works fine for me, nothing weird happens so far, so I guess either the state believes it's 0 when it isn't.
Anyway, the problem is an ugly crasher, commenting the lines fixes it, of course I'm sure there's a better fix, but that's as far as I got.
Comment 1 Diego Escalante Urrelo 2009-06-08 16:24:43 UTC
Closing since with 7.3 this is no longer valid, will reopen if I see it again.


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.