Closed Bug 1269758 Opened 8 years ago Closed 8 years ago

Assertion failure: GLuint(currentProgram) == mCurrentProgram->mGLName (WebGL: current program doesn't agree with GL state), at WebGLContextDraw.cpp:577

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: cbook, Unassigned)

References

()

Details

(Keywords: assertion, Whiteboard: [gfx-noted])

Steps to reproduce: found via bughunter and reproduced on a win7 debug 

Load 	http://www.pixeljam.com/dsp/

after a while:

Assertion failure: GLuint(currentProgram) == mCurrentProgram->mGLName (WebGL: current program doesn't agree with GL state), at c:/Users/mozilla/debug-builds/mozilla-central/dom/canvas/WebGLContextDraw.cpp:577
#01: mozilla::WebGLContext::DrawElements_check (c:\users\mozilla\debug-builds\mozilla-central\dom\canvas\webglcontextdraw.cpp:395)
#02: mozilla::WebGLContext::DrawElements (c:\users\mozilla\debug-builds\mozilla-central\dom\canvas\webglcontextdraw.cpp:455)
#03: mozilla::dom::WebGLRenderingContextBinding::drawElements (c:\users\mozilla\debug-builds\mozilla-central\firefox-debug\dom\bindings\webglrenderingcontextbinding.cpp:12239)
#04: mozilla::dom::GenericBindingMethod (c:\users\mozilla\debug-builds\mozilla-central\dom\bindings\bindingutils.cpp:2781)
#05: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d7a76]
#06: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0dc5]
#07: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0a66]
#08: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d7960]
#09: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67ec34b]
#10: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6801d23]
#11: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0e60]
#12: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0a66]
#13: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d7960]
#14: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6ddcfd0]
#15: ??? (???:???)
#16: ??? (???:???)
#17: ??? (???:???)
#18: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6de308d]
#19: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6de3a76]
#20: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67ec7b2]
#21: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6801d23]
#22: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0e60]
#23: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0a66]
#24: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d7960]
#25: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6ddcfd0]
#26: ??? (???:???)
#27: ??? (???:???)
#28: ??? (???:???)
#29: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6de308d]
#30: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6de3a76]
#31: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6801c8e]
#32: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0e60]
#33: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0a66]
#34: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d7960]
#35: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6ddcfd0]
#36: ??? (???:???)
#37: ??? (???:???)
#38: ??? (???:???)
#39: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6de308d]
#40: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6de3a76]
#41: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67ec7b2]
#42: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6801d23]
#43: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0e60]
#44: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0a66]
#45: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d787f]
#46: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x66e1aa2]
#47: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d7a76]
#48: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0dc5]
#49: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0a66]
#50: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d7960]
#51: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67ec34b]
#52: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x6801d23]
#53: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0e60]
#54: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67e0a66]
#55: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x67d787f]
#56: ots::ots_vmtx_should_serialise[c:\Users\mozilla\debug-builds\mozilla-central\firefox-debug\dist\bin\xul.dll +0x66e1aa2]
Flags: needinfo?(howareyou322)
Whiteboard: [gfx-noted]
I can't reproduce at win10 with today's build. I will find a win7 machine later.
And I also don't see the crash with 3 win7 machine with toady's build.

My build option:
ac_add_options --enable-debug
ac_add_options --disable-optimize
Tomcat: I couldn't reproduce in automation resubmitting the url this morning. Can you run mozregression and find when this was fixed? Shouldn't take long since it hasn't been that long since the original report. It could also be the case they changed the game which means this would be another example where it would have been good for bughunter to save the page.
Flags: needinfo?(cbook)
Wait for Tomcat's update.
Flags: needinfo?(howareyou322)
can't reproduce anymore, is it possible this was fixed by something else ?
Flags: needinfo?(cbook)
(In reply to Carsten Book [:Tomcat] from comment #5)
> can't reproduce anymore, is it possible this was fixed by something else ?

Yes.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.