Bug 210768 - REGRESSION: (r260327?) [ Catalina and iOS ] imported/w3c/web-platform-tests/css/cssom-view/MediaQueryList-addListener-handleEvent.html fails.
Summary: REGRESSION: (r260327?) [ Catalina and iOS ] imported/w3c/web-platform-tests/c...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-20 14:16 PDT by Jason Lawrence
Modified: 2020-04-20 15:30 PDT (History)
2 users (show)

See Also:


Attachments
strip-referrer-to-origin-for-prevalent-subresource-requests-database-crash-log-2 (142.03 KB, text/plain)
2020-04-20 14:16 PDT, Jason Lawrence
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Lawrence 2020-04-20 14:16:03 PDT
Created attachment 397013 [details]
strip-referrer-to-origin-for-prevalent-subresource-requests-database-crash-log-2

http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database.html

Description:
This test is flaky crashing on Mac wk2 Debug and iOS wk2 Debug. The last successful pass was approximately on r260322. The first crash on iOS was on r260327.

History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2FresourceLoadStatistics%2Fstrip-referrer-to-origin-for-prevalent-subresource-requests-database.html&platform=ios&platform=mac&style=debug&version_name=iOS%2013&version_name=Catalina&limit=50000

Crash log attached; 
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000011abf6cee WTFCrash + 14 (Assertions.cpp:309)
1   com.apple.WebKit              	0x0000000109a4aa0b WTFCrashWithInfo(int, char const*, char const*, int) + 27
2   com.apple.WebKit              	0x000000010a3a497b WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::~PendingFrameLoad() + 107 (NetworkCacheSpeculativeLoadManager.cpp:171)
3   com.apple.WebKit              	0x000000010a3a48e5 WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad::~PendingFrameLoad() + 21 (NetworkCacheSpeculativeLoadManager.cpp:173)
4   com.apple.WebKit              	0x000000010a3a48bb std::__1::default_delete<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad>::operator()(WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad*) const + 43 (memory:2338)
5   com.apple.WebKit              	0x000000010a3a487c WTF::RefCounted<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, std::__1::default_delete<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> >::deref() const + 60 (RefCounted.h:191)
6   com.apple.WebKit              	0x000000010a3a4801 void WTF::derefIfNotNull<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad>(WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad*) + 49 (RefPtr.h:45)
7   com.apple.WebKit              	0x000000010a3a47c9 WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> >::~RefPtr() + 41 (RefPtr.h:70)
8   com.apple.WebKit              	0x000000010a3a4795 WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> >::~RefPtr() + 21 (RefPtr.h:70)
9   com.apple.WebKit              	0x000000010a3a476e WTF::KeyValuePair<WebKit::NetworkCache::GlobalFrameID, WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> > >::~KeyValuePair() + 30 (KeyValuePair.h:33)
10  com.apple.WebKit              	0x000000010a3a4735 WTF::KeyValuePair<WebKit::NetworkCache::GlobalFrameID, WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> > >::~KeyValuePair() + 21 (KeyValuePair.h:33)
11  com.apple.WebKit              	0x000000010a3a46c1 WTF::HashTable<WebKit::NetworkCache::GlobalFrameID, WTF::KeyValuePair<WebKit::NetworkCache::GlobalFrameID, WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> > >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebKit::NetworkCache::GlobalFrameID, WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> > > >, WTF::GlobalFrameIDHash, WTF::HashMap<WebKit::NetworkCache::GlobalFrameID, WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> >, WTF::GlobalFrameIDHash, WTF::HashTraits<WebKit::NetworkCache::GlobalFrameID>, WTF::HashTraits<WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> > > >::KeyValuePairTraits, WTF::HashTraits<WebKit::NetworkCache::GlobalFrameID> >::deallocateTable(WTF::KeyValuePair<WebKit::NetworkCache::GlobalFrameID, WTF::RefPtr<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad, WTF::DumbPtrTraits<WebKit::NetworkCache::SpeculativeLoadManager::PendingFrameLoad> > >*) + 97 (HashTable.h:1225)
Comment 1 Radar WebKit Bug Importer 2020-04-20 14:20:12 PDT
<rdar://problem/62075665>
Comment 3 Jason Lawrence 2020-04-20 15:17:29 PDT
I can reproduce the issue with the second test crashing on r260384 and r260322, but I cannot reproduce it with r260319. 
Command:
Run-webkit-tests --debug http/tests/resourceLoadStatistics/standalone-web-application-exempt-from-website-data-deletion.html http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database.html http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database.html

r260384:
[3/3] http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database.html failed unexpectedly (com.apple.WebKit.Networking.Development crashed [pid=26247])
Retrying 1 unexpected failure ...

r260322:
[3/3] http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database.html failed unexpectedly (com.apple.WebKit.Networking.Development crashed [pid=26733])
Retrying 1 unexpected failure ...
Running 1 WebKitTestRunner.
2 tests ran as expected, 1 didn't:

r260319:
All 3 tests ran as expected.