Assertion failure: applyState.mGaps.mHandled == applyState.mGaps.mCount (Unprocessed justification gaps) at /builds/worker/checkouts/gecko/layout/generic/nsLineLayout.cpp:3114
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: 2366719611, Unassigned)
Details
(Keywords: assertion)
Attachments
(1 file)
|
1.76 MB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Steps to reproduce:
open the attached html file with firefox debug version.
Actual results:
the firefox crashed.
log:
Assertion failure: applyState.mGaps.mHandled == applyState.mGaps.mCount (Unprocessed justification gaps), at /builds/worker/checkouts/gecko/layout/generic/nsLineLayout.cpp:3114
#01: ??? nsLineLayout::TextAlignLine(nsLineBox*, bool)
#02: ??? nsBlockFrame::PlaceLine(mozilla::BlockReflowState&, nsLineLayout&, nsLineList_iterator, nsFloatManager::SavedState*, nsFlowAreaRect&, int&, bool*)
#03: ??? nsBlockFrame::DoReflowInlineFrames(mozilla::BlockReflowState&, nsLineLayout&, nsLineList_iterator, nsFlowAreaRect&, int&, nsFloatManager::SavedState*, bool*, LineReflowStatus*, bool)
#04: ??? nsBlockFrame::ReflowInlineFrames(mozilla::BlockReflowState&, nsLineList_iterator, bool*)
#05: ??? nsBlockFrame::ReflowLine(mozilla::BlockReflowState&, nsLineList_iterator, bool*)
#06: ??? nsBlockFrame::ReflowDirtyLines(mozilla::BlockReflowState&)
#07: ??? nsBlockFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)
#08: ??? nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, nsIFrame::ReflowChildFlags, nsReflowStatus&, nsOverflowContinuationTracker*)
#09: ??? nsCanvasFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)
#10: ??? nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, nsIFrame::ReflowChildFlags, nsReflowStatus&, nsOverflowContinuationTracker*)
#11: ??? nsHTMLScrollFrame::ReflowScrolledFrame(mozilla::ScrollReflowInput&, bool, bool, mozilla::ReflowOutput*)
#12: ??? nsHTMLScrollFrame::ReflowContents(mozilla::ScrollReflowInput&, mozilla::ReflowOutput const&)
#13: ??? nsHTMLScrollFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)
#14: ??? nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, int, int, nsIFrame::ReflowChildFlags, nsReflowStatus&, nsOverflowContinuationTracker*)
#15: ??? mozilla::ViewportFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)
#16: ??? mozilla::PresShell::DoReflow(nsIFrame*, bool, mozilla::OverflowChangedTracker*)
#17: ??? mozilla::PresShell::ProcessReflowCommands(bool)
#18: ??? nsPresContext::UpdateContainerQueryStyles()
#19: ??? mozilla::RestyleManager::DoProcessPendingRestyles(mozilla::ServoTraversalFlags)
#20: ??? mozilla::RestyleManager::ProcessPendingRestyles()
#21: ??? mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush)
#22: ??? mozilla::dom::Document::FlushPendingNotifications(mozilla::ChangesToFlush)
#23: ??? mozilla::SMILAnimationController::DoSample(bool)
#24: ??? mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush)
#25: ??? mozilla::dom::Document::FlushPendingNotifications(mozilla::ChangesToFlush)
#26: ??? nsFocusManager::FlushAndCheckIfFocusable(mozilla::dom::Element*, unsigned int)
#27: ??? nsFocusManager::SetFocusInner(mozilla::dom::Element*, int, bool, bool, unsigned long)
#28: ??? nsFocusManager::SetFocus(mozilla::dom::Element*, unsigned int)
#29: ??? mozilla::dom::Element::Focus(mozilla::dom::FocusOptions const&, mozilla::dom::CallerType, mozilla::ErrorResult&)
#30: ??? mozilla::dom::nsAutoFocusEvent::Run()
#31: ??? mozilla::RunnableTask::Run()
#32: ??? mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)
#33: ??? mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)
#34: ??? mozilla::TaskController::ProcessPendingMTTask(bool)
#35: ??? mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_2>::Run()
#36: ??? nsThread::ProcessNextEvent(bool, bool*)
#37: ??? NS_ProcessNextEvent(nsIThread*, bool)
#38: ??? mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)
#39: ??? MessageLoop::RunInternal()
#40: ??? MessageLoop::Run()
#41: ??? nsBaseAppShell::Run()
#42: ??? XRE_RunAppShell()
#43: ??? mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)
#44: ??? MessageLoop::RunInternal()
#45: ??? MessageLoop::Run()
#46: ??? XRE_InitChildProcess(int, char**, XREChildData const*)
#47: ??? content_process_main(mozilla::Bootstrap*, int, char**)
#48: ??? main
#49: __libc_start_main __libc_start_main
#50: ??? _start
#51: ??? (???:???)
Expected results:
the firefox should not crash.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:dshin, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•