<?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>175874</bug_id>
          
          <creation_ts>2017-08-23 00:24:39 -0700</creation_ts>
          <short_desc>[GTK] Crash in cache-match.https.html</short_desc>
          <delta_ts>2017-08-23 00:24:39 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Ms2ger (he/him; ⌚ UTC+1/+2)">Ms2ger</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1341470</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger (he/him; ⌚ UTC+1/+2)">Ms2ger</who>
    <bug_when>2017-08-23 00:24:39 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/service-workers/cache-storage/window/cache-match.https.html
imported/w3c/web-platform-tests/service-workers/cache-storage/worker/cache-match.https.html


Thread 1 (Thread 0x7f040cbff700 (LWP 44748)):
#0  0x00007f04b437cd75 in WTFCrash () at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/Assertions.cpp:278
#1  0x00007f04be66a4c8 in WTF::Ref&lt;WebCore::FetchResponse&gt;::operator-&gt; (this=0x7f040cbfdfd8) at ../../Source/WTF/wtf/Ref.h:113
#2  0x00007f04be65f8da in (anonymous namespace)::Cache::put(&lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x190a7b&gt;, &lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x18c3e4&gt;, &lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x18ba2a&gt;) (this=0x7f040fa755a0, info=&lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x190a7b&gt;, response=&lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x18c3e4&gt;, promise=&lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x18ba2a&gt;) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/Modules/cache/Cache.cpp:309
#3  0x00007f04be453b78 in (anonymous namespace)::jsCachePrototypeFunctionPutBody(JSC::ExecState *, (anonymous namespace)::IDLOperationReturningPromise&lt;WebCore::JSCache&gt;::ClassParameter, &lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x15d0fc&gt;, JSC::ThrowScope &amp;) (state=0x7f040cbfe190, castedThis=0x7f04304aed80, promise=&lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x15d0fc&gt;, throwScope=...) at /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/DerivedSources/WebCore/JSCache.cpp:275
#4  0x00007f04be454c70 in (anonymous namespace)::IDLOperationReturningPromise&lt;WebCore::JSCache&gt;::&lt;lambda(JSC::ExecState&amp;, WTF::Ref&lt;WebCore::DeferredPromise&gt;&amp;&amp;)&gt;::operator()(JSC::ExecState &amp;, &lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x15d0fc&gt;) const (__closure=0x7f040cbfe0b0, state=..., promise=&lt;unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x15d0fc&gt;) at ../../Source/WebCore/bindings/js/JSDOMOperationReturningPromise.h:52
#5  0x00007f04be45591a in (anonymous namespace)::callPromiseFunction&lt;(WebCore::PromiseExecutionScope)1, WebCore::IDLOperationReturningPromise&lt;JSClass&gt;::call(JSC::ExecState&amp;, char const*) [with JSC::EncodedJSValue (* operation)(JSC::ExecState*, WebCore::IDLOperationReturningPromise&lt;JSClass&gt;::ClassParameter, WTF::Ref&lt;WebCore::DeferredPromise&gt;&amp;&amp;, JSC::ThrowScope&amp;) = WebCore::jsCachePrototypeFunctionPutBody; WebCore::PromiseExecutionScope executionScope = (WebCore::PromiseExecutionScope)1; WebCore::CastedThisErrorBehavior shouldThrow = (WebCore::CastedThisErrorBehavior)2; JSClass = WebCore::JSCache]::&lt;lambda(JSC::ExecState&amp;, WTF::Ref&lt;WebCore::DeferredPromise&gt;&amp;&amp;)&gt; &gt;(JSC::ExecState &amp;, (anonymous namespace)::IDLOperationReturningPromise&lt;WebCore::JSCache&gt;::&lt;lambda(JSC::ExecState&amp;, WTF::Ref&lt;WebCore::DeferredPromise&gt;&amp;&amp;)&gt;) (state=..., functor=...) at ../../Source/WebCore/bindings/js/JSDOMPromiseDeferred.h:294
#6  0x00007f04be454cb1 in (anonymous namespace)::IDLOperationReturningPromise&lt;WebCore::JSCache&gt;::call&lt;WebCore::jsCachePrototypeFunctionPutBody, (WebCore::PromiseExecutionScope)1&gt; (state=..., operationName=0x7f04c0f411d4 &quot;put&quot;) at ../../Source/WebCore/bindings/js/JSDOMOperationReturningPromise.h:41
#7  0x00007f04be453bd5 in (anonymous namespace)::jsCachePrototypeFunctionPut (state=0x7f040cbfe190) at /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/DerivedSources/WebCore/JSCache.cpp:281
#8  0x00007f045b9b8808 in ?? ()
#9  0x00007f040cbfe210 in ?? ()
#10 0x00007f04b3e5720e in llint_entry () at ../../Source/WTF/wtf/RefPtr.h:85
Backtrace stopped: frame did not save the PC

STDERR: 
STDERR: warning: core file may not match specified executable file.
STDERR: ASSERTION FAILED: m_ptr
STDERR: ../../Source/WTF/wtf/Ref.h(113) : T* WTF::Ref&lt;T&gt;::operator-&gt;() const [with T = WebCore::FetchResponse]
STDERR: 1   0x7f04b437cd70 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x1e) [0x7f04b437cd70]
STDERR: 2   0x7f04be66a4c8 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::Ref&lt;WebCore::FetchResponse&gt;::operator-&gt;() const+0x3c) [0x7f04be66a4c8]
STDERR: 3   0x7f04be65f8da /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::Cache::put(WTF::Variant&lt;WTF::RefPtr&lt;WebCore::FetchRequest&gt;, WTF::String&gt;&amp;&amp;, WTF::Ref&lt;WebCore::FetchResponse&gt;&amp;&amp;, WebCore::DOMPromiseDeferred&lt;void&gt;&amp;&amp;)+0x452) [0x7f04be65f8da]
STDERR: 4   0x7f04be453b78 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x823eb78) [0x7f04be453b78]
STDERR: 5   0x7f04be454c70 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x823fc70) [0x7f04be454c70]
STDERR: 6   0x7f04be45591a /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x824091a) [0x7f04be45591a]
STDERR: 7   0x7f04be454cb1 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x823fcb1) [0x7f04be454cb1]
STDERR: 8   0x7f04be453bd5 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::jsCachePrototypeFunctionPut(JSC::ExecState*)+0x1f) [0x7f04be453bd5]
STDERR: 9   0x7f045b9b8808 [0x7f045b9b8808]
STDERR: LEAK: 1 WebPageProxy

Started r220948 or r220949.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>