Bug 180535 - Crash under WebCore::SWServer::invokeRunServiceWorker seen on bots
Summary: Crash under WebCore::SWServer::invokeRunServiceWorker seen on bots
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-12-07 10:40 PST by Joseph Pecoraro
Modified: 2017-12-07 10:40 PST (History)
4 users (show)

See Also:


Attachments
Crash Log (74.15 KB, text/plain)
2017-12-07 10:40 PST, Joseph Pecoraro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2017-12-07 10:40:03 PST
Created attachment 328704 [details]
Crash Log

Crash under WebCore::SWServer::invokeRunServiceWorker seen on bots

iOS-sim EWS bot encountered this crash:
https://bugs.webkit.org/show_bug.cgi?id=180520#c4

Crash: (full log attached)

> Identifier:            com.apple.WebKit.Storage.Development
> Version:               605+ (605.1.17+)
> Code Type:             X86-64 (Native)
> Parent Process:        launchd_sim [45616]
> Responsible:           com.apple.WebKit.Storage.Development [46873]
> 
> Date/Time:             2017-12-06 22:30:17.372 -0800
> OS Version:            Mac OS X 10.12.6 (16G1036)
> 
> Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
> Exception Note:        EXC_CORPSE_NOTIFY
> 
> Application Specific Information:
> CoreSimulator 494.13.6 - Device: iPhone 5s WebKit Tester4 - Runtime: iOS 11.0 (15A372) - DeviceType: iPhone 5s
> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   com.apple.WebCore             	0x00000001186052ed WebCore::SecurityOriginDataHash::hash(WebCore::SecurityOriginData const&) + 13 (RefPtr.h:71)
> 1   com.apple.WebCore             	0x00000001191e1f6f WebCore::ServiceWorkerRegistrationKey::hash() const + 15 (ServiceWorkerRegistrationKey.cpp:50)
> 2   com.apple.WebCore             	0x00000001191f5d94 WTF::KeyValuePair<WebCore::ServiceWorkerRegistrationKey, std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> > >* WTF::HashTable<WebCore::ServiceWorkerRegistrationKey, WTF::KeyValuePair<WebCore::ServiceWorkerRegistrationKey, std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> > >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::ServiceWorkerRegistrationKey, std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> > > >, WTF::ServiceWorkerRegistrationKeyHash, WTF::HashMap<WebCore::ServiceWorkerRegistrationKey, std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> >, WTF::ServiceWorkerRegistrationKeyHash, WTF::HashTraits<WebCore::ServiceWorkerRegistrationKey>, WTF::HashTraits<std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> > > >::KeyValuePairTraits, WTF::HashTraits<WebCore::ServiceWorkerRegistrationKey> >::lookup<WTF::HashMapTranslatorAdapter<WTF::HashMap<WebCore::ServiceWorkerRegistrationKey, std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> >, WTF::ServiceWorkerRegistrationKeyHash, WTF::HashTraits<WebCore::ServiceWorkerRegistrationKey>, WTF::HashTraits<std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> > > >::KeyValuePairTraits, WTF::IdentityHashTranslator<WTF::HashMap<WebCore::ServiceWorkerRegistrationKey, std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> >, WTF::ServiceWorkerRegistrationKeyHash, WTF::HashTraits<WebCore::ServiceWorkerRegistrationKey>, WTF::HashTraits<std::__1::unique_ptr<WebCore::SWServerRegistration, std::__1::default_delete<WebCore::SWServerRegistration> > > >::KeyValuePairTraits, WTF::ServiceWorkerRegistrationKeyHash> >, WebCore::ServiceWorkerRegistrationKey>(WebCore::ServiceWorkerRegistrationKey const&) + 36 (ServiceWorkerRegistrationKey.h:94)
> 3   com.apple.WebCore             	0x00000001191ee64e WebCore::SWServer::invokeRunServiceWorker(WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType>) + 302 (HashMap.h:308)
> 4   com.apple.WebKit              	0x000000010e93b5ca WebKit::WebSWServerConnection::startFetch(unsigned long long, std::optional<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType> >, WebCore::ResourceRequest const&, WebCore::FetchOptions const&, IPC::FormDataReference const&) + 54 (WebSWServerConnection.cpp:122)
> 5   com.apple.WebKit              	0x000000010e940516 void IPC::callMemberFunctionImpl<WebKit::WebSWServerConnection, void (WebKit::WebSWServerConnection::*)(unsigned long long, std::optional<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType> >, WebCore::ResourceRequest const&, WebCore::FetchOptions const&, IPC::FormDataReference const&), std::__1::tuple<unsigned long long, std::optional<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType> >, WebCore::ResourceRequest, WebCore::FetchOptions, IPC::FormDataReference>, 0ul, 1ul, 2ul, 3ul, 4ul>(WebKit::WebSWServerConnection*, void (WebKit::WebSWServerConnection::*)(unsigned long long, std::optional<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType> >, WebCore::ResourceRequest const&, WebCore::FetchOptions const&, IPC::FormDataReference const&), std::__1::tuple<unsigned long long, std::optional<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType> >, WebCore::ResourceRequest, WebCore::FetchOptions, IPC::FormDataReference>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul>) + 84 (HandleMessage.h:41)
> 6   com.apple.WebKit              	0x000000010e93e0ad void IPC::handleMessage<Messages::WebSWServerConnection::StartFetch, WebKit::WebSWServerConnection, void (WebKit::WebSWServerConnection::*)(unsigned long long, std::optional<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType> >, WebCore::ResourceRequest const&, WebCore::FetchOptions const&, IPC::FormDataReference const&)>(IPC::Decoder&, WebKit::WebSWServerConnection*, void (WebKit::WebSWServerConnection::*)(unsigned long long, std::optional<WTF::ObjectIdentifier<WebCore::ServiceWorkerIdentifierType> >, WebCore::ResourceRequest const&, WebCore::FetchOptions const&, IPC::FormDataReference const&)) + 212 (utility:889)
> 7   com.apple.WebKit              	0x000000010e7aa2ee WebKit::StorageToWebProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 134
> 8   com.apple.WebKit              	0x000000010e6b892d IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 119 (memory:2581)
> 9   com.apple.WebKit              	0x000000010e6bb0a4 IPC::Connection::dispatchOneMessage() + 176 (Connection.cpp:959)
> 10  JavaScriptCore                	0x000000011653e67f WTF::RunLoop::performWork() + 175 (Function.h:56)
> 11  JavaScriptCore                	0x000000011653e8b2 WTF::RunLoop::performWork(void*) + 34 (RunLoopCF.cpp:39)
> 12  com.apple.CoreFoundation      	0x000000010fa952b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
Comment 1 Radar WebKit Bug Importer 2017-12-07 10:40:27 PST
<rdar://problem/35912878>