Bug 230711

Summary: [ BigSur Debug ]http/tests/inspector/network/resource-initiatorNode.html is a flaky crash/failure
Product: WebKit Reporter: Eric Hutchison <ehutchison>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, ehutchison, inspector-bugzilla-changes, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Eric Hutchison 2021-09-23 12:01:35 PDT
http/tests/inspector/network/resource-initiatorNode.html

is a flaky failure and crash on BigSur debug

History: https://results.webkit.org/?suite=layout-tests&test=http/tests/inspector/network/resource-initiatorNode.html

Results: https://ews-build.webkit.org/#/builders/60/builds/12620; https://build.webkit.org/results/Apple-BigSur-Debug-AppleSilicon-WK2-Tests/r282883%20(3193)/results.html, https://build.webkit.org/results/Apple-BigSur-Debug-WK1-Tests/r282881%20(4297)/results.html

Diff:
Failure:
--- /Volumes/Data/worker/bigsur-debug-tests-wk1/build/layout-test-results/http/tests/inspector/network/resource-initiatorNode-expected.txt
+++ /Volumes/Data/worker/bigsur-debug-tests-wk1/build/layout-test-results/http/tests/inspector/network/resource-initiatorNode-actual.txt
@@ -12,6 +12,6 @@
 PASS: Resource initiatorNode should match video node id
 
 -- Running test case: WI.Resource.initiatorNode.trackVTT
+!! TIMEOUT: took longer than 10000ms
 PASS: Resource should have an initiatorNode
-PASS: Resource initiatorNode should match video node id
 

Crash:


No crash log found for GPUProcess:9906.

stdout:

stderr:
inspector-resource:///TestCombined.js:33247:23: CONSOLE ASSERT ERROR
inspector-resource:///TestCombined.js:33247:23: CONSOLE ASSERT ERROR
inspector-resource:///TestCombined.js:33247:23: CONSOLE ASSERT ERROR
ASSERTION FAILED: Unsafe to ref/deref from different threads
m_isOwnedByMainThread == isMainThread()
/Volumes/Data/worker/bigsur-debug/build/WebKitBuild/Debug/usr/local/include/wtf/RefCounted.h(114) : void WTF::RefCountedBase::applyRefDerefThreadingCheck() const
1   0x1395e66e0 WTFCrash
inspector-resource:///TestCombined.js:33247:23: CONSOLE ASSERT ERROR
2   0x119113410 WTF::RefCountedBase::applyRefDerefThreadingCheck() const
3   0x1197878f0 WTF::RefCountedBase::derefBase() const
4   0x11984c414 WTF::RefCounted<WebCore::AdditionalNetworkLoadMetricsForWebInspector, std::__1::default_delete<WebCore::AdditionalNetworkLoadMetricsForWebInspector> >::deref() const
5   0x11984c3bc WTF::DefaultRefDerefTraits<WebCore::AdditionalNetworkLoadMetricsForWebInspector>::derefIfNotNull(WebCore::AdditionalNetworkLoadMetricsForWebInspector*)
6   0x11984c374 WTF::RefPtr<WebCore::AdditionalNetworkLoadMetricsForWebInspector, WTF::RawPtrTraits<WebCore::AdditionalNetworkLoadMetricsForWebInspector>, WTF::DefaultRefDerefTraits<WebCore::AdditionalNetworkLoadMetricsForWebInspector> >::~RefPtr()
7   0x11984c334 WTF::RefPtr<WebCore::AdditionalNetworkLoadMetricsForWebInspector, WTF::RawPtrTraits<WebCore::AdditionalNetworkLoadMetricsForWebInspector>, WTF::DefaultRefDerefTraits<WebCore::AdditionalNetworkLoadMetricsForWebInspector> >::~RefPtr()
8   0x11984c2f0 WebCore::NetworkLoadMetrics::~NetworkLoadMetrics()
9   0x11984c284 WebCore::NetworkLoadMetrics::~NetworkLoadMetrics()
10  0x11dcd0e0c -[WebCoreNSURLSessionDataTask _resource:loadFinishedWithError:metrics:]::$_17::~$_17()
11  0x11dccd7f4 -[WebCoreNSURLSessionDataTask _resource:loadFinishedWithError:metrics:]::$_17::~$_17()
12  0x11dce7d84 WTF::Detail::CallableWrapper<-[WebCoreNSURLSessionDataTask _resource:loadFinishedWithError:metrics:]::$_17, void>::~CallableWrapper()
13  0x11dce7be8 WTF::Detail::CallableWrapper<-[WebCoreNSURLSessionDataTask _resource:loadFinishedWithError:metrics:]::$_17, void>::~CallableWrapper()
14  0x11dce7c1c WTF::Detail::CallableWrapper<-[WebCoreNSURLSessionDataTask _resource:loadFinishedWithError:metrics:]::$_17, void>::~CallableWrapper()
15  0x118f5a074 std::__1::default_delete<WTF::Detail::CallableWrapperBase<void> >::operator()(WTF::Detail::CallableWrapperBase<void>*) const
16  0x118f59fec std::__1::unique_ptr<WTF::Detail::CallableWrapperBase<void>, std::__1::default_delete<WTF::Detail::CallableWrapperBase<void> > >::reset(WTF::Detail::CallableWrapperBase<void>*)
17  0x118f59f80 std::__1::unique_ptr<WTF::Detail::CallableWrapperBase<void>, std::__1::default_delete<WTF::Detail::CallableWrapperBase<void> > >::~unique_ptr()
18  0x118f59f44 std::__1::unique_ptr<WTF::Detail::CallableWrapperBase<void>, std::__1::default_delete<WTF::Detail::CallableWrapperBase<void> > >::~unique_ptr()
19  0x118f59f10 WTF::Function<void ()>::~Function()
20  0x1197d45f0 WTF::Function<void ()>::~Function()
21  0x11dccee1c WTF::BlockPtr<void ()> WTF::BlockPtr<void ()>::fromCallable<WTF::Function<void ()> >(WTF::Function<void ()>)::'lambda'(void const*)::operator()(void const*) const
22  0x11dccedac WTF::BlockPtr<void ()> WTF::BlockPtr<void ()>::fromCallable<WTF::Function<void ()> >(WTF::Function<void ()>)::'lambda'(void const*)::__invoke(void const*)
23  0x18552fa04 _Block_release
24  0x18666d21c -[NSBlockOperation dealloc]
25  0x18568e80c AutoreleasePoolPage::releaseUntil(objc_object**)
26  0x18566ce0c objc_autoreleasePoolPop
27  0x1395f6dec WTF::AutodrainedPool::~AutodrainedPool()
28  0x1395f6e1c WTF::AutodrainedPool::~AutodrainedPool()
29  0x139791018 WTF::RunLoop::performWork(void*)
30  0x1858d2a84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
31  0x1858d29d0 __CFRunLoopDoSource0
LEAK: 2 WebPageProxy


Is this 2 different bugs (crash and failure/timeout)?
Comment 1 Radar WebKit Bug Importer 2021-09-23 12:03:44 PDT
<rdar://problem/83459474>
Comment 2 Eric Hutchison 2021-09-23 12:16:14 PDT
Unable to reproduce test results locally.

Updated test expectations at https://trac.webkit.org/changeset/282983/webkit