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

[Problem/Bug]: When using the Win11 desktop store version, the Webview2 Render process crashes #4839

Open
sadfklsdslk opened this issue Sep 30, 2024 · 6 comments
Assignees
Labels
bug Something isn't working regression Something used to work but doesn't anymore

Comments

@sadfklsdslk
Copy link

sadfklsdslk commented Sep 30, 2024

What happened?

Package the Win32 program into the Win11 desktop store version, pull up webview2, the webview2 process will call ProcessFailed, and the webview2 process crash error code is COREWEBVIEW2-Process_SFAILED-KIND-RENDER_PROCESS EXITED. Recently appeared. The Win10 store version is normal, but the Win11 store version will have this issue. Non store version, any system can work properly! May I ask why webview2 crashes in the Win11 store version?

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

129.0.2792.65

SDK Version

1.0.1823.32

Framework

Win32

Operating System

Windows 11

OS Version

22631.4169

Repro steps

Package the win32 program and upload it to the win11 store. Install or download the store version of appx from the win11 store, but when you open it, the webview2 process crashes. This is a webview2 crash dump.

bbd870cb-fa00-4000-8b4d-922fa39f3cd9.dmp
EBWebView.zip

企业微信截图_17276084363586

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

1.0.1823.32

@sadfklsdslk sadfklsdslk added the bug Something isn't working label Sep 30, 2024
Copy link

Hi, @sadfklsdslk!

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 github-actions bot added the regression Something used to work but doesn't anymore label Sep 30, 2024
@sadfklsdslk
Copy link
Author

bbd870cb-fa00-4000-8b4d-922fa39f3cd9.dmp

Hi, @sadfklsdslk!

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!

I have provided the dump file

@vbryh-msft
Copy link
Contributor

You reported it earlier - #3803 - looks like the same? Error code in this new dump is also 0x3cfc | 15612 | ERROR_NEEDS_REMEDIATION | The application cannot be started. Try reinstalling the application to fix the problem. There is something wrong with installation...

@sadfklsdslk
Copy link
Author

You reported it earlier - #3803 - looks like the same? Error code in this new dump is also 0x3cfc | 15612 | ERROR_NEEDS_REMEDIATION | The application cannot be started. Try reinstalling the application to fix the problem. There is something wrong with installation...

Thank you for your concern and response. Sorry, I may have uploaded an incorrect installation package earlier. I am now re uploading the correct appx installation package. When installing and running, you will see that the webview2 process is crashing. This problem looks the same, but it's actually different. I was able to successfully load it using the no sanbox command line before. It's not possible now. I can't run it no matter what. The Win11 store version is very frustrating. There are no issues with the Win10 store version, including not using NosanBox.

https://drive.weixin.qq.com/s?k=AJEAIQdfAAoejxOVXW

@sadfklsdslk
Copy link
Author

You reported it earlier - #3803 - looks like the same? Error code in this new dump is also 0x3cfc | 15612 | ERROR_NEEDS_REMEDIATION | The application cannot be started. Try reinstalling the application to fix the problem. There is something wrong with installation...

After each installation, it can only run once. If you reopen it, it won't run anymore. Because I found that the Win11 system may have detected too many webview2 crashes and directly disabled my program from running. So I need to uninstall and reinstall my program before it can continue running.
image

@sadfklsdslk
Copy link
Author

You reported it earlier - #3803 - looks like the same? Error code in this new dump is also 0x3cfc | 15612 | ERROR_NEEDS_REMEDIATION | The application cannot be started. Try reinstalling the application to fix the problem. There is something wrong with installation...

Has there been any progress in the msdgewebview2.exe process crash feedback?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore
Projects
None yet
Development

No branches or pull requests

3 participants