[Webkit-unassigned] [Bug 215217] New: [GTK][WPE] Mathml asserts with invisible operators

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 6 08:10:29 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215217

            Bug ID: 215217
           Summary: [GTK][WPE] Mathml asserts with invisible operators
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: MathML
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com

Tests:

mathml/presentation/mo-invisible.html
mathml/opentype/munderover-layout-resize.html

Both tests asserts in the same place (although from different bases), with m_maxPrefferedLogicalWidth==0 and glyphWidth > 0. Tests passing and rendering correctly in Release, though.

Unfortunately, wktesthunter shows it to start crashing somewhere in a big gab between r238072 and r257066.

Would it be the case of just removing the assert?

Common stack trace part:

Thread 1 (Thread 0x7feb401db2c0 (LWP 41135)):
#0  0x00007feb49057a2a in WTFCrash() () at ../../Source/WTF/wtf/Assertions.cpp:295
#1  0x00007feb574b0332 in CRASH_WITH_INFO(...) () at DerivedSources/ForwardingHeaders/wtf/Assertions.h:713
#2  0x00007feb5b77cfb1 in WebCore::RenderMathMLOperator::computePreferredLogicalWidths() (this=0x7feae7f30010) at ../../Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp:202
#3  0x00007feb5b4f1a04 in WebCore::RenderBox::maxPreferredLogicalWidth() const (this=0x7feae7f30010) at ../../Source/WebCore/rendering/RenderBox.cpp:1082
#4  0x00007feb5b7801a0 in WebCore::RenderMathMLRow::computePreferredLogicalWidths() (this=0x7feae7bca200) at ../../Source/WebCore/rendering/mathml/RenderMathMLRow.cpp:136
#5  0x00007feb5b4f1a04 in WebCore::RenderBox::maxPreferredLogicalWidth() const (this=0x7feae7bca200) at ../../Source/WebCore/rendering/RenderBox.cpp:1082
#6  0x00007feb5b7801a0 in WebCore::RenderMathMLRow::computePreferredLogicalWidths() (this=0x7feafd52cc80) at ../../Source/WebCore/rendering/mathml/RenderMathMLRow.cpp:136
#7  0x00007feb5b4f1a04 in WebCore::RenderBox::maxPreferredLogicalWidth() const (this=0x7feafd52cc80) at ../../Source/WebCore/rendering/RenderBox.cpp:1082
#8  0x00007feb5b4f9430 in WebCore::RenderBox::computeLogicalWidthInFragmentUsing(WebCore::SizeType, WebCore::Length, WebCore::LayoutUnit, WebCore::RenderBlock const&, WebCore::RenderFragmentContainer*) const (this=0x7feafd52cc80, widthType=WebCore::MainOrPreferredSize, logicalWidth=..., availableLogicalWidth=..., cb=..., fragment=0x0) at ../../Source/WebCore/rendering/RenderBox.cpp:2573
#9  0x00007feb5b4f8bbe in WebCore::RenderBox::computeLogicalWidthInFragment(WebCore::RenderBox::LogicalExtentComputedValues&, WebCore::RenderFragmentContainer*) const (this=0x7feafd52cc80, computedValues=..., fragment=0x0) at ../../Source/WebCore/rendering/RenderBox.cpp:2476
#10 0x00007feb5b4f860f in WebCore::RenderBox::updateLogicalWidth() (this=0x7feafd52cc80) at ../../Source/WebCore/rendering/RenderBox.cpp:2408
#11 0x00007feb5b4c9917 in WebCore::RenderBlock::recomputeLogicalWidth() (this=0x7feafd52cc80) at ../../Source/WebCore/rendering/RenderBlock.cpp:638
#12 0x00007feb5b780523 in WebCore::RenderMathMLRow::layoutBlock(bool, WebCore::LayoutUnit) (this=0x7feafd52cc80, relayoutChildren=false) at ../../Source/WebCore/rendering/mathml/RenderMathMLRow.cpp:167
#13 0x00007feb5b7755f0 in WebCore::RenderMathMLMath::layoutBlock(bool, WebCore::LayoutUnit) (this=0x7feafd52cc80, relayoutChildren=false, pageLogicalHeight=...) at ../../Source/WebCore/rendering/mathml/RenderMathMLMath.cpp:62
#14 0x00007feb5b4c9675 in WebCore::RenderBlock::layout() (this=0x7feafd52cc80) at ../../Source/WebCore/rendering/RenderBlock.cpp:598
#15 0x00007feb5b42ac81 in WebCore::RenderElement::layoutIfNeeded() (this=0x7feafd52cc80) at ../../Source/WebCore/rendering/RenderElement.h:123
#16 0x00007feb5b426ae2 in WebCore::ComplexLineLayout::layoutLineBoxes(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&) (this=0x7fead1632cf0, relayoutChildren=true, repaintLogicalTop=..., repaintLogicalBottom=...) at ../../Source/WebCore/rendering/ComplexLineLayout.cpp:1785
#17 0x00007feb5b4db9fb in WebCore::RenderBlockFlow::layoutInlineChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&) (this=0x7feae7f096f8, relayoutChildren=true, repaintLogicalTop=..., repaintLogicalBottom=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:701
#18 0x00007feb5b4dac91 in WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) (this=0x7feae7f096f8, relayoutChildren=true, pageLogicalHeight=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:511
#19 0x00007feb5b4c9675 in WebCore::RenderBlock::layout() (this=0x7feae7f096f8) at ../../Source/WebCore/rendering/RenderBlock.cpp:598
#20 0x00007feb5b4dbdb4 in WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) (this=0x7feae7f095e0, child=..., marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:759
#21 0x00007feb5b4db7fc in WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) (this=0x7feae7f095e0, relayoutChildren=true, maxFloatLogicalBottom=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:661
#22 0x00007feb5b4dacb5 in WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) (this=0x7feae7f095e0, relayoutChildren=true, pageLogicalHeight=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:513
#23 0x00007feb5b4c9675 in WebCore::RenderBlock::layout() (this=0x7feae7f095e0) at ../../Source/WebCore/rendering/RenderBlock.cpp:598
#24 0x00007feb5b4dbdb4 in WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) (this=0x7feafd541200, child=..., marginInfo=..., previousFloatLogicalBottom=..., maxFloatLogicalBottom=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:759
#25 0x00007feb5b4db7fc in WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) (this=0x7feafd541200, relayoutChildren=true, maxFloatLogicalBottom=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:661
#26 0x00007feb5b4dacb5 in WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) (this=0x7feafd541200, relayoutChildren=true, pageLogicalHeight=...) at ../../Source/WebCore/rendering/RenderBlockFlow.cpp:513
#27 0x00007feb5b4c9675 in WebCore::RenderBlock::layout() (this=0x7feafd541200) at ../../Source/WebCore/rendering/RenderBlock.cpp:598
#28 0x00007feb5b71503b in WebCore::RenderView::layout() (this=0x7feafd541200) at ../../Source/WebCore/rendering/RenderView.cpp:186
#29 0x00007feb5aef77eb in WebCore::FrameViewLayoutContext::layout() (this=0x7feafd540148) at ../../Source/WebCore/page/FrameViewLayoutContext.cpp:252

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200806/e64cfb0f/attachment.htm>


More information about the webkit-unassigned mailing list