Replies: 2 comments 7 replies
-
See https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting#unmanaged-crashes-when-the-process-dies
I haven't had the need to try either.
There are major upstream changes in this time period. https://github.com/cefsharp/CefSharp/releases/tag/v127.3.50
|
Beta Was this translation helpful? Give feedback.
-
We're also experiencing the same with recent releases: libcef.dll exception code 0x80000003 at startup. We're not using a different shell, simply having our app launched by Windows at startup via the Registry (Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run). Similar to reports above, we only get the crash when the app is launched automatically; it runs fine when launched manually. Introducing an extended delay (30s) before CEF is initialized and used, as a test, made no difference, the crash remained. We have just managed to get a crashpad dump, trying to figure out how to decode that now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have developed a simple program that opens a browser window, displays a URL, and refreshes it every 120 seconds. The program runs on a terminal that is automatically started via a .bat file in Kiosk Mode (using Alternate Shell -->https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsLogon2::CustomShell) to prevent non-admins from making changes.
The program works flawlessly with CefSharp Version 126.2.180, but starting with Version 127.3.50, I encounter the error "Breakpoint encountered in the source program." Interestingly, the program works perfectly when a user logs in manually to the terminal and starts the program.
For troubleshooting, I tried the following:
Debugging with MessageBoxes: Added MessageBoxes at key steps in the program, but it didn’t help.
cef_log.txt: The log file provided no additional insights.
Windows Event Viewer: It didn’t show any relevant information.
VC++ Version: 2019.
Testing with different .NET Framework versions: Both .NET Framework 4.6.2 and 4.8 showed no improvement.
The terminal's operating system is Windows 10 Enterprise LTSC, Version 21H2.
Development environment: C# in Visual Studio 2022.
Has anyone experienced similar issues related to CefSharp, Alternate Shell, or Kiosk Modes? Are there any known changes introduced in version 127.3.50 that might cause this behavior?
Beta Was this translation helpful? Give feedback.
All reactions