<?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>220426</bug_id>
          
          <creation_ts>2021-01-07 11:21:52 -0800</creation_ts>
          <short_desc>[Mojave Debug] ASSERTION FAILED: !m_requests.contains(clientIdentifier) in WebKit::SpeechRecognitionServer::start()</short_desc>
          <delta_ts>2021-01-08 08:58:15 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=220073</see_also>
          <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 name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Sihui Liu">sihui_liu</assigned_to>
          <cc>sihui_liu</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1718011</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-01-07 11:21:52 -0800</bug_when>
    <thetext>The following test is consistently failing an assertion on Mojave debug bots

    TestWebKitAPI.WebKit2.SpeechRecognitionPageBecomesInvisible
        _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
        ASSERTION FAILED: !m_requests.contains(clientIdentifier)
        /Volumes/Data/slave/mojave-debug/build/Source/WebKit/UIProcess/SpeechRecognitionServer.cpp(58) : void WebKit::SpeechRecognitionServer::start(WebCore::SpeechRecognitionConnectionClientIdentifier, WTF::String &amp;&amp;, bool, bool, uint64_t, WebCore::ClientOrigin &amp;&amp;)
        1   0x10b8e5409 WTFCrash
        2   0x11644082b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x11768693e WebKit::SpeechRecognitionServer::start(WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String&amp;&amp;, bool, bool, unsigned long long, WebCore::ClientOrigin&amp;&amp;)
        4   0x116c1ba28 void IPC::callMemberFunctionImpl&lt;WebKit::SpeechRecognitionServer, void (WebKit::SpeechRecognitionServer::*)(WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String&amp;&amp;, bool, bool, unsigned long long, WebCore::ClientOrigin&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String, bool, bool, unsigned long long, WebCore::ClientOrigin&gt;, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul&gt;(WebKit::SpeechRecognitionServer*, void (WebKit::SpeechRecognitionServer::*)(WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String&amp;&amp;, bool, bool, unsigned long long, WebCore::ClientOrigin&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String, bool, bool, unsigned long long, WebCore::ClientOrigin&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul&gt;)
        5   0x116c17b50 void IPC::callMemberFunction&lt;WebKit::SpeechRecognitionServer, void (WebKit::SpeechRecognitionServer::*)(WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String&amp;&amp;, bool, bool, unsigned long long, WebCore::ClientOrigin&amp;&amp;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String, bool, bool, unsigned long long, WebCore::ClientOrigin&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul&gt; &gt;(std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String, bool, bool, unsigned long long, WebCore::ClientOrigin&gt;&amp;&amp;, WebKit::SpeechRecognitionServer*, void (WebKit::SpeechRecognitionServer::*)(WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String&amp;&amp;, bool, bool, unsigned long long, WebCore::ClientOrigin&amp;&amp;))
        6   0x116c1621e void IPC::handleMessage&lt;Messages::SpeechRecognitionServer::Start, WebKit::SpeechRecognitionServer, void (WebKit::SpeechRecognitionServer::*)(WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String&amp;&amp;, bool, bool, unsigned long long, WebCore::ClientOrigin&amp;&amp;)&gt;(IPC::Decoder&amp;, WebKit::SpeechRecognitionServer*, void (WebKit::SpeechRecognitionServer::*)(WTF::ObjectIdentifier&lt;WebCore::SpeechRecognitionConnectionClientIdentifierType&gt;, WTF::String&amp;&amp;, bool, bool, unsigned long long, WebCore::ClientOrigin&amp;&amp;))
        7   0x116c16013 WebKit::SpeechRecognitionServer::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
        8   0x1168be5df IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
        9   0x11758ca84 WebKit::AuxiliaryProcessProxy::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
        10  0x11788122a WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
        11  0x1164b63e1 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
        12  0x1164b74ae IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)
        13  0x1164b5310 IPC::Connection::dispatchIncomingMessages()
        14  0x1164d890f IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_8::operator()()
        15  0x1164d8849 WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_8, void&gt;::call()
        16  0x10b91093a WTF::Function&lt;void ()&gt;::operator()() const
        17  0x10b98f816 WTF::RunLoop::performWork()
        18  0x10b993ebe WTF::RunLoop::performWork(void*)
        19  0x7fff460d2683 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
        20  0x7fff460d2629 __CFRunLoopDoSource0
        21  0x7fff460b5feb __CFRunLoopDoSources0
        22  0x7fff460b55b5 __CFRunLoopRun
        23  0x7fff460b4ebe CFRunLoopRunSpecific
        24  0x7fff483197df -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        25  0x109992086 TestWebKitAPI::Util::run(bool*)
        26  0x10982c8b8 TestWebKitAPI::WebKit2_SpeechRecognitionPageBecomesInvisible_Test::TestBody()
        27  0x109ba6dee void testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
        28  0x109b7451b void testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
        29  0x109b74446 testing::Test::Run()
        30  0x109b75655 testing::TestInfo::Run()
        31  0x109b7653f testing::TestCase::Run()


https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.WebKit2.SpeechRecognitionPageBecomesInvisible</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718012</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-01-07 11:22:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/72897083&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718123</commentid>
    <comment_count>2</comment_count>
      <attachid>417221</attachid>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2021-01-07 15:50:50 -0800</bug_when>
    <thetext>Created attachment 417221
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1718310</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-01-08 08:58:13 -0800</bug_when>
    <thetext>Committed r271299: &lt;https://trac.webkit.org/changeset/271299&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 417221.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>417221</attachid>
            <date>2021-01-07 15:50:50 -0800</date>
            <delta_ts>2021-01-08 08:58:14 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-220426-20210107155049.patch</filename>
            <type>text/plain</type>
            <size>1446</size>
            <attacher name="Sihui Liu">sihui_liu</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjcxMjY3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggMjhlMTM1YWI5ZTliMzE4
MzA4MTY5MGRlNDdhOWFkOWJjZTkyZjQ1NS4uNTM2OTZiNGQwZGQ2NGYwN2JkM2ViZTQ4ZjJmYTkz
NzUzOWE1MmJkNCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmU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