[Webkit-unassigned] [Bug 184064] New: Thread safety issue in IDBFactory' shouldThrowSecurityException()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 27 18:45:09 PDT 2018


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

            Bug ID: 184064
           Summary: Thread safety issue in IDBFactory'
                    shouldThrowSecurityException()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cdumez at apple.com
                CC: beidson at apple.com
            Blocks: 184059

Thread safety issue in IDBFactory' shouldThrowSecurityException(). It is getting called on a non-main thread but uses the SchemeRegistry:
ASSERTION FAILED: isMainThread()
./platform/SchemeRegistry.cpp(118) : URLSchemesMap &WebCore::localURLSchemes()
1   0x25072c88d WTFCrash
2   0x24355e1ca WebCore::localURLSchemes()
3   0x24355e420 WebCore::SchemeRegistry::shouldTreatURLSchemeAsLocal(WTF::String const&)
4   0x2434597e9 WebCore::SecurityOrigin::isLocal() const
5   0x24345ace2 WebCore::SecurityOrigin::canAccessStorage(WebCore::SecurityOrigin const*, WebCore::SecurityOrigin::ShouldAllowFromThirdParty) const
6   0x24209e0f2 WebCore::SecurityOrigin::canAccessDatabase(WebCore::SecurityOrigin const&) const
7   0x242092e9d WebCore::shouldThrowSecurityException(WebCore::ScriptExecutionContext&)
8   0x242093022 WebCore::IDBFactory::deleteDatabase(WebCore::ScriptExecutionContext&, WTF::String const&)
9   0x24168d8a2 WebCore::jsIDBFactoryPrototypeFunctionDeleteDatabaseBody(JSC::ExecState*, WebCore::JSIDBFactory*, JSC::ThrowScope&)


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=184059
[Bug 184059] Drop locks in SchemeRegistry that are no longer necessary
-- 
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/20180328/40235805/attachment.html>


More information about the webkit-unassigned mailing list