← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1301650] [NEW] Setting WebContext.sessionCookieMode without specifying a path causes a crash

 

Public bug reported:

Doing this:

  WebView {
    context: WebContext {
      sessionCookieMode: WebContext.SessionCookieModePersistent
    }
  }

...is enough to trigger a debug-mode assertion failure inside Chromium:

[0402/224320:FATAL:sqlite_persistent_cookie_store.cc(1271)] Check failed: !path.empty() || session_cookie_mode == EPHEMERAL_SESSION_COOKIES. 
#0 0x2b880d9ca26b base::debug::StackTrace::StackTrace()
#1 0x2b880da41a27 logging::LogMessage::~LogMessage()
#2 0x2b8812297a2d content::CookieStoreConfig::CookieStoreConfig()
#3 0x2b880d90c516 oxide::BrowserContextIOData::CreateMainRequestContext()
#4 0x2b880d90b7d0 oxide::(anonymous namespace)::MainURLRequestContextGetter::GetURLRequestContext()
#5 0x2b8811ec4ba9 content::ChromeAppCacheService::InitializeOnIOThread()
#6 0x2b881253c2e6 base::internal::RunnableAdapter<>::Run()
#7 0x2b881253b3dc base::internal::InvokeHelper<>::MakeItSo()
#8 0x2b8812539d18 base::internal::Invoker<>::Run()
#9 0x2b880d9b8646 base::Callback<>::Run()
#10 0x2b880da62372 base::MessageLoop::RunTask()
#11 0x2b880da624a0 base::MessageLoop::DeferOrRunPendingTask()
#12 0x2b880da629f0 base::MessageLoop::DoWork()
#13 0x2b880d996dcc base::MessagePumpLibevent::Run()
#14 0x2b880da61e66 base::MessageLoop::RunHandler()
#15 0x2b880dac5cca base::RunLoop::Run()
#16 0x2b880da6149c base::MessageLoop::Run()
#17 0x2b880db1dc14 base::Thread::Run()
#18 0x2b8811f08530 content::BrowserThreadImpl::IOThreadRun()
#19 0x2b8811f086f7 content::BrowserThreadImpl::Run()
#20 0x2b880db1de6b base::Thread::ThreadMain()
#21 0x2b880db0c2a4 base::(anonymous namespace)::ThreadFunc()
#22 0x2b87f6c9b182 start_thread
#23 0x2b87f69c830d clone

** Affects: oxide
     Importance: Medium
         Status: Fix Released

** Changed in: oxide
   Importance: Undecided => Medium

** Changed in: oxide
       Status: New => Triaged

-- 
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/1301650

Title:
  Setting WebContext.sessionCookieMode without specifying a path causes
  a crash

Status in Oxide Webview:
  Fix Released

Bug description:
  Doing this:

    WebView {
      context: WebContext {
        sessionCookieMode: WebContext.SessionCookieModePersistent
      }
    }

  ...is enough to trigger a debug-mode assertion failure inside
  Chromium:

  [0402/224320:FATAL:sqlite_persistent_cookie_store.cc(1271)] Check failed: !path.empty() || session_cookie_mode == EPHEMERAL_SESSION_COOKIES. 
  #0 0x2b880d9ca26b base::debug::StackTrace::StackTrace()
  #1 0x2b880da41a27 logging::LogMessage::~LogMessage()
  #2 0x2b8812297a2d content::CookieStoreConfig::CookieStoreConfig()
  #3 0x2b880d90c516 oxide::BrowserContextIOData::CreateMainRequestContext()
  #4 0x2b880d90b7d0 oxide::(anonymous namespace)::MainURLRequestContextGetter::GetURLRequestContext()
  #5 0x2b8811ec4ba9 content::ChromeAppCacheService::InitializeOnIOThread()
  #6 0x2b881253c2e6 base::internal::RunnableAdapter<>::Run()
  #7 0x2b881253b3dc base::internal::InvokeHelper<>::MakeItSo()
  #8 0x2b8812539d18 base::internal::Invoker<>::Run()
  #9 0x2b880d9b8646 base::Callback<>::Run()
  #10 0x2b880da62372 base::MessageLoop::RunTask()
  #11 0x2b880da624a0 base::MessageLoop::DeferOrRunPendingTask()
  #12 0x2b880da629f0 base::MessageLoop::DoWork()
  #13 0x2b880d996dcc base::MessagePumpLibevent::Run()
  #14 0x2b880da61e66 base::MessageLoop::RunHandler()
  #15 0x2b880dac5cca base::RunLoop::Run()
  #16 0x2b880da6149c base::MessageLoop::Run()
  #17 0x2b880db1dc14 base::Thread::Run()
  #18 0x2b8811f08530 content::BrowserThreadImpl::IOThreadRun()
  #19 0x2b8811f086f7 content::BrowserThreadImpl::Run()
  #20 0x2b880db1de6b base::Thread::ThreadMain()
  #21 0x2b880db0c2a4 base::(anonymous namespace)::ThreadFunc()
  #22 0x2b87f6c9b182 start_thread
  #23 0x2b87f69c830d clone

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


Follow ups

References