Reduced with m-c `20200316-62ab2cd02833` Assertion failure: !mInStyleRefresh, at src/layout/base/RestyleManager.cpp:3173 ``` #0 0x7f84fbbfe546 in mozilla::RestyleManager::ContentStateChanged(nsIContent*, mozilla::EventStates) src/layout/base/RestyleManager.cpp:3173:3 #1 0x7f84fbbfd92b in mozilla::PresShell::ContentStateChanged(mozilla::dom::Document*, nsIContent*, mozilla::EventStates) src/layout/base/PresShell.cpp:4197:37 #2 0x7f84f413ec59 in mozilla::dom::Document::ContentStateChanged(nsIContent*, mozilla::EventStates) src/dom/base/Document.cpp:7420:3 #3 0x7f84f41d4b45 in mozilla::dom::Element::UpdateState(bool) src/dom/base/Element.cpp:290:14 #4 0x7f84f8b7f8b4 in mozilla::dom::HTMLInputElement::SetDirectionFromValue(bool) src/dom/html/HTMLInputElement.cpp:5540:5 #5 0x7f84f8b7f8b4 in mozilla::dom::HTMLInputElement::OnValueChanged(mozilla::TextControlElement::ValueChangeKind) src/dom/html/HTMLInputElement.cpp:6622:5 #6 0x7f84f8d2c830 in mozilla::TextControlState::SetValue(nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const*, unsigned int) src/dom/html/TextControlState.cpp:2689:45 #7 0x7f84f8cdf2c1 in mozilla::TextControlState::SetValue(nsTSubstring<char16_t> const&, unsigned int) src/dom/html/TextControlState.h:225:12 #8 0x7f84f8cdf2c1 in mozilla::TextControlState::UnbindFromFrame(nsTextControlFrame*) src/dom/html/TextControlState.cpp:2480:26 #9 0x7f84fc397bc1 in nsTextControlFrame::DestroyFrom(nsIFrame*, mozilla::layout::PostFrameDestroyData&) src/layout/forms/nsTextControlFrame.cpp:145:23 #10 0x7f84fbf36198 in nsBlockFrame::DoRemoveFrameInternal(nsIFrame*, unsigned int, mozilla::layout::PostFrameDestroyData&) src/layout/generic/nsBlockFrame.cpp:6256:20 #11 0x7f84fbf3223f in nsBlockFrame::DoRemoveFrame(nsIFrame*, unsigned int) src/layout/generic/nsBlockFrame.h:528:5 #12 0x7f84fbf3180b in nsBlockFrame::RemoveFrame(mozilla::layout::FrameChildListID, nsIFrame*) src/layout/generic/nsBlockFrame.cpp:5572:5 #13 0x7f84fbd0c094 in nsCSSFrameConstructor::ContentRemoved(nsIContent*, nsIContent*, nsCSSFrameConstructor::RemoveFlags) src/layout/base/nsCSSFrameConstructor.cpp:7576:5 #14 0x7f84fbcf5830 in nsCSSFrameConstructor::RecreateFramesForContent(nsIContent*, nsCSSFrameConstructor::InsertionKind) src/layout/base/nsCSSFrameConstructor.cpp:8586:7 #15 0x7f84fbc649d5 in mozilla::RestyleManager::ProcessRestyledFrames(nsStyleChangeList&) src/layout/base/RestyleManager.cpp:1518:25 #16 0x7f84fbc77198 in mozilla::RestyleManager::DoProcessPendingRestyles(mozilla::ServoTraversalFlags) src/layout/base/RestyleManager.cpp:3066:9 #17 0x7f84fbbf88b8 in mozilla::RestyleManager::ProcessPendingRestyles() src/layout/base/RestyleManager.cpp:3145:3 #18 0x7f84fbbf88b8 in mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush) src/layout/base/PresShell.cpp:4076:39 #19 0x7f84f8703086 in mozilla::PresShell::FlushPendingNotifications(mozilla::FlushType) /builds/worker/workspace/obj-build/dist/include/mozilla/PresShell.h:1449:5 #20 0x7f84f8703086 in mozilla::EventStateManager::FlushLayout(nsPresContext*) src/dom/events/EventStateManager.cpp:5648:16 #21 0x7f84f86f6483 in mozilla::EventStateManager::PreHandleEvent(nsPresContext*, mozilla::WidgetEvent*, nsIFrame*, nsIContent*, nsEventStatus*, nsIContent*) src/dom/events/EventStateManager.cpp:688:7 #22 0x7f84fbc3d0fa in mozilla::PresShell::EventHandler::DispatchEvent(mozilla::EventStateManager*, mozilla::WidgetEvent*, bool, nsEventStatus*, nsIContent*) src/layout/base/PresShell.cpp:7825:39 #23 0x7f84fbc2ae0e in mozilla::PresShell::EventHandler::HandleEventWithCurrentEventInfo(mozilla::WidgetEvent*, nsEventStatus*, bool, nsIContent*) src/layout/base/PresShell.cpp:7794:17 #24 0x7f84fbc296b7 in mozilla::PresShell::EventHandler::HandleEventUsingCoordinates(nsIFrame*, mozilla::WidgetGUIEvent*, nsEventStatus*, bool) src/layout/base/PresShell.cpp:6737:30 #25 0x7f84fbc25e0c in mozilla::PresShell::EventHandler::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) src/layout/base/PresShell.cpp:6542:12 #26 0x7f84fbc243fe in mozilla::PresShell::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) src/layout/base/PresShell.cpp:6467:23 #27 0x7f84fb34853a in nsViewManager::DispatchEvent(mozilla::WidgetGUIEvent*, nsView*, nsEventStatus*) src/view/nsViewManager.cpp:751:18 #28 0x7f84fb347d6c in nsView::HandleEvent(mozilla::WidgetGUIEvent*, bool) src/view/nsView.cpp:1135:9 #29 0x7f84fb40314c in mozilla::widget::PuppetWidget::DispatchEvent(mozilla::WidgetGUIEvent*, nsEventStatus&) src/widget/PuppetWidget.cpp:381:37 #30 0x7f84f3348eca in mozilla::layers::APZCCallbackHelper::DispatchWidgetEvent(mozilla::WidgetGUIEvent&) src/gfx/layers/apz/util/APZCCallbackHelper.cpp:540:21 #31 0x7f84fa6a7bea in mozilla::dom::BrowserChild::DispatchWidgetEventViaAPZ(mozilla::WidgetGUIEvent&) src/dom/ipc/BrowserChild.cpp:1786:10 #32 0x7f84fa6a7bea in mozilla::dom::BrowserChild::HandleRealMouseButtonEvent(mozilla::WidgetMouseEvent const&, mozilla::layers::ScrollableLayerGuid const&, unsigned long const&) src/dom/ipc/BrowserChild.cpp:1725:3 #33 0x7f84fa6ab17c in mozilla::dom::BrowserChild::RecvRealMouseButtonEvent(mozilla::WidgetMouseEvent const&, mozilla::layers::ScrollableLayerGuid const&, unsigned long const&) src/dom/ipc/BrowserChild.cpp:1698:3 #34 0x7f84fa6ab30d in mozilla::dom::BrowserChild::RecvSynthMouseMoveEvent(mozilla::WidgetMouseEvent const&, mozilla::layers::ScrollableLayerGuid const&, unsigned long const&) src/dom/ipc/BrowserChild.cpp:1663:8 #35 0x7f84f1dbf73e in mozilla::dom::PBrowserChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PBrowserChild.cpp:5135:56 #36 0x7f84f11608a8 in mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PContentChild.cpp:8424:32 #37 0x7f84f0ec32cd in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) src/ipc/glue/MessageChannel.cpp:2187:25 #38 0x7f84f0ebbb9c in mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) src/ipc/glue/MessageChannel.cpp:2111:9 #39 0x7f84f0ebe476 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) src/ipc/glue/MessageChannel.cpp:1959:3 #40 0x7f84f0ebfc12 in mozilla::ipc::MessageChannel::MessageTask::Run() src/ipc/glue/MessageChannel.cpp:1990:13 #41 0x7f84ef8a0d90 in mozilla::SchedulerGroup::Runnable::Run() src/xpcom/threads/SchedulerGroup.cpp:282:20 #42 0x7f84ef8f0f85 in nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1220:14 #43 0x7f84ef9029f8 in NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:481:10 #44 0x7f84f0ecee2a in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:109:5 #45 0x7f84f0d8c390 in MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10 #46 0x7f84f0d8c011 in MessageLoop::RunHandler() src/ipc/chromium/src/base/message_loop.cc:308:3 #47 0x7f84f0d8c011 in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3 #48 0x7f84fb43dfaa in nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:137:27 #49 0x7f84ff9b7a74 in XRE_RunAppShell() src/toolkit/xre/nsEmbedFunctions.cpp:926:20 #50 0x7f84f0ed0075 in mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:237:9 #51 0x7f84f0d8c390 in MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10 #52 0x7f84f0d8c011 in MessageLoop::RunHandler() src/ipc/chromium/src/base/message_loop.cc:308:3 #53 0x7f84f0d8c011 in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3 #54 0x7f84ff9b694a in XRE_InitChildProcess(int, char**, XREChildData const*) src/toolkit/xre/nsEmbedFunctions.cpp:761:34 #55 0x55a76e448880 in content_process_main(mozilla::Bootstrap*, int, char**) src/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28 #56 0x55a76e448880 in main src/browser/app/nsBrowserApp.cpp:303:18 ```
Bug 1622900 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Reduced with m-c `20200316-62ab2cd02833` Assertion failure: !mInStyleRefresh, at src/layout/base/RestyleManager.cpp:3173 ```c #0 mozilla::RestyleManager::ContentStateChanged(nsIContent*, mozilla::EventStates) src/layout/base/RestyleManager.cpp:3173:3 #1 mozilla::PresShell::ContentStateChanged(mozilla::dom::Document*, nsIContent*, mozilla::EventStates) src/layout/base/PresShell.cpp:4197:37 #2 mozilla::dom::Document::ContentStateChanged(nsIContent*, mozilla::EventStates) src/dom/base/Document.cpp:7420:3 #3 mozilla::dom::Element::UpdateState(bool) src/dom/base/Element.cpp:290:14 #4 mozilla::dom::HTMLInputElement::SetDirectionFromValue(bool) src/dom/html/HTMLInputElement.cpp:5540:5 #5 mozilla::dom::HTMLInputElement::OnValueChanged(mozilla::TextControlElement::ValueChangeKind) src/dom/html/HTMLInputElement.cpp:6622:5 #6 mozilla::TextControlState::SetValue(nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const*, unsigned int) src/dom/html/TextControlState.cpp:2689:45 #7 mozilla::TextControlState::SetValue(nsTSubstring<char16_t> const&, unsigned int) src/dom/html/TextControlState.h:225:12 #8 mozilla::TextControlState::UnbindFromFrame(nsTextControlFrame*) src/dom/html/TextControlState.cpp:2480:26 #9 nsTextControlFrame::DestroyFrom(nsIFrame*, mozilla::layout::PostFrameDestroyData&) src/layout/forms/nsTextControlFrame.cpp:145:23 #10 nsBlockFrame::DoRemoveFrameInternal(nsIFrame*, unsigned int, mozilla::layout::PostFrameDestroyData&) src/layout/generic/nsBlockFrame.cpp:6256:20 #11 nsBlockFrame::DoRemoveFrame(nsIFrame*, unsigned int) src/layout/generic/nsBlockFrame.h:528:5 #12 nsBlockFrame::RemoveFrame(mozilla::layout::FrameChildListID, nsIFrame*) src/layout/generic/nsBlockFrame.cpp:5572:5 #13 nsCSSFrameConstructor::ContentRemoved(nsIContent*, nsIContent*, nsCSSFrameConstructor::RemoveFlags) src/layout/base/nsCSSFrameConstructor.cpp:7576:5 #14 nsCSSFrameConstructor::RecreateFramesForContent(nsIContent*, nsCSSFrameConstructor::InsertionKind) src/layout/base/nsCSSFrameConstructor.cpp:8586:7 #15 mozilla::RestyleManager::ProcessRestyledFrames(nsStyleChangeList&) src/layout/base/RestyleManager.cpp:1518:25 #16 mozilla::RestyleManager::DoProcessPendingRestyles(mozilla::ServoTraversalFlags) src/layout/base/RestyleManager.cpp:3066:9 #17 mozilla::RestyleManager::ProcessPendingRestyles() src/layout/base/RestyleManager.cpp:3145:3 #18 mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush) src/layout/base/PresShell.cpp:4076:39 #19 mozilla::PresShell::FlushPendingNotifications(mozilla::FlushType) /builds/worker/workspace/obj-build/dist/include/mozilla/PresShell.h:1449:5 #20 mozilla::EventStateManager::FlushLayout(nsPresContext*) src/dom/events/EventStateManager.cpp:5648:16 #21 mozilla::EventStateManager::PreHandleEvent(nsPresContext*, mozilla::WidgetEvent*, nsIFrame*, nsIContent*, nsEventStatus*, nsIContent*) src/dom/events/EventStateManager.cpp:688:7 #22 mozilla::PresShell::EventHandler::DispatchEvent(mozilla::EventStateManager*, mozilla::WidgetEvent*, bool, nsEventStatus*, nsIContent*) src/layout/base/PresShell.cpp:7825:39 #23 mozilla::PresShell::EventHandler::HandleEventWithCurrentEventInfo(mozilla::WidgetEvent*, nsEventStatus*, bool, nsIContent*) src/layout/base/PresShell.cpp:7794:17 #24 mozilla::PresShell::EventHandler::HandleEventUsingCoordinates(nsIFrame*, mozilla::WidgetGUIEvent*, nsEventStatus*, bool) src/layout/base/PresShell.cpp:6737:30 #25 mozilla::PresShell::EventHandler::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) src/layout/base/PresShell.cpp:6542:12 #26 mozilla::PresShell::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) src/layout/base/PresShell.cpp:6467:23 #27 nsViewManager::DispatchEvent(mozilla::WidgetGUIEvent*, nsView*, nsEventStatus*) src/view/nsViewManager.cpp:751:18 #28 nsView::HandleEvent(mozilla::WidgetGUIEvent*, bool) src/view/nsView.cpp:1135:9 #29 mozilla::widget::PuppetWidget::DispatchEvent(mozilla::WidgetGUIEvent*, nsEventStatus&) src/widget/PuppetWidget.cpp:381:37 #30 mozilla::layers::APZCCallbackHelper::DispatchWidgetEvent(mozilla::WidgetGUIEvent&) src/gfx/layers/apz/util/APZCCallbackHelper.cpp:540:21 #31 mozilla::dom::BrowserChild::DispatchWidgetEventViaAPZ(mozilla::WidgetGUIEvent&) src/dom/ipc/BrowserChild.cpp:1786:10 #32 mozilla::dom::BrowserChild::HandleRealMouseButtonEvent(mozilla::WidgetMouseEvent const&, mozilla::layers::ScrollableLayerGuid const&, unsigned long const&) src/dom/ipc/BrowserChild.cpp:1725:3 #33 mozilla::dom::BrowserChild::RecvRealMouseButtonEvent(mozilla::WidgetMouseEvent const&, mozilla::layers::ScrollableLayerGuid const&, unsigned long const&) src/dom/ipc/BrowserChild.cpp:1698:3 #34 mozilla::dom::BrowserChild::RecvSynthMouseMoveEvent(mozilla::WidgetMouseEvent const&, mozilla::layers::ScrollableLayerGuid const&, unsigned long const&) src/dom/ipc/BrowserChild.cpp:1663:8 #35 mozilla::dom::PBrowserChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PBrowserChild.cpp:5135:56 #36 mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PContentChild.cpp:8424:32 #37 mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) src/ipc/glue/MessageChannel.cpp:2187:25 #38 mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) src/ipc/glue/MessageChannel.cpp:2111:9 #39 mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) src/ipc/glue/MessageChannel.cpp:1959:3 #40 mozilla::ipc::MessageChannel::MessageTask::Run() src/ipc/glue/MessageChannel.cpp:1990:13 #41 mozilla::SchedulerGroup::Runnable::Run() src/xpcom/threads/SchedulerGroup.cpp:282:20 #42 nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1220:14 #43 NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:481:10 #44 mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:109:5 #45 MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10 #46 MessageLoop::RunHandler() src/ipc/chromium/src/base/message_loop.cc:308:3 #47 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3 #48 nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:137:27 #49 XRE_RunAppShell() src/toolkit/xre/nsEmbedFunctions.cpp:926:20 #50 mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:237:9 #51 MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10 #52 MessageLoop::RunHandler() src/ipc/chromium/src/base/message_loop.cc:308:3 #53 MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290:3 #54 XRE_InitChildProcess(int, char**, XREChildData const*) src/toolkit/xre/nsEmbedFunctions.cpp:761:34 #55 content_process_main(mozilla::Bootstrap*, int, char**) src/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28 #56 main src/browser/app/nsBrowserApp.cpp:303:18 ```