[Webkit-unassigned] [Bug 280631] New: [WPE][GTK] Add process monitor process and reenable web process suspend/resume
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 30 12:52:43 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=280631
Bug ID: 280631
Summary: [WPE][GTK] Add process monitor process and reenable
web process suspend/resume
Product: WebKit
Version: Other
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at redhat.com
CC: bugs-noreply at webkitgtk.org
In bug #280014 I disabled web process suspend/resume because it doesn't work robustly if the UI process crashes or is terminated uncleanly (e.g. using Ctrl+C).
To bring this back, we need a new helper process to monitor all other WebKit auxiliary processes, which should be unlikely to crash and robust to SIGINT.
The problem is that we currently rely on the web process to notice that its IPC socket to the UI process is closed, upon which it will quit. But if we have stopped the web process with SIGSTOP, then it's impossible for it to notice this condition, and it will just remain stopped forever.
(Note that prior to 280061 at main, bubblewrap sandbox would manage subprocesses, avoiding this problem. Bringing that back might make sense, if we could find some alternate solution for unsandboxed WebKit and flatpak sandbox.)
--
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/20240930/adb82ea8/attachment-0001.htm>
More information about the webkit-unassigned
mailing list