xuxiandi / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Direct3D 9 crash in CQuery::GetData, from ANGLE's glFinish(), from Google MapsGL #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is https://bugzilla.mozilla.org/show_bug.cgi?id=694495

When viewing Google MapsGL in Firefox 10.0a1 (using ANGLE r774) on Windows, 
some people get a crash as described there:

https://bugzilla.mozilla.org/show_bug.cgi?id=694495#c10

More complete debug info there:

https://bugzilla.mozilla.org/attachment.cgi?id=567300

I seem to remember this is not the first time we hit Direct3D 9 crashes from 
ANGLE's glFinish, but I can't find back the existing bug report.

Original issue reported on code.google.com by jacob.be...@gmail.com on 16 Oct 2011 at 6:05

GoogleCodeExporter commented 9 years ago
The glFinish implementation was modified before to be able to deal with 
unsuccessful query creations and lost devices. I've inspected it once more and 
couldn't notice anything that could cause a crash.

The crash appears to happen within the Direct3D runtime itself, and only on 
64-bit builds of Firefox? This might be a driver bug. Is it only occurring with 
the Intel graphics chips?

Original comment by nicolas....@gmail.com on 19 Oct 2011 at 3:33

GoogleCodeExporter commented 9 years ago
Indeed, the crash seems to only occur in 64bit, so it makes sense to believe 
it's a Win64-only bug in the D3D9 runtime.

The bug reporter has a Intel GPU but that's only 1 person so not enough data to 
conclude that it's Intel-specific.

Original comment by jacob.be...@gmail.com on 19 Oct 2011 at 7:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
We've rewritten the glFinish code to use blocking event queries in r807.  This 
is much simpler than our previous approach and will hopefully avoid the driver 
issue.   Please try to repro in r808 or later.

Original comment by dan...@transgaming.com on 26 Oct 2011 at 2:58