Closed
Bug 1787693
Opened 4 years ago
Closed 4 years ago
Assertion failure: !aWM.IsOrthogonalTo(wm), at firefox-source/layout/generic/nsIFrameInlines.h:165
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1673677
People
(Reporter: zzzssspro0202, Unassigned)
Details
Attachments
(2 files)
Steps to reproduce:
open html with debug browser
Actual results:
Assertion failure: !aWM.IsOrthogonalTo(wm), at firefox-source/layout/generic/nsIFrameInlines.h:165
Expected results:
not crash
Comment 1•4 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.
Component: Untriaged → Layout
Product: Firefox → Core
Updated•4 years ago
|
Severity: -- → S3
Comment 2•4 years ago
|
||
I can reproduce, but only if my viewport is sufficiently skinny.
Here's a backtrace of the assertion failure. The first 20 lines are:
Assertion failure: !aWM.IsOrthogonalTo(wm), at $SRC/layout/generic/nsIFrameInlines.h:165
#01: nsIFrame::SynthesizeBaselineBOffsetFromContentBox(mozilla::WritingMode, mozilla::BaselineSharingGroup) const ($SRC/layout/generic/nsIFrameInlines.h:165)
#02: nsTableFrame::GetNaturalBaselineBOffset(mozilla::WritingMode, mozilla::BaselineSharingGroup, int*) const::$_2::operator()(nsTableRowGroupFrame*, nsTableRowFrame*) const ($SRC/layout/tables/nsTableFrame.cpp:3584)
#03: nsTableFrame::GetNaturalBaselineBOffset(mozilla::WritingMode, mozilla::BaselineSharingGroup, int*) const ($SRC/layout/tables/nsTableFrame.cpp:3591)
#04: nsTableFrame::GetLogicalBaseline(mozilla::WritingMode) const ($SRC/layout/tables/nsTableFrame.cpp:3560)
#05: nsTableWrapperFrame::GetLogicalBaseline(mozilla::WritingMode) const ($SRC/layout/tables/nsTableWrapperFrame.cpp:43)
#06: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5852)
#07: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5898)
#08: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5866)
#09: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5898)
#10: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5866)
#11: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5898)
#12: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5866)
#13: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5898)
#14: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5898)
#15: nsLayoutUtils::GetFirstLinePosition(mozilla::WritingMode, nsIFrame const*, nsLayoutUtils::LinePosition*) ($SRC/layout/base/nsLayoutUtils.cpp:5898)
#16: nsLayoutUtils::GetFirstLineBaseline(mozilla::WritingMode, nsIFrame const*, int*) ($SRC/layout/base/nsLayoutUtils.cpp:5817)
#17: nsFlexContainerFrame::ReflowChildren(mozilla::ReflowInput const&, nsSize const&, mozilla::LogicalSize const&, mozilla::LogicalMargin const&, int, nsFlexContainerFrame::FlexboxAxisTracker const&, bool, nsFlexContainerFrame::FlexLayoutResult&) ($SRC/layout/generic/nsFlexContainerFrame.cpp:5439)
#18: nsFlexContainerFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&) ($SRC/layout/generic/nsFlexContainerFrame.cpp:4716)
#19: nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, nsIFrame::ReflowChildFlags, nsReflowStatus&, nsOverflowContinuationTracker*) ($SRC/layout/generic/nsContainerFrame.cpp:0)
#20: nsHTMLScrollFrame::ReflowScrolledFrame(mozilla::ScrollReflowInput&, bool, bool, mozilla::ReflowOutput*) ($SRC/layout/generic/nsGfxScrollFrame.cpp:838)
Comment 3•4 years ago
|
||
Looks like Bug 1673677's patch fixes this (via some table-specific changes to nsLayoutUtils::GetFirstLinePosition, the function at lines 6-16 of the backtrace that I quoted).
I can't reproduce the assertion failure in a build with that bug's patch applied.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•