[Webkit-unassigned] [Bug 265912] New: REGRESSION ( Sonoma?): [ Sonoma Debug x86_64 ] ASSERTION FAILED in WTF::CompletionHandler<void (std::optional<WTF::String for TestWebKitAPI.WKWebExtensionAPITabs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 5 15:55:15 PST 2023


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

            Bug ID: 265912
           Summary: REGRESSION ( Sonoma?): [ Sonoma Debug x86_64 ]
                    ASSERTION FAILED in WTF::CompletionHandler<void
                    (std::optional<WTF::String for
                    TestWebKitAPI.WKWebExtensionAPITabs
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: darbinyan at apple.com

Description:
The following tests are crashing consistently on Sonoma Debug x86_64 since its bring-up.

TestWebKitAPI.WKWebExtensionAPITabs.Connect
TestWebKitAPI.WKWebExtensionAPITabs.PortDisconnectWithMultipleListeners
TestWebKitAPI.WKWebExtensionAPITabs.ConnectWithMultipleListeners 


Crash Log:
 ASSERTION FAILED: Completion handler should always be called
        !m_function
        /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/CompletionHandler.h(65) : WTF::CompletionHandler<void (std::optional<WTF::String>, std::optional<WTF::String>)>::~CompletionHandler()
        1   0x1198d0119 WTFCrash
        2   0x18c4e3377 WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>::~CompletionHandler()
        3   0x18c4aca65 WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>::~CompletionHandler()
        4   0x18c67977a WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9::~$_9()
        5   0x18c676aa5 WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9::~$_9()
        6   0x18c67ca75 IPC::ConnectionAsyncReplyHandler IPC::Connection::makeAsyncReplyHandler<Messages::WebExtensionContextProxy::DispatchRuntimeMessageEvent, WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&>(WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&, WTF::ThreadLikeAssertion)::'lambda'(IPC::Decoder*)::~()
        7   0x18c67bee5 IPC::ConnectionAsyncReplyHandler IPC::Connection::makeAsyncReplyHandler<Messages::WebExtensionContextProxy::DispatchRuntimeMessageEvent, WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&>(WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&, WTF::ThreadLikeAssertion)::'lambda'(IPC::Decoder*)::~()
        8   0x18c67c32b WTF::Detail::CallableWrapper<IPC::ConnectionAsyncReplyHandler IPC::Connection::makeAsyncReplyHandler<Messages::WebExtensionContextProxy::DispatchRuntimeMessageEvent, WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&>(WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&, WTF::ThreadLikeAssertion)::'lambda'(IPC::Decoder*), void, IPC::Decoder*>::~CallableWrapper()
        9   0x18c67c265 WTF::Detail::CallableWrapper<IPC::ConnectionAsyncReplyHandler IPC::Connection::makeAsyncReplyHandler<Messages::WebExtensionContextProxy::DispatchRuntimeMessageEvent, WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&>(WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&, WTF::ThreadLikeAssertion)::'lambda'(IPC::Decoder*), void, IPC::Decoder*>::~CallableWrapper()
        10  0x18c67c289 WTF::Detail::CallableWrapper<IPC::ConnectionAsyncReplyHandler IPC::Connection::makeAsyncReplyHandler<Messages::WebExtensionContextProxy::DispatchRuntimeMessageEvent, WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&>(WebKit::WebExtensionContext::runtimeSendMessage(WTF::String const&, WTF::String const&, WebKit::WebExtensionMessageSenderParameters const&, WTF::CompletionHandler<void (std::__1::optional<WTF::String>, std::__1::optional<WTF::String>)>&&)::$_9&, WTF::ThreadLikeAssertion)::'lambda'(IPC::Decoder*), void, IPC::Decoder*>::~CallableWrapper()
        11  0x189c6884c std::__1::default_delete<WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>>::operator()[abi:v15006](WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>*) const
        12  0x189c6880c std::__1::unique_ptr<WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>, std::__1::default_delete<WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>>>::reset[abi:v15006](WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>*)
        13  0x189c687a9 std::__1::unique_ptr<WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>, std::__1::default_delete<WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>>>::~unique_ptr[abi:v15006]()
        14  0x189c68785 std::__1::unique_ptr<WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>, std::__1::default_delete<WTF::Detail::CallableWrapperBase<void, IPC::Decoder*>>>::~unique_ptr[abi:v15006]()
        15  0x189c68765 WTF::Function<void (IPC::Decoder*)>::~Function()
        16  0x189c686e5 WTF::Function<void (IPC::Decoder*)>::~Function()
        17  0x18a7749cc WTF::CompletionHandler<void (IPC::Decoder*)>::operator()(IPC::Decoder*)
        18  0x18b6d6051 WebKit::AuxiliaryProcessProxy::sendMessage(WTF::UniqueRef<IPC::Encoder>&&, WTF::OptionSet<IPC::SendOption>, std::__1::optional<IPC::ConnectionAsyncReplyHandler>, WebKit::AuxiliaryProcessProxy::ShouldStartProcessThrottlerActivity)::$_5::operator()(IPC::Decoder*)
        19  0x18b6d5f41 WTF::Detail::CallableWrapper<WebKit::AuxiliaryProcessProxy::sendMessage(WTF::UniqueRef<IPC::Encoder>&&, WTF::OptionSet<IPC::SendOption>, std::__1::optional<IPC::ConnectionAsyncReplyHandler>, WebKit::AuxiliaryProcessProxy::ShouldStartProcessThrottlerActivity)::$_5, void, IPC::Decoder*>::call(IPC::Decoder*)
        20  0x18a774b6a WTF::Function<void (IPC::Decoder*)>::operator()(IPC::Decoder*) const
        21  0x18a7749be WTF::CompletionHandler<void (IPC::Decoder*)>::operator()(IPC::Decoder*)
        22  0x18cd19992 IPC::Connection::dispatchMessage(IPC::Decoder&)
        23  0x18cd19e40 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder>>)
        24  0x18cd1a4de IPC::Connection::dispatchIncomingMessages()
        25  0x18cd3423d IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder>>)::$_16::operator()() const
        26  0x18cd341a9 WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder>>)::$_16, void>::call()
        27  0x1198fd2d2 WTF::Function<void ()>::operator()() const
        28  0x1199974ae WTF::RunLoop::performWork()
        29  0x11999b4ee WTF::RunLoop::performWork(void*)
        30  0x7ff813d01f2a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
        31  0x7ff813d01ecc __CFRunLoopDoSource0

History link:
https://results.webkit.org/?recent=false&suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.WKWebExtensionAPITabs.Connect&test=TestWebKitAPI.WKWebExtensionAPITabs.ConnectWithMultipleListeners&test=TestWebKitAPI.WKWebExtensionAPITabs.PortDisconnectWithMultipleListeners

-- 
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/20231205/5b978105/attachment-0001.htm>


More information about the webkit-unassigned mailing list