| Summary: | [GTK][WPE] Mathml asserts with invisible operators | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> | ||||
| Component: | MathML | Assignee: | Arcady Goldmints-Orlov <crzwdjk> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bugs-noreply, crzwdjk, dpino, fred.wang, rbuis, rwlbuis, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=216871 | ||||||
| Attachments: |
|
||||||
|
Description
Lauro Moura
2020-08-06 08:10:29 PDT
There other tests were also crashing in GTK Tests Debug: imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-largeop-003.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-largeop-004.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-largeop-005.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-largeop-006.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-movablelimits-003.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-movablelimits-004.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-movablelimits-005.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-movablelimits-006.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-spacing-003.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-spacing-004.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-spacing-005.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-spacing-006.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-stretchy-003.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-stretchy-004.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-stretchy-005.html imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-stretchy-006.html See: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Debug%20(Tests)/r267553%20(7313)/results.html Stderr from Debug: STDERR: ASSERTION FAILED: glyphWidth <= preferredWidth STDERR: ../../Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp(202) : virtual void WebCore::RenderMathMLOperator::computePreferredLogicalWidths() STDERR: 1 0x7ff1139461a9 WTFCrash STDERR: 2 0x7ff11fdfb10b /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0xae4510b) [0x7ff11fdfb10b] STDERR: 3 0x7ff12482ac0d WebCore::RenderMathMLOperator::computePreferredLogicalWidths() STDERR: 4 0x7ff124563791 WebCore::RenderBox::maxPreferredLogicalWidth() const STDERR: 5 0x7ff1248284ff WebCore::RenderMathMLRow::computePreferredLogicalWidths() STDERR: 6 0x7ff124563711 WebCore::RenderBox::minPreferredLogicalWidth() const STDERR: 7 0x7ff1245617b3 WebCore::RenderBox::computeLogicalWidthInFragmentUsing(WebCore::SizeType, WebCore::Length, WebCore::LayoutUnit, WebCore::RenderBlock const&, WebCore::RenderFragmentContainer*) const STDERR: 8 0x7ff124537888 WebCore::RenderBox::computeLogicalWidthInFragment(WebCore::RenderBox::LogicalExtentComputedValues&, WebCore::RenderFragmentContainer*) const STDERR: 9 0x7ff12457094e WebCore::RenderBox::updateLogicalWidth() STDERR: 10 0x7ff1245350e6 WebCore::RenderBlock::recomputeLogicalWidth() STDERR: 11 0x7ff1248271e1 WebCore::RenderMathMLRow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 12 0x7ff124826e57 WebCore::RenderMathMLMath::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 13 0x7ff124534fa9 WebCore::RenderBlock::layout() STDERR: 14 0x7ff124484f2c WebCore::RenderElement::layoutIfNeeded() STDERR: 15 0x7ff12447baa2 WebCore::ComplexLineLayout::layoutLineBoxes(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 16 0x7ff12454edfe WebCore::RenderBlockFlow::layoutInlineChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 17 0x7ff12454df39 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 18 0x7ff124534fa9 WebCore::RenderBlock::layout() STDERR: 19 0x7ff1245506f2 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 20 0x7ff12454f074 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) STDERR: 21 0x7ff12454df56 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 22 0x7ff124534fa9 WebCore::RenderBlock::layout() STDERR: 23 0x7ff1245506f2 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 24 0x7ff12454f074 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) STDERR: 25 0x7ff12454df56 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 26 0x7ff124534fa9 WebCore::RenderBlock::layout() STDERR: 27 0x7ff1245506f2 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 28 0x7ff12454f074 WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) STDERR: 29 0x7ff12454df56 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 30 0x7ff124534fa9 WebCore::RenderBlock::layout() STDERR: 31 0x7ff1247b9013 WebCore::RenderView::layout() STDERR: LEAK: 1 WebPageProxy I can't repro this locally. Is this happening locally for others or only on the bot? (In reply to Rob Buis from comment #3) > I can't repro this locally. Is this happening locally for others or only on > the bot? I guess this depends on installed/used fonts. In the end, the assert in question got removed, so the tests now pass. Created attachment 446087 [details]
[fast-cq] Patch
Committed r286584 (?): <https://commits.webkit.org/r286584> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446087 [details]. |