<?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>221414</bug_id>
          
          <creation_ts>2021-02-04 09:14:16 -0800</creation_ts>
          <short_desc>ASSERTION FAILED: m_clientCounts.contains(contextId) in WebKit::VideoFullscreenManager::removeClientForContext on media/video-presentation-mode.html</short_desc>
          <delta_ts>2022-02-13 19:17:28 -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>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>peng.liu6</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1725651</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2021-02-04 09:14:16 -0800</bug_when>
    <thetext>media/video-presentation-mode.html

is crashing in Debug on Big Sur in Wk2. 

HISTORY URL:
https://results.webkit.org/?suite=layout-tests&amp;test=media%2Fvideo-presentation-mode.html&amp;platform=mac

CRASH LOG URL:
https://build.webkit.org/results/Apple-BigSur-Debug-WK2-Tests/r272368%20(1072)/media/video-presentation-mode-crash-log.txt

CRASH LOG TEXT:
No crash log found for com.apple.WebKit.WebContent.Development:36104.

stdout:

stderr:
ASSERTION FAILED: m_clientCounts.contains(contextId)
/Volumes/Data/slave/bigsur-debug/build/Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm(209) : void WebKit::VideoFullscreenManager::removeClientForContext(WebKit::PlaybackSessionContextIdentifier)
1   0x58ba956e9 WTFCrash
2   0x558004f1b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x55998b66c WebKit::VideoFullscreenManager::removeClientForContext(WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt;)
4   0x55998eafc WebKit::VideoFullscreenManager::didCleanupFullscreen(WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt;)
5   0x559e4b138 void IPC::callMemberFunctionImpl&lt;WebKit::VideoFullscreenManager, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt; &gt;, 0ul&gt;(WebKit::VideoFullscreenManager*, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt; &gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;)
6   0x559e4b070 void IPC::callMemberFunction&lt;WebKit::VideoFullscreenManager, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt;), std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt; &gt;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::__1::tuple&lt;WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt; &gt;&amp;&amp;, WebKit::VideoFullscreenManager*, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt;))
7   0x559e492e6 void IPC::handleMessage&lt;Messages::VideoFullscreenManager::DidCleanupFullscreen, WebKit::VideoFullscreenManager, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt;)&gt;(IPC::Decoder&amp;, WebKit::VideoFullscreenManager*, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier&lt;WebKit::PlaybackSessionContextIdentifierType&gt;))
8   0x559e48aa8 WebKit::VideoFullscreenManager::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
9   0x5584eb491 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
10  0x5599e0367 WebKit::WebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
11  0x558084b7a IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
12  0x558085ca0 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)
13  0x558086330 IPC::Connection::dispatchOneIncomingMessage()
14  0x5580a6d78 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_8::operator()()
15  0x5580a6c8e 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  0x58bac0ff2 WTF::Function&lt;void ()&gt;::operator()() const
17  0x58bb42b95 WTF::RunLoop::performWork()
18  0x58bb47431 WTF::RunLoop::performWork(void*)
19  0x7fff2046ba0c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
20  0x7fff2046b974 __CFRunLoopDoSource0
21  0x7fff2046b6ef __CFRunLoopDoSources0
22  0x7fff2046a121 __CFRunLoopRun
23  0x7fff204696ce CFRunLoopRunSpecific
24  0x7fff211f6fa1 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
25  0x7fff21285384 -[NSRunLoop(NSRunLoop) run]
26  0x7fff200c03dd _xpc_objc_main
27  0x7fff200bfe65 _xpc_copy_xpcservice_dictionary
28  0x558d20a2c WebKit::XPCServiceMain(int, char const**)
29  0x55a2e440b WKXPCServiceMain
30  0x103ef5ea2 main
31  0x7fff2038e621 start
LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1725660</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-04 09:32:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/73984763&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1726503</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-02-07 12:11:09 -0800</bug_when>
    <thetext>This appears to be a rare crash, but it happened more than once, and on Catalina too.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>