Skip to content

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

Open
@vividand

Description

@vividand

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions