To reproduce: load http://diden.net/test/tex.html and move the slider to the right. The renderer reliably crashes at around 60. (That might be because of the hard-coded texture limit of 64MB. The usage reported by the page may not be accurate, though, because of tiling.) Possibly related to TextureManager refactoring? https://bugs.webkit.org/show_bug.cgi?id=64772 The old behavior was just to skip drawing some layers, but that wasn't really ideal either.
It's an assert: ./gpu/command_buffer/client/../client/gles2_implementation_autogen.h(287): GPU_DCHECK(textures[i] != 0 (0)) failed.
Stack?
Created attachment 105029 [details] gdb backtrace Looks like we're just deleting 0? I think that's kosher so maybe the DCHECK isn't needed. No crash in release builds.
Yeah, I've been assuming that deleting texture 0 is safe. It's quite easy to avoid calling deleteTexture() on zero if the underlying stack is unhappy with it, though.
Created attachment 105072 [details] Patch
Turns out we got stricter back in June - http://code.google.com/p/chromium/issues/detail?id=85268
Comment on attachment 105072 [details] Patch Ah, OK. I wasn't aware of that change (or more likely just forgot about it).
Comment on attachment 105072 [details] Patch Clearing flags on attachment: 105072 Committed r93743: <http://trac.webkit.org/changeset/93743>
All reviewed patches have been landed. Closing bug.