[Webkit-unassigned] [Bug 154347] New: NSTimer in WebGeolocationProviderIOS.mm fires on the main thread without the WebThreadLock

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 17 11:22:28 PST 2016


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

            Bug ID: 154347
           Summary: NSTimer in WebGeolocationProviderIOS.mm fires on the
                    main thread without the WebThreadLock
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: aestes at apple.com, bfulgham at webkit.org

The NSTimer in WebGeolocationProviderIOS.mm fires on the main thread without the WebThreadLock.  This causes a fairly rare crash (usually in random WebCore rending code) if the JavaScript that runs after the timer fires causes layout on the main thread.

The fix is simple; fire the NSTimer on the WebThread where it's safe to do the work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160217/b4c22278/attachment-0001.html>


More information about the webkit-unassigned mailing list