Skip to content
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

Process crash after using OpenDefaultDownloadDialog #3701

Closed
lezzi opened this issue Aug 10, 2023 · 4 comments
Closed

Process crash after using OpenDefaultDownloadDialog #3701

lezzi opened this issue Aug 10, 2023 · 4 comments
Assignees
Labels
bug Something isn't working status-circle back Check back after requesting general information.

Comments

@lezzi
Copy link

lezzi commented Aug 10, 2023

Description
Using the CoreWebView2.OpenDefaultDownloadDialog method crashes a WebView2 process.

The issue became reproducible on the Edge Canary 117.0.2026.0 runtime.

Version
SDK: 1.0.1722.45, 1.0.1988-prerelease
Runtime: Edge Canary 117.0.2026.0.
Framework: WPF
OS: Windows 11 Pro 22H2 22621.1992

Regression
Last time it worked properly on the Edge Canary 117.0.2024.0 runtime.

Repro Steps

  1. Download and install the latest Edge Canary runtime.
  2. Clone the official WebView2WpfBrowser.
  3. Modify the CreationProperties to use the BYOWebView2CreationProperties as mentioned in the code comments.
  4. Set the BrowserExecutableFolder to the installed Edge Canary runtime folder.
    • The default path looks like C:\Users\Username\AppData\Local\Microsoft\EdgeCore\117.0.2026.0.
  5. Start the browser and add the "Downloads" button by using the "View" -> "Create Downloads Button" menu item.
  6. Click on the "Downloads" button.

Expected: A default download dialog is shown.
Actual: A browser process crashes.

Screenshots
downloads-crash

@lezzi lezzi added the bug Something isn't working label Aug 10, 2023
@novac42 novac42 added the status-circle back Check back after requesting general information. label Aug 11, 2023
@novac42
Copy link
Contributor

novac42 commented Aug 11, 2023

@lezzi Thanks for reporting the issue. May you share dump of the process?

@lezzi
Copy link
Author

lezzi commented Aug 11, 2023

@novac42 attaching the WebView2 crash_dump.zip. Let me know if you need anything else.

@lezzi
Copy link
Author

lezzi commented Aug 11, 2023

Looks like it is no longer reproducible using the new Canary 117.0.2032.0 runtime.

@novac42
Copy link
Contributor

novac42 commented Aug 14, 2023

@lezzi Thanks for the update! I will close it for now then and feel free to reopen it if the issue come back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status-circle back Check back after requesting general information.
Projects
None yet
Development

No branches or pull requests

3 participants