Application crash with CEF 92(4515)

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.

Application crash with CEF 92(4515)

Postby naoki5 » 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.
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
naoki5
Expert
 
Posts: 105
Joined: Wed Jul 17, 2019 2:44 am

Re: Application crash with CEF 92(4515)

Postby amaitland » Wed Jul 21, 2021 1:08 am

How does a beta version of Chrome behave?
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: Application crash with CEF 92(4515)

Postby naoki5 » Wed Jul 21, 2021 1:44 am

I have Chrome(92.0.4515.107 64-bit) installed on my PC and it's working fine.
I've installed a beta version of Chrome(92.0.4515.107 beta 64-bit) and it's working fine as well.
Should I try with a debug build of Chrome(Chromium)?
naoki5
Expert
 
Posts: 105
Joined: Wed Jul 17, 2019 2:44 am

Re: Application crash with CEF 92(4515)

Postby amaitland » Wed Jul 21, 2021 2:06 am

What GPU are you using?

If you load chrome://gpu in Chrome 92 do you have GPU acceleration disabled?

Have you tested with cefclient? Or just CEF integrated into your application.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: Application crash with CEF 92(4515)

Postby naoki5 » Wed Jul 21, 2021 2:56 am

amaitland wrote:What GPU are you using?

Intel(R) UHD Graphics 630

amaitland wrote:If you load chrome://gpu in Chrome 92 do you have GPU acceleration disabled?

