Replies: 5 comments 11 replies
-
I need to add one information, that I stumbled upon minutes ago. |
Beta Was this translation helpful? Give feedback.
-
Allow me to add that this issue also affects other CEF and WebView2 wrappers. |
Beta Was this translation helpful? Give feedback.
-
We have the same problem - as our users get updated to Webview2 121 - our winforms application broke - it uses CEF 120. It seems that rollback of the Webview2 is not possible in our environment. Assuming we will need to wait for an updated CEFSharp Nuget package that uses CEF 121 to resove this issue. Thank you so much for tracking this and for everything you do @salvadordf ! |
Beta Was this translation helpful? Give feedback.
-
Same issue here. I have,
For us, the application simply hangs and closes the application entirely. This is the error message in
I cannot find anything by using try/catch. I could not exactly decipher what |
Beta Was this translation helpful? Give feedback.
-
We first saw this issue around February 5th on one of our software products and the symptoms are exactly as described. A few notes that may help from our own investigation:
Running
Immediately prior to the crash you can see the following log output:
That's about where we got to before we switched focus to implementing a workaround versus determining the root cause, but maybe it's of help to others pursuing this issue. |
Beta Was this translation helpful? Give feedback.
-
Is there an existing issue for this?
CefSharp Version
120.2.70
Operating System
Windows 10
Architecture
x64
.Net Version
.Net 4.7.2
Implementation
WinForms
Reproduction Steps
We have the same problem in our main application, but for reproduction purposes I created a very small windows forms test solution, consisting only of a window with a docked tablelayoutpanel inside to show both controls side by side. the exact same error occurs.
It started with Microsofts rollout of webview2 121. With webview2 120 this problem does not occur.
Microsoft stopped the rollout of webview2 and re-released it on the second of february, but we have the same problem with both versions of webview 121.
This happens only when having webview2 121 installed. Be warned, that downgrading webview2 is quite hard,
so when testing this, try webview <=120 first, before updating through windows installer or the resource download from the Microsoft update catalog:
https://www.catalog.update.microsoft.com/Search.aspx?q=Microsoft%20Edge%20WebView2%20Runtime
Expected behavior
Both controls should load and render any html.
Actual behavior
If both controls are enabled, the process crashes with following error in console:
[0202/152150.230:FATAL:hwnd_util.cc(64)] 1400
This is also the only information, that is logged into the debug.log file.
Trying to try/catch this, does not work. The client directly closing. In the windows event viewer, I can then find:
When removing or commenting one or the other control, the test application runs and loads without problem.s
Regression?
No response
Known Workarounds
Downgrading WebView2 to 120 is "a workaround" but not feasible for our hundreds of customers,
because it is deployed through windows update and they are not that tech-savvy.
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
I placed the libcef.dll.pdbs of version 120.2.7 next to the libcef.dll.
It did not add any additional line to the debug.log.
Beta Was this translation helpful? Give feedback.
All reactions