MicrosoftEdge / MicrosoftEdge/WebView2Feedback

CoreWebView2_ProcessFailed event ExitCode: '-2147483645

Open
#2,747 12 comments 0 reactions 1 assignee View on GitHub

@LiangTheDev is already working on this.

Since Sep 2, 2022.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Description
I have a WinForms application using WebView2 and WebView Runtime fixed version.
There are several windows that are initialized.
After upgrade sometimes the application crashes. at startup.

{CoreWebView2_ProcessFailed}: Object ID 7 Thread 7 - ServiceDocumentation: CoreWebView2_ProcessFailed
{CoreWebView2_ProcessFailed}: SDS error 11504: CoreWebView2_ProcessFailed event ExitCode: '-2147483645', Reason: 'Unexpected', ProcessDescription: '', ProcessFailedKind: 'BrowserProcessExited', FrameInfosForFailedProcess: ''
263

Version
SDK: 1.0.1293.44 or 1.0.1264.42
Runtime: 104.0.1293.63 or 103.0.1264.77
Framework: WinForms
OS: Win10

Repro Steps
{OnNavigationStarting}
{CoreWebView2_WebResourceRequested}
{OnSourceChanged}
{OnNavigationCompleted}
{OnDocumentReady}
{OnDocumentReady}
{OnDocumentReady}: Object ID 7 Thread 7 - ServiceDocumentation: Executing queued scripts
{OnNavigationCompleted}: Object ID 7 Thread 7 - ServiceDocumentation: Keyboard listeners attached to browser window.
{Hide}: Window 'ServiceDocumentation' is already hidden, ignoring Hide call
{ExecuteEventLater}: Object ID 7 Thread 7 - ServiceDocumentation: Event received, invoking later 'Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs'
{CoreWebView2_ProcessFailed}: Object ID 7 Thread 7 - ServiceDocumentation: CoreWebView2_ProcessFailed

Screenshot from data dump:
image

Additional context

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.