Bug 222574 - Crash under WebProcessPool::pageBeginUsingWebsiteDataStore()
Summary: Crash under WebProcessPool::pageBeginUsingWebsiteDataStore()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 222577
  Show dependency treegraph
 
Reported: 2021-03-01 13:36 PST by Chris Dumez
Modified: 2021-03-01 15:08 PST (History)
5 users (show)

See Also:


Attachments
Patch (9.76 KB, patch)
2021-03-01 13:42 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-03-01 13:36:49 PST
Crash under WebProcessPool::pageBeginUsingWebsiteDataStore():

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000378
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [69022]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit              	0x00007fff3d2c25ca WTF::HashTableAddResult<WTF::HashTableIterator<PAL::SessionID, WTF::KeyValuePair<PAL::SessionID, WTF::HashSet<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WTF::DefaultHash<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WTF::HashTraits<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> > > >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<PAL::SessionID, WTF::HashSet<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WTF::DefaultHash<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WTF::HashTraits<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> > > > >, WTF::DefaultHash<PAL::SessionID>, WTF::HashMap<PAL::SessionID, WTF::HashSet<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WTF::DefaultHash<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WTF::HashTraits<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> > >, WTF::DefaultHash<PAL::SessionID>, WTF::HashTraits<PAL::SessionID>, WTF::HashTraits<WTF::HashSet<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WTF::DefaultHash<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WTF::HashTraits<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> > > > >::KeyValuePairTraits, WTF::HashTraits<PAL::SessionID> > > WTF::HashMap<PAL::SessionID, WTF::HashSet<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WTF::DefaultHash<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WTF::HashTraits<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> > >, WTF::DefaultHash<PAL::SessionID>, WTF::HashTraits<PAL::SessionID>, WTF::HashTraits<WTF::HashSet<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WTF::DefaultHash<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WTF::HashTraits<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> > > > >::add<WTF::HashSet<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WTF::DefaultHash<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WTF::HashTraits<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> > > >(PAL::SessionID&&, WTF::HashSet<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WTF::DefaultHash<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> >, WTF::HashTraits<WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType> > >&&) + 20
1   com.apple.WebKit              	0x00007fff3d2c252f WebKit::WebProcessPool::pageBeginUsingWebsiteDataStore(WTF::ObjectIdentifier<WebKit::WebPageProxyIdentifierType>, WebKit::WebsiteDataStore&) + 75
2   com.apple.WebKit              	0x00007fff3d28f3c4 WebKit::WebProcessProxy::addExistingWebPage(WebKit::WebPageProxy&, WebKit::WebProcessProxy::BeginsUsingDataStore) + 70
3   com.apple.WebKit              	0x00007fff3d28e99f WebKit::WebPageProxy::launchProcess(WebCore::RegistrableDomain const&, WebKit::WebPageProxy::ProcessLaunchReason) + 415
4   com.apple.WebKit              	0x00007fff3d29248d WebKit::WebPageProxy::loadRequest(WebCore::ResourceRequest&&, WebCore::ShouldOpenExternalURLsPolicy, API::Object*) + 289
5   com.apple.WebKit              	0x00007fff3d16aaaf WKPageLoadURLRequestReturningNavigation + 108
Comment 1 Chris Dumez 2021-03-01 13:37:01 PST
<rdar://68340471>
Comment 2 Chris Dumez 2021-03-01 13:42:28 PST
Created attachment 421862 [details]
Patch
Comment 3 Geoffrey Garen 2021-03-01 14:04:36 PST
Comment on attachment 421862 [details]
Patch

r=me
Comment 4 EWS 2021-03-01 15:08:04 PST
Committed r273695: <https://commits.webkit.org/r273695>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 421862 [details].