Bug 226699

Summary: Flaky assertion hit in AudioSessionRoutingArbitratorProxy::endRoutingArbitration()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: MediaAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, eric.carlson, ews-watchlist, glenn, jer.noble, peng.liu6, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=226692
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2021-06-06 11:23:01 PDT
Flaky assertion hit in AudioSessionRoutingArbitratorProxy::endRoutingArbitration() is seen on the bots (Wk2 Debug): Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.JavaScriptCore 0x00000001031fc104 WTFCrash + 20 (Assertions.cpp:321) 1 com.apple.WebCore 0x000000011fae5280 WTFCrashWithInfo(int, char const*, char const*, int) + 32 (Assertions.h:697) 2 com.apple.WebCore 0x0000000120cabf40 WebCore::SharedRoutingArbitrator::endRoutingArbitrationForToken(WebCore::SharedRoutingArbitrator::Token const&) + 112 (SharedRoutingArbitrator.mm:123) 3 com.apple.WebKit 0x000000010cbb1880 WebKit::AudioSessionRoutingArbitratorProxy::endRoutingArbitration() + 68 (AudioSessionRoutingArbitratorProxyCocoa.mm:73) 4 com.apple.WebKit 0x000000010b4fae84 void IPC::callMemberFunctionImpl<WebKit::AudioSessionRoutingArbitratorProxy, void (WebKit::AudioSessionRoutingArbitratorProxy::*)(), std::__1::tuple<> >(WebKit::AudioSessionRoutingArbitratorProxy*, void (WebKit::AudioSessionRoutingArbitratorProxy::*)(), std::__1::tuple<>&&, std::__1::integer_sequence<unsigned long>) + 116 (HandleMessage.h:43) 5 com.apple.WebKit 0x000000010b4fa9bc void IPC::callMemberFunction<WebKit::AudioSessionRoutingArbitratorProxy, void (WebKit::AudioSessionRoutingArbitratorProxy::*)(), std::__1::tuple<>, std::__1::integer_sequence<unsigned long> >(std::__1::tuple<>&&, WebKit::AudioSessionRoutingArbitratorProxy*, void (WebKit::AudioSessionRoutingArbitratorProxy::*)()) + 124 (HandleMessage.h:49) 6 com.apple.WebKit 0x000000010b4f7174 void IPC::handleMessage<Messages::AudioSessionRoutingArbitratorProxy::EndRoutingArbitration, WebKit::AudioSessionRoutingArbitratorProxy, void (WebKit::AudioSessionRoutingArbitratorProxy::*)()>(IPC::Decoder&, WebKit::AudioSessionRoutingArbitratorProxy*, void (WebKit::AudioSessionRoutingArbitratorProxy::*)()) + 160 (HandleMessage.h:119) 7 com.apple.WebKit 0x000000010b4f6ed8 WebKit::AudioSessionRoutingArbitratorProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 200 (AudioSessionRoutingArbitratorProxyMessageReceiver.cpp:82) 8 com.apple.WebKit 0x000000010ba8bba0 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 384 (MessageReceiverMap.cpp:129) 9 com.apple.WebKit 0x000000010cad0144 WebKit::AuxiliaryProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 44 (AuxiliaryProcessProxy.cpp:227) 10 com.apple.WebKit 0x000000010cdca8dc WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 48 (WebProcessProxy.cpp:819) 11 com.apple.WebKit 0x000000010b553470 IPC::Connection::dispatchMessage(IPC::Decoder&) + 496 (Connection.cpp:1058) 12 com.apple.WebKit 0x000000010b553bb8 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 632 (Connection.cpp:1103) 13 com.apple.WebKit 0x000000010b552160 IPC::Connection::dispatchIncomingMessages() + 728 (Connection.cpp:1207) 14 com.apple.WebKit 0x000000010b576ba4 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_12::operator()() + 56 (Connection.cpp:1025) 15 com.apple.WebKit 0x000000010b576aac WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_12, void>::call() + 28 (Function.h:53) 16 com.apple.JavaScriptCore 0x0000000103225968 WTF::Function<void ()>::operator()() const + 124 (Function.h:82) 17 com.apple.JavaScriptCore 0x00000001032a7fdc WTF::RunLoop::performWork() + 316 (RunLoop.cpp:133) 18 com.apple.JavaScriptCore 0x00000001032acd08 WTF::RunLoop::performWork(void*) + 44 (RunLoopCF.cpp:46) 19 com.apple.CoreFoundation 0x0000000184d22ad4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
Attachments
Patch (2.01 KB, patch)
2021-06-06 11:27 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-06-06 11:27:46 PDT
EWS
Comment 2 2021-06-06 20:53:27 PDT
Committed r278541 (238539@main): <https://commits.webkit.org/238539@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430688 [details].
Radar WebKit Bug Importer
Comment 3 2021-06-06 20:54:18 PDT
Note You need to log in before you can comment on or make changes to this bug.