Bug 229423

Summary: ASSERTION FAILED: !needsLayout() on http/tests/paymentrequest/payment-response-reference-cycle-leak.https.html
Product: WebKit Reporter: ayumi_kojima
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: aestes, bfulgham, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Apple Silicon)   
OS: Unspecified   

Description ayumi_kojima 2021-08-23 14:26:56 PDT
http/tests/paymentrequest/payment-response-reference-cycle-leak.https.html

Is a flaky crash on macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS

The crash is not seen on the open source directory: https://results.webkit.org/?suite=layout-tests&test=http/tests/paymentrequest/payment-response-reference-cycle-leak.https.html

It appears that the flaky crash started at this build https://ews-build.webkit.org/#/builders/60/builds/6624

Result page: https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/r431640-6624/results.html

Crash log:

No crash log found for com.apple.WebKit.WebContent.Development:99520.

stdout:

stderr:
ASSERTION FAILED: !needsLayout()
./rendering/RenderView.cpp(305) : virtual void WebCore::RenderView::paint(WebCore::PaintInfo &, const WebCore::LayoutPoint &)
1   0x13a082a8c WTFCrash
2   0x11871ede0 JSC::JSValue::isUndefined() const
3   0x11cdbfbec WebCore::RenderView::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&)
4   0x11cc50fd8 WebCore::RenderLayer::paintBackgroundForFragments(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*)
5   0x11cc4d930 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::RenderLayer::PaintLayerFlag>)
6   0x11cc6e930 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::IntRect const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::EventRegionContext*)::$_24::operator()(WebCore::RenderLayer&, WTF::OptionSet<WebCore::RenderLayer::PaintLayerFlag>) const
7   0x11cc6e334 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::IntRect const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::EventRegionContext*)
8   0x11cc6f60c WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int)
9   0x11c50a474 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int)
10  0x11c5cbbc0 WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int)
11  0x119b4a3ac WebCore::PlatformCALayer::drawLayerContents(WebCore::GraphicsContext&, WebCore::PlatformCALayer*, WTF::Vector<WebCore::FloatRect, 5ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, unsigned int)
12  0x11c611884 WebCore::TileGrid::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int)
13  0x119d72704 -[WebSimpleLayer drawInContext:]
14  0x199b4b7ac CABackingStoreUpdate_
15  0x199ba84b4 invocation function for block in CA::Layer::display_()
16  0x199b4aa34 -[CALayer _display]
17  0x119d72448 -[WebSimpleLayer display]
18  0x199b49b2c CA::Layer::display_if_needed(CA::Transaction*)
19  0x199c75b64 CA::Context::commit_transaction(CA::Transaction*, double, double*)
20  0x199b2bab8 CA::Transaction::commit()
21  0x196200470 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke
22  0x19695523c ___NSRunLoopObserverCreateWithHandler_block_invoke
23  0x193895cc8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
24  0x193895b14 __CFRunLoopDoObservers
25  0x19389505c __CFRunLoopRun
26  0x1938945e8 CFRunLoopRunSpecific
27  0x19463d688 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
28  0x1946cfb70 -[NSRunLoop(NSRunLoop) run]
29  0x19350b768 _xpc_objc_main
30  0x19350af94 xpc_main
31  0x10613fc40 WebKit::XPCServiceMain(int, char const**)
com.apple.WebKit.WebContent.Development terminated (pid 99520) because the process crashed
LEAK: 1 WebPageProxy
Comment 1 Radar WebKit Bug Importer 2021-08-23 14:30:33 PDT
<rdar://problem/82261836>
Comment 2 ayumi_kojima 2021-08-23 14:40:20 PDT
Marked expectations https://trac.webkit.org/changeset/281471/webkit