I am using CEF 3202 on Windows 10.
I am trying to load my own resources(html pages with separate js files) using CefResourceHandler. The problem is that at some point while loading those resources there is a crash, below is the call stack after the crash.
The crash is when job tries to get the status, where the request is not present, at this line
- Code: Select all
if (job_->has_response_started() && job_->GetStatus().is_io_pending())
- Code: Select all
if (!job_->is_done() && job_->has_response_started() && job_->GetStatus().is_io_pending())
- Code: Select all
> libcef.dll!net::URLRequestJob::GetStatus() Line 701 C++
libcef.dll!CefResourceRequestJobCallback::ContinueOnIOThread() Line 105 C++
libcef.dll!base::internal::FunctorTraits<void (__thiscall `anonymous namespace'::CefAuthCallbackImpl::*)(void),void>::Invoke<scoped_refptr<`anonymous namespace'::CefAuthCallbackImpl> const &>(void(`anonymous-namespace'::CefAuthCallbackImpl::*)() method, const scoped_refptr<`anonymous namespace'::CefAuthCallbackImpl> & receiver_ptr) Line 195 C++
libcef.dll!base::internal::Invoker<base::internal::BindState<void (__thiscall CefResourceRequestJobCallback::*)(void),scoped_refptr<CefResourceRequestJobCallback> >,void __cdecl(void)>::RunImpl<void (__thiscall CefResourceRequestJobCallback::*const &)(void),std::tuple<scoped_refptr<CefResourceRequestJobCallback> > const &,0>(void(CefResourceRequestJobCallback::*)() & functor, const std::tuple<scoped_refptr<CefResourceRequestJobCallback> > & bound, std::integer_sequence<unsigned int,0> __formal) Line 349 C++
libcef.dll!base::internal::Invoker<base::internal::BindState<void (__thiscall CefResourceRequestJobCallback::*)(void),scoped_refptr<CefResourceRequestJobCallback> >,void __cdecl(void)>::Run(base::internal::BindStateBase * base) Line 331 C++
libcef.dll!base::debug::TaskAnnotator::RunTask(const char * queue_function, base::PendingTask * pending_task) Line 65 C++
libcef.dll!base::MessageLoop::RunTask(base::PendingTask * pending_task) Line 407 C++
libcef.dll!base::MessageLoop::DeferOrRunPendingTask(base::PendingTask pending_task) Line 426 C++
libcef.dll!base::MessageLoop::DoWork() Line 524 C++
libcef.dll!base::MessagePumpForIO::DoRunLoop() Line 483 C++
libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) Line 58 C++
libcef.dll!base::MessageLoop::Run() Line 346 C++
libcef.dll!base::Thread::Run(base::RunLoop * run_loop) Line 256 C++
libcef.dll!content::BrowserThreadImpl::IOThreadRun(base::RunLoop * run_loop) Line 279 C++
libcef.dll!content::BrowserThreadImpl::Run(base::RunLoop * run_loop) Line 313 C++
libcef.dll!base::Thread::ThreadMain() Line 341 C++
libcef.dll!base::`anonymous namespace'::ThreadFunc(void * params) Line 91 C++
[External Code]
Thanks in advance!!
Best Regards,