WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
221852
REGRESSION (
r272799
): ASSERTION FAILED: m_shouldBeCalledOnMainThread == isMainThread()
https://bugs.webkit.org/show_bug.cgi?id=221852
Summary
REGRESSION (r272799): ASSERTION FAILED: m_shouldBeCalledOnMainThread == isMai...
Ryan Haddad
Reported
2021-02-12 14:39:45 PST
macOS Debug WK2 testers are exiting layout test early with the following assertion failure: ASSERTION FAILED: m_shouldBeCalledOnMainThread == isMainThread() /Volumes/Data/slave/catalina-debug/build/WebKitBuild/Debug/usr/local/include/wtf/CompletionHandler.h(65) : Out WTF::CompletionHandler<void (const WTF::Optional<WebKit::SecItemResponseData> &)>::operator()(In...) 1 0x10da7cba9 WTFCrash 2 0x11903c8ab WTFCrashWithInfo(int, char const*, char const*, int) 3 0x119842f33 WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData> const&)>::operator()(WTF::Optional<WebKit::SecItemResponseData> const&) 4 0x119842b13 WTF::Detail::CallableWrapper<WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData> const&)>, void, WTF::Optional<WebKit::SecItemResponseData>&&>::call(WTF::Optional<WebKit::SecItemResponseData>&&) 5 0x1198409ea WTF::Function<void (WTF::Optional<WebKit::SecItemResponseData>&&)>::operator()(WTF::Optional<WebKit::SecItemResponseData>&&) const 6 0x11983fd1e WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData>&&)>::operator()(WTF::Optional<WebKit::SecItemResponseData>&&) 7 0x11a9b2901 WebKit::SecItemShimProxy::secItemRequest(WebKit::SecItemRequestData const&, WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData>&&)>&&) 8 0x1198426ea void IPC::callMemberFunctionImpl<WebKit::SecItemShimProxy, void (WebKit::SecItemShimProxy::*)(WebKit::SecItemRequestData const&, WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData>&&)>&&), void (WTF::Optional<WebKit::SecItemResponseData> const&), std::__1::tuple<WebKit::SecItemRequestData>, 0ul>(WebKit::SecItemShimProxy*, void (WebKit::SecItemShimProxy::*)(WebKit::SecItemRequestData const&, WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData>&&)>&&), WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData> const&)>&&, std::__1::tuple<WebKit::SecItemRequestData>&&, std::__1::integer_sequence<unsigned long, 0ul>) 9 0x119841125 void IPC::callMemberFunction<WebKit::SecItemShimProxy, void (WebKit::SecItemShimProxy::*)(WebKit::SecItemRequestData const&, WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData>&&)>&&), void (WTF::Optional<WebKit::SecItemResponseData> const&), std::__1::tuple<WebKit::SecItemRequestData>, std::__1::integer_sequence<unsigned long, 0ul> >(std::__1::tuple<WebKit::SecItemRequestData>&&, WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData> const&)>&&, WebKit::SecItemShimProxy*, void (WebKit::SecItemShimProxy::*)(WebKit::SecItemRequestData const&, WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData>&&)>&&)) 10 0x11984006e void IPC::handleMessageAsync<Messages::SecItemShimProxy::SecItemRequest, WebKit::SecItemShimProxy, void (WebKit::SecItemShimProxy::*)(WebKit::SecItemRequestData const&, WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData>&&)>&&)>(IPC::Connection&, IPC::Decoder&, WebKit::SecItemShimProxy*, void (WebKit::SecItemShimProxy::*)(WebKit::SecItemRequestData const&, WTF::CompletionHandler<void (WTF::Optional<WebKit::SecItemResponseData>&&)>&&)) 11 0x11983fe63 WebKit::SecItemShimProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 12 0x1190ad9d5 IPC::Connection::dispatchWorkQueueMessageReceiverMessage(IPC::Connection::WorkQueueMessageReceiver&, IPC::Decoder&) 13 0x1190d778a IPC::Connection::dispatchMessageToWorkQueueReceiver(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >&)::$_10::operator()() 14 0x1190d765e WTF::Detail::CallableWrapper<IPC::Connection::dispatchMessageToWorkQueueReceiver(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >&)::$_10, void>::call() 15 0x10daa8102 WTF::Function<void ()>::operator()() const 16 0x10dbcacfe WTF::WorkQueue::dispatch(WTF::Function<void ()>&&)::$_0::operator()() const 17 0x10dbcaef2 WTF::BlockPtr<void ()> WTF::BlockPtr<void ()>::fromCallable<WTF::WorkQueue::dispatch(WTF::Function<void ()>&&)::$_0>(WTF::WorkQueue::dispatch(WTF::Function<void ()>&&)::$_0)::'lambda'(void*)::operator()(void*) const 18 0x10dbcaec5 WTF::BlockPtr<void ()> WTF::BlockPtr<void ()>::fromCallable<WTF::WorkQueue::dispatch(WTF::Function<void ()>&&)::$_0>(WTF::WorkQueue::dispatch(WTF::Function<void ()>&&)::$_0)::'lambda'(void*)::__invoke(void*) 19 0x7fff686476c4 _dispatch_call_block_and_release 20 0x7fff68648658 _dispatch_client_callout 21 0x7fff6864dc44 _dispatch_lane_serial_drain 22 0x7fff6864e5d6 _dispatch_lane_invoke 23 0x7fff68657c09 _dispatch_workloop_worker_thread 24 0x7fff688a2a3d _pthread_wqthread 25 0x7fff688a1b77 start_wqthread
https://build.webkit.org/results/Apple-Catalina-Debug-WK2-Tests/r272800%20(121)/results.html
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-02-12 14:39:58 PST
<
rdar://problem/74292873
>
Ryan Haddad
Comment 2
2021-02-12 14:40:59 PST
This started with
https://trac.webkit.org/changeset/272799/webkit
Ryan Haddad
Comment 3
2021-02-12 15:07:41 PST
Reverted in
https://commits.webkit.org/r272816
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug