Summary: | [ Catalina EWS ] webgl/2.0.0/* tests are flaky crashing ASSERTION FAILED: !needsLayout() | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | ayumi_kojima | ||||
Component: | WebGL | Assignee: | Robert Jenner <jenner> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | aakash_jain, dino, ehutchison, kbr, kkinnunen, rackler, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 239640 | ||||||
Attachments: |
|
Description
ayumi_kojima
2021-08-26 11:33:51 PDT
Created attachment 436538 [details]
Crash log
Updated test expectations https://trac.webkit.org/changeset/281637/webkit I was able to reproduce the crash on BigSur arm64 using: run-webkit-tests --iterations 50 --exit-after-n-crashes-or-timeouts 1 webgl/2.0.0/conformance/textures/misc/texture-upload-size.html -1 --debug I was able to reproduce the crash on Catalina. The crash seems to have started somewhere between r242257 and r242309 (No revisions to test in-between). With r242256 and older revisions, the test crashed but with a different stderr: ERROR: invalid option: JSC_useSharedArrayBuffer=1 ERROR: invalid option: JSC_useKernTCSM=false 2021-09-10 16:56:36.239 DumpRenderTree[18484:908573] NetworkStorageDB:_openDBReadConnections: failed to open read connection to DB @ (null)/Cache.db. Error=14. Cause=unable to open database file 2021-09-10 16:56:36.239 DumpRenderTree[18484:908573] CacheRead: unable to open cache files in (null) 2021-09-10 16:56:36.743 DumpRenderTree[18484:908573] *** WARNING: Method convertPointToBase: in class NSView is deprecated on 10.7 and later. It should not be used in new applications. ASSERTION FAILED: !needsLayout() ./page/FrameView.cpp(4199) : virtual void WebCore::FrameView::paintContents(WebCore::GraphicsContext &, const WebCore::IntRect &, WebCore::Widget::SecurityOriginPaintPolicy) 1 0x110207589 WTFCrash 2 0x11ce555fb WTFCrashWithInfo(int, char const*, char const*, int) 3 0x11fc844fd WebCore::FrameView::paintContents(WebCore::GraphicsContext&, WebCore::IntRect const&, WebCore::Widget::SecurityOriginPaintPolicy) 4 0x10ed6f400 -[WebFrame(WebInternal) _drawRect:contentsOnly:] 5 0x10edc8041 -[WebHTMLView drawSingleRect:] 6 0x10edc8778 -[WebHTMLView drawRect:] 7 0x7fff32b8259f _NSViewDrawRect 8 0x7fff32b818ae -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] 9 0x7fff32b81c3f -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] 10 0x7fff32b81c3f -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] 11 0x7fff32b81c3f -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] 12 0x7fff32d16c58 -[NSView displayRectIgnoringOpacity:inContext:] 13 0x11d8f5d2c WebCore::Widget::paint(WebCore::GraphicsContext&, WebCore::IntRect const&, WebCore::Widget::SecurityOriginPaintPolicy) 14 0x11fe679a3 WebCore::ScrollView::paint(WebCore::GraphicsContext&, WebCore::IntRect const&, WebCore::Widget::SecurityOriginPaintPolicy) 15 0x1205946cc WebCore::RenderWidget::paintContents(WebCore::PaintInfo&, WebCore::LayoutPoint const&) 16 0x120594f61 WebCore::RenderWidget::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) 17 0x12045df23 WebCore::RenderLayer::paintForegroundForFragmentsWithPhase(WebCore::PaintPhase, WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul> const&, WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::RenderObject*) 18 0x12045bcf6 WebCore::RenderLayer::paintForegroundForFragments(WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul> const&, WebCore::GraphicsContext&, WebCore::GraphicsContext&, WebCore::LayoutRect const&, bool, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::PaintBehavior>, WebCore::RenderObject*) 19 0x120457986 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&, WebCore::RenderLayer::LayerPaintingInfo const&, WTF::OptionSet<WebCore::RenderLayer::PaintLayerFlag>) 20 0x120475f79 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, WebCore::IntRect const&, WTF::OptionSet<WebCore::PaintBehavior>, unsigned char) 21 0x120476511 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, unsigned char, WebCore::FloatRect const&, unsigned int) 22 0x11ff8ae17 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int) 23 0x11fff338d WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&, WebCore::FloatRect const&, unsigned int) 24 0x11d4fd2d4 WebCore::PlatformCALayer::drawLayerContents(CGContext*, WebCore::PlatformCALayer*, WTF::Vector<WebCore::FloatRect, 5ul, WTF::CrashOnOverflow, 16ul>&, unsigned int) 25 0x11d788e93 -[WebLayer drawInContext:] 26 0x7fff4127b86d CABackingStoreUpdate_ 27 0x7fff412db4ad invocation function for block in CA::Layer::display_() 28 0x7fff4127ad86 -[CALayer _display] 29 0x11d78946b -[WebSimpleLayer display] 30 0x7fff41279e09 CA::Layer::display_if_needed(CA::Transaction*) 31 0x7fff41258106 CA::Context::commit_transaction(CA::Transaction*, double) So this appears to be an assertion due to WebGL test suite using iframes. Since there are thousands of WebGL tests, the iframe related assertion is more likely to come during WebGL. In the environment, iframes on WK1 runner (at least) seem to fail to layout. It's unclear if this is related to WebGL, most likely not. It's unclear if this is related to Catalina, or is this happening on Catalina only because the bots might be slower. I'd propose to move this to CSS and Zalan to fix this in case he thinks this is a priority :) *** Bug 230835 has been marked as a duplicate of this bug. *** Pull request: https://github.com/WebKit/WebKit/pull/527 Test gardening commit r293845 (250316@main): <https://commits.webkit.org/250316@main> Reviewed commits have been landed. Closing PR #527 and removing active labels. *** Bug 204029 has been marked as a duplicate of this bug. *** *** Bug 217761 has been marked as a duplicate of this bug. *** |