Open Bug 1609763 Opened 4 years ago Updated 2 years ago

Assertion failure: [GFX1]: mBindFailureGuard failure: Generating error <enum 0x0502>: WebGL warning: endQuery: Query target not active., at /builds/worker/workspace/build/src/gfx/2d/Logging.h:746

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

Unspecified
Linux
defect

Tracking

()

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase.html

Testcase found while fuzzing mozilla-central rev 7e0886a94d70.

[GFX1]: mBindFailureGuard failure: Generating error <enum 0x0502>: WebGL warning: endQuery: Query target not active.
[GFX1]: mBindFailureGuard failure: Early exit from endQuery

rax = 0x000055c4b58a4320   rdx = 0x0000000000000000
rcx = 0x00007f6fdc6b5ab6   rbx = 0x00007fff23b07308
rsi = 0x00007f6fe848b8b0   rdi = 0x00007f6fe848a680
rbp = 0x00007fff23b07280   rsp = 0x00007fff23b07280
r8 = 0x00007f6fe848b8b0    r9 = 0x00007f6fe95e5780
r10 = 0x0000000000000000   r11 = 0x0000000000000000
r12 = 0x00007fff23b07298   r13 = 0x00007fff23b07300
r14 = 0x00007fff23b07320   r15 = 0x0000000000000502
rip = 0x00007f6fd668805f
OS|Linux|0.0.0 Linux 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64
CPU|amd64|family 6 model 158 stepping 10|8
GPU|||
Crash|SIGSEGV /SEGV_MAPERR|0x0|0
0|0|libxul.so|mozilla::gfx::Log<1, mozilla::gfx::CriticalLogger>::WriteLog(std::string const&)|hg:hg.mozilla.org/mozilla-central:gfx/2d/Logging.h:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|747|0x29
0|1|libxul.so|mozilla::gfx::Log<1, mozilla::gfx::CriticalLogger>::~Log()|hg:hg.mozilla.org/mozilla-central:gfx/2d/Logging.h:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|272|0x7d
0|2|libxul.so|mozilla::WebGLContext::GenerateErrorImpl(unsigned int, std::string const&) const|hg:hg.mozilla.org/mozilla-central:dom/canvas/WebGLContext.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|1992|0x8
0|3|libxul.so|mozilla::WebGLContext::GenerateErrorImpl(unsigned int, nsTSubstring<char> const&) const|hg:hg.mozilla.org/mozilla-central:dom/canvas/WebGLContext.h:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|427|0x13
0|4|libxul.so|void mozilla::WebGLContext::GenerateError<>(unsigned int, char const*) const|hg:hg.mozilla.org/mozilla-central:dom/canvas/WebGLContext.h:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|448|0xe
0|5|libxul.so|mozilla::WebGLContext::EndQuery(unsigned int)|hg:hg.mozilla.org/mozilla-central:dom/canvas/WebGL2ContextQueries.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|95|0x1c
0|6|libxul.so|mozilla::ClientWebGLContext::EndQuery(unsigned int)|hg:hg.mozilla.org/mozilla-central:dom/canvas/ClientWebGLContext.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|3932|0x35
0|7|libxul.so|mozilla::ClientWebGLContext::DeleteQuery(mozilla::WebGLQueryJS*)|hg:hg.mozilla.org/mozilla-central:dom/canvas/ClientWebGLContext.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|1186|0xb
0|8|libxul.so|mozilla::dom::WebGL2RenderingContext_Binding::deleteQuery|s3:gecko-generated-sources:e28296de29debe4db0f0ee3b0da58afb8c070c08aa618cb76645c6f0b581015a0cc1df4f3276a61e178a58853794b38856a094bf0fa3fd5e33a48942eec870c0/dom/bindings/WebGL2RenderingContextBinding.cpp:|7724|0xd
0|9|libxul.so|bool mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*)|hg:hg.mozilla.org/mozilla-central:dom/bindings/BindingUtils.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|3151|0x21
0|10|libxul.so|CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|452|0x19
0|11|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|544|0x12
0|12|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|608|0x10
0|13|libxul.so|Interpret|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|612|0x18
0|14|libxul.so|js::RunScript(JSContext*, js::RunState&)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|388|0xfe
0|15|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|580|0xf
0|16|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|608|0x10
0|17|libxul.so|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|625|0x8
0|18|libxul.so|JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)|hg:hg.mozilla.org/mozilla-central:js/src/jsapi.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|2787|0x1f
0|19|libxul.so|mozilla::dom::EventListener::HandleEvent(JSContext*, JS::Handle<JS::Value>, mozilla::dom::Event&, mozilla::ErrorResult&)|s3:gecko-generated-sources:9ca8646d8042e9b4b76d2e1b358b984be17743b71b832c0897d61bb500e0fecbe38fa54273dc522878c87fcb2c9bfd274a8190c7bc56fbbb58cb3ca68462e527/dom/bindings/EventListenerBinding.cpp:|52|0x5
0|20|libxul.so|mozilla::EventListenerManager::HandleEventSubType(mozilla::EventListenerManager::Listener*, mozilla::dom::Event*, mozilla::dom::EventTarget*)|s3:gecko-generated-sources:f3d9c01258576daaac3afc4fb3b283652e7f1168abb5287eff6775451ebd0ab6a0e4c8d88d3a67f7147042501bc091c6dfed25b4b8ccf4e4f420897b8d0ba906/dist/include/mozilla/dom/EventListenerBinding.h:|66|0x1c
0|21|libxul.so|mozilla::EventListenerManager::HandleEventInternal(nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event**, mozilla::dom::EventTarget*, nsEventStatus*, bool)|hg:hg.mozilla.org/mozilla-central:dom/events/EventListenerManager.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|1271|0x1c
0|22|libxul.so|mozilla::EventTargetChainItem::HandleEvent(mozilla::EventChainPostVisitor&, mozilla::ELMCreationDetector&)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|326|0x6b
0|23|libxul.so|mozilla::EventTargetChainItem::HandleEventTargetChain(nsTArray<mozilla::EventTargetChainItem>&, mozilla::EventChainPostVisitor&, mozilla::EventDispatchingCallback*, mozilla::ELMCreationDetector&)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|558|0x12
0|24|libxul.so|mozilla::EventDispatcher::Dispatch(nsISupports*, nsPresContext*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsEventStatus*, mozilla::EventDispatchingCallback*, nsTArray<mozilla::dom::EventTarget*>*)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|1056|0x1a
0|25|libxul.so|mozilla::EventDispatcher::DispatchDOMEvent(nsISupports*, mozilla::WidgetEvent*, mozilla::dom::Event*, nsPresContext*, nsEventStatus*)|hg:hg.mozilla.org/mozilla-central:dom/events/EventDispatcher.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|1161|0x16
0|26|libxul.so|nsINode::DispatchEvent(mozilla::dom::Event&, mozilla::dom::CallerType, mozilla::ErrorResult&)|hg:hg.mozilla.org/mozilla-central:dom/base/nsINode.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|1119|0x5
0|27|libxul.so|nsContentUtils::DispatchEvent(mozilla::dom::Document*, nsISupports*, nsTSubstring<char16_t> const&, mozilla::CanBubble, mozilla::Cancelable, mozilla::Composed, mozilla::Trusted, bool*, mozilla::ChromeOnlyDispatch)|hg:hg.mozilla.org/mozilla-central:dom/base/nsContentUtils.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|4095|0x2a
0|28|libxul.so|nsContentUtils::DispatchTrustedEvent(mozilla::dom::Document*, nsISupports*, nsTSubstring<char16_t> const&, mozilla::CanBubble, mozilla::Cancelable, mozilla::Composed, bool*)|hg:hg.mozilla.org/mozilla-central:dom/base/nsContentUtils.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|4065|0x21
0|29|libxul.so|mozilla::dom::Document::DispatchContentLoadedEvents()|hg:hg.mozilla.org/mozilla-central:dom/base/Document.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|7202|0x5
0|30|libxul.so|mozilla::detail::RunnableMethodImpl<mozilla::dom::Document*, void (mozilla::dom::Document::*)(), true, (mozilla::RunnableKind)0>::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.h:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|1216|0x5
0|31|libxul.so|mozilla::SchedulerGroup::Runnable::Run()|hg:hg.mozilla.org/mozilla-central:xpcom/threads/SchedulerGroup.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|282|0x14
0|32|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|1220|0xe
0|33|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|486|0x11
0|34|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|87|0xa
0|35|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|315|0x19
0|36|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|290|0x8
0|37|libxul.so|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|137|0xd
0|38|libxul.so|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|945|0x6
0|39|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|237|0x5
0|40|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|315|0x19
0|41|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|290|0x8
0|42|libxul.so|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|780|0x8
0|43|firefox-bin|content_process_main(mozilla::Bootstrap*, int, char**)|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|56|0x14
0|44|firefox-bin|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|303|0x12
0|45|libc-2.27.so||||0x21b97
0|46|firefox-bin|__cxa_throw_bad_array_new_length|hg:hg.mozilla.org/mozilla-central:build/unix/stdc++compat/stdc++compat.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|82|0x12
0|47|firefox-bin|_GLOBAL__sub_I_TimeStamp.cpp|hg:hg.mozilla.org/mozilla-central:mozglue/misc/TimeStamp.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|150|0x4b
0|48|||||0x7fff23b09b70
0|49|ld-2.27.so||||0x10733
0|50|libdl-2.27.so||||0x202d80
0|51|libpthread-2.27.so||||0x219bb0
0|52|firefox-bin|_GLOBAL__sub_I_TimeStamp.cpp|hg:hg.mozilla.org/mozilla-central:mozglue/misc/TimeStamp.cpp:7e0886a94d70b8696d6fc0481d9f9ae12b85c41a|150|0x4b
0|53|||||0x7fff23b09b70
0|54|firefox-bin|_start|||0x29
Flags: in-testsuite?
OS: Unspecified → Linux
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: