Bug 237105 - REGRESSION (r290371): ASSERTION FAILED: m_navigations.contains(navigationID) under WebKit::WebNavigationState::takeNavigation()
Summary: REGRESSION (r290371): ASSERTION FAILED: m_navigations.contains(navigationID) ...
Status: RESOLVED DUPLICATE of bug 237071
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-23 12:53 PST by Ryan Haddad
Modified: 2022-02-24 21:10 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2022-02-23 12:53:45 PST
The following API test is asserting on iOS and macOS debug bots after https://commits.webkit.org/247687@main:

TestWebKitAPI.ProcessSwap.ResponsePolicyDownloadAfterCOOPProcessSwap
        2022-02-23 10:12:43.788 TestWebKitAPI[17218:41262042] Writing analzed variants.
        ASSERTION FAILED: m_navigations.contains(navigationID)
        /Volumes/Data/worker/ios-simulator-15-debug/build/Source/WebKit/UIProcess/WebNavigationState.cpp(100) : RefPtr<API::Navigation> WebKit::WebNavigationState::takeNavigation(uint64_t)
        1   0x1171207a9 WTFCrash
        2   0x1345d284b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x13619f7bd WebKit::WebNavigationState::takeNavigation(unsigned long long)
        4   0x1361dc11c WebKit::WebPageProxy::didFailProvisionalLoadForFrameShared(WTF::Ref<WebKit::WebProcessProxy, WTF::RawPtrTraits<WebKit::WebProcessProxy> >&&, WebKit::WebFrameProxy&, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&)
        5   0x1361dbd96 WebKit::WebPageProxy::didFailProvisionalLoadForFrame(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&)
        6   0x136e9d06e void IPC::callMemberFunctionImpl<WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&), std::__1::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData, WebCore::ResourceRequest, unsigned long long, WTF::String, WebCore::ResourceError, WebCore::WillContinueLoading, WebKit::UserData>, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul>(WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&), std::__1::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData, WebCore::ResourceRequest, unsigned long long, WTF::String, WebCore::ResourceError, WebCore::WillContinueLoading, WebKit::UserData>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul>)
        7   0x136e9cdad void IPC::callMemberFunction<WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&), std::__1::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData, WebCore::ResourceRequest, unsigned long long, WTF::String, WebCore::ResourceError, WebCore::WillContinueLoading, WebKit::UserData>, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul> >(std::__1::tuple<WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData, WebCore::ResourceRequest, unsigned long long, WTF::String, WebCore::ResourceError, WebCore::WillContinueLoading, WebKit::UserData>&&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&))
        8   0x136e68d8c void IPC::handleMessage<Messages::WebPageProxy::DidFailProvisionalLoadForFrame, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&)>(IPC::Connection&, IPC::Decoder&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&))
        9   0x136e608e0 WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
        10  0x135b922b3 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
        11  0x135fe4c5c WebKit::AuxiliaryProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&)
        12  0x13621d9f9 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
        13  0x135b5b9f4 IPC::Connection::dispatchMessage(IPC::Decoder&)
        14  0x135b5c0b2 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
        15  0x135b5aab5 IPC::Connection::dispatchIncomingMessages()
        16  0x135b7ae6f IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_15::operator()()
        17  0x135b7ad99 WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_15, void>::call()
        18  0x11714d952 WTF::Function<void ()>::operator()() const
        19  0x1171e0a6e WTF::RunLoop::performWork()
        20  0x1171e529e WTF::RunLoop::performWork(void*)
        21  0x110340e25 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
        22  0x110340d1d __CFRunLoopDoSource0
        23  0x1103401f2 __CFRunLoopDoSources0
        24  0x11033a951 __CFRunLoopRun
        25  0x11033a103 CFRunLoopRunSpecific
        26  0x110f5c41c -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        27  0x110f5c693 -[NSRunLoop(NSRunLoop) runUntilDate:]
        28  0x109e394b2 TestWebKitAPI::Util::sleep(double)
        29  0x1099b1835 ProcessSwap_ResponsePolicyDownloadAfterCOOPProcessSwap_Test::TestBody()
        30  0x109eb17bb void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        31  0x109e8901a void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        Child process terminated with signal 11: Segmentation fault

https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ProcessSwap.ResponsePolicyDownloadAfterCOOPProcessSwap
Comment 1 Radar WebKit Bug Importer 2022-02-23 12:53:58 PST
<rdar://problem/89373028>
Comment 2 Alex Christensen 2022-02-24 21:10:58 PST

*** This bug has been marked as a duplicate of bug 237071 ***