RESOLVED FIXED304192
REGRESSION(303379@main?): [macOS iOS] fast/mediastream/granted-denied-request-management1.html is a flaky crash
https://bugs.webkit.org/show_bug.cgi?id=304192
Summary REGRESSION(303379@main?): [macOS iOS] fast/mediastream/granted-denied-request...
Marta Darbinyan
Reported 2025-12-15 10:29:08 PST
The following test is flaky crash on main in both iOS and macOS. It's also false-positive failures across different PRs in EWS. 303379@main is within the range when the test is regressed. fast/mediastream/granted-denied-request-management1.html Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.WebCore 0x11ffec330 WebCore::BaseAudioContext::uninitialize() 1 com.apple.WebCore 0x11ffc8f64 WebCore::AudioContext::uninitialize() 2 com.apple.WebCore 0x11ffecca8 WebCore::BaseAudioContext::stop() 3 com.apple.WebCore 0x120788d1c WTF::Detail::CallableWrapper<WebCore::ScriptExecutionContext::stopActiveDOMObjects()::$_0, WebCore::ScriptExecutionContext::ShouldContinue, WebCore::ActiveDOMObject&>::call(WebCore::ActiveDOMObject&) 4 com.apple.WebCore 0x12077d01c WebCore::ScriptExecutionContext::forEachActiveDOMObject(WTF::Function<WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&)> const&) const 5 com.apple.WebCore 0x1206568e8 WebCore::Document::commonTeardown() 6 com.apple.WebCore 0x1206662e4 WebCore::Document::willBeRemovedFromFrame() 7 com.apple.WebCore 0x120eef954 WebCore::LocalFrame::setView(WTF::RefPtr<WebCore::LocalFrameView, WTF::RawPtrTraits<WebCore::LocalFrameView>, WTF::DefaultRefDerefTraits<WebCore::LocalFrameView>>&&) 8 com.apple.WebCore 0x120ef4f10 WebCore::LocalFrame::createView(WebCore::IntSize const&, std::__1::optional<WebCore::Color> const&, WebCore::IntSize const&, bool, WebCore::ScrollbarMode, bool, WebCore::ScrollbarMode, bool) 9 com.apple.WebKit 0x10b41b308 WebKit::WebLocalFrameLoaderClient::transitionToCommittedForNewPage(WebCore::LocalFrameLoaderClient::InitializingIframe) 10 com.apple.WebCore 0x11e887fa4 WebCore::FrameLoader::commitProvisionalLoad() 11 com.apple.WebCore 0x120d45994 WebCore::DocumentLoader::commitIfReady() 12 com.apple.WebCore 0x120d464bc WebCore::DocumentLoader::finishedLoading() 13 com.apple.WebCore 0x11e886c3c WebCore::DocumentLoader::maybeLoadEmpty() 14 com.apple.WebCore 0x11e885f7c WebCore::DocumentLoader::startLoadingMainResource() 15 com.apple.WebCore 0x120d9efa8 WTF::Detail::CallableWrapper<WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WebCore::FormSubmission const*, WebCore::NavigationPolicyDecision, WebCore::AllowNavigationToInvalidURL)::$_0, void>::call() 16 com.apple.WebCore 0x120d838bc WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WebCore::FormSubmission const*, WebCore::NavigationPolicyDecision, WebCore::AllowNavigationToInvalidURL) 17 com.apple.WebCore 0x120d9e378 WTF::Detail::CallableWrapper<WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::RefPtr<WebCore::FormSubmission const, WTF::RawPtrTraits<WebCore::FormSubmission const>, WTF::DefaultRefDerefTraits<WebCore::FormSubmission const>>&&, WebCore::AllowNavigationToInvalidURL, WTF::CompletionHandler<void ()>&&)::$_1, void, WebCore::ResourceRequest&&, WTF::WeakPtr<WebCore::FormSubmission const, WTF::DefaultWeakPtrImpl, WTF::RawPtrTraits<WTF::DefaultWeakPtrImpl>>&&, WebCore::NavigationPolicyDecision>::call(WebCore::ResourceRequest&&, WTF::WeakPtr<WebCore::FormSubmission const, WTF::DefaultWeakPtrImpl, WTF::RawPtrTraits<WTF::DefaultWeakPtrImpl>>&&, WebCore::NavigationPolicyDecision) 18 com.apple.WebCore 0x120dcfdb8 WTF::Detail::CallableWrapper<WebCore::PolicyChecker::checkNavigationPolicy(WebCore::ResourceRequest&&, WebCore::ResourceResponse const&, WebCore::DocumentLoader*, WTF::RefPtr<WebCore::FormSubmission const, WTF::RawPtrTraits<WebCore::FormSubmission const>, WTF::DefaultRefDerefTraits<WebCore::FormSubmission const>>&&, WTF::CompletionHandler<void (WebCore::ResourceRequest&&, WTF::WeakPtr<WebCore::FormSubmission const, WTF::DefaultWeakPtrImpl, WTF::RawPtrTraits<WTF::DefaultWeakPtrImpl>>&&, WebCore::NavigationPolicyDecision)>&&, WebCore::PolicyDecisionMode, std::__1::optional<WebCore::NavigationNavigationType>)::$_1, void, WebCore::PolicyAction>::call(WebCore::PolicyAction) 19 com.apple.WebKit 0x10b453be4 WebKit::WebFrame::didReceivePolicyDecision(unsigned long long, WebKit::PolicyDecision&&) 20 com.apple.WebKit 0x10b4228a4 decltype(auto) std::__1::apply[abi:sn210101]<WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction(WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WebCore::ResourceResponse const&, WebCore::FormState*, WTF::String const&, std::__1::optional<WTF::ObjectIdentifierGeneric<WebCore::NavigationIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>>, std::__1::optional<WebCore::HitTestResult>&&, bool, WebCore::IsPerformingHTTPFallback, WTF::OptionSet<WebCore::SandboxFlag, (WTF::ConcurrencyTag)0>, WebCore::PolicyDecisionMode, WTF::CompletionHandler<void (WebCore::PolicyAction)>&&)::$_1, std::__1::tuple<WebKit::PolicyDecision>>(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction(WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WebCore::ResourceResponse const&, WebCore::FormState*, WTF::String const&, std::__1::optional<WTF::ObjectIdentifierGeneric<WebCore::NavigationIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>>, std::__1::optional<WebCore::HitTestResult>&&, bool, WebCore::IsPerformingHTTPFallback, WTF::OptionSet<WebCore::SandboxFlag, (WTF::ConcurrencyTag)0>, WebCore::PolicyDecisionMode, WTF::CompletionHandler<void (WebCore::PolicyAction)>&&)::$_1&&, std::__1::tuple<WebKit::PolicyDecision>&&) 21 com.apple.WebKit 0x10b422498 WTF::Detail::CallableWrapper<WTF::CompletionHandler<void (IPC::Connection*, IPC::Decoder*)> IPC::Connection::makeAsyncReplyCompletionHandler<Messages::WebPageProxy::DecidePolicyForNavigationActionAsync, WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction(WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WebCore::ResourceResponse const&, WebCore::FormState*, WTF::String const&, std::__1::optional<WTF::ObjectIdentifierGeneric<WebCore::NavigationIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>>, std::__1::optional<WebCore::HitTestResult>&&, bool, WebCore::IsPerformingHTTPFallback, WTF::OptionSet<WebCore::SandboxFlag, (WTF::ConcurrencyTag)0>, WebCore::PolicyDecisionMode, WTF::CompletionHandler<void (WebCore::PolicyAction)>&&)::$_1>(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction(WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WebCore::ResourceResponse const&, WebCore::FormState*, WTF::String const&, std::__1::optional<WTF::ObjectIdentifierGeneric<WebCore::NavigationIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>>, std::__1::optional<WebCore::HitTestResult>&&, bool, WebCore::IsPerformingHTTPFallback, WTF::OptionSet<WebCore::SandboxFlag, (WTF::ConcurrencyTag)0>, WebCore::PolicyDecisionMode, WTF::CompletionHandler<void (WebCore::PolicyAction)>&&)::$_1&&, WTF::ThreadLikeAssertion)::'lambda'(IPC::Connection*, IPC::Decoder*), void, IPC::Connection*, IPC::Decoder*>::call(IPC::Connection*, IPC::Decoder*) 22 com.apple.WebKit 0x10b5c3678 IPC::Connection::dispatchMessage(WTF::UniqueRef<IPC::Decoder>) 23 com.apple.WebKit 0x10b5ea904 WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef<IPC::Decoder>)::$_1, void>::call() 24 com.apple.JavaScriptCore 0x11197fad8 WTF::RunLoop::performWork() 25 com.apple.JavaScriptCore 0x111981224 WTF::RunLoop::performWork(void*) Test history: https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2Fgranted-denied-request-management1.html Test result: https://ews-build.webkit.org/#/builders/137/builds/33106
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-15 10:29:28 PST
EWS
Comment 2 2025-12-15 13:11:11 PST
Test gardening commit 304473@main (a6503a7c4c71): <https://commits.webkit.org/304473@main> Reviewed commits have been landed. Closing PR #55426 and removing active labels.
Alexey Proskuryakov
Comment 3 2025-12-15 14:38:07 PST
*** Bug 304191 has been marked as a duplicate of this bug. ***
Chris Dumez
Comment 4 2025-12-16 14:55:43 PST
EWS
Comment 5 2025-12-16 14:58:24 PST
Committed 304548@main (757f547daf3c): <https://commits.webkit.org/304548@main> Reviewed commits have been landed. Closing PR #55513 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.