Setting WebContext.sessionCookieMode without specifying a path causes a crash

Bug #1301650 reported by Chris Coulson on 2014-04-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
Medium
Unassigned

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

Changed in oxide:
importance: Undecided → Medium
status: New → Triaged
Changed in oxide:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers