[Webkit-unassigned] [Bug 129684] [GTK] WebProcess leaked when closing pages with network process enabled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 26 05:26:46 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=129684
Carlos Garcia Campos <cgarcia at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gns at gnome.org
--- Comment #6 from Carlos Garcia Campos <cgarcia at igalia.com> 2014-05-26 05:27:09 PST ---
I've finally found the problem here. It's not actually a race condition in the end, the problem is that the web process is not notified when the UI process closes the connection. It happens because the UI process uses close() on the socket fd, which only shuts down the connection when the socket is not shared by another process. We are already closing the sockets in ProcessLauncherGtk right after the spawn and in the child process callback, but that's not enough in multiprocess mode. We need to use set the cloexec flag to make sure the socket is not exposed to other future children.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list