The following assertion failure is seen with a few API tests and layout tests ASSERTION FAILED: !DeprecatedGlobalSettings::shouldManageAudioSessionCategory() || AudioSession::sharedSession().category() == AudioSession::CategoryType::PlayAndRecord ./platform/mediastream/mac/BaseAudioSharedUnit.cpp(106) : OSStatus WebCore::BaseAudioSharedUnit::startUnit() 1 0x13dd1df59 WTFCrash 2 0x122bc8f7b WTFCrashWithInfo(int, char const*, char const*, int) 3 0x1273e18d5 WebCore::BaseAudioSharedUnit::startUnit() 4 0x1273e1607 WebCore::BaseAudioSharedUnit::startProducingData() 5 0x1274120fd WebCore::CoreAudioCaptureSource::startProducingData() 6 0x127391ba9 WebCore::RealtimeMediaSource::start() 7 0x112a875b4 WebKit::UserMediaCaptureManagerProxy::SourceProxy::start() 8 0x112a87548 WebKit::UserMediaCaptureManagerProxy::startProducingData(WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType>) 9 0x11329a1d8 void IPC::callMemberFunctionImpl<WebKit::UserMediaCaptureManagerProxy, void (WebKit::UserMediaCaptureManagerProxy::*)(WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType>), std::__1::tuple<WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType> >, 0ul>(WebKit::UserMediaCaptureManagerProxy*, void (WebKit::UserMediaCaptureManagerProxy::*)(WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType>), std::__1::tuple<WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType> >&&, std::__1::integer_sequence<unsigned long, 0ul>) 10 0x11329a070 void IPC::callMemberFunction<WebKit::UserMediaCaptureManagerProxy, void (WebKit::UserMediaCaptureManagerProxy::*)(WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType>), std::__1::tuple<WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType> >, std::__1::integer_sequence<unsigned long, 0ul> >(std::__1::tuple<WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType> >&&, WebKit::UserMediaCaptureManagerProxy*, void (WebKit::UserMediaCaptureManagerProxy::*)(WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType>)) 11 0x113293268 void IPC::handleMessage<Messages::UserMediaCaptureManagerProxy::StartProducingData, WebKit::UserMediaCaptureManagerProxy, void (WebKit::UserMediaCaptureManagerProxy::*)(WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType>)>(IPC::Decoder&, WebKit::UserMediaCaptureManagerProxy*, void (WebKit::UserMediaCaptureManagerProxy::*)(WTF::ObjectIdentifier<WebCore::RealtimeMediaSourceIdentifierType>)) 12 0x113292d7b WebKit::UserMediaCaptureManagerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 13 0x111c79d45 WebKit::UserMediaCaptureManagerProxy::didReceiveMessageFromGPUProcess(IPC::Connection&, IPC::Decoder&) 14 0x111c79859 WebKit::GPUConnectionToWebProcess::dispatchMessage(IPC::Connection&, IPC::Decoder&) 15 0x111b5f430 WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 16 0x11111c574 IPC::Connection::dispatchMessage(IPC::Decoder&) 17 0x11111cd3f IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) 18 0x11111d3a0 IPC::Connection::dispatchOneIncomingMessage() 19 0x11113e6e8 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_12::operator()() 20 0x11113e5de WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_12, void>::call() 21 0x13dd4bb82 WTF::Function<void ()>::operator()() const 22 0x13ddd6870 WTF::RunLoop::performWork() 23 0x13dddb2a1 WTF::RunLoop::performWork(void*) 24 0x7fff205d497c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 25 0x7fff205d48e4 __CFRunLoopDoSource0 26 0x7fff205d4664 __CFRunLoopDoSources0 27 0x7fff205d308c __CFRunLoopRun 28 0x7fff205d264c CFRunLoopRunSpecific 29 0x7fff21360647 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 30 0x7fff213ee511 -[NSRunLoop(NSRunLoop) run] 31 0x7fff2022a38d _xpc_objc_main https://results.webkit.org/?suite=layout-tests&suite=api-tests&suite=api-tests&test=fast%2Fspeechrecognition%2Fstart-recognition-twice-exception.html&test=TestWebKitAPI.WebKit2.CrashGPUProcessWhileCapturing&test=TestWebKitAPI.WebKit2.CrashGPUProcessWhileCapturingAndCalling
<rdar://problem/81587101>
Looks like this started with https://trac.webkit.org/changeset/280702/webkit
Created attachment 435030 [details] crash log
Created attachment 435041 [details] Patch
ChangeLog entry in Source/WebKit/ChangeLog contains OOPS!.
Committed r280722 (240313@main): <https://commits.webkit.org/240313@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 435041 [details].
*** Bug 228868 has been marked as a duplicate of this bug. ***