Bug 260098 - Regression(266049@main) Crash in MIMETypeRegistry::preferredExtensionForMIMEType
Summary: Regression(266049@main) Crash in MIMETypeRegistry::preferredExtensionForMIMEType
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-11 14:49 PDT by Ali Juma
Modified: 2023-08-11 17:00 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Juma 2023-08-11 14:49:24 PDT
Chrome for iOS is getting a significant number of reports of a new crash in the latest iOS 17 seed (21A5303d). This is the top crash for users on that build. We don't have steps to reproduce, but based on the stack this appears to be a regression from https://bugs.webkit.org/show_bug.cgi?id=258467.

0x000000019a9ae2d8	(WebCore + 0x001b62d8)		WTF::ASCIICaseInsensitiveHash::hash(WTF::StringImpl&)
0x000000019b31bd00	(WebCore + 0x00b23d00)		WebCore::MIMETypeRegistry::preferredExtensionForMIMEType(WTF::String const&)
0x000000019c4cc218	(WebCore + 0x0000000001cd4218)		WebCore::MIMETypeRegistry::appendFileExtensionIfNecessary(WTF::String const&, WTF::String const&)
0x000000019d88038c	(WebKit + 0x006e238c)		WebKit::DownloadProxy::decideDestinationWithSuggestedFilename(WebCore::ResourceResponse const&, WTF::String&&, WTF::CompletionHandler<void (WTF::String, WebKit::SandboxExtensionHandle, WebKit::AllowOverwrite)>&&)
0x000000019d20a630	(WebKit + 0x0006c630)		WebKit::DownloadProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
0x000000019dc58fd8	(WebKit + 0x00abafd8)		IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
0x000000019d891fd4	(WebKit + 0x006f3fd4)		WebKit::NetworkProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
0x000000019dc54660	(WebKit + 0x00ab6660)		IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
0x000000019dc57168	(WebKit + 0x00ab9168)		WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_15, void>::call()
0x000000019de3d230	(JavaScriptCore + 0x00050230)		WTF::RunLoop::performWork()
0x000000019de3e100	(JavaScriptCore + 0x00051100)		WTF::RunLoop::performWork(void*)
0x00000001887bfb68	(CoreFoundation + 0x00037b68)		__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
0x00000001887bede4	(CoreFoundation + 0x00036de4)		__CFRunLoopDoSource0
0x00000001887bd5f8	(CoreFoundation + 0x000355f8)		__CFRunLoopDoSources0
0x00000001887bc2d4	(CoreFoundation + 0x000342d4)		__CFRunLoopRun
0x00000001887bbeb4	(CoreFoundation + 0x00033eb4)		CFRunLoopRunSpecific
0x00000001ca2585e8	(GraphicsServices + 0x000035e8)		GSEventRunModal
0x000000018abd26b0	(UIKitCore + 0x0022f6b0)		-[UIApplication _run]
0x000000018abd1cec	(UIKitCore + 0x0022ecec)		UIApplicationMain
0x00000001020877cc	(Chrome -chrome_exe_main.mm:68)		(anonymous namespace)::RunUIApplicationMain(int, char**)
0x00000001020877cc	(Chrome -chrome_exe_main.mm:120)		main
0x00000001aae3fd40	(dyld + 0x00005d40)		start
Comment 1 Chris Dumez 2023-08-11 14:53:24 PDT

*** This bug has been marked as a duplicate of bug 259622 ***
Comment 2 Chris Dumez 2023-08-11 14:54:45 PDT
Actually may be slightly different, un-duping.
Comment 3 Radar WebKit Bug Importer 2023-08-11 15:23:08 PDT
<rdar://problem/113774128>
Comment 4 Chris Dumez 2023-08-11 15:43:19 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16626
Comment 5 EWS 2023-08-11 17:00:43 PDT
Committed 266837@main (97c1b7fd0b15): <https://commits.webkit.org/266837@main>

Reviewed commits have been landed. Closing PR #16626 and removing active labels.