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]: Getting the error STATUS_ACCESS_VIOLATION while accessing window.chrome.webview #4858

Open
Limanima opened this issue Oct 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Limanima
Copy link

Limanima commented Oct 9, 2024

What happened?

While accessing the property window.chrome.webview I'm getting the error STATUS_ACCESS_VIOLATION.
This happens in a simple if statement like so:
if (window.chrome.webview == null)
I have an winforms app that is hosting a third party page that has that code. I don't have much info about the third party page, but a simple html test page with this code works. The third party page when opened in Edge also works.

I'm receiving the event CoreWebView2.ProcessFailed. The CoreWebView2ProcessFailedEventArgs has the following data:

ExitCode: -1073741819
FailureSourceModulePath: ""
FrameInfosForFailedProcess: null
ProcessDescription: ""
ProcessFailedKind: RenderProcessExited
Reason: Crashed

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.79

SDK Version

1.0.2792.45

Framework

Winforms

Operating System

Windows 10, Windows 11

OS Version

No response

Repro steps

The only way I can reproduce the problem is by using the third party page. I don't have much info about this page.

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

@Limanima Limanima added the bug Something isn't working label Oct 9, 2024
@Limanima
Copy link
Author

Let me add, that if needed, I can contact the third party web app team and ask them to run some tests.

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

No branches or pull requests

1 participant