WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

[Problem/Bug]: Webview2 crashes when web application opens PDF as blob in new window

Open Kay-Burchardt opened this issue 2 months ago • 2 comments

What happened?

Our product embeds Webview2 to display web content. There is a scenario where a web application opens multiple PDF documents as blob: URLs in new windows. When opening the third or fourth document in that way, the Webview2 process stack often crashes. The crash pad contained a dump and I'm attaching it. Please fix the issue and/or advise how we could avoid it.

1d38e09d-6854-4f1a-bc52-718d2365b9e8.dmp

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

141.0.3537.99

SDK Version

1.0.2903.48

Framework

Win32

Operating System

Windows 11

OS Version

Windows 11 v10.0.22631 [Enterprise Edition] 64-bit

Repro steps

Web application in Webview2 lists multiple invoices. User chooses to display an invoice. Web application fetches the invoice in PDF format and creates an object url for it, then opens the blob url in new window. This initially works as expected, but when the user displays the third or fourth invoice in that way, the Webview2 process stack crashes. Dump from Crash Pad is attached.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

Kay-Burchardt avatar Oct 29 '25 11:10 Kay-Burchardt

Hi, @Kay-Burchardt!

It seems that your issue contains the word "crash". If you have not already, could you attach a crash dump as a comment?

WV2 crash dumps are located in a subfolder of the app's user data folder (UDF): <UDF>\EBWebView\Crashpad\reports\. By default, the user data folder is created in the app's folder with a name like <App Exe Name>.exe.WebView2. Refer to Crash Diagnostics for more information.

Thank you for your cooperation!

github-actions[bot] avatar Oct 29 '25 11:10 github-actions[bot]