-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OffScreen multithreading result gives fault in libcef.dll #2965
Comments
There's nothing usable here, you need to get a proper stacktrace. Download http://opensource.spotify.com/cefbuilds/cef_binary_75.1.14%2Bgc81164e%2Bchromium-75.0.3770.100_windows64_release_symbols.tar.bz2 and extract the
Link is broken, please fix. This will likely be closed as |
A sorry the link is fixed: https://github.com/kevingoos/CefSharpTest I am trying to get more info out of it, but I cannot find any way... I added the pdb files but no extra info This is what I get in the debug.log file:
I have no further clue where to look... |
I enabled native code debugging... With call stack:
|
Making as
|
Thx moving the intialize is the sollution... |
I'm getting the same error in my WinForms application recently on several customer PCs, too. Worked very well since month/years. The issue occurs when exiting the application. It works correctly from start to finish, the error only occurs after the application is closed. The issue also occurs only randomly. I.e. not on every exit, but only sometimes. Other times, no error occurs.
Happens on Windows 7 primarily. I'm wild-guessing that a more recent NuGet update of CefSharp introduced this. Currently I'm not calling |
Have you solved your problem? I have the same problem |
So in my case, I moved the Cef.Initialize and the Cef.Shutdown outside the thread in the main program. And this solves the problem for me... |
If @LFDCC is refering to my posting, I do not have yet enough user feedback, whether the addition of |
The issue outlined here is very specified to calling Cef.Intiailize in a non thread safe fashion (as I've detailed above
As per the Known Issues section of the 75.1.141 Release Notes. What you are seeing is most likely a bug in CEF. |
I am using CefSharp Offscreen and started encountering this issue in production after upgrading to version 75. My code was already calling Initialize and Shutdown on the main thread, so I had a look at the example given by @amaitland:
and I can confirm that adding this line of code solved the problem for me:
|
Bug Report
What version of the product are you using?
What architecture x86 or x64?
On what operating system?
Are you using
WinForms
,WPF
orOffScreen
?What steps will reproduce the problem?
What is the expected output? What do you see instead?
Please provide any additional information below.
I added a simple sample on github to investigate: https://github.com/kevingoos/CefSharpTest
The debug.log file contains no errors
Does this problem also occur in the
CEF
Sample Application from http://opensource.spotify.com/cefbuilds/index.html?The text was updated successfully, but these errors were encountered: