WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
280631
[WPE][GTK] Add process monitor process and reenable web process suspend/resume
https://bugs.webkit.org/show_bug.cgi?id=280631
Summary
[WPE][GTK] Add process monitor process and reenable web process suspend/resume
Michael Catanzaro
Reported
2024-09-30 12:52:43 PDT
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@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.)
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug