Bug 244676 - [ macOS wk1 Debug ] imported/w3c/web-platform-tests/navigation-timing/dom_interactive_media_document.html is a flaky crash
Summary: [ macOS wk1 Debug ] imported/w3c/web-platform-tests/navigation-timing/dom_int...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-01 09:44 PDT by Karl Rackler
Modified: 2022-09-04 12:30 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Rackler 2022-09-01 09:44:52 PDT
Description:
imported/w3c/web-platform-tests/navigation-timing/dom_interactive_media_document.html

This test was added at 237930@main and began to flaky crash approximately at 246805@main.  The test then increased the frequency of flaky crashes approximately in the 253722@main - 253734@main range.

REPRODUCTION STEPS
I can reproduce this on 254040@main ToT.

Command: 
run-webkit-tests --debug -1 --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --iterations 50 -f --no-retry imported/w3c/web-platform-tests/navigation-timing/dom_interactive_media_document.html

Result: 
Unexpected flakiness: crashes (1)
  imported/w3c/web-platform-tests/navigation-timing/dom_interactive_media_document.html [ Crash Pass ]

History:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fnavigation-timing%2Fdom_interactive_media_document.html&platform=mac&style=debug&flavor=wk1&limit=50000&recent=false

Crash Log:
No crash log found for DumpRenderTree:19904.

stdout:

stderr:
ASSERTION FAILED: !needsLayout()
page/FrameView.cpp(4560) : virtual void WebCore::FrameView::paintContents(WebCore::GraphicsContext &, const WebCore::IntRect &, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext *)
1   0x10d96fb49 WTFCrash
2   0x19c0782ab WTFCrashWithInfo(int, char const*, char const*, int)
3   0x1a08a3c1f WebCore::FrameView::paintContents(WebCore::GraphicsContext&, WebCore::IntRect const&, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext*)
4   0x10a9aba1c -[WebFrame(WebInternal) _drawRect:contentsOnly:]
5   0x10a9cf9d3 -[WebHTMLView drawSingleRect:]
6   0x10a9d0035 -[WebHTMLView drawRect:]
7   0x7ff80bec3280 _NSViewDrawRect
8   0x7ff80c5de3bd -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
9   0x10a9c37c6 -[WebHTMLView(WebPrivate) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
10  0x7ff80c5de70b -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
11  0x7ff80c5de70b -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
12  0x7ff80c5de70b -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
13  0x7ff80c033195 -[NSView displayRectIgnoringOpacity:inContext:]
14  0x19e76ef2c WebCore::Widget::paint(WebCore::GraphicsContext&, WebCore::IntRect const&, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext*)
15  0x1a0b5f753 WebCore::ScrollView::paint(WebCore::GraphicsContext&, WebCore::IntRect const&, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext*)
16  0x1a168b369 WebCore::RenderWidget::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&)
17  0x1a168bc23 WebCore::RenderWidget::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&)
18  0x1a151ba16 WebCore::RenderLayer::paintForegroundForFragmentsWithPhase(WebCore::PaintPhase, WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::RenderObject*)
19  0x1a151978d WebCore::RenderLayer::paintForegroundForFragments(WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&, WebCore::GraphicsContext&, WebCore::GraphicsContext&, WebCore::LayoutRect const&, bool, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::RenderObject*)
20  0x1a1515a48 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::RenderLayer::PaintLayerFlag>)
21  0x1a155fcb2 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::IntRect const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::EventRegionContext*)::$_11::operator()(WebCore::RenderLayer&, WTF::OptionSet<WebCore::RenderLayer::PaintLayerFlag>) const
22  0x1a155f5d6 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::IntRect const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::EventRegionContext*)
23  0x1a1560a11 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int)
24  0x1a0d8abb0 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int)
25  0x1a0e711bf WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int)
26  0x19e38f900 WebCore::PlatformCALayer::drawLayerContents(WebCore::GraphicsContext&, WebCore::PlatformCALayer*, WTF::Vector<WebCore::FloatRect, 5ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, unsigned int)
27  0x19e49a896 -[WebLayer drawInContext:]
28  0x7ff8103f199d CABackingStoreUpdate_
29  0x7ff8104559fd invocation function for block in CA::Layer::display_()
30  0x7ff8103f09d1 -[CALayer _display]
31  0x19e49b1ad -[WebSimpleLayer display]
Comment 1 Radar WebKit Bug Importer 2022-09-01 09:45:09 PDT
<rdar://problem/99444286>
Comment 2 Karl Rackler 2022-09-01 09:53:49 PDT
I have marked this test as a flaky crash while this issue is investigated.
Comment 3 EWS 2022-09-01 09:58:25 PDT
Test gardening commit 254045@main (e02c2d9e0412): <https://commits.webkit.org/254045@main>

Reviewed commits have been landed. Closing PR #3916 and removing active labels.
Comment 4 Alexey Proskuryakov 2022-09-04 12:13:21 PDT
Seems like a dupe of bug 244714 (filed earlier, but there is a bit more analysis in 244714).