Bug 235556 - ASSERTION FAILED: lastWordBoundary == i ../../Source/WebCore/rendering/RenderText.cpp(1190) : void WebCore::RenderText::computePreferredLogicalWidths(float, WTF::HashSet<const WebCore::Font*>&, WebCore::GlyphOverflow&)
Summary: ASSERTION FAILED: lastWordBoundary == i ../../Source/WebCore/rendering/Render...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-24 20:07 PST by A
Modified: 2022-01-31 20:08 PST (History)
4 users (show)

See Also:


Attachments
the html (468.82 KB, application/zip)
2022-01-24 20:07 PST, A
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description A 2022-01-24 20:07:13 PST
Created attachment 449890 [details]
the html

1. build a debug webkit
2. open the html
3. crash

ASSERTION FAILED: lastWordBoundary == i
../../Source/WebCore/rendering/RenderText.cpp(1190) : void WebCore::RenderText::computePreferredLogicalWidths(float, WTF::HashSet<const WebCore::Font*>&, WebCore::GlyphOverflow&)
1   0x7f619029c964 WTFReportBacktrace
2   0x7f619029cc01 WTFCrash
3   0x7f61a9d93ba1 WTF::CrashOnOverflow::overflowed()
4   0x7f61b3a36a9c WebCore::RenderText::computePreferredLogicalWidths(float, WTF::HashSet<WebCore::Font const*, WTF::DefaultHash<WebCore::Font const*>, WTF::HashTraits<WebCore::Font const*>, WTF::HashTableTraits>&, WebCore::GlyphOverflow&)
5   0x7f61b3a33676 WebCore::RenderText::computePreferredLogicalWidths(float)
6   0x7f61b3a324e4 WebCore::RenderText::trimmedPreferredWidths(float, bool&)
7   0x7f61b35d4105 WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
8   0x7f61b35a17bc WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
9   0x7f61b34e61c5 WebCore::RenderBlock::computePreferredLogicalWidths()
10  0x7f61b35e1528 WebCore::RenderBox::minPreferredLogicalWidth() const
11  0x7f61b34e7d1e WebCore::RenderBlock::computeChildIntrinsicLogicalWidths(WebCore::RenderObject&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
12  0x7f61b34e8276 WebCore::RenderBlock::computeChildPreferredLogicalWidths(WebCore::RenderObject&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
13  0x7f61b34e6c24 WebCore::RenderBlock::computeBlockPreferredLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
14  0x7f61b35a17de WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
15  0x7f61b34e61c5 WebCore::RenderBlock::computePreferredLogicalWidths()
16  0x7f61b35e1528 WebCore::RenderBox::minPreferredLogicalWidth() const
17  0x7f61b34e7d1e WebCore::RenderBlock::computeChildIntrinsicLogicalWidths(WebCore::RenderObject&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
18  0x7f61b34e8276 WebCore::RenderBlock::computeChildPreferredLogicalWidths(WebCore::RenderObject&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
19  0x7f61b34e6c24 WebCore::RenderBlock::computeBlockPreferredLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
20  0x7f61b35a17de WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths(WebCore::LayoutUnit&, WebCore::LayoutUnit&) const
21  0x7f61b34e61c5 WebCore::RenderBlock::computePreferredLogicalWidths()
22  0x7f61b35e170a WebCore::RenderBox::maxPreferredLogicalWidth() const
23  0x7f61b35f8db4 WebCore::RenderBox::computeLogicalWidthInFragmentUsing(WebCore::SizeType, WebCore::Length, WebCore::LayoutUnit, WebCore::RenderBlock const&, WebCore::RenderFragmentContainer*) const
24  0x7f61b35f71c5 WebCore::RenderBox::computeLogicalWidthInFragment(WebCore::RenderBox::LogicalExtentComputedValues&, WebCore::RenderFragmentContainer*) const
25  0x7f61b35f5e4c WebCore::RenderBox::updateLogicalWidth()
26  0x7f61b34ce0fe WebCore::RenderBlock::recomputeLogicalWidth()
27  0x7f61b35a1ce7 WebCore::RenderBlockFlow::recomputeLogicalWidthAndColumnWidth()
28  0x7f61b35a3bd0 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit)
29  0x7f61b34cd8ab WebCore::RenderBlock::layout()
30  0x7f61b3410e9e WebCore::RenderElement::layoutIfNeeded()
31  0x7f61b35baa54 WebCore::RenderBlockFlow::insertFloatingObject(WebCore::RenderBox&)
Comment 1 Radar WebKit Bug Importer 2022-01-31 20:08:19 PST
<rdar://problem/88308854>