-
Notifications
You must be signed in to change notification settings - Fork 51
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
[Problem/Bug]: App crashes when you try to create WebView2 and CEF browsers. #4343
Comments
Hi, @salvadordf! It seems that your issue contains the word "crash". If you have not already, could you attach a crash dump as a comment? WV2 crash dumps are located in a subfolder of the app's user data folder (UDF): Thank you for your cooperation! |
The \EBWebView\Crashpad\reports\ directory is empty but the CEF browser creates a debug.log file with this FATAL error : Here you have a C# demo to reproduce the crash and the debug log : |
After further investigation I could see that this issue only happens when the application uses different versions of Chromium and Edge. |
Experiencing the same issue (crash when loading CEF) with CEF 114 and WebView2 121 in an application containing both browsers. I'm getting an unhandled exception in libcef.dll : "0xC000001D: Illegal Instruction." in debug. We did not have the issue before the 02/05 WebView2 121.0.2277.98 update. Using a fixed version 120 for WebView2 fixes the issue but it's not ideal. |
Consider updating CEF and WebView2 to 121 if possible. |
Thanks for the answer. It also seems any old CEF version is incompatible with WV2 121. We've tried CEF 86, 100, 114 with no success. I'll update this thread if I find a way to get CEF and WV2 running reliably with disjointed versions. |
We were affected by this issue and I've posted an analysis here which may be helpful if any Edge developers are watching this: |
What happened?
When you try to use create a WebView2 browser and a CEF browser in the same application you get a 0xC000001D system exception and the application crashes.
We have detected this issue in CEFSharp, CEF4Delphi and WebView4Delphi projects. See this discussion :
cefsharp/CefSharp#4703
This issue starts as soon as Windows updates WebView2 to 121.x or CEF is updated to 121.x
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
120.0.2210.144
SDK Version
1.0.2210.55
Framework
Other
Operating System
Windows 10
OS Version
19045.3996
Repro steps
Create a CEF browser control and add it to the form. Then create a WebView2 browser control and add it to the form.
If you use CEF 120 and WebView2 121 then the crash occurs if the CEF control is created first. This is the case of the C# example in the linked discussion.
If you use CEF 121 and WebView2 120 then the crash occurs if the WebView2 control is created first. This is the case of Delphi applications.
Repros in Edge Browser
No
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: