[Webkit-unassigned] [Bug 47502] New: WebKit2 will leak shared memory if the web process crashes after the UI process tries to send it a handle to shared memory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 11 14:13:09 PDT 2010


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

           Summary: WebKit2 will leak shared memory if the web process
                    crashes after the UI process tries to send it a handle
                    to shared memory
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com
                CC: andersca at apple.com


Consider the following scenario:

1. UI process creates some shared memory via SharedMemory::create
2. UI process sends the shared memory to the web process
3. Before the web process receives the shared memory, the web process crashes

At this point, the shared memory has an extra handle open to it (created in step 2) that has been lost and will never be closed. This will result in leaking the shared memory!

-- 
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