NEW 191186
[WPE][GTK][DEBUG] IndexDB: ASSERTION FAILED: diskUsage >= databaseFileSize
https://bugs.webkit.org/show_bug.cgi?id=191186
Summary [WPE][GTK][DEBUG] IndexDB: ASSERTION FAILED: diskUsage >= databaseFileSize
Claudio Saavedra
Reported 2018-11-02 04:37:44 PDT
After https://trac.webkit.org/changeset/237700/webkit some indexdb-related tests are failing in the Debug bots. A quota was added and we're hitting that limit where we shouldn't. I don't know what's causing this but I don't see anything platform specific that might be behind it. Some of the tests affected: imported/w3c/web-platform-tests/IndexedDB/bindings-inject-key.html imported/w3c/web-platform-tests/IndexedDB/interleaved-cursors-large.html imported/w3c/web-platform-tests/IndexedDB/interleaved-cursors-small.html imported/w3c/web-platform-tests/IndexedDB/key-conversion-exceptions.htm storage/indexeddb/modern/idbcursor-continue-primary-key-1.html Sample stacktrace: STDERR: ASSERTION FAILED: diskUsage >= databaseFileSize STDERR: ../../Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp(863) : uint64_t WebCore::IDBServer::SQLiteIDBBackingStore::maximumSize() const STDERR: 1 0x7fe745ee545f WTFCrash STDERR: 2 0x7fe742db045f WebCore::IDBServer::SQLiteIDBBackingStore::maximumSize() const STDERR: 3 0x7fe742db0606 WebCore::IDBServer::SQLiteIDBBackingStore::beginTransaction(WebCore::IDBTransactionInfo const&) STDERR: 4 0x7fe742dc5b10 WebCore::IDBServer::UniqueIDBDatabase::beginTransactionInBackingStore(WebCore::IDBTransactionInfo const&) STDERR: 5 0x7fe742e0338b void WTF::callMemberFunctionForCrossThreadTaskImpl<WebCore::IDBServer::UniqueIDBDatabase, void (WebCore::IDBServer::UniqueIDBDatabase::*)(WebCore::IDBTransactionInfo const&), std::tuple<WebCore::IDBTransactionInfo>, 0ul>(WebCore::IDBServer::UniqueIDBDatabase*, void (WebCore::IDBServer::UniqueIDBDatabase::*)(WebCore::IDBTransactionInfo const&), std::tuple<WebCore::IDBTransactionInfo>&&, std::integer_sequence<unsigned long, 0ul>) STDERR: 6 0x7fe742df8159 void WTF::callMemberFunctionForCrossThreadTask<WebCore::IDBServer::UniqueIDBDatabase, void (WebCore::IDBServer::UniqueIDBDatabase::*)(WebCore::IDBTransactionInfo const&), std::tuple<WebCore::IDBTransactionInfo>, std::integer_sequence<unsigned long, 0ul> >(WebCore::IDBServer::UniqueIDBDatabase*, void (WebCore::IDBServer::UniqueIDBDatabase::*)(WebCore::IDBTransactionInfo const&), std::tuple<WebCore::IDBTransactionInfo>&&) STDERR: 7 0x7fe742de300f WTF::CrossThreadTask WTF::createCrossThreadTask<WebCore::IDBServer::UniqueIDBDatabase, WebCore::IDBTransactionInfo const&, WebCore::IDBTransactionInfo>(WebCore::IDBServer::UniqueIDBDatabase&, void (WebCore::IDBServer::UniqueIDBDatabase::*)(WebCore::IDBTransactionInfo const&), WebCore::IDBTransactionInfo const&)::{lambda()#1}::operator()() STDERR: 8 0x7fe742e2a1ce WTF::Function<void ()>::CallableWrapper<WTF::CrossThreadTask WTF::createCrossThreadTask<WebCore::IDBServer::UniqueIDBDatabase, WebCore::IDBTransactionInfo const&, WebCore::IDBTransactionInfo>(WebCore::IDBServer::UniqueIDBDatabase&, void (WebCore::IDBServer::UniqueIDBDatabase::*)(WebCore::IDBTransactionInfo const&), WebCore::IDBTransactionInfo const&)::{lambda()#1}>::call() STDERR: 9 0x7fe7419ce1d6 WTF::Function<void ()>::operator()() const STDERR: 10 0x7fe741a0f37a WTF::CrossThreadTask::performTask() STDERR: 11 0x7fe742dcdf4e WebCore::IDBServer::UniqueIDBDatabase::executeNextDatabaseTask() STDERR: 12 0x7fe742e01533 void WTF::callMemberFunctionForCrossThreadTaskImpl<WebCore::IDBServer::UniqueIDBDatabase, void (WebCore::IDBServer::UniqueIDBDatabase::*)(), std::tuple<>>(WebCore::IDBServer::UniqueIDBDatabase*, void (WebCore::IDBServer::UniqueIDBDatabase::*)(), std::tuple<>&&, std::integer_sequence<unsigned long>) STDERR: 13 0x7fe742df6c40 void WTF::callMemberFunctionForCrossThreadTask<WebCore::IDBServer::UniqueIDBDatabase, void (WebCore::IDBServer::UniqueIDBDatabase::*)(), std::tuple<>, std::integer_sequence<unsigned long> >(WebCore::IDBServer::UniqueIDBDatabase*, void (WebCore::IDBServer::UniqueIDBDatabase::*)(), std::tuple<>&&) STDERR: 14 0x7fe742de238d WTF::CrossThreadTask WTF::createCrossThreadTask<WebCore::IDBServer::UniqueIDBDatabase>(WebCore::IDBServer::UniqueIDBDatabase&, void (WebCore::IDBServer::UniqueIDBDatabase::*)())::{lambda()#1}::operator()() STDERR: 15 0x7fe742e2a1ec WTF::Function<void ()>::CallableWrapper<WTF::CrossThreadTask WTF::createCrossThreadTask<WebCore::IDBServer::UniqueIDBDatabase>(WebCore::IDBServer::UniqueIDBDatabase&, void (WebCore::IDBServer::UniqueIDBDatabase::*)())::{lambda()#1}>::call() STDERR: 16 0x7fe7419ce1d6 WTF::Function<void ()>::operator()() const STDERR: 17 0x7fe741a0f37a WTF::CrossThreadTask::performTask() STDERR: 18 0x7fe745eec426 WTF::CrossThreadTaskHandler::taskRunLoop()
Attachments
Note You need to log in before you can comment on or make changes to this bug.