[Webkit-unassigned] [Bug 238493] New: IPC::Connection::UniqueID is not possible to use in thread safe manner

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 29 01:13:38 PDT 2022


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

            Bug ID: 238493
           Summary: IPC::Connection::UniqueID is not possible to use in
                    thread safe manner
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: kkinnunen at apple.com

IPC::Connection::UniqueID is not possible to use in thread safe manner

The whole idea should probably just be removed.

IPC::Connection::UniqueID is implemented for multi-threaded purposes, but it contains id to instance map maintenance in destructor which is not sound.

Also the comments around IPC::Connection::connection are just wrong. It says the function is not used from multiple threads, but the comments were added in a comment that explicitly added functionality to use it from multiple threads.


bug 226561 caused this

-- 
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/20220329/3de9ebbc/attachment.htm>


More information about the webkit-unassigned mailing list