-
Notifications
You must be signed in to change notification settings - Fork 467
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
win: Crash in autofill::ShowSaveBubble #3796
Comments
From the call stack (and code here) it looks like another instance of #3763 (comment) (the part about FindBrowserWithTab). |
You can disable autofill as described at https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=19898&start=10#p55813 |
@mattwildgoose Can you provide the HTML (or URL) for reproducing these steps?
|
Thanks, found it at https://github.com/mattwildgoose/CefSharpIssue/blob/main/WebApp/wwwroot/Profile.html |
I'm also unable to reproduce this crash in cefclient (M130). The autofill bubble works as expected with |
Looks like the autocomplete code was substantially rewritten in https://issuetracker.google.com/issues/40281981 (~M129 timeframe), and this crashing code path is no longer triggered. |
@mattwildgoose Can you test if this issue is resolved for you in M129? Thanks. |
Closing this issue as likely fixed in M130 (and maybe M129). |
I had a similar problem using M129: Starting up with the --disable-features flag did not work. My workaround was to disable the settings in an CustomLifespanHandler.
Maybe this helps someone. |
Describe the bug
When running a .NET 4.8 WinForms application using the CefSharp ChromiumWebBrowser control and navigating to a html page containing inputs for Street, Town and Postcode, typing any value in all these fields then submitting the form, the hosting application crashes with a fault in libcef.dll
To Reproduce
I have created a sample repo at https://github.com/mattwildgoose/CefSharpIssue. This contains both a sample WinForms app and a web app with a simple html file used to reproduce the issue.
Steps to reproduce the behavior:
Expected behavior
The form should submit successfully and browser remain functional
Versions (please complete the following information):
Additional context
Does the problem reproduce with the cefclient or cefsimple sample application at the same version?
I tried to reproduce with the cefclient trying each of the following command lines but could not reproduce with any
.\cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style
.\cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style --lang=en-GB
.\cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style --enable-chrome-runtime --lang=en-GB
With the cefclient after submitting the form it opens the dialog asking if you want to save the address against your profile, this isn't available when using CefSharp to my knowledge.
Does the problem reproduce with Google Chrome at the same version?
The problem does not reproduce in Google Chrome which opens the same dialog as cefclient asking about saving the address
Add any other context about the problem here.
The problem appears to have come in with the switch from Alloy to Chrome Bootstrap and reverting to Alloy resolves the problem. Also if you don't set the CefSettings.Locale and leave as default (en-US) then you don't get the issue either.
On the CefSharp issue related to the change to the Chrome Bootstrap it requests to log related issues here, hence why I'm raising here rather than in the CefSharp repo.
The exception you get is
Unhandled exception at 0x00007FFE050B86D4 (libcef.dll) in Browser.exe.43284.dmp: 0xC0000005: Access violation reading location 0x00000000000001F8.
Stack Trace:
StackTrace.txt
The text was updated successfully, but these errors were encountered: