Bug 228668 - ASSERTION FAILED: m_messagesBeingDispatched.isEmpty() on http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html
Summary: ASSERTION FAILED: m_messagesBeingDispatched.isEmpty() on http/tests/resourceL...
Status: RESOLVED DUPLICATE of bug 228164
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-30 16:16 PDT by ayumi_kojima
Modified: 2021-10-15 11:15 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 2021-07-30 16:16:47 PDT
http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html

Is flaky crashing on iOS 14 E Simulator Debug.

History: https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2FresourceLoadStatistics%2Fping-to-prevalent-resource.html

Crash log:

ASSERTION FAILED: m_messagesBeingDispatched.isEmpty()
/Volumes/Data/worker/ios-simulator-14-debug/build/Source/WebKit/Platform/IPC/Connection.cpp(228) : void IPC::Connection::SyncMessageState::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection &)
1   0x10e2e8c39 WTFCrash
2   0x11c1e20bb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x11c25dc8c IPC::Connection::SyncMessageState::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection&)
4   0x11c276871 IPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&, std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >&)::$_2::operator()()
5   0x11c27677e WTF::Detail::CallableWrapper<IPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&, std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >&)::$_2, void>::call()
6   0x10e316542 WTF::Function<void ()>::operator()() const
7   0x10e39fbf0 WTF::RunLoop::performWork()
8   0x10e3a4621 WTF::RunLoop::performWork(void*)
9   0x1183d4ede __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
10  0x1183d4dd6 __CFRunLoopDoSource0
11  0x1183d429e __CFRunLoopDoSources0
12  0x1183ce9f7 __CFRunLoopRun
13  0x1183ce1a7 CFRunLoopRunSpecific
14  0x117b54204 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
15  0x10cbe7f0e WTR::TestController::platformRunUntil(bool&, WTF::Seconds)
16  0x10cbab8cf WTR::TestController::runUntil(bool&, WTF::Seconds)
17  0x10cbb1bb5 WTR::TestController::statisticsResetToConsistentState()
18  0x10cc1049e WTR::TestInvocation::didReceiveMessageFromInjectedBundle(OpaqueWKString const*, void const*)
19  0x10cbb3cdb WTR::TestController::didReceiveMessageFromInjectedBundle(OpaqueWKString const*, void const*)
20  0x10cbaf1fc WTR::TestController::didReceiveMessageFromInjectedBundle(OpaqueWKContext const*, OpaqueWKString const*, void const*, void const*)
21  0x11d7313cd WebKit::WebContextInjectedBundleClient::didReceiveMessageFromInjectedBundle(WebKit::WebProcessPool&, WTF::String const&, API::Object*)
22  0x11d8ccb15 WebKit::WebProcessPool::handleMessage(IPC::Connection&, WTF::String const&, WebKit::UserData const&)
23  0x11e71a679 void IPC::callMemberFunctionImpl<WebKit::WebProcessPool, void (WebKit::WebProcessPool::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&), std::__1::tuple<WTF::String, WebKit::UserData>, 0ul, 1ul>(WebKit::WebProcessPool*, void (WebKit::WebProcessPool::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&), IPC::Connection&, std::__1::tuple<WTF::String, WebKit::UserData>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>)
24  0x11e71a490 void IPC::callMemberFunction<WebKit::WebProcessPool, void (WebKit::WebProcessPool::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&), std::__1::tuple<WTF::String, WebKit::UserData>, std::__1::integer_sequence<unsigned long, 0ul, 1ul> >(IPC::Connection&, std::__1::tuple<WTF::String, WebKit::UserData>&&, WebKit::WebProcessPool*, void (WebKit::WebProcessPool::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&))
25  0x11e719e55 void IPC::handleMessage<Messages::WebProcessPool::HandleMessage, WebKit::WebProcessPool, void (WebKit::WebProcessPool::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&)>(IPC::Connection&, IPC::Decoder&, WebKit::WebProcessPool*, void (WebKit::WebProcessPool::*)(IPC::Connection&, WTF::String const&, WebKit::UserData const&))
26  0x11e719be6 WebKit::WebProcessPool::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
27  0x11c76d9d4 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
28  0x11d8cc0ae WebKit::WebProcessPool::dispatchMessage(IPC::Connection&, IPC::Decoder&)
29  0x11d8d9773 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
30  0x11c264b34 IPC::Connection::dispatchMessage(IPC::Decoder&)
31  0x11c26531f IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
Comment 1 Radar WebKit Bug Importer 2021-07-30 16:17:07 PDT
<rdar://problem/81347376>
Comment 2 ayumi_kojima 2021-07-30 16:39:47 PDT
I was not able to reproduce the crash on iOS 15 simulator on my local machine using: 

run-webkit-tests --iterations 500 --exit-after-n-failures 2 --exit-after-n-crashes-or-timeouts 2 --ios-simulator http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html
Comment 3 ayumi_kojima 2021-10-15 11:06:26 PDT
I was not able to reproduce the failure locally on iOS 1 simulator using run-webkit-tests --ios-simulator --debug --force --iterations 500 --exit-after-n-crashes-or-timeouts 1 http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html
Comment 4 ayumi_kojima 2021-10-15 11:15:37 PDT

*** This bug has been marked as a duplicate of bug 228164 ***