[Webkit-unassigned] [Bug 114217] New: Web/Plugin process deadlock initializing async plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 8 14:14:49 PDT 2013


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

           Summary: Web/Plugin process deadlock initializing async plugins
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beidson at apple.com
                CC: andersca at apple.com


Web/Plugin process deadlock initializing async plugins

Imagine:

-A WebProcess is instantiating a plugin, so it synchronously asks for a new plugin process connection.
-Once it gets the connection, it asynchronously asks for a plugin to initialize.
-While that one is initializing, it's instantiating another plugin.
-It synchronously asks for a new plugin process connection.

In this scenario, when the plugin process finishes up the async initialization, it notifies the web process with a synchronous message.

So it's synchronously waiting on the WebProcess, and the WebProcess is synchronously waiting on the plugin process.

Deadlock.

I think this is an easy fix because I don't now why the plugin process notification to the WebProcess is synchronous - the replies are empty.

In radar as <rdar://problem/13525232>

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