[Webkit-unassigned] [Bug 222712] New: REGRESSION: [iOS] ASSERTION FAILED: Unsafe to ref/deref from different threads under WebViewLayerFlushScheduler::layerFlushCallback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 23:30:13 PST 2021


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

            Bug ID: 222712
           Summary: REGRESSION: [iOS] ASSERTION FAILED: Unsafe to
                    ref/deref from different threads under
                    WebViewLayerFlushScheduler::layerFlushCallback
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ryanhaddad at apple.com
                CC: webkit-bot-watchers-bugzilla at group.apple.com,
                    webkit-bug-importer at group.apple.com

The following test is consistently asserting on iOS debug bots:

    TestWebKitAPI.QuickLook.LegacyQuickLookContent
        2021-03-03 22:29:42.271 TestWebKitAPI[38997:42783719] nil host used in call to allowsSpecificHTTPSCertificateForHost
        2021-03-03 22:29:42.271 TestWebKitAPI[38997:42783719] nil host used in call to allowsAnyHTTPSCertificateForHost:
        ASSERTION FAILED: Unsafe to ref/deref from different threads
        m_isOwnedByMainThread == isMainThread()
        /Volumes/Data/worker/ios-simulator-14-debug/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/RefCounted.h(114) : void WTF::RefCountedBase::applyRefDerefThreadingCheck() const
        1   0x109db4b09 WTFCrash
        2   0x13dee9321 WTF::RefCountedBase::applyRefDerefThreadingCheck() const
        3   0x13dee90fc WTF::RefCountedBase::derefBase() const
        4   0x13e0a0c7f WTF::RefCounted<LayerFlushController, std::__1::default_delete<LayerFlushController> >::deref() const
        5   0x13e0a5fe1 WTF::DefaultRefDerefTraits<LayerFlushController>::derefIfNotNull(LayerFlushController*)
        6   0x13e0ae819 WTF::RefPtr<LayerFlushController, WTF::RawPtrTraits<LayerFlushController>, WTF::DefaultRefDerefTraits<LayerFlushController> >::~RefPtr()
        7   0x13e0ae685 WTF::RefPtr<LayerFlushController, WTF::RawPtrTraits<LayerFlushController>, WTF::DefaultRefDerefTraits<LayerFlushController> >::~RefPtr()
        8   0x13e1639aa WebViewLayerFlushScheduler::layerFlushCallback()
        9   0x13e164b88 WebViewLayerFlushScheduler::WebViewLayerFlushScheduler(LayerFlushController*)::$_0::operator()() const
        10  0x13e164b3e WTF::Detail::CallableWrapper<WebViewLayerFlushScheduler::WebViewLayerFlushScheduler(LayerFlushController*)::$_0, void>::call()
        11  0x1212f44e2 WTF::Function<void ()>::operator()() const
        12  0x1251e6840 WebCore::RunLoopObserver::runLoopObserverFired()
        13  0x1251e67a0 WebCore::RunLoopObserver::runLoopObserverFired(__CFRunLoopObserver*, unsigned long, void*)
        14  0x13c6621e8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
        15  0x13c65ca67 __CFRunLoopDoObservers
        16  0x13c65c742 CFRunLoopRunSpecific
        17  0x1090147b9 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        18  0x10470fe5e TestWebKitAPI::Util::run(bool*)
        19  0x1044b6dd6 QuickLook_LegacyQuickLookContent_Test::TestBody()
        20  0x1048afe54 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        21  0x10488cebb void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        22  0x10488cdf6 testing::Test::Run()
        23  0x10488dc2a testing::TestInfo::Run()
        24  0x10488ea54 testing::TestCase::Run()
        25  0x1048998c8 testing::internal::UnitTestImpl::RunAllTests()
        26  0x1048b4524 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        27  0x1048993db bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        28  0x1048992ad testing::UnitTest::Run()
        29  0x1046b9e51 RUN_ALL_TESTS()
        30  0x1046b9de2 TestWebKitAPI::TestsController::run(int, char**)
        31  0x10485fd55 main
        Child process terminated with signal 11: Segmentation fault


https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.QuickLook.LegacyQuickLookContent

-- 
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/20210304/8d580e86/attachment-0001.htm>


More information about the webkit-unassigned mailing list