<?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>179035</bug_id>
          
          <creation_ts>2017-10-30 16:33:44 -0700</creation_ts>
          <short_desc>Crash under WebKit::CacheStorage::Caches::initializeSize(WTF::Function&lt;void (std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;&amp;&amp;) + 30 (CacheStorageEngineCaches.cpp:163)</short_desc>
          <delta_ts>2017-11-28 16:18:00 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</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>179037</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jlewis3</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1366222</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2017-10-30 16:33:44 -0700</bug_when>
    <thetext>Crash under WebKit::CacheStorage::Caches::initializeSize(WTF::Function&lt;void (std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;&amp;&amp;) + 30 (CacheStorageEngineCaches.cpp:163):
Thread 0 Crashed:: Dispatch queue: com.apple.libdispatch-io.opq
0   com.apple.WebKit              	0x0000000109ee80d4 WebKit::CacheStorage::Caches::initializeSize(WTF::Function&lt;void (std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;&amp;&amp;) + 30 (CacheStorageEngineCaches.cpp:163)
1   com.apple.WebKit              	0x0000000109ee9e41 WTF::Function&lt;void (WTF::Expected&lt;WTF::Vector&lt;WebKit::CacheStorage::Cache, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;::CallableWrapper&lt;WebKit::CacheStorage::Caches::initialize(WTF::Function&lt;void (std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;&amp;&amp;)::$_3::operator()(std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)::&apos;lambda&apos;(WTF::Expected&lt;WTF::Vector&lt;WebKit::CacheStorage::Cache, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;::call(WTF::Expected&lt;WTF::Vector&lt;WebKit::CacheStorage::Cache, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::DOMCacheEngine::Error&gt;&amp;&amp;) + 97 (CacheStorageEngineCaches.cpp:155)
2   com.apple.WebKit              	0x0000000109ee8c72 WebKit::CacheStorage::Caches::readCachesFromDisk(WTF::Function&lt;void (WTF::Expected&lt;WTF::Vector&lt;WebKit::CacheStorage::Cache, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;&amp;&amp;) + 374 (CacheStorageEngineCaches.cpp:337)
3   com.apple.WebKit              	0x0000000109ee9d5b WTF::Function&lt;void (std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;::CallableWrapper&lt;WebKit::CacheStorage::Caches::initialize(WTF::Function&lt;void (std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;&amp;&amp;)::$_3&gt;::call(std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;) + 103 (CacheStorageEngineCaches.cpp:142)
4   com.apple.WebKit              	0x0000000109ed4d2c WTF::Function&lt;void (int)&gt;::CallableWrapper&lt;WebKit::CacheStorage::Engine::writeFile(WTF::String const&amp;, WebKit::NetworkCache::Data&amp;&amp;, WTF::Function&lt;void (std::optional&lt;WebCore::DOMCacheEngine::Error&gt;&amp;&amp;)&gt;&amp;&amp;)::$_9::operator()()::&apos;lambda&apos;(int)&gt;::call(int) + 54 (Function.h:101)
5   libdispatch.dylib             	0x00007fff9b306c0b ___dispatch_operation_deliver_data_block_invoke + 118
6   libdispatch.dylib             	0x00007fff9b2f193d _dispatch_call_block_and_release + 12
7   libdispatch.dylib             	0x00007fff9b2e640b _dispatch_client_callout + 8
8   libdispatch.dylib             	0x00007fff9b2eb03b _dispatch_queue_drain + 754
9   libdispatch.dylib             	0x00007fff9b2f1707 _dispatch_queue_invoke + 549
10  libdispatch.dylib             	0x00007fff9b2f972d _dispatch_main_queue_callback_4CF + 422
11  com.apple.CoreFoundation      	0x00007fff921f7949 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
12  com.apple.CoreFoundation      	0x00007fff921b682d __CFRunLoopRun + 1949
13  com.apple.CoreFoundation      	0x00007fff921b5e28 CFRunLoopRunSpecific + 296
14  com.apple.Foundation          	0x00007fff9293cf99 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270
15  com.apple.Foundation          	0x00007fff9293ce78 -[NSRunLoop(NSRunLoop) run] + 74
16  libxpc.dylib                  	0x00007fff91a13168 _xpc_objc_main + 751
17  libxpc.dylib                  	0x00007fff91a11bbe xpc_main + 494
18  com.apple.WebKit.Networking   	0x0000000109e8b702 main + 534
19  libdyld.dylib                 	0x00007fff91d0d5ad start + 1

when enabling Web-platform tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366226</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2017-10-30 16:35:50 -0700</bug_when>
    <thetext>Committed r224211: &lt;https://trac.webkit.org/changeset/224211&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366227</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2017-10-30 16:36:04 -0700</bug_when>
    <thetext>Tests temporarily skipped in  &lt;https://trac.webkit.org/changeset/224211&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366228</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2017-10-30 16:36:17 -0700</bug_when>
    <thetext>Was just skipping.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366230</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2017-10-30 16:39:02 -0700</bug_when>
    <thetext>*** Bug 179037 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1375590</commentid>
    <comment_count>5</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2017-11-28 16:18:00 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>