Bug 221414 - ASSERTION FAILED: m_clientCounts.contains(contextId) in WebKit::VideoFullscreenManager::removeClientForContext on media/video-presentation-mode.html
Summary: ASSERTION FAILED: m_clientCounts.contains(contextId) in WebKit::VideoFullscre...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-04 09:14 PST by Robert Jenner
Modified: 2022-02-13 19:17 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jenner 2021-02-04 09:14:16 PST
media/video-presentation-mode.html

is crashing in Debug on Big Sur in Wk2. 

HISTORY URL:
https://results.webkit.org/?suite=layout-tests&test=media%2Fvideo-presentation-mode.html&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<WebKit::PlaybackSessionContextIdentifierType>)
4   0x55998eafc WebKit::VideoFullscreenManager::didCleanupFullscreen(WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType>)
5   0x559e4b138 void IPC::callMemberFunctionImpl<WebKit::VideoFullscreenManager, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType>), std::__1::tuple<WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType> >, 0ul>(WebKit::VideoFullscreenManager*, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType>), std::__1::tuple<WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType> >&&, std::__1::integer_sequence<unsigned long, 0ul>)
6   0x559e4b070 void IPC::callMemberFunction<WebKit::VideoFullscreenManager, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType>), std::__1::tuple<WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType> >, std::__1::integer_sequence<unsigned long, 0ul> >(std::__1::tuple<WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType> >&&, WebKit::VideoFullscreenManager*, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType>))
7   0x559e492e6 void IPC::handleMessage<Messages::VideoFullscreenManager::DidCleanupFullscreen, WebKit::VideoFullscreenManager, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType>)>(IPC::Decoder&, WebKit::VideoFullscreenManager*, void (WebKit::VideoFullscreenManager::*)(WTF::ObjectIdentifier<WebKit::PlaybackSessionContextIdentifierType>))
8   0x559e48aa8 WebKit::VideoFullscreenManager::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
9   0x5584eb491 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
10  0x5599e0367 WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
11  0x558084b7a IPC::Connection::dispatchMessage(IPC::Decoder&)
12  0x558085ca0 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
13  0x558086330 IPC::Connection::dispatchOneIncomingMessage()
14  0x5580a6d78 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_8::operator()()
15  0x5580a6c8e WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_8, void>::call()
16  0x58bac0ff2 WTF::Function<void ()>::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
Comment 1 Radar WebKit Bug Importer 2021-02-04 09:32:14 PST
<rdar://problem/73984763>
Comment 2 Alexey Proskuryakov 2021-02-07 12:11:09 PST
This appears to be a rare crash, but it happened more than once, and on Catalina too.