Bug 232105

Summary: [ macOS wk2 ] imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html is a flaky failure/ crashing (ASSERTION FAILED: !m_provisionalLoadURL.isNull())
Product: WebKit Reporter: ayumi_kojima
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: achristensen, ap, beidson, cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Crash log
none
Diff (1)
none
Diff (2) none

ayumi_kojima
Reported 2021-10-21 14:19:05 PDT
imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html Is a flaky failure and a flaky crash on macOS wk2. History: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcross-origin-opener-policy%2Fiframe-popup-same-origin-to-same-origin.https.html Result page: https://build.webkit.org/results/Apple-BigSur-Release-WK2-Tests/r284606%20(6045)/results.html Diff: --- /Volumes/Data/worker/bigsur-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https-expected.txt +++ /Volumes/Data/worker/bigsur-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https-actual.txt @@ -1,3 +1,5 @@ + +Harness Error (TIMEOUT), message = null PASS same-origin with SAME_ORIGIN iframe opening popup via window_open a SAME_ORIGIN with COOP: "same-origin" PASS same-origin with SAME_ORIGIN iframe opening popup via anchor a SAME_ORIGIN with COOP: "same-origin" @@ -12,7 +14,7 @@ PASS same-origin with CROSS_ORIGIN iframe opening popup via form_GET a SAME_ORIGIN with COOP: "same-origin" PASS same-origin with CROSS_ORIGIN iframe opening popup via form_POST a SAME_ORIGIN with COOP: "same-origin" PASS same-origin with SAME_ORIGIN iframe opening popup via window_open a SAME_SITE with COOP: "same-origin" -PASS same-origin with SAME_ORIGIN iframe opening popup via anchor a SAME_SITE with COOP: "same-origin" +TIMEOUT same-origin with SAME_ORIGIN iframe opening popup via anchor a SAME_SITE with COOP: "same-origin" Test timed out PASS same-origin with SAME_ORIGIN iframe opening popup via form_GET a SAME_SITE with COOP: "same-origin" PASS same-origin with SAME_ORIGIN iframe opening popup via form_POST a SAME_SITE with COOP: "same-origin" PASS same-origin with SAME_SITE iframe opening popup via window_open a SAME_SITE with COOP: "same-origin" Stderr for crash: ASSERTION FAILED: !m_provisionalLoadURL.isNull() /Volumes/Data/worker/ios-simulator-15-debug/build/Source/WebKit/UIProcess/ProvisionalPageProxy.cpp(289) : void WebKit::ProvisionalPageProxy::didFailProvisionalLoadForFrame(WebCore::FrameIdentifier, WebKit::FrameInfoData &&, WebCore::ResourceRequest &&, uint64_t, const WTF::String &, const WebCore::ResourceError &, WebCore::WillContinueLoading, const WebKit::UserData &) 1 0x1123c8fd9 WTFCrash 2 0x12d1178fb WTFCrashWithInfo(int, char const*, char const*, int) 3 0x12e6a0831 WebKit::ProvisionalPageProxy::didFailProvisionalLoadForFrame(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&) 4 0x12e6edcbe void IPC::callMemberFunctionImpl<WebKit::ProvisionalPageProxy, void (WebKit::ProvisionalPageProxy::*)(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::ProvisionalPageProxy*, void (WebKit::ProvisionalPageProxy::*)(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>) 5 0x12e6e77ad void IPC::callMemberFunction<WebKit::ProvisionalPageProxy, void (WebKit::ProvisionalPageProxy::*)(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::ProvisionalPageProxy*, void (WebKit::ProvisionalPageProxy::*)(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&)) 6 0x12e6a5720 void IPC::handleMessage<Messages::WebPageProxy::DidFailProvisionalLoadForFrame, WebKit::ProvisionalPageProxy, void (WebKit::ProvisionalPageProxy::*)(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::ProvisionalPageProxy*, void (WebKit::ProvisionalPageProxy::*)(WTF::ObjectIdentifier<WebCore::FrameIdentifierType>, WebKit::FrameInfoData&&, WebCore::ResourceRequest&&, unsigned long long, WTF::String const&, WebCore::ResourceError const&, WebCore::WillContinueLoading, WebKit::UserData const&)) 7 0x12e6a4523 WebKit::ProvisionalPageProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 8 0x12d6f32d3 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) 9 0x12e64278c WebKit::AuxiliaryProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&) 10 0x12e9520f9 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 11 0x12d1af65e IPC::Connection::dispatchMessage(IPC::Decoder&) 12 0x12d1afdf2 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) 13 0x12d1ae604 IPC::Connection::dispatchIncomingMessages() 14 0x12d1d0cdf IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_12::operator()() 15 0x12d1d0c09 WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_12, void>::call() 16 0x1123f58c2 WTF::Function<void ()>::operator()() const 17 0x11247d2de WTF::RunLoop::performWork() 18 0x112481b0e WTF::RunLoop::performWork(void*) 19 0x1058fee25 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 20 0x1058fed1d __CFRunLoopDoSource0 21 0x1058fe1f2 __CFRunLoopDoSources0 22 0x1058f8951 __CFRunLoopRun 23 0x1058f8103 CFRunLoopRunSpecific 24 0x1062f841c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 25 0x10228d10d WTR::TestController::platformRunUntil(bool&, WTF::Seconds) 26 0x10224f52f WTR::TestController::runUntil(bool&, WTF::Seconds) 27 0x1022b19c2 WTR::TestInvocation::invoke() 28 0x1022570a3 WTR::TestController::runTest(char const*) 29 0x1022574c6 WTR::TestController::runTestingServerLoop() 30 0x10224fe87 WTR::TestController::run() 31 0x10224f869 WTR::TestController::TestController(int, char const**) LEAK: 1 WebPage LEAK: 1 WebFrame LEAK: 2 RenderObject LEAK: 1 Page LEAK: 1 Frame LEAK: 3 CachedResource LEAK: 1 SubresourceLoader LEAK: 13 WebCoreNode LEAK: 1 WebPage LEAK: 1 WebFrame LEAK: 3 RenderObject LEAK: 1 Page LEAK: 1 Frame LEAK: 4 WebCoreNode
Attachments
Crash log (134.37 KB, text/plain)
2021-10-21 14:20 PDT, ayumi_kojima
no flags
Diff (1) (8.27 KB, text/plain)
2021-10-26 12:29 PDT, ayumi_kojima
no flags
Diff (2) (7.88 KB, text/plain)
2021-10-26 12:29 PDT, ayumi_kojima
no flags
ayumi_kojima
Comment 1 2021-10-21 14:20:05 PDT
Created attachment 442064 [details] Crash log
Radar WebKit Bug Importer
Comment 2 2021-10-21 14:20:30 PDT
ayumi_kojima
Comment 3 2021-10-21 14:23:44 PDT
ayumi_kojima
Comment 4 2021-10-26 12:28:41 PDT
I was able to reproduce the same failure at TOT locally using run-webkit-tests --force imported/w3c/web-platform-tests/html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html --iterations 50 --exit-after-n-crashes-or-timeouts 1. The test didn't crash locally. The test failed with the oldest revision available to test (r268271), r275001, and r276100 but they produced a different diff(1). r280683 - r277500 failed locally with another diff(2). r280683 failed on the bot as well (https://build.webkit.org/#/builders/48/builds/4425) but it was same diff as TOT. I am not sure how to bisect because I don't know if those diffs mean the same or not.
ayumi_kojima
Comment 5 2021-10-26 12:29:00 PDT
Created attachment 442517 [details] Diff (1)
ayumi_kojima
Comment 6 2021-10-26 12:29:13 PDT
Created attachment 442518 [details] Diff (2)
Note You need to log in before you can comment on or make changes to this bug.