[Webkit-unassigned] [Bug 238415] New: [GTK4] Frequent UI process hangs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 26 07:12:18 PDT 2022


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

            Bug ID: 238415
           Summary: [GTK4] Frequent UI process hangs
           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: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org
            Blocks: 210100

I'm noticing frequent UI process hangs with GTK 4. (It's quite rare for this to occur with GTK 3.)

Getting a good backtrace is a little difficult because it's inside the flatpak environment, but host gdb was able to give me this:

#0  0x00007f77b505ae1d in __futex_abstimed_wait_common64 () from target:/usr/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f77b50545b4 in pthread_cond_wait () from target:/usr/lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f77aec5d12b in wl_display_read_events () from target:/usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#3  0x00007f77aec5db29 in wl_display_dispatch_queue () from target:/usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#4  0x00007f77b5678e0f in gdk_wayland_toplevel_focus () from target:/usr/lib/x86_64-linux-gnu/libgtk-4.so.1
#5  0x00007f77b5ede7dd in ?? () from target:/app/lib/epiphany/libephymain.so
#6  0x00007f77b5c8ba19 in g_timeout_dispatch () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f77b5c8aceb in g_main_context_dispatch () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f77b5c8b1f8 in g_main_context_iterate.constprop () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f77b5c8b2c4 in g_main_context_iteration () from target:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f77b5b3404d in g_application_run () from target:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x000055df12d970f6 in main ()

Probably that's not enough to fix this, but at least it's a hint. Looks like GTK 4 might be deadlocking when dispatching Wayland events. I wonder why.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=210100
[Bug 210100] [META][GTK][GTK4] Support GTK4
-- 
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/20220326/1f7b8198/attachment.htm>


More information about the webkit-unassigned mailing list