xuxiandi / angleproject

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

Crash in glClear on FBO using a texture on which glDeleteTexture has been called (or maybe it's a renderbuffer) #271

Closed GoogleCodeExporter closed 9 years ago

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

STR: In Firefox <= 10 (but not Firefox 11), go to 
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conforma
nce/misc/object-deletion-behaviour.html

Crash: 
https://crash-stats.mozilla.com/report/index/bp-3279784d-6fab-4587-ba78-ec70c211
1206

If I remember correctly, this test is calling glDeleteTexture on a texture 
that's attached to a FBO (so it shouldn't get actually deleted immediately), 
then calls glClear while this FBO is bound.

But maybe I misremember and it's a renderbuffer instead.

Firefox 11 is no longer hitting this crash as we're not actually calling 
glDeleteTexture until the object is not attached anymore (i.e. we're no longer 
relying on the GL to do delayed deletion of objects).

Should affect current ANGLE; at least it affects ANGLE r809 and r885.

Original issue reported on code.google.com by jacob.be...@gmail.com on 19 Dec 2011 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by dan...@transgaming.com on 4 Jan 2012 at 4:49