MicrosoftEdge / MicrosoftEdge/WebView2Feedback
CoreWebView2_ProcessFailed event ExitCode: '-2147483645
@LiangTheDev is already working on this.
Since Sep 2, 2022.
- 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:

Additional context
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.