RESOLVED FIXED 201772
[GTK] webkitgtk-wayland-compositor sockets are leaked
https://bugs.webkit.org/show_bug.cgi?id=201772
Summary [GTK] webkitgtk-wayland-compositor sockets are leaked
Michael Catanzaro
Reported 2019-09-13 14:10:38 PDT
I have a bunch of files of the form: webkitgtk-wayland-compositor-d5ce295f-3026-4bbd-8bc0-e814706dc98c under /run/user/1000 that are leaked after closing Epiphany. WebKit should clean up what it creates. Looks like it's created by wl_display_add_socket() in WaylandCompositor::WaylandCompositor. That implies that wl_display should be responsible for unlinking it. Not sure how that's expected to occur.
Attachments
Carlos Garcia Campos
Comment 1 2019-09-16 01:10:15 PDT
wl_display_destroy() does the unlink, but WaylandCompositor is a singleton. Why are you building with USE_WPE_RENDERER=OFF?
Carlos Garcia Campos
Comment 2 2019-09-16 03:22:12 PDT
Simply removing the NeverDestroyed fixes the issue, but I don't know if destroying the wayland compositor in exit handlers might cause other issues.
Michael Catanzaro
Comment 3 2019-09-16 07:17:21 PDT
(In reply to Carlos Garcia Campos from comment #1) > Why are you building with USE_WPE_RENDERER=OFF? This is a F30 build. WPE renderer is a F31 feature.
Michael Catanzaro
Comment 4 2024-08-07 08:59:00 PDT
Nested Wayland compositor was removed a while back.
Note You need to log in before you can comment on or make changes to this bug.