Bug 230434

Summary: [iOS] http/tests/navigation/back-to-slow-frame.html is a flaky crash under MediaPlayer::getSupportedTypes
Product: WebKit Reporter: Eric Hutchison <ehutchison>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: beidson, bfulgham, cdumez, ehutchison, hhjalmarsson, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=230410
Attachments:
Description Flags
Crash Log none

Description Eric Hutchison 2021-09-17 16:29:57 PDT
Created attachment 438531 [details]
Crash Log

http/tests/navigation/back-to-slow-frame.html

is a flaky crash on iOS.

History: https://results.webkit.org/?suite=layout-tests&test=http/tests/navigation/back-to-slow-frame.html

Results: https://ews-build.s3-us-west-2.amazonaws.com/iOS-14-Simulator-WK2-Tests-EWS/r435893-19423/results.html

Diff:

Crash Log: https://ews-build.s3-us-west-2.amazonaws.com/iOS-14-Simulator-WK2-Tests-EWS/r435893-19423/http/tests/navigation/back-to-slow-frame-crash-log.txt
Full log attached.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit              	0x0000000105974f9b WTF::HashTable<WTF::String, WTF::String, WTF::IdentityExtractor, WTF::ASCIICaseInsensitiveHash, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String> >::HashTable(WTF::HashTable<WTF::String, WTF::String, WTF::IdentityExtractor, WTF::ASCIICaseInsensitiveHash, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String> > const&) + 37
1   com.apple.WebKit              	0x0000000105974f54 WTF::HashTable<WTF::String, WTF::String, WTF::IdentityExtractor, WTF::ASCIICaseInsensitiveHash, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String> >::operator=(WTF::HashTable<WTF::String, WTF::String, WTF::IdentityExtractor, WTF::ASCIICaseInsensitiveHash, WTF::HashTraits<WTF::String>, WTF::HashTraits<WTF::String> > const&) + 26
2   com.apple.WebCore             	0x00000004014b0ba0 WebCore::MediaPlayer::getSupportedTypes(WTF::HashSet<WTF::String, WTF::ASCIICaseInsensitiveHash, WTF::HashTraits<WTF::String>, WTF::HashTableTraits>&) + 112
3   com.apple.WebCore             	0x00000004013eec8e WebCore::MIMETypeRegistry::isSupportedMediaMIMEType(WTF::String const&) + 238
4   com.apple.WebCore             	0x00000004013f0dda WebCore::MIMETypeRegistry::canShowMIMEType(WTF::String const&) + 202
5   com.apple.WebKit              	0x0000000105a98933 WebKit::WebPage::canShowMIMEType(WTF::String const&, WTF::Function<bool (WTF::String const&, WebCore::PluginData::AllowedPluginTypes)> const&) const + 37
6   com.apple.WebKit              	0x0000000105a988f1 WebKit::WebPage::canShowResponse(WebCore::ResourceResponse const&) const + 81
7   com.apple.WebKit              	0x00000001059e4ebe WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse(WebCore::ResourceResponse const&, WebCore::ResourceRequest const&, WebCore::PolicyCheckIdentifier, WTF::String const&, WTF::Function<void (WebCore::PolicyAction, WebCore::PolicyCheckIdentifier)>&&) + 464
8   com.apple.WebCore             	0x0000000401220493 WebCore::FrameLoader::checkContentPolicy(WebCore::ResourceResponse const&, WebCore::PolicyCheckIdentifier, WTF::Function<void (WebCore::PolicyAction, WebCore::PolicyCheckIdentifier)>&&) + 67
9   com.apple.WebCore             	0x00000004011fb385 WebCore::DocumentLoader::responseReceived(WebCore::ResourceResponse const&, WTF::CompletionHandler<void ()>&&) + 1589
10  com.apple.WebCore             	0x00000004011fdcdc WebCore::DocumentLoader::responseReceived(WebCore::CachedResource&, WebCore::ResourceResponse const&, WTF::CompletionHandler<void ()>&&) + 956
11  com.apple.WebCore             	0x000000040129fdc7 WebCore::CachedRawResource::responseReceived(WebCore::ResourceResponse const&) + 295
12  com.apple.WebCore             	0x000000040126ab7e WebCore::SubresourceLoader::didReceiveResponse(WebCore::ResourceResponse const&, WTF::CompletionHandler<void ()>&&) + 3022
13  com.apple.WebKit              	0x00000001059b718b WebKit::WebResourceLoader::didReceiveResponse(WebCore::ResourceResponse const&, bool) + 451
14  com.apple.WebKit              	0x0000000105b52c62 WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&, IPC::Decoder&) + 438
15  com.apple.WebKit              	0x00000001059a8e4b WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 87
16  com.apple.WebKit              	0x00000001053dcd33 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 221
17  com.apple.WebKit              	0x00000001053dcf75 IPC::Connection::dispatchOneIncomingMessage() + 169
18  com.apple.JavaScriptCore      	0x00000003fdb8db11 WTF::RunLoop::performWork() + 545
19  com.apple.JavaScriptCore      	0x00000003fdb8e3c2 WTF::RunLoop::performWork(void*) + 34
20  com.apple.CoreFoundation      	0x00000003f812cede __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
21  com.apple.CoreFoundation      	0x00000003f812cdd6 __CFRunLoopDoSource0 + 180
22  com.apple.CoreFoundation      	0x00000003f812c29e __CFRunLoopDoSources0 + 242
23  com.apple.CoreFoundation      	0x00000003f81269f7 __CFRunLoopRun + 875
24  com.apple.CoreFoundation      	0x00000003f81261a7 CFRunLoopRunSpecific + 567
25  com.apple.Foundation          	0x0000000104f3b204 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
26  com.apple.Foundation          	0x0000000104f3b418 -[NSRunLoop(NSRunLoop) run] + 76
27  libxpc.dylib                  	0x00000003f9a471a8 _xpc_objc_main + 591
28  libxpc.dylib                  	0x00000003f9a49143 xpc_main + 143
29  com.apple.WebKit              	0x0000000105580514 WebKit::XPCServiceMain(int, char const**) + 139
30  libdyld.dylib                 	0x00000003f96f1bbd start + 1

Unable to reproduce.
Comment 1 Radar WebKit Bug Importer 2021-09-17 16:30:35 PDT
<rdar://problem/83260052>
Comment 2 Eric Hutchison 2021-09-17 16:34:05 PDT
Updated test expectations at https://trac.webkit.org/changeset/282708/webkit
Comment 3 Alexey Proskuryakov 2021-09-20 09:49:30 PDT
Looks somewhat similar to bug 230410, but this is not RemoteMediaPlayerManager.
Comment 4 Brent Fulgham 2022-06-23 14:17:11 PDT
Zero failures in last 1300 iOS runs (as of 5/3/2022).
Comment 5 EWS 2022-07-01 11:09:39 PDT
Test gardening commit 252055@main (e6a652dd92c3): <https://commits.webkit.org/252055@main>

Reviewed commits have been landed. Closing PR #1997 and removing active labels.
Comment 6 Hercules Hjalmarsson 2022-07-01 11:12:33 PDT
(In reply to EWS from comment #5)
> Test gardening commit 252055@main (e6a652dd92c3):
> <https://commits.webkit.org/252055@main>
> 
> Reviewed commits have been landed. Closing PR #1997 and removing active
> labels.

Removed expectations in above commit.