NEW323152
[Tahoe DEBUG arm64] 11x imported/w3c/web-platform-tests/encrypted-media/drm-mp4-* (layout-tests) are constant crashes.
https://bugs.webkit.org/show_bug.cgi?id=323152
Summary [Tahoe DEBUG arm64] 11x imported/w3c/web-platform-tests/encrypted-media/drm-m...
jespinal23
Reported 2026-09-01 16:21:16 PDT
Created attachment 481253 [details] Build-4663-Log-Output The following layout-tests are constant crashes on macOS Tahoe Debug arm64: imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-playduration.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-update.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-immediately.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-onencrypted.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-two-videos.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-waitingforkey.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys-again-after-playback.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-setmediakeys-again-after-resetting-src.https.html imported/w3c/web-platform-tests/encrypted-media/drm-mp4-waiting-for-a-key.https.html This is the same set of 11 tests covered by Bug 322840. That bug has been worked through and fixed, but this collection of tests are still crashing and the assertion being hit is different from Bug 322840. Every tests other than 2 has a traceable output that reaches the same assertion failure. The fix for Bug 322840 was addressed in 320124@main which did two things: - removed the assertIsMainThread() call from WebCoreDecompressionSession::invalidate() - deleted the 11 test expectation from Bug 322840 These tests are still expected [ Failure ] from bug 158836 but are constantly crashing even after 320124@main fix. This can mean that a new regression has been uncovered but we cannot currently attribute the regression point to 320124@main. History: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-playback-temporary-encrypted-clear-sources.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-playback-temporary-playduration.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-playback-temporary-setMediaKeys-after-update.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-playback-temporary-setMediaKeys-immediately.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-playback-temporary-setMediaKeys-onencrypted.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-playback-temporary-two-videos.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-playback-temporary-waitingforkey.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-playback-temporary.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-setmediakeys-again-after-playback.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-setmediakeys-again-after-resetting-src.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fencrypted-media%2Fdrm-mp4-waiting-for-a-key.https.html Test Run: https://build.webkit.org/#/builders/1701/builds/4663 Test Output: stderr: ASSERTION FAILED: !m_needsFlushing /Volumes/Data/worker/Apple-Tahoe-Debug-Build/build/Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm(429) : void WebCore::VideoMediaSampleRenderer::enqueueSample(const MediaSample &, std::optional<MediaTime>) 1 0x148c84b20 WebCore::VideoMediaSampleRenderer::enqueueSample(WebCore::MediaSample const&, std::__1::optional<WTF::MediaTime>) 2 0x1488e248c WebCore::AudioVideoRendererAVFObjC::enqueueSample(WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WTF::Ref<WebCore::MediaSample, WTF::RawPtrTraits<WebCore::MediaSample>, WTF::DefaultRefDerefTraits<WebCore::MediaSample>>&&, std::__1::optional<WTF::MediaTime>) 3 0x13126d3f8 WebKit::RemoteAudioVideoRendererProxyManager::enqueueSample(WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&) 4 0x12f8ba118 auto void IPC::callMemberFunction<WebKit::RemoteAudioVideoRendererProxyManager, WebKit::RemoteAudioVideoRendererProxyManager, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>, void (bool)>(WebKit::RemoteAudioVideoRendererProxyManager*, void (WebKit::RemoteAudioVideoRendererProxyManager::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>&&, WTF::CompletionHandler<void (bool)>&&)::'lambda'(auto&&...)::operator()<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>(auto&&...) const 5 0x12f8b9f7c std::__1::__invoke_result_impl<void, auto...>::type std::__1::__invoke[abi:sqn210106]<void IPC::callMemberFunction<WebKit::RemoteAudioVideoRendererProxyManager, WebKit::RemoteAudioVideoRendererProxyManager, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>, void (bool)>(WebKit::RemoteAudioVideoRendererProxyManager*, void (WebKit::RemoteAudioVideoRendererProxyManager::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>&&, WTF::CompletionHandler<void (bool)>&&)::'lambda'(auto&&...), WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>(auto&&...) 6 0x12f8b9f38 decltype(auto) std::__1::__apply_tuple_impl[abi:sqn210106]<void IPC::callMemberFunction<WebKit::RemoteAudioVideoRendererProxyManager, WebKit::RemoteAudioVideoRendererProxyManager, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>, void (bool)>(WebKit::RemoteAudioVideoRendererProxyManager*, void (WebKit::RemoteAudioVideoRendererProxyManager::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>&&, WTF::CompletionHandler<void (bool)>&&)::'lambda'(auto&&...), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>, 0ul, 1ul, 2ul, 3ul>(WebKit::RemoteAudioVideoRendererProxyManager&&, WebKit::RemoteAudioVideoRendererProxyManager&&, std::__1::__tuple_indices<0ul, 1ul, 2ul, 3ul>) 7 0x12f8b9ecc decltype(auto) std::__1::apply[abi:sqn210106]<void IPC::callMemberFunction<WebKit::RemoteAudioVideoRendererProxyManager, WebKit::RemoteAudioVideoRendererProxyManager, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>, void (bool)>(WebKit::RemoteAudioVideoRendererProxyManager*, void (WebKit::RemoteAudioVideoRendererProxyManager::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>&&, WTF::CompletionHandler<void (bool)>&&)::'lambda'(auto&&...), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>>(WebKit::RemoteAudioVideoRendererProxyManager&&, WebKit::RemoteAudioVideoRendererProxyManager&&) 8 0x12f8b7f28 void IPC::callMemberFunction<WebKit::RemoteAudioVideoRendererProxyManager, WebKit::RemoteAudioVideoRendererProxyManager, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>, void (bool)>(WebKit::RemoteAudioVideoRendererProxyManager*, void (WebKit::RemoteAudioVideoRendererProxyManager::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock, std::__1::optional<WTF::MediaTime>>&&, WTF::CompletionHandler<void (bool)>&&) 9 0x12f89df98 void IPC::handleMessageAsync<Messages::RemoteAudioVideoRendererProxyManager::EnqueueSample, IPC::Connection, WebKit::RemoteAudioVideoRendererProxyManager, WebKit::RemoteAudioVideoRendererProxyManager, void (WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&)>(IPC::Connection&, IPC::Decoder&, WebKit::RemoteAudioVideoRendererProxyManager*, void (WebKit::RemoteAudioVideoRendererProxyManager::*)(WTF::ObjectIdentifierGeneric<WebKit::RemoteAudioVideoRendererIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits>, WTF::ObjectIdentifierGeneric<WebCore::SamplesRendererTrackIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, WebCore::MediaSamplesBlock&&, std::__1::optional<WTF::MediaTime>, WTF::CompletionHandler<void (bool)>&&)) 10 0x12f89c680 WebKit::RemoteAudioVideoRendererProxyManager::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 11 0x13109f730 WebKit::GPUConnectionToWebProcess::dispatchMessage(IPC::Connection&, IPC::Decoder&) 12 0x12ff8476c WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 13 0x1337c8914 IPC::Connection::dispatchMessage(IPC::Decoder&) 14 0x1337c8e14 IPC::Connection::dispatchMessage(WTF::UniqueRef<IPC::Decoder>) 15 0x1337c9260 IPC::Connection::dispatchOneIncomingMessage() 16 0x1337ee050 IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef<IPC::Decoder>)::$_1::operator()() const 17 0x1337edfac WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef<IPC::Decoder>)::$_1, void>::call() 18 0x124217954 WTF::Function<void ()>::operator()() const 19 0x1242fb330 WTF::RunLoop::performWork() 20 0x1243030c4 WTF::RunLoop::performWork(void*) 21 0x189316f30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 22 0x189316ec4 __CFRunLoopDoSource0 23 0x189316c30 __CFRunLoopDoSources0 24 0x189315854 __CFRunLoopRun 25 0x1893e81c4 _CFRunLoopRunSpecificWithOptions 26 0x18ab5fb44 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 27 0x18abd7fe0 -[NSRunLoop(NSRunLoop) run] 28 0x188f3fa68 _xpc_objc_main 29 0x188f51ae4 _xpc_main 30 0x188f3f628 _xpc_copy_xpcservice_dictionary 31 0x130633c64 WebKit::XPCServiceMain(int, char const**) com.apple.WebKit.GPU.Development terminated (pid 63034) for reason: crash imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.https.html and imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary-two-videos.https.html has no output found. REPRODUCTION: run-webkit-tests --debug imported/w3c/web-platform-tests/encrypted-media/drm-mp4-playback-temporary.https.html I tried reproducing locally but was unsuccessful; the crash is only observable on the bots.
Attachments
Build-4663-Log-Output (61.30 KB, text/plain)
2026-09-01 16:21 PDT, jespinal23
no flags
Radar WebKit Bug Importer
Comment 1 2026-09-01 16:21:24 PDT
jespinal23
Comment 2 2026-09-01 16:33:58 PDT
Test gardening pull request: https://github.com/WebKit/WebKit/pull/72991
EWS
Comment 3 2026-09-01 16:59:13 PDT
Test gardening commit 320285@main (148c0105d1f7): <https://commits.webkit.org/320285@main> Reviewed commits have been landed. Closing PR #72991 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.