<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>179246</bug_id>
          
          <creation_ts>2017-11-03 10:35:12 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: iterator-&gt;value-&gt;contains(clientRegistrationIdentifier) in  WebCore::SWServerRegistration::removeClientServiceWorkerRegistration</short_desc>
          <delta_ts>2017-11-03 10:41:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>179186</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=179186</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1367997</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-11-03 10:35:12 -0700</bug_when>
    <thetext>ASSERTION FAILED: iterator-&gt;value-&gt;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&amp;, WebCore::ServiceWorkerRegistrationKey const&amp;, unsigned long long)
4   0x10f176164 WebCore::SWServer::Connection::removeServiceWorkerRegistrationInServer(WebCore::ServiceWorkerRegistrationKey const&amp;, unsigned long long)
5   0x1090b745c void IPC::callMemberFunctionImpl&lt;WebKit::WebSWServerConnection, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&amp;, unsigned long long), std::__1::tuple&lt;WebCore::ServiceWorkerRegistrationKey, unsigned long long&gt;, 0ul, 1ul&gt;(WebKit::WebSWServerConnection*, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&amp;, unsigned long long), std::__1::tuple&lt;WebCore::ServiceWorkerRegistrationKey, unsigned long long&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt;)
6   0x1090b71c8 void IPC::callMemberFunction&lt;WebKit::WebSWServerConnection, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&amp;, unsigned long long), std::__1::tuple&lt;WebCore::ServiceWorkerRegistrationKey, unsigned long long&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt; &gt;(std::__1::tuple&lt;WebCore::ServiceWorkerRegistrationKey, unsigned long long&gt;&amp;&amp;, WebKit::WebSWServerConnection*, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&amp;, unsigned long long))
7   0x1090b521f void IPC::handleMessage&lt;Messages::WebSWServerConnection::RemoveServiceWorkerRegistrationInServer, WebKit::WebSWServerConnection, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&amp;, unsigned long long)&gt;(IPC::Decoder&amp;, WebKit::WebSWServerConnection*, void (WebCore::SWServer::Connection::*)(WebCore::ServiceWorkerRegistrationKey const&amp;, unsigned long long))
8   0x1090b4b16 WebKit::WebSWServerConnection::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
9   0x1089e797e WebKit::StorageToWebProcessConnection::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
10  0x10848a533 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
11  0x10847fb88 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)
12  0x10848ab30 IPC::Connection::dispatchOneMessage()
13  0x1084a2ccd IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14::operator()()
14  0x1084a2c29 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14&gt;::call()
15  0x119a4006b WTF::Function&lt;void ()&gt;::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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1367998</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-11-03 10:36:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/35338345&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1368001</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-11-03 10:39:51 -0700</bug_when>
    <thetext>Oh, this is the assertion mentioned in https://bugs.webkit.org/show_bug.cgi?id=179186#c22</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1368002</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-11-03 10:41:37 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 179186 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>