← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1278315] Re: "Cookie sqlite error 5, errno 0: database is locked" when running unit tests

 

** Changed in: oxide
    Milestone: None => branch-1.3

** Changed in: oxide
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1278315

Title:
  "Cookie sqlite error 5, errno 0: database is locked" when running unit
  tests

Status in Oxide Webview:
  Fix Released

Bug description:
  I’ve observed the following error a couple of times (out of hundreds
  of test runs) when running the unit tests on my laptop:

  [0202/153311:ERROR:connection.cc(1060)] Cookie sqlite error 5, errno 0: database is locked, sql: PRAGMA journal_mode = PERSIST
  [0202/153311:FATAL:connection.cc(747)] SQL compile error database is locked
   [0x7fd4b70ad886] base::debug::StackTrace::StackTrace()
   [0x7fd4b7119413] logging::LogMessage::~LogMessage()
   [0x7fd4bb12acf9] sql::Connection::GetUntrackedStatement()
   [0x7fd4bb12b125] sql::Connection::DoesTableOrIndexExist()
   [0x7fd4bb12b0c0] sql::Connection::DoesTableExist()
   [0x7fd4bb13226f] sql::MetaTable::DoesTableExist()
   [0x7fd4bb13278d] sql::MetaTable::Init()
   [0x7fd4bb5d08db] content::SQLitePersistentCookieStore::Backend::EnsureDatabaseVersion()
   [0x7fd4bb5cef1f] content::SQLitePersistentCookieStore::Backend::InitializeDatabase()
   [0x7fd4bb5cd7b6] content::SQLitePersistentCookieStore::Backend::LoadAndNotifyInBackground()
   [0x7fd4bb5db9d7] base::internal::RunnableAdapter<>::Run()
   [0x7fd4bb5da205] base::internal::InvokeHelper<>::MakeItSo()
   [0x7fd4bb5d8d21] base::internal::Invoker<>::Run()
   [0x7fd4b709c572] base::Callback<>::Run()
   [0x7fd4b71df56e] base::SequencedWorkerPool::Inner::ThreadLoop()
   [0x7fd4b71ddb99] base::SequencedWorkerPool::Worker::Run()
   [0x7fd4b71e9784] base::SimpleThread::ThreadMain()
   [0x7fd4b71dc320] base::(anonymous namespace)::ThreadFunc()
   [0x7fd4e6db7182] start_thread
   [0x7fd4e70c7b5d] clone

  This looks like a race condition of some sort.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1278315/+subscriptions