Closed Bug 1449586 Opened 2 years ago Closed 1 year ago

Assertion failure: result.mCurrentIteration != 0 (Should not have zero current iteration), at /builds/worker/workspace/build/src/dom/animation/AnimationEffect.cpp:213

Categories

(Core :: DOM: Animation, defect, P3)

59 Branch
defect

Tracking

()

RESOLVED WORKSFORME

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 5bf126434fac.

rax = 0x0000000000000000   rdx = 0x0000000000000000
rcx = 0x00007f189b54a2dd   rbx = 0x00007ffd5c94d268
rsi = 0x00007f189b819770   rdi = 0x00007f189b818540
rbp = 0x00007ffd5c94d200   rsp = 0x00007ffd5c94d190
r8 = 0x00007f189b819770    r9 = 0x00007f189c8e4740
r10 = 0x0000000000000039   r11 = 0x0000000000000000
r12 = 0x00007f187eb85e20   r13 = 0x0000000000000000
r14 = 0x00007ffd5c94d280   r15 = 0x00007ffd5c94d220
rip = 0x00007f188a4ab96e
OS|Linux|0.0.0 Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64
CPU|amd64|family 6 model 78 stepping 3|1
GPU|||
Crash|SIGSEGV|0x0|0
0|0|libxul.so|mozilla::dom::AnimationEffectReadOnly::GetComputedTimingAt|hg:hg.mozilla.org/mozilla-central:dom/animation/AnimationEffectReadOnly.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|117|0x18
0|1|libxul.so|mozilla::dom::AnimationEffectReadOnly::GetComputedTiming|hg:hg.mozilla.org/mozilla-central:dom/animation/AnimationEffectReadOnly.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|273|0x13
0|2|libxul.so|mozilla::dom::AnimationEffectReadOnly::IsCurrent|hg:hg.mozilla.org/mozilla-central:dom/animation/AnimationEffectReadOnly.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|57|0x11
0|3|libxul.so|mozilla::dom::Animation::UpdateRelevance|hg:hg.mozilla.org/mozilla-central:dom/animation/Animation.h:5bf126434fac78a31256c994b9dbf4b1031b0350|319|0xa
0|4|libxul.so|mozilla::dom::Animation::UpdateEffect|hg:hg.mozilla.org/mozilla-central:dom/animation/Animation.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|1413|0x5
0|5|libxul.so|mozilla::dom::Animation::UpdateTiming|hg:hg.mozilla.org/mozilla-central:dom/animation/Animation.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|1346|0x8
0|6|libxul.so|mozilla::dom::KeyframeEffect::NotifySpecifiedTimingUpdated|hg:hg.mozilla.org/mozilla-central:dom/animation/KeyframeEffect.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|78|0x14
0|7|libxul.so|mozilla::dom::AnimationEffectTimingBinding::set_fill|s3:gecko-generated-sources:5530cebfd9307b66b7edbab46bdee48f047eeef7618828ce6bd2ea8d0cf1f9acb51d07093ee3e0ff842ed9a4fe2fb31940599a7ff1ac8c5b1ae4a1234c2b7495/dom/bindings/AnimationEffectTimingBinding.cpp:|191|0x5
0|8|libxul.so|mozilla::dom::GenericBindingSetter|hg:hg.mozilla.org/mozilla-central:dom/bindings/BindingUtils.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|2993|0x10
0|9|libxul.so|js::CallJSNative|hg:hg.mozilla.org/mozilla-central:js/src/vm/JSContext-inl.h:5bf126434fac78a31256c994b9dbf4b1031b0350|290|0x6
0|10|libxul.so|js::InternalCallOrConstruct|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|467|0xf
0|11|libxul.so|InternalCall|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|516|0xd
0|12|libxul.so|js::Call|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|535|0x5
0|13|libxul.so|js::CallSetter|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|664|0x5
0|14|libxul.so|SetExistingProperty|hg:hg.mozilla.org/mozilla-central:js/src/vm/NativeObject.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|2765|0xb
0|15|libxul.so|js::NativeSetProperty<(js::QualifiedBool)1u>|hg:hg.mozilla.org/mozilla-central:js/src/vm/NativeObject.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|2793|0x2f
0|16|libxul.so|js::SetProperty|hg:hg.mozilla.org/mozilla-central:js/src/vm/NativeObject.h:5bf126434fac78a31256c994b9dbf4b1031b0350|1646|0x34
0|17|libxul.so|Interpret|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|264|0xc
0|18|libxul.so|js::RunScript|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|417|0xb
0|19|libxul.so|js::ExecuteKernel|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|700|0x5
0|20|libxul.so|js::Execute|hg:hg.mozilla.org/mozilla-central:js/src/vm/Interpreter.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|733|0x5
0|21|libxul.so|ExecuteScript|hg:hg.mozilla.org/mozilla-central:js/src/jsapi.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|4701|0x12
0|22|libxul.so|ExecuteScript|hg:hg.mozilla.org/mozilla-central:js/src/jsapi.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|4720|0x5
0|23|libxul.so|nsJSUtils::ExecutionContext::CompileAndExec|hg:hg.mozilla.org/mozilla-central:dom/base/nsJSUtils.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|268|0xc
0|24|libxul.so|mozilla::dom::ScriptLoader::EvaluateScript|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|2321|0x12
0|25|libxul.so|mozilla::dom::ScriptLoader::ProcessRequest|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|1950|0xb
0|26|libxul.so|mozilla::dom::ScriptLoader::ProcessInlineScript|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|1591|0xf
0|27|libxul.so|mozilla::dom::ScriptLoader::ProcessScriptElement|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptLoader.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|1310|0xb
0|28|libxul.so|mozilla::dom::ScriptElement::MaybeProcessScript|hg:hg.mozilla.org/mozilla-central:dom/script/ScriptElement.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|141|0x13
0|29|libxul.so|nsIScriptElement::AttemptToExecute|hg:hg.mozilla.org/mozilla-central:dom/script/nsIScriptElement.h:5bf126434fac78a31256c994b9dbf4b1031b0350|247|0x3
0|30|libxul.so|nsHtml5TreeOpExecutor::RunScript|hg:hg.mozilla.org/mozilla-central:parser/html/nsHtml5TreeOpExecutor.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|738|0x10
0|31|libxul.so|nsHtml5TreeOpExecutor::RunFlushLoop|hg:hg.mozilla.org/mozilla-central:parser/html/nsHtml5TreeOpExecutor.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|537|0x8
0|32|libxul.so|nsHtml5ExecutorFlusher::Run|hg:hg.mozilla.org/mozilla-central:parser/html/nsHtml5StreamParser.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|133|0x10
0|33|libxul.so|mozilla::SchedulerGroup::Runnable::Run|hg:hg.mozilla.org/mozilla-central:xpcom/threads/SchedulerGroup.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|415|0x1c
0|34|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|1096|0x15
0|35|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|519|0x11
0|36|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|97|0xa
0|37|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5bf126434fac78a31256c994b9dbf4b1031b0350|326|0x17
0|38|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5bf126434fac78a31256c994b9dbf4b1031b0350|319|0x8
0|39|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|157|0xd
0|40|libxul.so|XRE_RunAppShell|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|893|0x11
0|41|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|269|0x5
0|42|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5bf126434fac78a31256c994b9dbf4b1031b0350|326|0x17
0|43|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:5bf126434fac78a31256c994b9dbf4b1031b0350|319|0x8
0|44|libxul.so|XRE_InitChildProcess|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|719|0x8
0|45|firefox|content_process_main|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|50|0x14
0|46|firefox|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:5bf126434fac78a31256c994b9dbf4b1031b0350|280|0x11
0|47|libc-2.23.so||||0x20830
0|48|firefox|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/mozilla-central:mfbt/Assertions.h:5bf126434fac78a31256c994b9dbf4b1031b0350|164|0x5
Flags: in-testsuite?
This seems to be another variant of bug 1271788.
Priority: -- → P3
The assertion was moved.
Summary: Assertion failure: result.mCurrentIteration != 0 (Should not have zero current iteration), at /builds/worker/workspace/build/src/dom/animation/AnimationEffectReadOnly.cpp:219 → Assertion failure: result.mCurrentIteration != 0 (Should not have zero current iteration), at /builds/worker/workspace/build/src/dom/animation/AnimationEffect.cpp:213
Duplicate of this bug: 1466177
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.