[Webkit-unassigned] [Bug 221489] [WPE][GTK] web-process-terminated signal not emitted for first web view when bubblewrap sandbox is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 7 04:09:15 PDT 2022


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

--- Comment #6 from Carlos Garcia Campos <cgarcia at igalia.com> ---
I found the problem. We run all subprocesses with G_SUBPROCESS_FLAGS_INHERIT_FDS. Since xdg-dbus-proxy is spawned right before the first web process, but after the socketpair for the web process has been called, it's inheriting the connected socket. When the first web process dies, the connection is still connected from the UI process to the xdg-dbus-proxy process, and hup signal is not emitted. I think we don't need to use G_SUBPROCESS_FLAGS_INHERIT_FDS, because we are already using g_subprocess_launcher_take_fd() to transfer the fds we want. I'll submit a patch.

-- 
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/20220907/1986d8cb/attachment-0001.htm>


More information about the webkit-unassigned mailing list