[Webkit-unassigned] [Bug 129631] New: Web Inspector: Avoid too early deref caused by RemoteInspectorXPCConnection::close

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 3 15:42:43 PST 2014


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

           Summary: Web Inspector: Avoid too early deref caused by
                    RemoteInspectorXPCConnection::close
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    graouts at webkit.org


Overall, the multithreaded aspects of RemoteInspectorXPCConnection are too complicated. This should be simplified in someway. For now, address a couple possible issues:

    - multithreaded access to m_client (close(), and XPC event handler)
    - deref too early in close(), if close() is called, we will receive another XPC event (XPC_ERROR)
      - so deref after we receive the XPC_ERROR event

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