<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>228668</bug_id>
          
          <creation_ts>2021-07-30 16:16:47 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: m_messagesBeingDispatched.isEmpty() on http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html</short_desc>
          <delta_ts>2021-10-15 11:15:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>228164</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>cdumez</cc>
    
    <cc>katherine_cheney</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1780987</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-30 16:16:47 -0700</bug_when>
    <thetext>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&amp;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 &amp;)
1   0x10e2e8c39 WTFCrash
2   0x11c1e20bb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x11c25dc8c IPC::Connection::SyncMessageState::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection&amp;)
4   0x11c276871 IPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&amp;, std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;&amp;)::$_2::operator()()
5   0x11c27677e WTF::Detail::CallableWrapper&lt;IPC::Connection::SyncMessageState::processIncomingMessage(IPC::Connection&amp;, std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;&amp;)::$_2, void&gt;::call()
6   0x10e316542 WTF::Function&lt;void ()&gt;::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&amp;, WTF::Seconds)
16  0x10cbab8cf WTR::TestController::runUntil(bool&amp;, 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&amp;, WTF::String const&amp;, API::Object*)
22  0x11d8ccb15 WebKit::WebProcessPool::handleMessage(IPC::Connection&amp;, WTF::String const&amp;, WebKit::UserData const&amp;)
23  0x11e71a679 void IPC::callMemberFunctionImpl&lt;WebKit::WebProcessPool, void (WebKit::WebProcessPool::*)(IPC::Connection&amp;, WTF::String const&amp;, WebKit::UserData const&amp;), std::__1::tuple&lt;WTF::String, WebKit::UserData&gt;, 0ul, 1ul&gt;(WebKit::WebProcessPool*, void (WebKit::WebProcessPool::*)(IPC::Connection&amp;, WTF::String const&amp;, WebKit::UserData const&amp;), IPC::Connection&amp;, std::__1::tuple&lt;WTF::String, WebKit::UserData&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt;)
24  0x11e71a490 void IPC::callMemberFunction&lt;WebKit::WebProcessPool, void (WebKit::WebProcessPool::*)(IPC::Connection&amp;, WTF::String const&amp;, WebKit::UserData const&amp;), std::__1::tuple&lt;WTF::String, WebKit::UserData&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt; &gt;(IPC::Connection&amp;, std::__1::tuple&lt;WTF::String, WebKit::UserData&gt;&amp;&amp;, WebKit::WebProcessPool*, void (WebKit::WebProcessPool::*)(IPC::Connection&amp;, WTF::String const&amp;, WebKit::UserData const&amp;))
25  0x11e719e55 void IPC::handleMessage&lt;Messages::WebProcessPool::HandleMessage, WebKit::WebProcessPool, void (WebKit::WebProcessPool::*)(IPC::Connection&amp;, WTF::String const&amp;, WebKit::UserData const&amp;)&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::WebProcessPool*, void (WebKit::WebProcessPool::*)(IPC::Connection&amp;, WTF::String const&amp;, WebKit::UserData const&amp;))
26  0x11e719be6 WebKit::WebProcessPool::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
27  0x11c76d9d4 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
28  0x11d8cc0ae WebKit::WebProcessPool::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
29  0x11d8d9773 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
30  0x11c264b34 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
31  0x11c26531f IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1780988</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-07-30 16:17:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/81347376&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1780998</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-07-30 16:39:47 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1804911</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-15 11:06:26 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1804916</commentid>
    <comment_count>4</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-15 11:15:37 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 228164 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>