-
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]: WebView2 show blank , error: COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED #3862
Comments
@wuyouqiang I am unable to repro the issue in our sample app, tried navigating to https://www.bing.com and https://www.microsoft.com. |
Can we analyze the possible causes from the error message? |
@wuyouqiang Do you think the RenderProcessExited documentation here is helpful? |
sorry for delay, it cannot be reproduced in my pc ; |
Environment: win10, but there is redirection on the computer, redirect the user directory of C drive to D drive |
|
hi ,use the sample , it still show blank, (for any url); |
@wuyouqiang Can you check whether there are any dump files generated. Instructions here to collect the info https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/diagnostics/crash.md Also can you share the ExitCode from the ProcessFailed event. |
thanks, we check the user1 folder: \EBWebView\Crashpad\reports you can check the errorcode (COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED) 。 |
@wuyouqiang Clicking on the attachment link takes me to this gitHub issue page. |
sorry, i reattach the file. |
@wuyouqiang I am looking for ExitCode from the ProcessFailedEventArgs. Can we also get a ETW trace https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/diagnostics/etw.md |
|
yes, we can , see the below link: |
@wuyouqiang From ETW trace, renderer process is exited with More info is found in these threads. Check if you can exclude the Edge renderer process from the third-party software or disable this feature using --disable features=RenderCodeIntegrity which doesn't work in WV2 119 and above. |
Hi,monica-ch. Thank you for your answer.
2.1 Why does WebView2 load this dll?
|
@wuyouqiang Sorry Ocular Agent is attempting to inject it's code into WebView2. You should check to see if you have anything called Ocular Agent or programs by TEC Solutions installed and try uninstalling it. Thanks! Can you open another bug with us to look into process failed crash? |
ok, i have reported another bug with failed crash (#4253). |
@wuyouqiang Could you try updating IP-guard as WINHAFNt64.dll software is part of it and see if it fixes the issue or follow up with the software owner for support: I believe Edge processes were excluded in the software so the user is not seeing code integrity checks failures in the browser |
ok got it . |
What happened?
open any online url, it shows blank.
see below log:
add_ProcessFailed
hr = browser.webview_->add_ProcessFailed(Callback([this, &browser](ICoreWebView2* sender, ICoreWebView2ProcessFailedEventArgs* args_raw) -> HRESULT {
auto args2 = args.try_query();
add_NavigationCompleted
// Navigation completed
hr = browser.webview_->add_NavigationCompleted(Callback([this, &browser](ICoreWebView2* sender, ICoreWebView2NavigationCompletedEventArgs* args) -> HRESULT {
std::wstring url;
BOOL status = FALSE;
DWORD http_code = 0;
HRESULT hr = args->get_IsSuccess(&status);
wil::unique_cotaskmem_string source_url;
hr = sender->get_Source(&source_url); // source_url: it returns about:blank
if (!SUCCEEDED(hr)) {
}).Get(), &browser.tokens_.navigation_completed_token_);
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
117.0.2045.60
SDK Version
1.0.1264.42
Framework
Win32
Operating System
Windows 10
OS Version
22H2(19405.3448)
Repro steps
open any url,
it shows blank.
Regression
No, this never worked
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: