Closed Bug 1450713 Opened 2 years ago Closed 2 years ago

Assertion failure: !mEventDispatchingSuspended, at /builds/worker/workspace/build/src/dom/xhr/XMLHttpRequestMainThread.cpp:1342

Categories

(Core :: DOM: Core & HTML, defect)

59 Branch
defect
Not set

Tracking

()

RESOLVED DUPLICATE of bug 1450266

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file trigger.html
Testcase found while fuzzing mozilla-central rev c44f60c43432.

rax = 0x0000000000000000   rdx = 0x0000000000000000
rcx = 0x00007f9c0bc262dd   rbx = 0x00007f9bed9cb800
rsi = 0x00007f9c0bef5770   rdi = 0x00007f9c0bef4540
rbp = 0x00007ffc35f54090   rsp = 0x00007ffc35f54090
r8 = 0x00007f9c0bef5770    r9 = 0x00007f9c0cfd4740
r10 = 0x000000000000002e   r11 = 0x0000000000000000
r12 = 0x00007ffc35f541a8   r13 = 0x0000000000000000
r14 = 0x00007ffc35f540f8   r15 = 0x00007f9bed2fa340
rip = 0x00007f9bfc0f2cab
OS|Linux|0.0.0 Linux 4.4.0-1052-aws #61-Ubuntu SMP Mon Feb 12 23:05:58 UTC 2018 x86_64
CPU|amd64|family 6 model 85 stepping 4|1
GPU|||
Crash|SIGSEGV|0x0|0
0|0|libxul.so|mozilla::dom::XMLHttpRequestMainThread::SuspendEventDispatching|hg:hg.mozilla.org/mozilla-central:dom/xhr/XMLHttpRequestMainThread.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|1342|0x5
0|1|libxul.so|mozilla::dom::XMLHttpRequestMainThread::SendInternal|hg:hg.mozilla.org/mozilla-central:dom/xhr/XMLHttpRequestMainThread.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|2909|0x8
0|2|libxul.so|mozilla::dom::XMLHttpRequestMainThread::Send|hg:hg.mozilla.org/mozilla-central:dom/xhr/XMLHttpRequestMainThread.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|2749|0x8
0|3|libxul.so|mozilla::dom::XMLHttpRequestBinding::send|s3:gecko-generated-sources:62907e94cb7c61514105cb9d5af15b1cb42fd6b0f7fcdbaa3a09ecdf2aa6cde48d19d72887ad0c383048f8ce1d487ee5c6c93f115d4eb37d25138e181b3c3782/dom/bindings/XMLHttpRequestBinding.cpp:|1278|0x20
0|4|libxul.so|mozilla::dom::GenericBindingMethod|hg:hg.mozilla.org/mozilla-central:dom/bindings/BindingUtils.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|3032|0x9
0|5|libxul.so|js::CallJSNative|hg:hg.mozilla.org/mozilla-central:js/src/vm/JSContext-inl.h:c44f60c43432d468639b5fe078420e60c13fd3de|290|0x6
0|6|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|467|0xf
0|7|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|516|0xd
0|8|libxul.so|Interpret|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|522|0xf
0|9|libxul.so|js::RunScript|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|417|0xb
0|10|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|489|0xf
0|11|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|516|0xd
0|12|libxul.so|js::Call|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|535|0x5
0|13|libxul.so|JS::Call|hg:hg.mozilla.org/mozilla-central:js/src/jsapi.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|3003|0x20
0|14|libxul.so|mozilla::dom::BlobCallback::Call|s3:gecko-generated-sources:5be9cb2a20e9f3d0a5705a18d6c800c84999e0279b6301f5d0c30211061f680348dafef5a60125d6cf21adc0802689ecc99b38c354c59679142b03d3bfe3cb8a/dom/bindings/HTMLCanvasElementBinding.cpp:|83|0x5
0|15|libxul.so||||0x1fb672f
0|16|libxul.so|mozilla::dom::EncodingCompleteEvent::Run|hg:hg.mozilla.org/mozilla-central:dom/base/ImageEncoder.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|109|0x2
0|17|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|1096|0x15
0|18|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|519|0x11
0|19|libxul.so|mozilla::dom::XMLHttpRequestMainThread::SendInternal|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.h:c44f60c43432d468639b5fe078420e60c13fd3de|323|0x11
0|20|libxul.so|mozilla::dom::XMLHttpRequestMainThread::Send|hg:hg.mozilla.org/mozilla-central:dom/xhr/XMLHttpRequestMainThread.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|2749|0x8
0|21|libxul.so|mozilla::dom::XMLHttpRequestBinding::send|s3:gecko-generated-sources:62907e94cb7c61514105cb9d5af15b1cb42fd6b0f7fcdbaa3a09ecdf2aa6cde48d19d72887ad0c383048f8ce1d487ee5c6c93f115d4eb37d25138e181b3c3782/dom/bindings/XMLHttpRequestBinding.cpp:|1278|0x20
0|22|libxul.so|mozilla::dom::GenericBindingMethod|hg:hg.mozilla.org/mozilla-central:dom/bindings/BindingUtils.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|3032|0x9
0|23|libxul.so|js::CallJSNative|hg:hg.mozilla.org/mozilla-central:js/src/vm/JSContext-inl.h:c44f60c43432d468639b5fe078420e60c13fd3de|290|0x6
0|24|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|467|0xf
0|25|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|516|0xd
0|26|libxul.so|Interpret|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|522|0xf
0|27|libxul.so|js::RunScript|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|417|0xb
0|28|libxul.so|js::ExecuteKernel|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|700|0x5
0|29|libxul.so|js::Execute|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|733|0x5
0|30|libxul.so|ExecuteScript|hg:hg.mozilla.org/mozilla-central:js/src/jsapi.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|4702|0x12
0|31|libxul.so|ExecuteScript|hg:hg.mozilla.org/mozilla-central:js/src/jsapi.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|4721|0x5
0|32|libxul.so|nsJSUtils::ExecutionContext::CompileAndExec|hg:hg.mozilla.org/mozilla-central:dom/base/nsJSUtils.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|268|0xc
0|33|libxul.so|mozilla::dom::ScriptLoader::EvaluateScript|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|2326|0x12
0|34|libxul.so|mozilla::dom::ScriptLoader::ProcessRequest|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|1955|0xb
0|35|libxul.so|mozilla::dom::ScriptLoader::ProcessInlineScript|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|1595|0xf
0|36|libxul.so|mozilla::dom::ScriptLoader::ProcessScriptElement|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|1314|0xb
0|37|libxul.so|mozilla::dom::ScriptElement::MaybeProcessScript|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptElement.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|141|0x13
0|38|libxul.so|nsIScriptElement::AttemptToExecute|hg:hg.mozilla.org/mozilla-central:dom/script/nsIScriptElement.h:c44f60c43432d468639b5fe078420e60c13fd3de|247|0x3
0|39|libxul.so|nsHtml5TreeOpExecutor::RunScript|hg:hg.mozilla.org/mozilla-central:parser/html/nsHtml5TreeOpExecutor.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|739|0x10
0|40|libxul.so|nsHtml5TreeOpExecutor::RunFlushLoop|hg:hg.mozilla.org/mozilla-central:parser/html/nsHtml5TreeOpExecutor.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|538|0x8
0|41|libxul.so|nsHtml5ExecutorFlusher::Run|hg:hg.mozilla.org/mozilla-central:parser/html/nsHtml5StreamParser.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|121|0x10
0|42|libxul.so|mozilla::SchedulerGroup::Runnable::Run|hg:hg.mozilla.org/mozilla-central:xpcom/threads/SchedulerGroup.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|415|0x1c
0|43|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|1096|0x15
0|44|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|519|0x11
0|45|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|97|0xa
0|46|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:c44f60c43432d468639b5fe078420e60c13fd3de|326|0x17
0|47|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:c44f60c43432d468639b5fe078420e60c13fd3de|319|0x8
0|48|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|157|0xd
0|49|libxul.so|XRE_RunAppShell|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|893|0x11
0|50|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|269|0x5
0|51|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:c44f60c43432d468639b5fe078420e60c13fd3de|326|0x17
0|52|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:c44f60c43432d468639b5fe078420e60c13fd3de|319|0x8
0|53|libxul.so|XRE_InitChildProcess|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|719|0x8
0|54|firefox|content_process_main|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|50|0x14
0|55|firefox|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:c44f60c43432d468639b5fe078420e60c13fd3de|280|0x11
0|56|libc-2.23.so||||0x20830
0|57|firefox|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/mozilla-central:mfbt/Assertions.h:c44f60c43432d468639b5fe078420e60c13fd3de|164|0x5
Flags: in-testsuite?
How bad of an assertion is this, Andrea? Should somebody be working on this?
Flags: needinfo?(amarchesini)
It seems that on the current m-c this cannot be reproduced. Bug 1450266 seems to fix this issue.
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(amarchesini)
Resolution: --- → DUPLICATE
Duplicate of bug: 1450266
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.