Bug 232105 - [ 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())
Summary: [ macOS wk2 ] imported/w3c/web-platform-tests/html/cross-origin-opener-policy...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-21 14:19 PDT by ayumi_kojima
Modified: 2021-10-26 12:29 PDT (History)
6 users (show)

See Also:


Attachments
Crash log (134.37 KB, text/plain)
2021-10-21 14:20 PDT, ayumi_kojima
no flags Details
Diff (1) (8.27 KB, text/plain)
2021-10-26 12:29 PDT, ayumi_kojima
no flags Details
Diff (2) (7.88 KB, text/plain)
2021-10-26 12:29 PDT, ayumi_kojima
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ayumi_kojima 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
Comment 1 ayumi_kojima 2021-10-21 14:20:05 PDT
Created attachment 442064 [details]
Crash log
Comment 2 Radar WebKit Bug Importer 2021-10-21 14:20:30 PDT
<rdar://problem/84523195>
Comment 3 ayumi_kojima 2021-10-21 14:23:44 PDT
Marked test expectations https://trac.webkit.org/changeset/284643/webkit
Comment 4 ayumi_kojima 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.
Comment 5 ayumi_kojima 2021-10-26 12:29:00 PDT
Created attachment 442517 [details]
Diff (1)
Comment 6 ayumi_kojima 2021-10-26 12:29:13 PDT
Created attachment 442518 [details]
Diff (2)