Bug 286130

Summary: [GTK] imported/w3c/web-platform-tests/css/css-multicol/crashtests/inline-float-parallel-flow.html: ASSERTION FAILED: newFloatItem.layoutBox() => m_list.findIf([&] (auto& entry) { return entry.layoutBox() == newFloatItem.layoutBox(); }) == notFound
Product: WebKit Reporter: Claudio Saavedra <csaavedra>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, fujii
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Claudio Saavedra
Reported 2025-01-17 02:04:09 PST
The test imported/w3c/web-platform-tests/css/css-multicol/crashtests/inline-float-parallel-flow.html is crashing in Release with assertions enabled. STDERR: ASSERTION FAILED: newFloatItem.layoutBox() => m_list.findIf([&] (auto& entry) { return entry.layoutBox() == newFloatItem.layoutBox(); }) == notFound STDERR: /app/webkit/Source/WebCore/layout/floats/PlacedFloats.cpp(83) : void WebCore::Layout::PlacedFloats::append(Item) STDERR: 1 0x7fc7cfda866e WebCore::Layout::PlacedFloats::append(WebCore::Layout::PlacedFloats::Item) STDERR: 2 0x7fc7cfde6bb1 WebCore::Layout::LineBuilder::tryPlacingFloatBox(WebCore::Layout::Box const&, WebCore::Layout::LineBuilder::MayOverConstrainLine) STDERR: 3 0x7fc7cfdebdd8 WebCore::Layout::LineBuilder::placeInlineAndFloatContent(WebCore::Layout::InlineItemRange const&) STDERR: 4 0x7fc7cfdec2a1 WebCore::Layout::LineBuilder::layoutInlineContent(WebCore::Layout::LineInput const&, std::optional<WebCore::Layout::PreviousLine> const&) STDERR: 5 0x7fc7cfdc8163 WebCore::Layout::InlineFormattingContext::lineLayout(WebCore::Layout::AbstractLineBuilder&, WTF::Vector<WebCore::Layout::InlineItem, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WebCore::Layout::InlineItemRange, std::optional<WebCore::Layout::PreviousLine>, WebCore::Layout::ConstraintsForInlineContent const&, WebCore::Layout::InlineDamage const*) STDERR: 6 0x7fc7cfdd68db WebCore::Layout::InlineFormattingContext::layout(WebCore::Layout::ConstraintsForInlineContent const&, WebCore::Layout::InlineDamage*) STDERR: 7 0x7fc7cfe3e865 WebCore::LayoutIntegration::LineLayout::layout() STDERR: 8 0x7fc7d07b9b9f WebCore::RenderBlockFlow::layoutInlineContent(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 9 0x7fc7d07ba7de WebCore::RenderBlockFlow::layoutInFlowChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 10 0x7fc7d07bacc4 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 11 0x7fc7d077d8e6 WebCore::RenderBlock::layout() STDERR: 12 0x7fc7d07ad2a5 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 13 0x7fc7d07b90bd WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) STDERR: 14 0x7fc7d07ba70c WebCore::RenderBlockFlow::layoutInFlowChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 15 0x7fc7d07bacc4 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 16 0x7fc7d077d8e6 WebCore::RenderBlock::layout() STDERR: 17 0x7fc7d080e965 WebCore::RenderFragmentedFlow::layout() STDERR: 18 0x7fc7d08ed31d WebCore::RenderMultiColumnFlow::layout() STDERR: 19 0x7fc7d07be1fb WebCore::RenderBlockFlow::layoutExcludedChildren(bool) STDERR: 20 0x7fc7d07b8fdf WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) STDERR: 21 0x7fc7d07ba70c WebCore::RenderBlockFlow::layoutInFlowChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 22 0x7fc7d07bacc4 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 23 0x7fc7d077d8e6 WebCore::RenderBlock::layout() STDERR: 24 0x7fc7d07ad2a5 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 25 0x7fc7d07b90bd WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) STDERR: 26 0x7fc7d07ba70c WebCore::RenderBlockFlow::layoutInFlowChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 27 0x7fc7d07bacc4 WebCore::RenderBlockFlow::layoutBlock(bool, WebCore::LayoutUnit) STDERR: 28 0x7fc7d077d8e6 WebCore::RenderBlock::layout() STDERR: 29 0x7fc7d07ad2a5 WebCore::RenderBlockFlow::layoutBlockChild(WebCore::RenderBox&, WebCore::RenderBlockFlow::MarginInfo&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: 30 0x7fc7d07b90bd WebCore::RenderBlockFlow::layoutBlockChildren(bool, WebCore::LayoutUnit&) STDERR: 31 0x7fc7d07ba70c WebCore::RenderBlockFlow::layoutInFlowChildren(bool, WebCore::LayoutUnit&, WebCore::LayoutUnit&, WebCore::LayoutUnit&) STDERR: WebKitWebProcess terminated (pid 32400) for reason: crash I'm skipping it to unclog the layout test runner bots that now have assertions enabled.
Attachments
Fujii Hironori
Comment 1 2025-09-04 01:44:43 PDT
WPE Release layout test EWS is also crashing after 299486@main. But, this crash is not specific to GTK and WPE. This is common bug tracked by bug#279421. I'm going to move the marker to glib/TestExpectations, and change the bug id. *** This bug has been marked as a duplicate of bug 279421 ***
Fujii Hironori
Comment 2 2025-09-04 01:56:15 PDT
EWS
Comment 3 2025-09-04 03:41:08 PDT
Test gardening commit 299550@main (8fb80643d9f8): <https://commits.webkit.org/299550@main> Reviewed commits have been landed. Closing PR #50293 and removing active labels.
Fujii Hironori
Comment 4 2026-03-08 21:59:55 PDT
*** This bug has been marked as a duplicate of bug 279421 ***
Note You need to log in before you can comment on or make changes to this bug.