[Webkit-unassigned] [Bug 241583] New: Make sure WebPageProxy doesn't leak though strong references in async IPC callbacks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 13 18:56:20 PDT 2022


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

            Bug ID: 241583
           Summary: Make sure WebPageProxy doesn't leak though strong
                    references in async IPC callbacks
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yurys at chromium.org
                CC: kkinnunen at apple.com

Filing this bug as suggested in https://github.com/WebKit/WebKit/pull/1455#discussion_r896030512 to
ensure there are no async IPC message callbacks holding a strong reference to WebPageProxy as
it may lead to a web process leak similar to the one in https://bugs.webkit.org/show_bug.cgi?id=241353
when async callback ends up holding WebProcessPool and web process alive though the following
reference chain:


  asyncReplyHandlerMap
           │
           ▼
sendWithAsyncReply callback
           │
           ▼
      WebPageProxy
           │
           ▼
  API::PageConfiguration
           │
           ▼
     WebProcessPool
           │
           ▼
    WebProcessCache
           │
           ▼
      CachedProcess
           │
           ▼
     WebProccessProxy

-- 
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/20220614/9b728c9b/attachment-0001.htm>


More information about the webkit-unassigned mailing list