[Webkit-unassigned] [Bug 194051] New: REGRESSION(r240358): [GTK][WPE] imported/w3c/web-platform-tests/IndexedDB/idbcursor-advance.htm crashes in debug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 30 14:39:47 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194051

            Bug ID: 194051
           Summary: REGRESSION(r240358): [GTK][WPE]
                    imported/w3c/web-platform-tests/IndexedDB/idbcursor-ad
                    vance.htm crashes in debug
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aboya at igalia.com
                CC: bugs-noreply at webkitgtk.org

The following test is crashing in GTK and WPE debug:

imported/w3c/web-platform-tests/IndexedDB/idbcursor-advance.htm

The crash is gone after reverting r240358:

commit 62b111feafaf4d0b4d6f65013c2564d455ccac5f
Author: sihui_liu at apple.com <sihui_liu at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jan 23 21:39:19 2019 +0000

    Clean up IndexedDB files between tests
    https://bugs.webkit.org/show_bug.cgi?id=192796
    <rdar://problem/46824999>

    Reviewed by Geoffrey Garen.

    Source/WebCore:

    We should clean up the IndexedDB files between tests to make sure each IDB test is independent of others.


STDERR: 
STDERR: warning: core file may not match specified executable file.
STDERR: ASSERTION FAILED: diskUsage >= databaseFileSize

