Replies: 3 comments 2 replies
-
I've realized that it occurs only when application is started twice. How can I diagnose what is wrong ? |
Beta Was this translation helpful? Give feedback.
-
I have confirmed that it's related to the Cache folder, it's not related to Clickonce. If I start one instance then change the cache folder with that : Then the second one can start. If I tried to run a 3rd one with the same setting, it crashes. |
Beta Was this translation helpful? Give feedback.
-
Workaround :
And when the application closes :
|
Beta Was this translation helpful? Give feedback.
-
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.
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
Beta Was this translation helpful? Give feedback.
All reactions