Bug 175874

Summary: [GTK] Crash in cache-match.https.html
Product: WebKit Reporter: Ms2ger (he/him; ⌚ UTC+1/+2) <Ms2ger>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ms2ger (he/him; ⌚ UTC+1/+2) 2017-08-23 00:24:39 PDT
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<WebCore::FetchResponse>::operator-> (this=0x7f040cbfdfd8) at ../../Source/WTF/wtf/Ref.h:113
#2  0x00007f04be65f8da in (anonymous namespace)::Cache::put(<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x190a7b>, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x18c3e4>, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x18ba2a>) (this=0x7f040fa755a0, info=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x190a7b>, response=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x18c3e4>, promise=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x18ba2a>) 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<WebCore::JSCache>::ClassParameter, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x15d0fc>, JSC::ThrowScope &) (state=0x7f040cbfe190, castedThis=0x7f04304aed80, promise=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x15d0fc>, throwScope=...) at /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/DerivedSources/WebCore/JSCache.cpp:275
#4  0x00007f04be454c70 in (anonymous namespace)::IDLOperationReturningPromise<WebCore::JSCache>::<lambda(JSC::ExecState&, WTF::Ref<WebCore::DeferredPromise>&&)>::operator()(JSC::ExecState &, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x15d0fc>) const (__closure=0x7f040cbfe0b0, state=..., promise=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x15d0fc>) at ../../Source/WebCore/bindings/js/JSDOMOperationReturningPromise.h:52
#5  0x00007f04be45591a in (anonymous namespace)::callPromiseFunction<(WebCore::PromiseExecutionScope)1, WebCore::IDLOperationReturningPromise<JSClass>::call(JSC::ExecState&, char const*) [with JSC::EncodedJSValue (* operation)(JSC::ExecState*, WebCore::IDLOperationReturningPromise<JSClass>::ClassParameter, WTF::Ref<WebCore::DeferredPromise>&&, JSC::ThrowScope&) = WebCore::jsCachePrototypeFunctionPutBody; WebCore::PromiseExecutionScope executionScope = (WebCore::PromiseExecutionScope)1; WebCore::CastedThisErrorBehavior shouldThrow = (WebCore::CastedThisErrorBehavior)2; JSClass = WebCore::JSCache]::<lambda(JSC::ExecState&, WTF::Ref<WebCore::DeferredPromise>&&)> >(JSC::ExecState &, (anonymous namespace)::IDLOperationReturningPromise<WebCore::JSCache>::<lambda(JSC::ExecState&, WTF::Ref<WebCore::DeferredPromise>&&)>) (state=..., functor=...) at ../../Source/WebCore/bindings/js/JSDOMPromiseDeferred.h:294
#6  0x00007f04be454cb1 in (anonymous namespace)::IDLOperationReturningPromise<WebCore::JSCache>::call<WebCore::jsCachePrototypeFunctionPutBody, (WebCore::PromiseExecutionScope)1> (state=..., operationName=0x7f04c0f411d4 "put") 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<T>::operator->() 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<WebCore::FetchResponse>::operator->() 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<WTF::RefPtr<WebCore::FetchRequest>, WTF::String>&&, WTF::Ref<WebCore::FetchResponse>&&, WebCore::DOMPromiseDeferred<void>&&)+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.