Code: Select all
Graphics Feature Status
Canvas: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Out-of-process Rasterization: Hardware accelerated
OpenGL: Enabled
Rasterization: Hardware accelerated
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
check_ycbcr_studio_g22_left_p709_for_nv12_support
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_decode_swap_chain
disable_direct_composition_sw_video_overlays
enable_bgra8_overlays_with_yuv_overlay_support
exit_on_context_lost
max_msaa_sample_count_4
msaa_is_slow
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
Problems Detected
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds: msaa_is_slow
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Disable DecodeSwapChain for Intel Gen9 and older devices: 1107403
Applied Workarounds: disable_decode_swap_chain
Intel GPUs fail to report BGRA8 overlay support: 1119491
Applied Workarounds: enable_bgra8_overlays_with_yuv_overlay_support
8x MSAA for WebGL contexts is slow on Win Intel: 1145793
Applied Workarounds: max_msaa_sample_count_4
Disable software overlays for Intel GPUs. All Skylake+ devices support hw overlays, older devices peform poorly.: 1192748
Applied Workarounds: disable_direct_composition_sw_video_overlays
Check YCbCr_Studio_G22_Left_P709 color space for NV12 overlay support on Intel: 1103852
Applied Workarounds: check_ycbcr_studio_g22_left_p709_for_nv12_support
ANGLE Features
allow_compressed_formats (Frontend workarounds): Enabled: true
Allow compressed formats
disable_anisotropic_filtering (Frontend workarounds): Disabled
Disable support for anisotropic filtering
disable_program_binary (Frontend features) anglebug:5007: Disabled
Disable support for GL_OES_get_program_binary
disable_program_caching_for_transform_feedback (Frontend workarounds): Disabled
On some GPUs, program binaries don't contain transform feedback varyings
enableCompressingPipelineCacheInThreadPool (Frontend workarounds) anglebug:4722: Disabled: false
Enable compressing pipeline cache in thread pool.
enable_capture_limits (Frontend features) anglebug:5750: Disabled
Set the context limits like frame capturing was enabled
lose_context_on_out_of_memory (Frontend workarounds): Enabled: true
Some users rely on a lost context notification if a GL_OUT_OF_MEMORY error occurs
scalarize_vec_and_mat_constructor_args (Frontend workarounds) 1165751: Disabled: false
Always rewrite vec/mat constructors to be consistent
sync_framebuffer_bindings_on_tex_image (Frontend workarounds): Disabled
On some drivers TexImage sometimes seems to interact with the Framebuffer
add_mock_texture_no_render_target (D3D workarounds) anglebug:2152: Disabled: isIntel && capsVersion < IntelDriverVersion(4815)
On some drivers when rendering with no render target, two bugs lead to incorrect behavior
allow_clear_for_robust_resource_init (D3D workarounds) 941620: Enabled: true
Some drivers corrupt texture data when clearing for robust resource initialization.
allow_translate_uniform_block_to_structured_buffer (D3D workarounds) anglebug:3682: Enabled: IsWin10OrGreater()
There is a slow fxc compile performance issue with dynamic uniform indexing if translating a uniform block with a large array member to cbuffer.
call_clear_twice (D3D workarounds) 655534: Disabled: isIntel && isSkylake && capsVersion < IntelDriverVersion(4771)
Using clear() may not take effect
depth_stencil_blit_extra_copy (D3D workarounds) anglebug:1452: Disabled
Bug in some drivers triggers a TDR when using CopySubresourceRegion from a staging texture to a depth/stencil
disable_b5g6r5_support (D3D workarounds): Disabled: (isIntel && capsVersion < IntelDriverVersion(4539)) || isAMD
Textures with the format DXGI_FORMAT_B5G6R5_UNORM have incorrect data
emulate_isnan_float (D3D workarounds) 650547: Disabled: isIntel && isSkylake && capsVersion < IntelDriverVersion(4542)
Using isnan() on highp float will get wrong answer
emulate_tiny_stencil_textures (D3D workarounds): Disabled: isAMD && !(deviceCaps.featureLevel < D3D_FEATURE_LEVEL_10_1)
1x1 and 2x2 mips of depth/stencil textures aren't sampled correctly
expand_integer_pow_expressions (D3D workarounds): Enabled: true
The HLSL optimizer has a bug with optimizing 'pow' in certain integer-valued expressions
flush_after_ending_transform_feedback (D3D workarounds): Disabled: isNvidia
Some drivers sometimes write out-of-order results to StreamOut buffers when transform feedback is used to repeatedly write to the same buffer positions
force_atomic_value_resolution (D3D workarounds) anglebug:3246: Disabled: isNvidia
On some drivers the return value from RWByteAddressBuffer.InterlockedAdd does not resolve when used in the .yzw components of a RWByteAddressBuffer.Store operation
get_dimensions_ignores_base_level (D3D workarounds): Disabled: isNvidia
Some drivers do not take into account the base level of the texture in the results of the HLSL GetDimensions builtin
mrt_perf_workaround (D3D workarounds): Enabled: true
Some drivers have a bug where they ignore null render targets
pre_add_texel_fetch_offsets (D3D workarounds): Enabled: isIntel
HLSL's function texture.Load returns 0 when the parameter Location is negative, even if the sum of Offset and Location is in range
rewrite_unary_minus_operator (D3D workarounds): Disabled: isIntel && (isBroadwell || isHaswell) && capsVersion < IntelDriverVersion(4624)
Evaluating unary minus operator on integer may get wrong answer in vertex shaders
select_view_in_geometry_shader (D3D workarounds): Disabled: !deviceCaps.supportsVpRtIndexWriteFromVertexShader
The viewport or render target slice will be selected in the geometry shader stage for the ANGLE_multiview extension
set_data_faster_than_image_upload (D3D workarounds): Enabled: !(isIvyBridge || isBroadwell || isHaswell)
Set data faster than image upload
skip_vs_constant_register_zero (D3D workarounds): Disabled: isNvidia
In specific cases the driver doesn't handle constant register zero correctly
use_instanced_point_sprite_emulation (D3D workarounds): Disabled: isFeatureLevel9_3
Some D3D11 renderers do not support geometry shaders for pointsprite emulation
use_system_memory_for_constant_buffers (D3D workarounds) 593024: Enabled: isIntel
Copying from staging storage to constant buffer storage does not work
zero_max_lod (D3D workarounds): Disabled: isFeatureLevel9_3
Missing an option to disable mipmaps on a mipmapped texture
Version Information
Data exported   2021-07-21T07:37:27.037Z
Chrome version   Chrome/92.0.4515.107
Operating system   Windows NT 10.0.19042
Software rendering list URL   https://chromium.googlesource.com/chromium/src/+/87a818b10553a07434ea9e2b6dccf3cbe7895134/gpu/config/software_rendering_list.json
Driver bug list URL   https://chromium.googlesource.com/chromium/src/+/87a818b10553a07434ea9e2b6dccf3cbe7895134/gpu/config/gpu_driver_bug_list.json
ANGLE commit id   6714781d1502
2D graphics backend   Skia/92 a77a4620d2fbe22ca41d1b96c1d92864c6a9ef8e
Command Line   "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --disable-features=ReadLater --flag-switches-end --origin-trial-disabled-features=SecurePaymentConfirmation
Driver Information
Initialization time   211
In-process GPU   false
Passthrough Command Decoder   true
Sandboxed   true
GPU0   VENDOR= 0x8086, DEVICE=0x3e92, SUBSYS=0x317617aa, LUID={0,55135} *ACTIVE*
GPU1   VENDOR= 0x1414, DEVICE=0x008c, LUID={0,56395}
Optimus   false
AMD switchable   false
Desktop compositing   Aero Glass
Direct composition   true
Supports overlays   true
YUY2 overlay support   SCALING
NV12 overlay support   SCALING
BGRA8 overlay support   SCALING
RGB10A2 overlay support   SOFTWARE
Diagonal Monitor Size of \\.\DISPLAY1   23.7"
Driver D3D12 feature level   D3D 12.1
Driver Vulkan API version   Vulkan API 1.2.0
Driver vendor   Intel
Driver version   27.20.100.8783
GPU CUDA compute capability major version   0
Pixel shader version   5.0
Vertex shader version   5.0
Max. MSAA samples   16
Machine model name   
Machine model version   
GL_VENDOR   Google Inc. (Intel)
GL_RENDERER   ANGLE (Intel, Intel(R) UHD Graphics 630 Direct3D11 vs_5_0 ps_5_0, D3D11-27.20.100.8783)
GL_VERSION   OpenGL ES 2.0.0 (ANGLE 2.1.15711 git hash: 6714781d1502)
GL_EXTENSIONS   GL_ANGLE_base_vertex_base_instance GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_get_serialized_context_string GL_ANGLE_get_tex_level_parameter GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_lose_context GL_CHROMIUM_sync_query GL_EXT_EGL_image_external_wrap_modes GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_draw_elements_base_vertex GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_multisampled_render_to_texture GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_EAC_R11_signed_texture GL_OES_compressed_EAC_R11_unsigned_texture GL_OES_compressed_EAC_RG11_signed_texture GL_OES_compressed_EAC_RG11_unsigned_texture GL_OES_compressed_ETC2_RGB8_texture GL_OES_compressed_ETC2_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture GL_OES_compressed_ETC2_sRGB8_alpha8_texture GL_OES_compressed_ETC2_sRGB8_texture GL_OES_depth24 GL_OES_depth32 GL_OES_draw_elements_base_vertex GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_vertex_array_object GL_WEBGL_video_texture
Disabled Extensions   GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions   
Window system binding vendor   Google Inc. (Intel)
Window system binding version   1.5 (ANGLE 2.1.15711 git hash: 6714781d1502)
Window system binding extensions   EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_display_semaphore_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_ANGLE_image_d3d11_texture EGL_ANGLE_create_context_backwards_compatible EGL_KHR_create_context_no_error EGL_KHR_reusable_sync
Direct rendering version   unknown
Reset notification strategy   0x8252
GPU process crash count   0
gfx::BufferFormats supported for allocation and texturing   R_8: not supported, R_16: not supported, RG_88: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, P010: not supported
Compositor Information
Tile Update Mode   One-copy
Partial Raster   Enabled
GpuMemoryBuffers Status
R_8   Software only
R_16   Software only
RG_88   Software only
BGR_565   Software only
RGBA_4444   Software only
RGBX_8888   GPU_READ, SCANOUT
RGBA_8888   GPU_READ, SCANOUT
BGRX_8888   Software only
BGRA_1010102   Software only
RGBA_1010102   Software only
BGRA_8888   Software only
RGBA_F16   Software only
YVU_420   Software only
YUV_420_BIPLANAR   GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE
P010   Software only
Display(s) Information
Info   Display[2528732444] bounds=[0,0 2048x1152], workarea=[0,0 2048x1112], scale=1.25, rotation=0, panel_rotation=0 external.
Color space (sRGB/no-alpha)   {primaries_d50_referred: [[0.6553, 0.3301], [0.2852, 0.6348], [0.1445, 0.0498]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (sRGB/no-alpha)   BGRX_8888
Color space (sRGB/alpha)   {primaries_d50_referred: [[0.6553, 0.3301], [0.2852, 0.6348], [0.1445, 0.0498]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (sRGB/alpha)   BGRA_8888
Color space (WCG/no-alpha)   {primaries_d50_referred: [[0.6553, 0.3301], [0.2852, 0.6348], [0.1445, 0.0498]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (WCG/no-alpha)   BGRX_8888
Color space (WCG/alpha)   {primaries_d50_referred: [[0.6553, 0.3301], [0.2852, 0.6348], [0.1445, 0.0498]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (WCG/alpha)   BGRA_8888
Color space (HDR/no-alpha)   {primaries_d50_referred: [[0.6553, 0.3301], [0.2852, 0.6348], [0.1445, 0.0498]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (HDR/no-alpha)   BGRX_8888
Color space (HDR/alpha)   {primaries_d50_referred: [[0.6553, 0.3301], [0.2852, 0.6348], [0.1445, 0.0498]], transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Buffer format (HDR/alpha)   BGRA_8888
SDR white level in nits   80
Bits per color component   8
Bits per pixel   24
Refresh Rate in Hz   59
Video Acceleration Information
Decode h264 baseline   64x64 to 4096x4096 pixels
Decode h264 main   64x64 to 4096x4096 pixels
Decode h264 high   64x64 to 4096x4096 pixels
Decode vp9 profile0   64x64 to 8192x8192 pixels
Decode vp9 profile2   64x64 to 8192x8192 pixels
Encode h264 baseline   0x0 to 1920x1088 pixels, and/or 30.000 fps
Encode h264 main   0x0 to 1920x1088 pixels, and/or 30.000 fps
Encode h264 high   0x0 to 1920x1088 pixels, and/or 30.000 fps
Vulkan Information
Device Performance Information
Total Physical Memory (Gb)   15
Total Disk Space (Gb)   475
Hardware Concurrency   6
System Commit Limit (Gb)   18
D3D11 Feature Level   12_1
Has Discrete GPU   no
Intel GPU Generation   9
Software Rendering   No
Diagnostics
0
b3DAccelerationEnabled   true
b3DAccelerationExists   true
bAGPEnabled   true
bAGPExistenceValid   true
bAGPExists   true
bCanRenderWindow   true
bDDAccelerationEnabled   true
bDriverBeta   false
bDriverDebug   false
bDriverSigned   false
bDriverSignedValid   false
bNoHardware   false
dwBpp   32
dwDDIVersion   12
dwHeight   1440
dwRefreshRate   59
dwWHQLLevel   0
dwWidth   2560
iAdapter   0
lDriverSize   1469992
lMiniVddSize   0
szAGPStatusEnglish   Enabled
szAGPStatusLocalized   使用可能
szChipType   Intel(R) UHD Graphics Family
szD3DStatusEnglish   Enabled
szD3DStatusLocalized   使用可能
szDACType   Internal
szDDIVersionEnglish   12
szDDIVersionLocalized   12
szDDStatusEnglish   Enabled
szDDStatusLocalized   使用可能
szDXVAHDEnglish   Supported
szDXVAModes   ModeMPEG2_A ModeMPEG2_C ModeWMV9_C ModeVC1_C
szDescription   Intel(R) UHD Graphics 630
szDeviceId   0x3E92
szDeviceIdentifier   {D7B78E66-7DD2-11CF-5556-1211BBC2D635}
szDeviceName   \\.\DISPLAY1
szDisplayMemoryEnglish   8268 MB
szDisplayMemoryLocalized   8268 MB
szDisplayModeEnglish   2560 x 1440 (32 bit) (59Hz)
szDisplayModeLocalized   2560 x 1440 (32 bit) (59Hz)
szDriverAssemblyVersion   27.20.100.8783
szDriverAttributes   Final Retail
szDriverDateEnglish   2020/09/24 9:00:00
szDriverDateLocalized   9/24/2020 09:00:00
szDriverLanguageEnglish   English
szDriverLanguageLocalized   英語
szDriverModelEnglish   WDDM 2.7
szDriverModelLocalized   WDDM 2.7
szDriverName   C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_3d9cbc061473a40a\igdumdim64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_3d9cbc061473a40a\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_3d9cbc061473a40a\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_3d9cbc061473a40a\igd12umd64.dll
szDriverNodeStrongName   oem41.inf:5f63e5340f714335:iCFL_w10_DS:27.20.100.8783:PCI\VEN_8086&DEV_3E92&SUBSYS_317617AA
szDriverSignDate   Unknown
szDriverVersion   27.20.0100.8783
szKeyDeviceID   Enum\PCI\VEN_8086&DEV_3E92&SUBSYS_317617AA&REV_00
szKeyDeviceKey   \Registry\Machine\System\CurrentControlSet\Control\Video\{3FEEDC3A-24B5-11EB-91E1-A2E414063307}\0000
szManufacturer   Intel Corporation
szMiniVdd   不明
szMiniVddDateEnglish   Unknown
szMiniVddDateLocalized   不明
szMonitorMaxRes   Unknown
szMonitorName   LEN P24q-20
szNotesEnglish   No problems found.
szNotesLocalized   問題は見つかりませんでした。
szOverlayEnglish   Supported
szRankOfInstalledDriver   00CF0001
szRegHelpText   Unknown
szRevision   Unknown
szRevisionId   0x0000
szSubSysId   0x317617AA
szTestResultD3D7English   Not run
szTestResultD3D7Localized   実行されていません
szTestResultD3D8English   Not run
szTestResultD3D8Localized   実行されていません
szTestResultD3D9English   Not run
szTestResultD3D9Localized   実行されていません
szTestResultDDEnglish   Not run
szTestResultDDLocalized   実行されていません
szVdd   不明
szVendorId   0x8086
Log Messages
GpuProcessHost: The info collection GPU process exited normally. Everything is okay.


amaitland wrote:Have you tested with cefclient? Or just CEF integrated into your application.

cefclient does not crash.
naoki5
Expert
 
Posts: 105
Joined: Wed Jul 17, 2019 2:44 am

Re: Application crash with CEF 92(4515)

Postby amaitland » Wed Jul 21, 2021 4:23 am

How does your application differ from cefclient?
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: Application crash with CEF 92(4515)

Postby ndesktop » Wed Jul 21, 2021 4:36 am

What happens is probably a RPC_E_CHANGED_MODE HRESULT returned from a CoInitialize(Ex), OleInitialize etc.
This DCHECKs (more accurately, DCHECK_NE) on scoped_com_initializer.cc in ScopedCOMInitializer::Initialize.
This is probably why it bonks in debug but not in release (it's a DCHECK, not CHECK).

I'm not sure what the differences are between process types (ScopedCOMInitializer can be initialized with both STA and MTA, and masked with COINIT_DISABLE_OLE1DDE).

99% you have a CoInitialize with MTA, for example, and GPU process uses STA (I'm not saying this is the case, only what *could* be).
It's ugly, but I think your CoInitialize, if any, should be something like
Code: Select all
type = GetProcessType(); // "browser", "renderer", "gpu", "utility" etc
if (type == "browser")
  CoInitializeEx(nullptr, chrome_browser_coinit_flags);
...
else if (type == "gpu")
  CoInitializeEx(nullptr, chrome_gpu_coinit_flags);
...

Then it is a matter of checking if 1. are there differences between Chrome process types in regard of COM initialization and 2. mimic what they are doing if you initialize COM.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Re: Application crash with CEF 92(4515)

Postby naoki5 » Wed Jul 21, 2021 5:55 am

amaitland wrote:How does your application differ from cefclient?


After the application window is displayed, it crashes just before the page is drawn.
naoki5
Expert
 
Posts: 105
Joined: Wed Jul 17, 2019 2:44 am

Re: Application crash with CEF 92(4515)

Postby naoki5 » Wed Jul 21, 2021 6:07 am

ndesktop wrote:What happens is probably a RPC_E_CHANGED_MODE HRESULT returned from a CoInitialize(Ex), OleInitialize etc.
This DCHECKs (more accurately, DCHECK_NE) on scoped_com_initializer.cc in ScopedCOMInitializer::Initialize.
This is probably why it bonks in debug but not in release (it's a DCHECK, not CHECK).

I'm not sure what the differences are between process types (ScopedCOMInitializer can be initialized with both STA and MTA, and masked with COINIT_DISABLE_OLE1DDE).

99% you have a CoInitialize with MTA, for example, and GPU process uses STA (I'm not saying this is the case, only what *could* be).
It's ugly, but I think your CoInitialize, if any, should be something like
Code: Select all
type = GetProcessType(); // "browser", "renderer", "gpu", "utility" etc
if (type == "browser")
  CoInitializeEx(nullptr, chrome_browser_coinit_flags);
...
else if (type == "gpu")
  CoInitializeEx(nullptr, chrome_gpu_coinit_flags);
...

Then it is a matter of checking if 1. are there differences between Chrome process types in regard of COM initialization and 2. mimic what they are doing if you initialize COM.


My application calls CoInitialize in multiple places.
I find out which call is the problem.
naoki5
Expert
 
Posts: 105
Joined: Wed Jul 17, 2019 2:44 am

Re: Application crash with CEF 92(4515)

Postby ndesktop » Wed Jul 21, 2021 7:30 am

The one from the main application thread is the one that matters. Whatever other worker threads that might need CoInitialize you can ignore.
Also check for OleInitialize as well.
ndesktop
Master
 
Posts: 750
Joined: Thu Dec 03, 2015 10:10 am

Next

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 36 guests