Thread 1 (Thread 0x7f5f5a7fc700 (LWP 19365)):
#0  0x00007f5fc2667200 in WTFCrash () at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/Assertions.cpp:255
#1  0x00007f5fce58e635 in (anonymous namespace)::(anonymous namespace)::SQLiteIDBBackingStore::maximumSize (this=0x7f5f44007ba0) at ../../Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:867
#2  0x00007f5fce58e7dc in (anonymous namespace)::(anonymous namespace)::SQLiteIDBBackingStore::beginTransaction (this=0x7f5f44007ba0, info=...) at ../../Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:883
#3  0x00007f5fce5a3cd6 in (anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::beginTransactionInBackingStore (this=0x55acbb291c00, info=...) at ../../Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:520
#4  0x00007f5fce5e1e47 in WTF::callMemberFunctionForCrossThreadTaskImpl<WebCore::IDBServer::UniqueIDBDatabase, void (WebCore::IDBServer::UniqueIDBDatabase::*)(WebCore::IDBTransactionInfo const&), std::tuple<WebCore::IDBTransactionInfo>, 0ul>((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase *, void ((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::*)((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase * const, const (anonymous namespace)::IDBTransactionInfo &), <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1b5aeb>, std::index_sequence) (object=0x55acbb291c00, function=(void ((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::*)((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase * const, const (anonymous namespace)::IDBTransactionInfo &)) 0x7f5fce5a3c82 <(anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::beginTransactionInBackingStore((anonymous namespace)::IDBTransactionInfo const&)>, args=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1b5aeb>) at DerivedSources/ForwardingHeaders/wtf/CrossThreadTask.h:76
#5  0x00007f5fce5d6833 in WTF::callMemberFunctionForCrossThreadTask<WebCore::IDBServer::UniqueIDBDatabase, void (WebCore::IDBServer::UniqueIDBDatabase::*)(WebCore::IDBTransactionInfo const&), std::tuple<WebCore::IDBTransactionInfo> >((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase *, void ((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::*)((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase * const, const (anonymous namespace)::IDBTransactionInfo &), <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1b5aeb>) (object=0x55acbb291c00, function=(void ((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::*)((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase * const, const (anonymous namespace)::IDBTransactionInfo &)) 0x7f5fce5a3c82 <(anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::beginTransactionInBackingStore((anonymous namespace)::IDBTransactionInfo const&)>, args=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1b5aeb>) at DerivedSources/ForwardingHeaders/wtf/CrossThreadTask.h:82
#6  0x00007f5fce5c163b in WTF::<lambda()>::operator()(void) (__closure=0x7f5fb32f91c0) at DerivedSources/ForwardingHeaders/wtf/CrossThreadTask.h:89
#7  0x00007f5fce60a3b8 in WTF::Function<void()>::CallableWrapper<WTF::createCrossThreadTask(T&, void (T::*)(Parameters ...), const Arguments& ...) [with T = WebCore::IDBServer::UniqueIDBDatabase; Parameters = {const WebCore::IDBTransactionInfo&}; Arguments = {WebCore::IDBTransactionInfo}]::<lambda()> >::call(void) (this=0x7f5fb32f91b8) at DerivedSources/ForwardingHeaders/wtf/Function.h:101
#8  0x00007f5fccfd000c in WTF::Function<void()>::operator()(void) const (this=0x7f5f5a7fb988) at DerivedSources/ForwardingHeaders/wtf/Function.h:56
#9  0x00007f5fcd00dc50 in WTF::CrossThreadTask::performTask (this=0x7f5f5a7fb988) at DerivedSources/ForwardingHeaders/wtf/CrossThreadTask.h:46
#10 0x00007f5fce5ac0b4 in (anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::executeNextDatabaseTask (this=0x55acbb291c00) at ../../Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:1763
#11 0x00007f5fce5dffef in WTF::callMemberFunctionForCrossThreadTaskImpl<WebCore::IDBServer::UniqueIDBDatabase, void (WebCore::IDBServer::UniqueIDBDatabase::*)(), std::tuple<> >((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase *, void ((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::*)((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase * const), <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1bf69a>, std::index_sequence) (object=0x55acbb291c00, function=(void ((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::*)((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase * const)) 0x7f5fce5abfdc <(anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::executeNextDatabaseTask()>, args=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1bf69a>) at DerivedSources/ForwardingHeaders/wtf/CrossThreadTask.h:76
#12 0x00007f5fce5d531a in WTF::callMemberFunctionForCrossThreadTask<WebCore::IDBServer::UniqueIDBDatabase, void (WebCore::IDBServer::UniqueIDBDatabase::*)(), std::tuple<> >((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase *, void ((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::*)((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase * const), <unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1bf69a>) (object=0x55acbb291c00, function=(void ((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::*)((anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase * const)) 0x7f5fce5abfdc <(anonymous namespace)::(anonymous namespace)::UniqueIDBDatabase::executeNextDatabaseTask()>, args=<unknown type in /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0x0, DIE 0x1bf69a>) at DerivedSources/ForwardingHeaders/wtf/CrossThreadTask.h:82
#13 0x00007f5fce5c09b9 in WTF::<lambda()>::operator()(void) (__closure=0x7f5fb32fd738) at DerivedSources/ForwardingHeaders/wtf/CrossThreadTask.h:89
#14 0x00007f5fce60a3d6 in WTF::Function<void()>::CallableWrapper<WTF::createCrossThreadTask(T&, void (T::*)(Parameters ...), const Arguments& ...) [with T = WebCore::IDBServer::UniqueIDBDatabase; Parameters = {}; Arguments = {}]::<lambda()> >::call(void) (this=0x7f5fb32fd730) at DerivedSources/ForwardingHeaders/wtf/Function.h:101
#15 0x00007f5fccfd000c in WTF::Function<void()>::operator()(void) const (this=0x7f5f5a7fbac8) at DerivedSources/ForwardingHeaders/wtf/Function.h:56
#16 0x00007f5fcd00dc50 in WTF::CrossThreadTask::performTask (this=0x7f5f5a7fbac8) at DerivedSources/ForwardingHeaders/wtf/CrossThreadTask.h:46
#17 0x00007f5fd04faf12 in WTF::CrossThreadTaskHandler::taskRunLoop (this=0x7f5fb32ce000) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/CrossThreadTaskHandler.cpp:72
#18 0x00007f5fd04fabb5 in WTF::CrossThreadTaskHandler::<lambda()>::operator()(void) const (__closure=0x7f5fb32fa138) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/CrossThreadTaskHandler.cpp:36
#19 0x00007f5fd04fbc38 in WTF::Function<void()>::CallableWrapper<WTF::CrossThreadTaskHandler::CrossThreadTaskHandler(char const*)::<lambda()> >::call(void) (this=0x7f5fb32fa130) at ../../Source/WTF/wtf/Function.h:101
#20 0x00007f5fccfd000c in WTF::Function<void()>::operator()(void) const (this=0x7f5f5a7fbb68) at DerivedSources/ForwardingHeaders/wtf/Function.h:56
#21 0x00007f5fc2698b5c in WTF::Thread::entryPoint (newThreadContext=0x7f5fb32f71e0) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/Threading.cpp:136
#22 0x00007f5fc270a548 in WTF::wtfThreadEntryPoint (context=0x7f5fb32f71e0) at /home/slave/webkitgtk/gtk-linux-64-debug/build/Source/WTF/wtf/posix/ThreadingPOSIX.cpp:202
#23 0x00007f5fbcbc9494 in start_thread (arg=0x7f5f5a7fc700) at pthread_create.c:333
#24 0x00007f5fb948993f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190130/bc4a5b1b/attachment-0001.html>


More information about the webkit-unassigned mailing list