-
Notifications
You must be signed in to change notification settings - Fork 54
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]: [Fixed Version][120] Render process crashes on startup on recent dev builds #4132
Comments
With what exit code it is crashing? Is it some packaged app? cc: @lflores-ms |
The exit code is C0000022. There is no issue with access to the folder in question - it occurs with any folder. |
Hi @albahari, Thanks for reporting. We are aware of this issue and working on a solution before Stable release of 120.
|
Thanks. The workaround is effective. |
@albahari , what is the workaround? |
@YesTrustMe The workaround is to modify the ACLs as described in #4132 (comment) |
Hey @albahari @YesTrustMe - we have fixed the issue - the workaround should not be needed anymore. Let us know you still see it. |
@vbryh-msft Is this still needed for Microsoft.WebView2.FixedVersionRuntime.121.0.2277.128.x64.cab? |
@fvanheeswijk the workaround is not needed - we have fixed the issue in 120 Stable. |
@vbryh-msft Oh that explains why implementing the fix didn't change anything... Maybe it is an idea to remove it from the https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#details-about-the-fixed-version-runtime-distribution-mode documentation? I spent almost a day trying to incorporate this into our WiX installer thinking it was necessary. |
Hi @fvanheeswijk, The existing documentation is accurate. We recommend that you run ACL for Fixed Version runtimes 120 and up when used by unpackaged Win32 applications. The associated feature is currently reduced in some versions which is why you're not seeing a difference but will be fully re-enabled on newer updates. The underlying feature has different implications for each of the scenarios described in the documentation (unpackaged Win32, packaged Win32, UWP). This ACL requirement is only applicable to unpackaged Win32 apps in Windows 10. Sorry for any confusion. |
@lflores-ms In that case, how do we test that implementing the fix works? The Also, does it matter that we have deployed the Fixed Version Runtime inside the program files folder of our application? |
The output from icacls should look something like below:
Make sure the properties of the deployed Fixed Version directory show "ALL APPLICATION PACKAGES" and "ALL RESTRICTED APPLICATION PACKAGES". PowerShell also lets you check programatically with Get-Acl. The output should include the following:
The location of the Fixed Version runtime should not make a difference. |
What happened?
On recent dev builds (120.0.2172.1 and 120.0.2186.2), the render process crashes immediately when WebView2 is run from a folder other than %programfiles(x86)\Microsoft\Edge Dev\Application(version).
Is this a known issue?
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Prerelease (Edge Canary/Dev/Beta)
Runtime Version
120.0.2186.2
SDK Version
1.0.2088.41
Framework
Winforms
Operating System
Windows 11
OS Version
10.0.22621.0
Repro steps
Extract the WebView2 files from 120.0.2186.2 into c:\WebView\120.0.2186.2 and run the following:
Instead of displaying a web page, the form title shows "Error: RenderProcessExited, Crashed".
Regression
Regression in newer Runtime
Last working version (if regression)
119.0.2151.44
AB#47503407
The text was updated successfully, but these errors were encountered: