Closed Bug 2024336 Opened 8 months ago Closed 8 months ago

Assertion failure: it != mTimelineScopes.end() (Timeline scopes out of sync), at /builds/worker/checkouts/gecko/layout/style/TimelineManager.cpp:150

Categories

(Core :: CSS Transitions and Animations, defect)

defect
Points:
1

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox-esr115 --- disabled
firefox-esr140 --- disabled
firefox149 --- disabled
firefox150 --- disabled
firefox151 --- fixed

People

(Reporter: tsmith, Assigned: dshin)

References

(Blocks 2 open bugs, )

Details

(Keywords: assertion, pernosco, Whiteboard: [scrollanimation:mvp])

Attachments

(1 external file)

Found with m-c 20260307-9deea8b0a7f3 (--enable-debug)

This was found by visiting a live website with a debug build.

STR:

  • Launch browser and visit site

This issue was triggered by visiting http://first-key.store/. A Pernosco session is available here: https://pernos.co/debug/X84txk7wtaHNR7RHfQ1VVg/index.html

Assertion failure: it != mTimelineScopes.end() (Timeline scopes out of sync), at /builds/worker/checkouts/gecko/layout/style/TimelineManager.cpp:150

0|0|xul.dll|mozilla::TimelineManager::UpdateTimelineScopes(mozilla::dom::Element const*, mozilla::ComputedStyle const*)|git:github.com/mozilla-firefox/firefox:layout/style/TimelineManager.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|150|0x300
0|1|xul.dll|Gecko_UpdateAnimations(mozilla::dom::Element const*, mozilla::ComputedStyle const*, mozilla::ComputedStyle const*, mozilla::UpdateAnimationsTasks)|git:github.com/mozilla-firefox/firefox:layout/style/GeckoBindings.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|582|0x179
0|2|xul.dll|style::gecko::wrapper::impl$13::update_animations(style::gecko::wrapper::GeckoElement*, enum2$<core::option::Option<servo_arc::Arc<style::properties::generated::gecko::ComputedValues> > >, style::context::UpdateAnimationsTasks)|git:github.com/mozilla-firefox/firefox:servo/components/style/gecko/wrapper.rs:768652661f994d1bf533162e3c9ff8e0887d6784|1504|0x66
0|3|xul.dll|core::ptr::drop_in_place<style::context::ThreadLocalStyleContext<style::gecko::wrapper::GeckoElement> >(style::context::ThreadLocalStyleContext<style::gecko::wrapper::GeckoElement>*)|/rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ptr/mod.rs|804|0x331
0|4|xul.dll|style::driver::traverse_dom<style::gecko::wrapper::GeckoElement,style::gecko::traversal::RecalcStyleOnly>(style::gecko::traversal::RecalcStyleOnly*, style::traversal::PreTraverseToken<style::gecko::wrapper::GeckoElement>, enum2$<core::option::Option<ref$<rayon_core::thread_pool::ThreadPool> > >)|git:github.com/mozilla-firefox/firefox:servo/components/style/driver.rs:768652661f994d1bf533162e3c9ff8e0887d6784|174|0x5bc
0|5|xul.dll|geckoservo::glue::traverse_subtree(style::gecko::wrapper::GeckoElement, style::global_style_data::GlobalStyleData*, style::gecko::data::PerDocumentStyleDataImpl*, style::shared_lock::SharedRwLockReadGuard*, style::traversal_flags::TraversalFlags, style::gecko_bindings::structs::root::mozilla::ServoElementSnapshotTable*)|git:github.com/mozilla-firefox/firefox:servo/ports/geckolib/glue.rs:768652661f994d1bf533162e3c9ff8e0887d6784|334|0x3ff
0|6|xul.dll|geckoservo::glue::Servo_TraverseSubtree(style::gecko_bindings::structs::root::mozilla::dom::Element*, style::gecko::data::PerDocumentStyleData*, style::gecko_bindings::structs::root::mozilla::ServoElementSnapshotTable*, unsigned int)|git:github.com/mozilla-firefox/firefox:servo/ports/geckolib/glue.rs:768652661f994d1bf533162e3c9ff8e0887d6784|394|0x376
0|7|xul.dll|mozilla::ServoStyleSet::StyleDocument(mozilla::ServoTraversalFlags)|git:github.com/mozilla-firefox/firefox:layout/style/ServoStyleSet.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|849|0x212
0|8|xul.dll|mozilla::RestyleManager::DoProcessPendingRestyles(mozilla::ServoTraversalFlags)|git:github.com/mozilla-firefox/firefox:layout/style/RestyleManager.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|3191|0x1aa
0|9|xul.dll|mozilla::RestyleManager::ProcessPendingRestyles()|git:github.com/mozilla-firefox/firefox:layout/style/RestyleManager.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|3338|0x73
0|10|xul.dll|mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush)|git:github.com/mozilla-firefox/firefox:layout/base/PresShell.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|4491|0x5e8
0|11|xul.dll|mozilla::dom::Document::FlushPendingNotifications(mozilla::ChangesToFlush)|git:github.com/mozilla-firefox/firefox:dom/base/Document.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|11689|0x2be
0|12|xul.dll|nsIContent::GetPrimaryFrame(mozilla::FlushType)|git:github.com/mozilla-firefox/firefox:dom/base/Element.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|277|0x67
0|13|xul.dll|mozilla::dom::Element::GetScrollContainerFrame(nsIFrame**, mozilla::FlushType)|git:github.com/mozilla-firefox/firefox:dom/base/Element.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|720|0x14
0|14|xul.dll|mozilla::dom::Element::GetScrollSize()|git:github.com/mozilla-firefox/firefox:dom/base/Element.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|1024|0x47
0|15|xul.dll|mozilla::dom::Element::ScrollHeight()|git:github.com/mozilla-firefox/firefox:dom/base/Element.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|1045|0x1c
0|16|xul.dll|mozilla::dom::Element_Binding::get_scrollHeight(JSContext*, JS::Handle<JSObject *>, void*, JSJitGetterCallArgs)|s3:gecko-generated-sources:691c53f4ba56fda048bcbb770983c1ad7b6ac85b333891aa06c04cdb0c93e8d999e7bae72bc918afb29dd1de4faa137c92a546edb310d7f5529edfc46f4b4069/dom/bindings/ElementBinding.cpp:|4357|0x46
0|17|xul.dll|mozilla::dom::binding_detail::GenericGetter<mozilla::dom::binding_detail::NormalThisPolicy,mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*)|git:github.com/mozilla-firefox/firefox:dom/bindings/BindingUtils.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|3198|0x1a4
0|18|xul.dll|CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|490|0xf2
0|19|xul.dll|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|586|0x1e3
0|20|xul.dll|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|685|0x12c
0|21|xul.dll|js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|807|0x78
0|22|xul.dll|GetExistingProperty<1>(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::NativeObject *>, JS::Handle<JS::PropertyKey>, js::PropertyInfoBase<unsigned int>, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/NativeObject.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|2185|0x186
0|23|xul.dll|NativeGetPropertyInline<1>(JSContext*, JS::Handle<js::NativeObject *>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, IsNameLookup, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/NativeObject.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|2328|0x221
0|24|xul.dll|js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject *>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/NativeObject.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|2358|0x1a
0|25|xul.dll|js::GetProperty(JSContext*, JS::Handle<JSObject *>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/ObjectOperations-inl.h:768652661f994d1bf533162e3c9ff8e0887d6784|113|0x7f
0|26|xul.dll|js::GetProperty(JSContext*, JS::Handle<JSObject *>, JS::Handle<JS::Value>, js::PropertyName*, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/ObjectOperations-inl.h:768652661f994d1bf533162e3c9ff8e0887d6784|120|0x96
0|27|xul.dll|js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName *>, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|4630|0x252
0|28|xul.dll|js::Interpret(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|2927|0x82cc
0|29|xul.dll|js::RunScript(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|460|0x3c7
0|30|xul.dll|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|618|0x2e6
0|31|xul.dll|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|685|0x12c
0|32|xul.dll|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.h:768652661f994d1bf533162e3c9ff8e0887d6784|120|0x9d
0|33|xul.dll|JS::RunJSMicroTask(JSContext*, JS::Handle<JSObject *>)|git:github.com/mozilla-firefox/firefox:js/src/builtin/Promise.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|8153|0x17ba
0|34|xul.dll|mozilla::MustConsumeMicroTask::RunAndConsumeJSMicroTask(JSContext*)|git:github.com/mozilla-firefox/firefox:xpcom/base/CycleCollectedJSContext.h:768652661f994d1bf533162e3c9ff8e0887d6784|257|0x82
0|35|xul.dll|mozilla::RunMicroTask(JSContext*, mozilla::CycleCollectedJSContext*, JS::MutableHandle<mozilla::MustConsumeMicroTask>, bool)|git:github.com/mozilla-firefox/firefox:xpcom/base/CycleCollectedJSContext.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|750|0xa73
0|36|xul.dll|mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool)|git:github.com/mozilla-firefox/firefox:xpcom/base/CycleCollectedJSContext.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|1262|0x1b4
0|37|xul.dll|mozilla::dom::ScriptLoader::EvaluateScript(nsIGlobalObject*, JS::loader::ScriptLoadRequest*)|git:github.com/mozilla-firefox/firefox:dom/script/ScriptLoader.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|3716|0x7ce
0|38|xul.dll|mozilla::dom::ScriptLoader::EvaluateScriptElement(JS::loader::ScriptLoadRequest*)|git:github.com/mozilla-firefox/firefox:dom/script/ScriptLoader.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|3192|0x2f7
0|39|xul.dll|mozilla::dom::ScriptLoader::ProcessRequest(JS::loader::ScriptLoadRequest*)|git:github.com/mozilla-firefox/firefox:dom/script/ScriptLoader.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|2590|0x2d2
0|40|xul.dll|mozilla::dom::ScriptLoader::CompileOffThreadOrProcessRequest(JS::loader::ScriptLoadRequest*)|git:github.com/mozilla-firefox/firefox:dom/script/ScriptLoader.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|2009|0xc1
0|41|xul.dll|mozilla::dom::ScriptLoader::ProcessPendingRequests(bool)|git:github.com/mozilla-firefox/firefox:dom/script/ScriptLoader.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|4100|0x24a
0|42|xul.dll|mozilla::dom::ScriptLoader::ProcessOffThreadRequest(JS::loader::ScriptLoadRequest*)|git:github.com/mozilla-firefox/firefox:dom/script/ScriptLoader.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|2532|0x184
0|43|xul.dll|mozilla::dom::(anonymous namespace)::OffThreadCompilationCompleteTask::Run()|git:github.com/mozilla-firefox/firefox:dom/script/ScriptLoader.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|2062|0x266
0|44|xul.dll|mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|1360|0x6b4
0|45|xul.dll|mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex &> const&)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|1183|0x57
0|46|xul.dll|mozilla::TaskController::ProcessPendingMTTask(bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|657|0xba
0|47|xul.dll|mozilla::detail::RunnableFunction<`lambda at /builds/worker/checkouts/gecko/xpcom/threads/TaskController.cpp:352:7'>::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.h:768652661f994d1bf533162e3c9ff8e0887d6784|549|0x16
0|48|xul.dll|nsThread::ProcessNextEvent(bool, bool*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|1181|0x5d0
0|49|xul.dll|NS_ProcessNextEvent(nsIThread*, bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|467|0x70
0|50|xul.dll|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|107|0x13c
0|51|xul.dll|MessageLoop::RunHandler()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:768652661f994d1bf533162e3c9ff8e0887d6784|366|0x3e
0|52|xul.dll|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:768652661f994d1bf533162e3c9ff8e0887d6784|348|0x6e
0|53|xul.dll|nsBaseAppShell::Run()|git:github.com/mozilla-firefox/firefox:widget/nsBaseAppShell.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|152|0x27
0|54|xul.dll|nsAppShell::Run()|git:github.com/mozilla-firefox/firefox:widget/windows/nsAppShell.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|673|0x17d
0|55|xul.dll|XRE_RunAppShell()|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsEmbedFunctions.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|652|0x78
0|56|xul.dll|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|235|0x39
0|57|xul.dll|MessageLoop::RunHandler()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:768652661f994d1bf533162e3c9ff8e0887d6784|366|0x3e
0|58|xul.dll|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:768652661f994d1bf533162e3c9ff8e0887d6784|348|0x6e
0|59|xul.dll|XRE_InitChildProcess(int, char**, XREChildData const*)|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsEmbedFunctions.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|590|0x9e8
0|60|firefox.exe|NS_internal_main(int, char**, char**)|git:github.com/mozilla-firefox/firefox:browser/app/nsBrowserApp.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|467|0x235
0|61|firefox.exe|wmain(int, wchar_t**)|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsWindowsWMain.cpp:768652661f994d1bf533162e3c9ff8e0887d6784|150|0x246
0|62|firefox.exe|__scrt_common_main_seh()|/builds/worker/workspace/obj-build/browser/app/D:/a/_work/1/s/src/vctools/crt/vcstartup/src/startup/exe_common.inl|288|0x10b
Whiteboard: [scrollanimation:triage]
Severity: -- → S3

Root cause actually causes crashes on release.

Assignee: nobody → dshin
Status: NEW → ASSIGNED
Points: --- → 1
Whiteboard: [scrollanimation:triage] → [scrollanimation:mvp]

TreeScoped<T> derives PartialEq, which does equality comparison
on both scope and value. This is incorrect for certain values like
none.

Pushed by dshin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/36de0fd9c07a https://hg.mozilla.org/integration/autoland/rev/273b36eeafda Ensure that non-tree-scoped names ignore the name scope. r=firefox-style-system-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch

The patch landed in nightly and beta is affected.
:dshin, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(dshin)

Pref required for this is Nightly-only.

Flags: needinfo?(dshin)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: