-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
OnProtocolExecution: crash when using CefBrowser->StopLoad() with allow_os_execution = true #3851
Comments
I also confront the same issue , even I apply the patch :#3821 |
Similar. The verbose logging seems a little more useful
|
It appears to be a threading issue. The internal callback is getting yanked out from under the handler. Basically, it works if the OnProtocolExecution call returns semi immediately. But if there is a delay in the response it crashes and burns. @magreenblatt I assume it is the |
Don't know if it helps in any way but I am assuming these protocol issues were introduced by the changes associated with this https://docs.google.com/document/d/1LjxHl32fE4tCKugrK_PIso7mfXQVEeoD1wSnX2y0ZU8/edit?usp=sharing&resourcekey=0-d1gP4X2sG7GPl9mlTeptIA |
Using CefBrowser->StopLoad() with allow_os_execution = true causes a crash on CEF128+. chromiumembedded/cef#3851 In order to avoid the crash, specifying allow_os_execution = false on CEF128+, but this blocks to execute applications installed in OS. E.g. Zoom application for Windows. We should specify allow_os_execution = true after the bug on CEF128+ is fixed.
Describe the bug
This is similar to #3821.
My application implements the
OnProtocolExecution
handler like below.This implementation crashes when opening zoom addresses.
This implementation works fine on CEF 127, but crashes on CEF128+.
This implementation crashes even on 131.2.7+g9a14dc9+chromium-131.0.6778.86, while it seems that the fix for #3821, I mean 0860ec2, is already applied to that version.
To Reproduce
Expected behavior
A pop-up asking if we want to open the installed zoom appears.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Additional context
Does the problem reproduce with the cefclient or cefsimple sample application at the same version?
browser->StopLoad();
andallow_os_execution = true;
inOnProtocolExecution
.Does the problem reproduce with Google Chrome at the same version?
Add any other context about the problem here.
Here is a stack trace when crashing.
The text was updated successfully, but these errors were encountered: