Application crash with CEF 92(4515)
Posted: Wed Jul 21, 2021 12:48 am
When I link my application with CEF 92.0.14(Windows 32-bit) and run it, it crashes on startup.
It happens with both the downloaded binaries and the CEF I built.
The debug build crashes, but the release build boots successfully.
There is no problem with CEF 91.1.22.
cefclient starts normally.
My application stops at line 889 in logging.cc.
Below is the call stack at the time of the crash.
This is the contents of the debug.log.
viewtopic.php?f=6&t=18459
Similar to this topic.
But my application works fine with CEF 91.1.22.
What the problem there may be?
Windows 10 Pro 64bit (20H2) Japanese
Visual Studio 2019 Version 16.10.3
Windows SDK Version 10.0.17763.0
MFC Win32 Application
It happens with both the downloaded binaries and the CEF I built.
The debug build crashes, but the release build boots successfully.
There is no problem with CEF 91.1.22.
cefclient starts normally.
My application stops at line 889 in logging.cc.
Below is the call stack at the time of the crash.
- Code: Select all
> libcef.dll!logging::LogMessage::~LogMessage() 行 889 C++
libcef.dll!content::`anonymous namespace'::IntentionallyCrashBrowserForUnusableGpuProcess() 行 415 C++
libcef.dll!content::GpuDataManagerImplPrivate::FallBackToNextGpuMode() 行 1557 C++
libcef.dll!content::GpuDataManagerImpl::FallBackToNextGpuMode() 行 349 C++
libcef.dll!content::GpuProcessHost::RecordProcessCrash() 行 1330 C++
libcef.dll!content::GpuProcessHost::OnProcessCrashed(int exit_code) 行 998 C++
libcef.dll!content::BrowserChildProcessHostImpl::OnChildDisconnected() 行 523 C++
libcef.dll!IPC::ChannelMojo::OnPipeError() 行 232 C++
libcef.dll!IPC::internal::MessagePipeReader::OnPipeError(unsigned int error) 行 129 C++
[インライン フレーム] libcef.dll!base::internal::FunctorTraits<void (gpu::raster::RasterImplementation::*)(gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *) __attribute__((thiscall)),void>::Invoke(void(gpu::raster::RasterImplementation::*)(gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *) method, gpu::raster::RasterImplementation * && receiver_ptr, gpu::raster::RasterImplementation::AsyncYUVReadbackRequest * && args) 行 509 C++
[インライン フレーム] libcef.dll!base::internal::InvokeHelper<0,void>::MakeItSo(void(gpu::raster::RasterImplementation::*)(gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *) && functor, gpu::raster::RasterImplementation * && args, gpu::raster::RasterImplementation::AsyncYUVReadbackRequest * && args) 行 648 C++
[インライン フレーム] libcef.dll!base::internal::Invoker<base::internal::BindState<void (gpu::raster::RasterImplementation::*)(gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *) __attribute__((thiscall)),base::internal::UnretainedWrapper<gpu::raster::RasterImplementation>,gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *>,void ()>::RunImpl(void(gpu::raster::RasterImplementation::*)(gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *) && functor, std::__1::tuple<base::internal::UnretainedWrapper<gpu::raster::RasterImplementation>,gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *> && bound, std::__1::integer_sequence<unsigned int,0,1>) 行 721 C++
libcef.dll!base::internal::Invoker<base::internal::BindState<void (gpu::raster::RasterImplementation::*)(gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *) __attribute__((thiscall)),base::internal::UnretainedWrapper<gpu::raster::RasterImplementation>,gpu::raster::RasterImplementation::AsyncYUVReadbackRequest *>,void ()>::RunOnce(base::internal::BindStateBase * base) 行 694 C++
libcef.dll!base::OnceCallback<void ()>::Run() 行 98 C++
libcef.dll!mojo::InterfaceEndpointClient::NotifyError(const absl::optional<mojo::DisconnectReason> & reason) 行 686 C++
libcef.dll!IPC::`anonymous namespace'::ChannelAssociatedGroupController::NotifyEndpointOfError(IPC::`anonymous namespace'::ChannelAssociatedGroupController::Endpoint * endpoint, bool force_async) 行 793 C++
libcef.dll!IPC::`anonymous namespace'::ChannelAssociatedGroupController::OnPipeError() 行 779 C++
libcef.dll!base::OnceCallback<void ()>::Run() 行 98 C++
libcef.dll!mojo::Connector::HandleError(bool force_pipe_reset, bool force_async_handler) 行 667 C++
libcef.dll!mojo::Connector::OnHandleReadyInternal(unsigned int result) 行 437 C++
[インライン フレーム] libcef.dll!base::internal::FunctorTraits<void (network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder::*)(unsigned int) __attribute__((thiscall)),void>::Invoke(void(network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder::*)(unsigned int) method, std::__1::unique_ptr<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder,std::__1::default_delete<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder>> && receiver_ptr, unsigned int && args) 行 509 C++
[インライン フレーム] libcef.dll!base::internal::InvokeHelper<0,void>::MakeItSo(void(network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder::*)(unsigned int) && functor, std::__1::unique_ptr<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder,std::__1::default_delete<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder>> && args, unsigned int && args) 行 648 C++
[インライン フレーム] libcef.dll!base::internal::Invoker<base::internal::BindState<void (network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder::*)(unsigned int) __attribute__((thiscall)),std::__1::unique_ptr<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder,std::__1::default_delete<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder>>>,void (unsigned int)>::RunImpl(void(network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder::*)(unsigned int) && functor, std::__1::tuple<std::__1::unique_ptr<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder,std::__1::default_delete<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder>>> && bound, std::__1::integer_sequence<unsigned int,0>, unsigned int && unbound_args) 行 721 C++
libcef.dll!base::internal::Invoker<base::internal::BindState<void (network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder::*)(unsigned int) __attribute__((thiscall)),std::__1::unique_ptr<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder,std::__1::default_delete<network::mojom::CookieManager_DeleteSessionOnlyCookies_ProxyToResponder>>>,void (unsigned int)>::RunOnce(base::internal::BindStateBase * base, unsigned int unbound_args) 行 694 C++
[インライン フレーム] libcef.dll!base::RepeatingCallback<void (unsigned int)>::Run(unsigned int args) 行 166 C++
libcef.dll!mojo::SimpleWatcher::DiscardReadyState(const base::RepeatingCallback<void (unsigned int)> & callback, unsigned int result, const mojo::HandleSignalsState & state) 行 189 C++
[インライン フレーム] libcef.dll!base::internal::FunctorTraits<void (*)(const base::RepeatingCallback<void (unsigned int)> &, unsigned int, const mojo::HandleSignalsState &),void>::Invoke(void(*)(const base::RepeatingCallback<void (unsigned int)> &, unsigned int, const mojo::HandleSignalsState &) & function, const base::RepeatingCallback<void (unsigned int)> & args, unsigned int && args, const mojo::HandleSignalsState & args) 行 404 C++
[インライン フレーム] libcef.dll!base::internal::InvokeHelper<0,void>::MakeItSo(void(*)(const base::RepeatingCallback<void (unsigned int)> &, unsigned int, const mojo::HandleSignalsState &) & functor, const base::RepeatingCallback<void (unsigned int)> & args, unsigned int && args, const mojo::HandleSignalsState & args) 行 648 C++
[インライン フレーム] libcef.dll!base::internal::Invoker<base::internal::BindState<void (*)(const base::RepeatingCallback<void (unsigned int)> &, unsigned int, const mojo::HandleSignalsState &),base::RepeatingCallback<void (unsigned int)>>,void (unsigned int, const mojo::HandleSignalsState &)>::RunImpl(void(*)(const base::RepeatingCallback<void (unsigned int)> &, unsigned int, const mojo::HandleSignalsState &) & functor, const std::__1::tuple<base::RepeatingCallback<void (unsigned int)>> & bound, std::__1::integer_sequence<unsigned int,0>, unsigned int && unbound_args, const mojo::HandleSignalsState & unbound_args) 行 721 C++
libcef.dll!base::internal::Invoker<base::internal::BindState<void (*)(const base::RepeatingCallback<void (unsigned int)> &, unsigned int, const mojo::HandleSignalsState &),base::RepeatingCallback<void (unsigned int)>>,void (unsigned int, const mojo::HandleSignalsState &)>::Run(base::internal::BindStateBase * base, unsigned int unbound_args, const mojo::HandleSignalsState & unbound_args) 行 703 C++
[インライン フレーム] libcef.dll!base::RepeatingCallback<void (unsigned int, const mojo::HandleSignalsState &)>::Run(unsigned int args, const mojo::HandleSignalsState & args) 行 166 C++
libcef.dll!mojo::SimpleWatcher::OnHandleReady(int watch_id, unsigned int result, const mojo::HandleSignalsState & state) 行 278 C++
libcef.dll!mojo::SimpleWatcher::Context::Notify(unsigned int result, MojoHandleSignalsState signals_state, unsigned int flags) 行 94 C++
libcef.dll!mojo::SimpleWatcher::Context::CallNotify(const MojoTrapEvent * event) 行 63 C++
libcef.dll!mojo::core::WatcherDispatcher::InvokeWatchCallback(unsigned int context, unsigned int result, const mojo::core::HandleSignalsState & state, unsigned int flags) 行 94 C++
libcef.dll!mojo::core::Watch::InvokeCallback(unsigned int result, const mojo::core::HandleSignalsState & state, unsigned int flags) 行 79 C++
libcef.dll!mojo::core::RequestContext::~RequestContext() 行 73 C++
libcef.dll!mojo::core::NodeChannel::OnChannelError(mojo::core::Channel::Error error) 行 847 C++
libcef.dll!mojo::core::`anonymous namespace'::ChannelWin::OnIOCompleted(base::MessagePumpForIO::IOContext * context, unsigned long bytes_transfered, unsigned long error) 行 262 C++
libcef.dll!base::MessagePumpForIO::WaitForIOCompletion(unsigned long timeout) 行 797 C++
libcef.dll!base::MessagePumpForIO::WaitForWork(base::MessagePump::Delegate::NextWorkInfo next_work_info) 行 770 C++
libcef.dll!base::MessagePumpForIO::DoRunLoop() 行 752 C++
libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) 行 80 C++
libcef.dll!base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool application_tasks_allowed, base::TimeDelta timeout) 行 471 C++
libcef.dll!base::RunLoop::Run(const base::Location & location) 行 136 C++
libcef.dll!base::Thread::Run(base::RunLoop * run_loop) 行 325 C++
libcef.dll!content::BrowserProcessIOThread::IOThreadRun(base::RunLoop * run_loop) 行 128 C++
libcef.dll!content::BrowserProcessIOThread::Run(base::RunLoop * run_loop) 行 92 C++
libcef.dll!base::Thread::ThreadMain() 行 399 C++
libcef.dll!base::`anonymous namespace'::ThreadFunc(void * params) 行 113 C++
[外部コード]
kernel32.dll![下のフレームは間違っているか、または見つかりません。kernel32.dll に対して読み込まれたシンボルはありません] 不明
This is the contents of the debug.log.
- Code: Select all
[0720/164815.507:INFO:content_main_runner_impl.cc(1077)] Chrome is running in full browser mode.
[0720/164815.957:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164815.963:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164815.963:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 1 time(s)
[0720/164816.002:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164816.004:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164816.005:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 2 time(s)
[0720/164816.045:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164816.048:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164816.048:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 3 time(s)
[0720/164816.088:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164816.090:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164816.090:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 4 time(s)
[0720/164816.127:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164816.129:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164816.129:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 5 time(s)
[0720/164816.160:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164816.163:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164816.163:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 6 time(s)
[0720/164816.197:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164816.199:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164816.199:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 7 time(s)
[0720/164818.765:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164818.769:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164818.770:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 8 time(s)
[0720/164818.858:FATAL:scoped_com_initializer.cc(54)] Check failed: ((HRESULT)0x80010106L) != hr_ (-2147417850 vs. -2147417850)Invalid COM thread model change
[0720/164818.860:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=-2147483645
[0720/164818.860:WARNING:gpu_process_host.cc(1308)] The GPU process has crashed 9 time(s)
[0720/164818.861:FATAL:gpu_data_manager_impl_private.cc(414)] GPU process isn't usable. Goodbye.
[0720/165315.370:INFO:child_thread_impl.cc(861)] ChildThreadImpl::EnsureConnected()
[0720/165315.371:INFO:child_thread_impl.cc(861)] ChildThreadImpl::EnsureConnected()
viewtopic.php?f=6&t=18459
Similar to this topic.
But my application works fine with CEF 91.1.22.
What the problem there may be?
Windows 10 Pro 64bit (20H2) Japanese
Visual Studio 2019 Version 16.10.3
Windows SDK Version 10.0.17763.0
MFC Win32 Application