Bug 179246 - ASSERTION FAILED: iterator->value->contains(clientRegistrationIdentifier) in WebCore::SWServerRegistration::removeClientServiceWorkerRegistration
Summary: ASSERTION FAILED: iterator->value->contains(clientRegistrationIdentifier) in ...
Status: RESOLVED DUPLICATE of bug 179186
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-11-03 10:35 PDT by Ryan Haddad
Modified: 2017-11-03 10:41 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2017-11-03 10:35:12 PDT
ASSERTION FAILED: iterator->value->contains(clientRegistrationIdentifier)
/Volumes/Data/slave/sierra-debug/build/Source/WebCore/workers/service/server/SWServerRegistration.cpp(107) : void WebCore::SWServerRegistration::removeClientServiceWorkerRegistration(uint64_t, uint64_t)
1   0x119a0aadd WTFCrash
2   0x10f177099 WebCore::SWServerRegistration::removeClientServiceWorkerRegistration(unsigned long long, unsigned long long)
3   0x10f1761f9 WebCore::SWServer::removeClientServiceWorkerRegistration(WebCore::SWServer::Connection&, WebCore::ServiceWorkerRegistrationKey const&, unsigned long long)
4   0x10f176164 WebCore::SWServer::Connection::removeServiceWorkerRegistrationInServer(WebCore::ServiceWorkerRegistrationKey const&, unsigned long long)
5   0x1090b745c void IPC::callMemberFunctionImpl<WebKit::WebSWServerConnection, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&, unsigned long long), std::__1::tuple<WebCore::ServiceWorkerRegistrationKey, unsigned long long>, 0ul, 1ul>(WebKit::WebSWServerConnection*, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&, unsigned long long), std::__1::tuple<WebCore::ServiceWorkerRegistrationKey, unsigned long long>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>)
6   0x1090b71c8 void IPC::callMemberFunction<WebKit::WebSWServerConnection, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&, unsigned long long), std::__1::tuple<WebCore::ServiceWorkerRegistrationKey, unsigned long long>, std::__1::integer_sequence<unsigned long, 0ul, 1ul> >(std::__1::tuple<WebCore::ServiceWorkerRegistrationKey, unsigned long long>&&, WebKit::WebSWServerConnection*, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&, unsigned long long))
7   0x1090b521f void IPC::handleMessage<Messages::WebSWServerConnection::RemoveServiceWorkerRegistrationInServer, WebKit::WebSWServerConnection, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&, unsigned long long)>(IPC::Decoder&, WebKit::WebSWServerConnection*, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&, unsigned long long))
8   0x1090b4b16 WebKit::WebSWServerConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
9   0x1089e797e WebKit::StorageToWebProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
10  0x10848a533 IPC::Connection::dispatchMessage(IPC::Decoder&)
11  0x10847fb88 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
12  0x10848ab30 IPC::Connection::dispatchOneMessage()
13  0x1084a2ccd IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14::operator()()
14  0x1084a2c29 WTF::Function<void ()>::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14>::call()
15  0x119a4006b WTF::Function<void ()>::operator()() const
16  0x119a605e3 WTF::RunLoop::performWork()
17  0x119a60e64 WTF::RunLoop::performWork(void*)
18  0x7fffa62763e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
19  0x7fffa625765c __CFRunLoopDoSources0
20  0x7fffa6256b46 __CFRunLoopRun
21  0x7fffa6256544 CFRunLoopRunSpecific
22  0x7fffa7c874e2 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
23  0x7fffa7c873ba -[NSRunLoop(NSRunLoop) run]
24  0x7fffbc1e789b _xpc_objc_main
25  0x7fffbc1e62e4 xpc_main
26  0x10535b145 main
27  0x7fffbbf8e235 start
28  0x1
LEAK: 2 WebPageProxy

https://build.webkit.org/results/Apple%20Sierra%20Debug%20WK2%20(Tests)/r224395%20(3859)/results.html
Comment 1 Radar WebKit Bug Importer 2017-11-03 10:36:13 PDT
<rdar://problem/35338345>
Comment 2 Ryan Haddad 2017-11-03 10:39:51 PDT
Oh, this is the assertion mentioned in https://bugs.webkit.org/show_bug.cgi?id=179186#c22
Comment 3 Ryan Haddad 2017-11-03 10:41:37 PDT

*** This bug has been marked as a duplicate of bug 179186 ***