Bug 262107 - REGRESSION(249828@main) ASSERTION FAILED: willBeComposited == needsToBeComposited in https://www.playstation.com/
Summary: REGRESSION(249828@main) ASSERTION FAILED: willBeComposited == needsToBeCompos...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Compositing (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Linux
: P2 Normal
Assignee: Tomoki Imai
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-26 03:16 PDT by Tomoki Imai
Modified: 2023-10-03 03:16 PDT (History)
2 users (show)

See Also:


Attachments
testcase (317 bytes, text/html)
2023-09-26 03:16 PDT, Tomoki Imai
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoki Imai 2023-09-26 03:16:02 PDT
Created attachment 467873 [details]
testcase

How to reproduce:

- Build WebKitGTK with debug configuration
- Open MiniBrowser
- Make Preferences=>Hardware Acceleration Policy "never"
- Navigate to https://www.playstation.com/ (or attached testcase)

Expected result:
We don't see any assertion failures.

Actual result:
We see the following assertion failure.


ASSERTION FAILED: willBeComposited == needsToBeComposited(layer, queryData)
/app/webkit/Source/WebCore/rendering/RenderLayerCompositor.cpp(1282) : void WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer*, WebCore::RenderLayer&, WebCore::LayerOverlapMap&, CompositingState&, BackingSharingState&, bool&)
1   0x7f6d058cafb3 WTFCrash
2   0x7f6d0fbf4379 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0x8ff4379) [0x7f6d0fbf4379]
3   0x7f6d1622729b /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf62729b) [0x7f6d1622729b]
4   0x7f6d16226ee3 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf626ee3) [0x7f6d16226ee3]
5   0x7f6d16226ee3 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf626ee3) [0x7f6d16226ee3]
6   0x7f6d16226ee3 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf626ee3) [0x7f6d16226ee3]
7   0x7f6d1622567e /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xf62567e) [0x7f6d1622567e]
8   0x7f6d15642e79 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xea42e79) [0x7f6d15642e79]
9   0x7f6d15644c71 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xea44c71) [0x7f6d15644c71]
10  0x7f6d1565dbfd /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xea5dbfd) [0x7f6d1565dbfd]
11  0x7f6d1565cd9d WebCore::LocalFrameViewLayoutContext::layout()
12  0x7f6d15655aa3 WebCore::LocalFrameView::updateLayoutAndStyleIfNeededRecursive()
13  0x7f6d156be631 WebCore::Page::layoutIfNeeded()
14  0x7f6d156bf4f1 WebCore::Page::updateRendering()
15  0x7f6d115e9cc8 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xa9e9cc8) [0x7f6d115e9cc8]
16  0x7f6d1167de02 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa7de02) [0x7f6d1167de02]
17  0x7f6d1167da0d /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa7da0d) [0x7f6d1167da0d]
18  0x7f6d1167d860 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa7d860) [0x7f6d1167d860]
19  0x7f6d1169741f /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa9741f) [0x7f6d1169741f]
20  0x7f6d11697315 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa97315) [0x7f6d11697315]
21  0x7f6d11697211 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa97211) [0x7f6d11697211]
22  0x7f6d11697135 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa97135) [0x7f6d11697135]
23  0x7f6d116970b4 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0xaa970b4) [0x7f6d116970b4]
24  0x7f6d104e3881 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0x98e3881) [0x7f6d104e3881]
25  0x7f6d105ec27c /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.1.so.0(+0x99ec27c) [0x7f6d105ec27c]
26  0x7f6d05a1b195 /app/webkit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.1.so.0(+0x461b195) [0x7f6d05a1b195]
27  0x7f6d05a1b1d5 /app/webkit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.1.so.0(+0x461b1d5) [0x7f6d05a1b1d5]
28  0x7f6d05a1a6df /app/webkit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.1.so.0(+0x461a6df) [0x7f6d05a1a6df]
29  0x7f6d05a1a72d /app/webkit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.1.so.0(+0x461a72d) [0x7f6d05a1a72d]
30  0x7f6cfed16527 g_main_context_dispatch
31  0x7f6cfed73888 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xbd888) [0x7f6cfed73888]
Comment 1 Tomoki Imai 2023-09-26 03:18:14 PDT
This seems to be happened by 281913@main
Comment 2 Tomoki Imai 2023-09-26 03:19:38 PDT
249828@main added new layerWillComposite without "canBeComposited" block.
Comment 3 Tomoki Imai 2023-09-26 03:34:22 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18221
Comment 4 Radar WebKit Bug Importer 2023-10-03 03:16:14 PDT
<rdar://problem/116393838>