[Webkit-unassigned] [Bug 222005] New: REGRESSION (r271493 ) Crash in +[NSAttributedString(WKPrivate) _loadFromHTMLWithOptions:contentLoader:completionHandler:] on background thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 16 15:12:38 PST 2021


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

            Bug ID: 222005
           Summary: REGRESSION (r271493 ) Crash in
                    +[NSAttributedString(WKPrivate)
                    _loadFromHTMLWithOptions:contentLoader:completionHandl
                    er:] on background thread
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: beidson at apple.com

REGRESSION (r271493 ) Crash in +[NSAttributedString(WKPrivate) _loadFromHTMLWithOptions:contentLoader:completionHandler:] on background thread

This method is meant to be thread safe by dispatching background thread work back up to WebKit's main thread.

If called before Webkit is initialized on the main thread, it gets it wrong.

Restore this call site back to dispatch_async to fix.

-- 
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/20210216/48aa1a95/attachment.htm>


More information about the webkit-unassigned mailing list