Replies: 1 comment
-
It sounds like your working directory isn't set correctly.
As per https://github.com/cefsharp/CefSharp/blob/master/CONTRIBUTING.md#help-us-help-you
Crashes in This is more likely a support issue than a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
CefSharp Version
137.0.100
Operating System
Windows 10
Architecture
x64
.Net Version
4.7.2
Implementation
WPF
Reproduction Steps
We have a WPF application that gets launched from the browser. After initialising CefSharp, the application tries to load websites as per configuration.
This used to work until CefSharp version 126. However all versions of CefSharp since 127 crash as soon as the application is launched from the browser and it tries to load any website inside a CefSharp WPF browser control.
For clarity, the same works if the application is launched directory from File Explorer.
Here are the steps to reproduce:
WpfApp1.zip
You would notice the WpfApp1 launches and then crashes right at the moment where it loads a url in the CefSharp browser.
The crash log from Windows Event Log is here:
Like I said, this used to work and still works up and until CefSharp 126 version. The commented code MainWindow1.xaml.cs would underline the options and flags we tried to work with to make this work. But it fails consistently.
The interesting part is the app works when directly launched from File Explorer.
Expected behavior
The app should work and CefSharp's Wpf Browser control should be able to open the website when the Host app is launched from browser also.
Actual behavior
The app crashes unfortunately on all Windows 10 and Windows 11 machines we tried including launching from Chrome / Edge normal tab as well as Incognito / Private tab.
Regression?
Yes, this used to work until CefSharp 126 version.
Known Workarounds
Downgrade to CefSharp 126 version for now.
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
No response
Beta Was this translation helpful? Give feedback.
All reactions