WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

[Problem/Bug]: webview2 process running failed with log "[DllMain] Not SafeMode"

Open vividand opened this issue 9 months ago • 9 comments

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

  1. 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.
  2. we use DebugView on this PC,got follow error. Image

  3. on this PC, webview2Sample demo always can not running succeed, follow popup

Image

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

  2. 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 avatar Mar 10 '25 08:03 vividand

@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?

vividand avatar Mar 13 '25 08:03 vividand

@sivMSFT Hello Is there any information you can share about the revision process of this issue?

vividand avatar Mar 27 '25 10:03 vividand

@sivMSFT Hello Our customers have been urging us to resolve this issue. Any suggestions on how to circumvent this error?

vividand avatar Mar 31 '25 02:03 vividand

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 avatar Mar 31 '25 05:03 sivMSFT

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

vividand avatar Mar 31 '25 09:03 vividand

@sivMSFT @prija-microsoft Hello. Can you share your emain to me, then can send etw info to you.

vividand avatar Apr 03 '25 00:04 vividand

@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 avatar Apr 11 '25 02:04 vividand

@vividand Sorry missed notification earlier. Please mail the ETW, (preferably as a sharable link so as to avoid filters) to here.

prija-microsoft avatar Apr 11 '25 04:04 prija-microsoft

@prija-microsoft I have send email with etw info with send address [email protected] Please check.

vividand avatar Apr 29 '25 02:04 vividand