Skip to content

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

@Kay-Burchardt

Description

@Kay-Burchardt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions