Bug 280014 - REGRESSION(247615@main): [WPE][GTK] Suspended cached web processes remain forever after UI process terminates uncleanly
Summary: REGRESSION(247615@main): [WPE][GTK] Suspended cached web processes remain for...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-19 14:05 PDT by Michael Catanzaro
Modified: 2024-10-01 06:46 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2024-09-19 14:05:50 PDT
Splitting this out of bug #279913:

 * Run Epiphany or MiniBrowser in a terminal
 * Open a tab and close it, wait until the web process cache suspends the corresponding web process
 * Ctrl+C

Notice the web process remains in suspended state forever. Its only mechanism to quit itself is to receive a HUP event on its IPC connection to the UI process, but that cannot happen because it is suspended. Only the UI process can unsuspend it, but the UI process is gone. We would need a new process monitor auxiliary process to fix this.
Comment 1 Michael Catanzaro 2024-09-19 14:09:35 PDT
Pull request: https://github.com/WebKit/WebKit/pull/33930
Comment 2 EWS 2024-09-30 12:39:18 PDT
Committed 284462@main (a585b00cb55e): <https://commits.webkit.org/284462@main>

Reviewed commits have been landed. Closing PR #33930 and removing active labels.
Comment 3 Michael Catanzaro 2024-09-30 12:53:06 PDT
Created bug #280631 to follow up and reenable process suspension.