MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
453 stars 55 forks source link

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

Open sadfklsdslk opened 1 month ago

sadfklsdslk commented 1 month ago

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

github-actions[bot] commented 1 month ago

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!

sadfklsdslk commented 1 month ago

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 commented 1 month ago

You reported it earlier - https://github.com/MicrosoftEdge/WebView2Feedback/issues/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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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?