[Webkit-unassigned] [Bug 233455] New: [GTK][GTK4] MiniBrowser asserts in isInAcceleratedCompositingMode opening page in debug mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 23 20:06:51 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=233455

            Bug ID: 233455
           Summary: [GTK][GTK4] MiniBrowser asserts in
                    isInAcceleratedCompositingMode opening page in debug
                    mode
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com
                CC: bugs-noreply at webkitgtk.org

Steps to reproduce:

* Build with GTK4 enabled: --cmakeargs="-DUSE_GTK4=On"   
* Run MiniBrowser

It asserts checking for drawingArea->isInAcceleratedCompositingMode().

Looks like the snapshots are being requested before the rendering scheme effectively transitions to AC mode.

Trace:

ASSERTION FAILED: drawingArea->isInAcceleratedCompositingMode()
/app/webkit/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp(729) : void webkitWebViewBaseSnapshot(GtkWidget*, GtkSnapshot*)
1   0x7f4b7f437c2d WTFCrash
2   0x7f4b82b02f56 std::numeric_limits<unsigned int>::max()
3   0x7f4b83bbb587 /app/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-5.0.so.0(+0x20a9587) [0x7f4b83bbb587]
4   0x7f4b815c874f /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31774f) [0x7f4b815c874f]
5   0x7f4b815cb614 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31a614) [0x7f4b815cb614]
6   0x7f4b815d8003 gtk_widget_snapshot_child
7   0x7f4b814c7af5 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x216af5) [0x7f4b814c7af5]
8   0x7f4b815c874f /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31774f) [0x7f4b815c874f]
9   0x7f4b815cb614 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31a614) [0x7f4b815cb614]
10  0x7f4b815d8003 gtk_widget_snapshot_child
11  0x7f4b815d808e /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x32708e) [0x7f4b815d808e]
12  0x7f4b815c874f /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31774f) [0x7f4b815c874f]
13  0x7f4b815cb614 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31a614) [0x7f4b815cb614]
14  0x7f4b815d8003 gtk_widget_snapshot_child
15  0x7f4b815c874f /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31774f) [0x7f4b815c874f]
16  0x7f4b815cb614 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31a614) [0x7f4b815cb614]
17  0x7f4b815d8003 gtk_widget_snapshot_child
18  0x7f4b815d808e /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x32708e) [0x7f4b815d808e]
19  0x7f4b815c874f /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31774f) [0x7f4b815c874f]
20  0x7f4b815cb614 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31a614) [0x7f4b815cb614]
21  0x7f4b815d8003 gtk_widget_snapshot_child
22  0x7f4b815d808e /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x32708e) [0x7f4b815d808e]
23  0x7f4b815c874f /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31774f) [0x7f4b815c874f]
24  0x7f4b815cb614 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31a614) [0x7f4b815cb614]
25  0x7f4b815d8003 gtk_widget_snapshot_child
26  0x7f4b815d808e /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x32708e) [0x7f4b815d808e]
27  0x7f4b815c8b26 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x317b26) [0x7f4b815c8b26]
28  0x7f4b815cb614 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x31a614) [0x7f4b815cb614]
29  0x7f4b815d79b3 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x3269b3) [0x7f4b815d79b3]
30  0x7f4b815e44e6 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x3334e6) [0x7f4b815e44e6]
31  0x7f4b816d1438 /usr/lib/x86_64-linux-gnu/libgtk-4.so.1(+0x420438) [0x7f4b816d1438]
Mesa: The provided filesystem timestamp for the cache is bogus! Disabling On-disk cache.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211124/638ad6b9/attachment-0001.htm>


More information about the webkit-unassigned mailing list