[Problem/Bug]: webview2 process running failed with log "[DllMain] Not SafeMode"
What happened?
Our application use webview2 to show html page. It has been running normally on many users' machines. But one custom report issue that can not display html page on his PC. We remote this user's PC. Found that process of webview2 running and exit soon,we got follow info
-
In code, ICoreWebView2ProcessFailedEventHandler catch the exit event
- kind:COREWEBVIEW2_PROCESS_FAILED_KIND_BROWSER_PROCESS_EXITED
- reason:COREWEBVIEW2_PROCESS_FAILED_REASON_UNEXPECTED
- exit code:-2147483645 we added retry logic in ProcessFailed logic, but retry always meet process failed in 4 times.
-
we use DebugView on this PC,got follow error.
-
on this PC, webview2Sample demo always can not running succeed, follow popup
-
on this PC, MS Steam and Widget.exe always can not running due to webview2 process failed. Thirdtly Application Zoom always can not show web page due to webview2 process failed.
-
we know this PC have follow hotfix through sysinfo command [01]: KB5049622 [02]: KB5052093 [03]: KB5052085 [04]: KB5052915
We do not know why this issue happend on this PC, Please give us more support.
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
133.0.3065.82
SDK Version
1.0.2045.28
Framework
Win32
Operating System
Windows 11
OS Version
Windows 11 Pro(10.0.26100)
Repro steps
just running client,then reproduce every time on this PC.
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
@vividand, please share the crash dump: https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/diagnostics/crash.md
@sivMSFT Hello. First, webview2 process seemd exit, not crash, so maybe can not get crash dump. And its hard to get crash dump now because this PC is in office of custom,it is not easy for us to remote his machine
But we have collect etw info during issue occurd, is ETW info useful?
@sivMSFT Hello Is there any information you can share about the revision process of this issue?
@sivMSFT Hello Our customers have been urging us to resolve this issue. Any suggestions on how to circumvent this error?
Hi @vividand, Could you please provide the ETW information and share the crash dump? This will assist us in understanding the root cause of the issue.
You can check in the folder on your system or at edge://crashes
@sivMSFT @prija-microsoft ETW info file can not upload as attachment becuase filesize is 178M Can you share me your email, then I will send to you via email.
crash dump? ->Unfortunately we can not got dump file under edge://crashes when remote that PC many days ago. its seemd webview2 process just quit.
@sivMSFT @prija-microsoft Hello. Can you share your emain to me, then can send etw info to you.
@sivMSFT @prija-microsoft Hello. So sorry to bother you again. Because out custom is wait to work. Can you share your emain to me, then can send etw info to you.
@vividand Sorry missed notification earlier. Please mail the ETW, (preferably as a sharable link so as to avoid filters) to here.
@prija-microsoft I have send email with etw info with send address [email protected] Please check.