Exception triggered in logging::LogMessage destructor

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Exception triggered in logging::LogMessage destructor

Postby callum » Wed May 20, 2020 1:58 pm

I regularly trigger an exception in the logging::LogMessage destructor (Windows 64 bit app, built with cef_binary_81.3.10+gb223419+chromium-81.0.4044.138 from Spotify) by visiting sites like YouTube or Twitch.tv. Some sites do not trigger it - haven't found a pattern yet - I thought it was writing JS logging to the console but that's not it. It doesn't happen with cefsimple or cefclient built against the same version of CEF / Chromium.

I am trying to track down the right version of the logging.cc source that matches this callstack - in the meantime, does it ring any bells?
Code: Select all
>   libcef.dll!logging::LogMessage::~LogMessage() Line 953   C++
    libcef.dll!storage::DomStorageDatabase::OpenDirectory(const base::FilePath & directory, const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > & name, const leveldb_env::Options & options, const base::Optional<base::trace_event::MemoryAllocatorDumpGuid> & memory_dump_id, scoped_refptr<base::SequencedTaskRunner> blocking_task_runner, base::OnceCallback<void (base::SequenceBound<storage::DomStorageDatabase>, leveldb::Status)> callback) Line 202   C++
    libcef.dll!storage::AsyncDomStorageDatabase::OpenDirectory(const leveldb_env::Options & options, const base::FilePath & directory, const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > & dbname, const base::Optional<base::trace_event::MemoryAllocatorDumpGuid> & memory_dump_id, scoped_refptr<base::SequencedTaskRunner> blocking_task_runner, base::OnceCallback<void (leveldb::Status)> callback) Line 34   C++
    libcef.dll!content::SessionStorageContextMojo::InitiateConnection(bool in_memory_only) Line 725   C++
    libcef.dll!content::SessionStorageContextMojo::RunWhenConnected(base::OnceCallback<void ()> callback) Line 688   C++
    libcef.dll!content::SessionStorageContextMojo::OpenSessionStorage(int process_id, const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > & namespace_id, base::OnceCallback<void (const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > &)> bad_message_callback, mojo::PendingReceiver<blink::mojom::SessionStorageNamespace> receiver) Line 131   C++
    libcef.dll!base::internal::Invoker<base::internal::BindState<void (content::SessionStorageContextMojo::*)(int, const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > &, base::OnceCallback<void (const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > &)>, mojo::PendingReceiver<blink::mojom::SessionStorageNamespace>),base::internal::UnretainedWrapper<content::SessionStorageContextMojo>,int,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> >,base::OnceCallback<void (const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > &)>,mojo::PendingReceiver<blink::mojom::SessionStorageNamespace> >,void ()>::RunOnce(base::internal::BindStateBase * base) Line 641   C++
    libcef.dll!base::TaskAnnotator::RunTask(const char * trace_event_name, base::PendingTask * pending_task) Line 142   C++
    libcef.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::sequence_manager::LazyNow * continuation_lazy_now, bool * ran_task) Line 366   C++
    libcef.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork() Line 221   C++
    libcef.dll!base::MessagePumpForIO::DoRunLoop() Line 632   C++
    libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) Line 77   C++
    libcef.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool application_tasks_allowed, base::TimeDelta timeout) Line 467   C++
    libcef.dll!base::RunLoop::Run() Line 157   C++
    libcef.dll!base::Thread::Run(base::RunLoop * run_loop) Line 309   C++
    libcef.dll!content::BrowserProcessSubThread::IOThreadRun(base::RunLoop * run_loop) Line 135   C++
    libcef.dll!content::BrowserProcessSubThread::Run(base::RunLoop * run_loop) Line 101   C++
    libcef.dll!base::Thread::ThreadMain() Line 383   C++
    libcef.dll!base::`anonymous namespace'::ThreadFunc(void * params) Line 113   C++

callum
Expert
 
Posts: 326
Joined: Mon Feb 23, 2015 6:19 pm

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 101 guests