Bug 175875
Summary: | [GTK] Crash in cache-storage-match.https.html | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ms2ger (he/him; ⌚ UTC+1/+2) <Ms2ger> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | bugs-noreply, youennf |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ms2ger (he/him; ⌚ UTC+1/+2)
imported/w3c/web-platform-tests/service-workers/cache-storage/window/cache-storage-match.https.html
imported/w3c/web-platform-tests/service-workers/cache-storage/worker/cache-storage-match.https.html
Thread 1 (Thread 0x7f619a9fd700 (LWP 45588)):
#0 0x00007f6212898d75 in WTFCrash () at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/Assertions.cpp:278
#1 0x00007f621a2d18ce in WTF::CrashOnOverflow::crash () at ../../Source/WTF/wtf/CheckedArithmetic.h:85
#2 0x00007f621a2d18c5 in WTF::CrashOnOverflow::overflowed () at ../../Source/WTF/wtf/CheckedArithmetic.h:78
#3 0x00007f621cb928b7 in WTF::Vector<WTF::Ref<WebCore::Cache>, 0ul, WTF::CrashOnOverflow, 16ul>::at (this=0x7f619a9fc660, i=0) at ../../Source/WTF/wtf/Vector.h:654
#4 0x00007f621cb922cf in WTF::Vector<WTF::Ref<WebCore::Cache>, 0ul, WTF::CrashOnOverflow, 16ul>::operator[] (this=0x7f619a9fc660, i=0) at ../../Source/WTF/wtf/Vector.h:674
#5 0x00007f621cb8b630 in (anonymous namespace)::doSequentialMatch(size_t, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x17226b>, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x174b5e>, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x174b6a>, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x187593>) (index=0, caches=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x17226b>, info=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x174b5e>, options=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x174b6a>, completionHandler=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x187593>) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/Modules/cache/CacheStorage.cpp:57
#6 0x00007f621cb8b6da in (anonymous namespace)::startSequentialMatch(<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x17226b>, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x174b5e>, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x174b6a>, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x187593>) (caches=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x17226b>, info=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x174b5e>, options=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x174b6a>, completionHandler=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x187593>) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/Modules/cache/CacheStorage.cpp:68
#7 0x00007f621cb8b9dd in (anonymous namespace)::CacheStorage::<lambda()>::operator()(void) (__closure=0x7f61992c5548) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/Modules/cache/CacheStorage.cpp:102
#8 0x00007f621cb91ecc in WTF::Function<void()>::CallableWrapper<WebCore::CacheStorage::match(WebCore::Cache::RequestInfo&&, WebCore::CacheQueryOptions&&, WTF::Ref<WebCore::DeferredPromise>&&)::<lambda()> >::call(void) (this=0x7f61992c5540) at ../../Source/WTF/wtf/Function.h:101
#9 0x00007f621a2d2602 in WTF::Function<void()>::operator()(void) const (this=0x7f6199e260a0) at ../../Source/WTF/wtf/Function.h:56
#10 0x00007f621cb8be13 in (anonymous namespace)::CacheStorage::<lambda(WTF::Vector<WebCore::CacheStorageConnection::CacheInfo, 0ul, WTF::CrashOnOverflow, 16ul>&&)>::operator()(<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1620a8>) const (__closure=0x7f6199e26098, cachesInfo=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1620a8>) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/Modules/cache/CacheStorage.cpp:135
#11 0x00007f621cb91e90 in WTF::Function<void(WTF::Vector<WebCore::CacheStorageConnection::CacheInfo, 0ul, WTF::CrashOnOverflow, 16ul>&&)>::CallableWrapper<WebCore::CacheStorage::retrieveCaches(WTF::Function<void()>&&)::<lambda(WTF::Vector<WebCore::CacheStorageConnection::CacheInfo, 0ul, WTF::CrashOnOverflow, 16ul>&&)> >::call(<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1620a8>) (this=0x7f6199e26090, in#0=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1620a8>) at ../../Source/WTF/wtf/Function.h:101
#12 0x00007f621ab89ec2 in WTF::Function<void(WTF::Vector<WebCore::CacheStorageConnection::CacheInfo, 0ul, WTF::CrashOnOverflow, 16ul>&&)>::operator()(<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x3b3ab>) const (this=0x7f619a9fc7f8, in#0=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x3b3ab>) at ../../Source/WTF/wtf/Function.h:56
#13 0x00007f621ab881cf in (anonymous namespace)::CacheStorageConnection::updateCaches(uint64_t, <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x3b3ab>) (this=0x7f619be5ba20, requestIdentifier=5, caches=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x3b3ab>) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/Modules/cache/CacheStorageConnection.cpp:138
#14 0x00007f621bc8c725 in (anonymous namespace)::WorkerCacheStorageConnection::<lambda(WebCore::ScriptExecutionContext&)>::<lambda(const WTF::Vector<WebCore::CacheStorageConnection::CacheInfo, 0ul, WTF::CrashOnOverflow, 16ul>&)>::<lambda(WebCore::ScriptExecutionContext&)>::operator()((anonymous namespace)::ScriptExecutionContext &) (__closure=0x7f61986d0518, context=...) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/Modules/cache/WorkerCacheStorageConnection.cpp:157
#15 0x00007f621bc95fae in WTF::Function<void(WebCore::ScriptExecutionContext&)>::CallableWrapper<WebCore::WorkerCacheStorageConnection::doRetrieveCaches(uint64_t, const WTF::String&)::<lambda(WebCore::ScriptExecutionContext&)> mutable::<lambda(const WTF::Vector<WebCore::CacheStorageConnection::CacheInfo>&)> mutable::<lambda(WebCore::ScriptExecutionContext&)> >::call((anonymous namespace)::ScriptExecutionContext &) (this=0x7f61986d0510, in#0=...) at ../../Source/WTF/wtf/Function.h:101
#16 0x00007f621af53db4 in WTF::Function<void(WebCore::ScriptExecutionContext&)>::operator()((anonymous namespace)::ScriptExecutionContext &) const (this=0x7f6199e811b0, in#0=...) at ../../Source/WTF/wtf/Function.h:56
#17 0x00007f621af4e80f in (anonymous namespace)::ScriptExecutionContext::Task::performTask (this=0x7f6199e811b0, context=...) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/dom/ScriptExecutionContext.h:177
#18 0x00007f621bae6d6e in (anonymous namespace)::WorkerRunLoop::Task::performTask (this=0x7f6199e811b0, context=0x7f620154c000) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/workers/WorkerRunLoop.cpp:258
#19 0x00007f621bae6a17 in (anonymous namespace)::WorkerRunLoop::runInMode (this=0x7f6201593690, context=0x7f620154c000, predicate=..., waitMode=(anonymous namespace)::WorkerRunLoop::WaitForMessage) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/workers/WorkerRunLoop.cpp:202
#20 0x00007f621bae6619 in (anonymous namespace)::WorkerRunLoop::run (this=0x7f6201593690, context=0x7f620154c000) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/workers/WorkerRunLoop.cpp:138
#21 0x00007f621baebd9a in (anonymous namespace)::WorkerThread::runEventLoop (this=0x7f6201593678) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/workers/WorkerThread.cpp:242
#22 0x00007f621cc6d4e7 in (anonymous namespace)::DedicatedWorkerThread::runEventLoop (this=0x7f6201593678) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/workers/DedicatedWorkerThread.cpp:60
#23 0x00007f621baebb56 in (anonymous namespace)::WorkerThread::workerThread (this=0x7f6201593678) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/workers/WorkerThread.cpp:189
#24 0x00007f621baeb735 in (anonymous namespace)::WorkerThread::<lambda()>::operator()(void) const (__closure=0x7f61992768d8) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WebCore/workers/WorkerThread.cpp:139
#25 0x00007f621baeda6e in WTF::Function<void()>::CallableWrapper<WebCore::WorkerThread::start()::<lambda()> >::call(void) (this=0x7f61992768d0) at ../../Source/WTF/wtf/Function.h:101
#26 0x00007f621a2d2602 in WTF::Function<void()>::operator()(void) const (this=0x7f619a9fcba8) at ../../Source/WTF/wtf/Function.h:56
#27 0x00007f62128bcfb4 in WTF::Thread::entryPoint (newThreadContext=0x7f619be70780) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/Threading.cpp:129
#28 0x00007f62129017ca in WTF::wtfThreadEntryPoint (context=0x7f619be70780) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/ThreadingPthreads.cpp:228
#29 0x00007f620b4a9494 in start_thread (arg=0x7f619a9fd700) at pthread_create.c:333
#30 0x00007f620a30c93f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
STDERR:
STDERR: warning: core file may not match specified executable file.
STDERR: 1 0x7f6212898d70 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x1e) [0x7f6212898d70]
STDERR: 2 0x7f621a2d18ce /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(std::atomic<bool>::operator bool() const+0) [0x7f621a2d18ce]
STDERR: 3 0x7f621a2d18c5 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::CrashOnOverflow::crash()+0) [0x7f621a2d18c5]
STDERR: 4 0x7f621cb928b7 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::Vector<WTF::Ref<WebCore::Cache>, 0ul, WTF::CrashOnOverflow, 16ul>::at(unsigned long)+0x35) [0x7f621cb928b7]
STDERR: 5 0x7f621cb922cf /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::Vector<WTF::Ref<WebCore::Cache>, 0ul, WTF::CrashOnOverflow, 16ul>::operator[](unsigned long)+0x23) [0x7f621cb922cf]
STDERR: 6 0x7f621cb8b630 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x845a630) [0x7f621cb8b630]
STDERR: 7 0x7f621cb8b6da /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x845a6da) [0x7f621cb8b6da]
STDERR: 8 0x7f621cb8b9dd /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x845a9dd) [0x7f621cb8b9dd]
STDERR: 9 0x7f621cb91ecc /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x8460ecc) [0x7f621cb91ecc]
STDERR: 10 0x7f621a2d2602 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::Function<void ()>::operator()() const+0x5e) [0x7f621a2d2602]
STDERR: 11 0x7f621cb8be13 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x845ae13) [0x7f621cb8be13]
STDERR: 12 0x7f621cb91e90 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x8460e90) [0x7f621cb91e90]
STDERR: 13 0x7f621ab89ec2 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::Function<void (WTF::Vector<WebCore::CacheStorageConnection::CacheInfo, 0ul, WTF::CrashOnOverflow, 16ul>&&)>::operator()(WTF::Vector<WebCore::CacheStorageConnection::CacheInfo, 0ul, WTF::CrashOnOverflow, 16ul>&&) const+0x78) [0x7f621ab89ec2]
STDERR: 14 0x7f621ab881cf /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::CacheStorageConnection::updateCaches(unsigned long, WTF::Vector<WebCore::CacheStorageConnection::CacheInfo, 0ul, WTF::CrashOnOverflow, 16ul>&&)+0x5d) [0x7f621ab881cf]
STDERR: 15 0x7f621bc8c725 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x755b725) [0x7f621bc8c725]
STDERR: 16 0x7f621bc95fae /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x7564fae) [0x7f621bc95fae]
STDERR: 17 0x7f621af53db4 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const+0x78) [0x7f621af53db4]
STDERR: 18 0x7f621af4e80f /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)+0x23) [0x7f621af4e80f]
STDERR: 19 0x7f621bae6d6e /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::WorkerRunLoop::Task::performTask(WebCore::WorkerGlobalScope*)+0x82) [0x7f621bae6d6e]
STDERR: 20 0x7f621bae6a17 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::WorkerRunLoop::runInMode(WebCore::WorkerGlobalScope*, WebCore::ModePredicate const&, WebCore::WorkerRunLoop::WaitMode)+0x2f3) [0x7f621bae6a17]
STDERR: 21 0x7f621bae6619 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::WorkerRunLoop::run(WebCore::WorkerGlobalScope*)+0x67) [0x7f621bae6619]
STDERR: 22 0x7f621baebd9a /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::WorkerThread::runEventLoop()+0x32) [0x7f621baebd9a]
STDERR: 23 0x7f621cc6d4e7 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::DedicatedWorkerThread::runEventLoop()+0x57) [0x7f621cc6d4e7]
STDERR: 24 0x7f621baebb56 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WebCore::WorkerThread::workerThread()+0x348) [0x7f621baebb56]
STDERR: 25 0x7f621baeb735 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x73ba735) [0x7f621baeb735]
STDERR: 26 0x7f621baeda6e /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x73bca6e) [0x7f621baeda6e]
STDERR: 27 0x7f621a2d2602 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(WTF::Function<void ()>::operator()() const+0x5e) [0x7f621a2d2602]
STDERR: 28 0x7f62128bcfb4 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)+0x166) [0x7f62128bcfb4]
STDERR: 29 0x7f62129017ca /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(+0x271f7ca) [0x7f62129017ca]
STDERR: 30 0x7f620b4a9494 /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494) [0x7f620b4a9494]
STDERR: 31 0x7f620a30c93f /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f620a30c93f]
Started in r220983-r220987
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |