cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.76k stars 2.92k forks source link

Random crash while using a Clickonce application with CefSharp 124.3.80 #4816

Closed yefka closed 1 month ago

yefka commented 1 month ago

Is there an existing issue for this?

CefSharp Version

124.3.80

Operating System

Windows 11

Architecture

x64

.Net Version

.Net 4.7.2

Implementation

WinForms

Reproduction Steps

Since I upgraded from 117.* to 124.3.80 I get some random crash while starting the application. No .Net exception is raised, and on the Debug console I just get an error message "Access Violation". I've joined here a screenshot of the EventLog.

image

The errors occurs on the application startup, during CefSharp initialization. I only got this behavior while using a Clickonce application, it didn't occur with the 117.* version and below.

Expected behavior

It should not crash.

Actual behavior

About 90% of the time, the app crashes on startup

Regression?

Yes

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response