OnProcessFailed
Interface AntView
Type: Event
Parameters: Integer ExitCode String FrameInfos String Description TxProcessFailedKind Failed TxProcessFailedReason Reason
This event is raised when the WebView2 process becomes unresponsive or dies.
All parameters are read-only.
ExitCode returns the error code as returned by the WebView2 process. These codes are the same as the Exit Codes defined by the Chromium project or at the source of the sad_tab_view.cc.
For your convenience we have reproduced that list here, the links above might have updates in case the error code is not listed here.
Exit Code: Error String:
1 = RESULT_CODE_KILLED
2 = RESULT_CODE_HUNG
3 = RESULT_CODE_KILLED_BAD_MESSAGE
4 = RESULT_CODE_GPU_DEAD_ON_ARRIVAL
5 = RESULT_CODE_INVALID_CMDLINE_URL
6 = RESULT_CODE_BAD_PROCESS_TYPE
7 = RESULT_CODE_MISSING_DATA
8 = RESULT_CODE_SHELL_INTEGRATION_FAILED
9 = RESULT_CODE_MACHINE_LEVEL_INSTALL_EXISTS
10 = RESULT_CODE_UNINSTALL_CHROME_ALIVE
11 = RESULT_CODE_UNINSTALL_USER_CANCEL
12 = RESULT_CODE_UNINSTALL_DELETE_PROFILE
13 = RESULT_CODE_UNSUPPORTED_PARAM
14 = RESULT_CODE_IMPORTER_HUNG
15 = RESULT_CODE_RESPAWN_FAILED
16 = RESULT_CODE_NORMAL_EXIT_EXP1
17 = RESULT_CODE_NORMAL_EXIT_EXP2
18 = RESULT_CODE_NORMAL_EXIT_EXP3
19 = RESULT_CODE_NORMAL_EXIT_EXP4
20 = RESULT_CODE_NORMAL_EXIT_CANCEL
21 = RESULT_CODE_PROFILE_IN_USE
22 = RESULT_CODE_PACK_EXTENSION_ERROR
23 = RESULT_CODE_UNINSTALL_EXTENSION_ERROR
24 = RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED
26 = RESULT_CODE_INSTALL_FROM_WEBSTORE_ERROR_2
28 = RESULT_CODE_EULA_REFUSED
29 = RESULT_CODE_SXS_MIGRATION_FAILED_NOT_USED
30 = RESULT_CODE_ACTION_DISALLOWED_BY_POLICY
31 = RESULT_CODE_INVALID_SANDBOX_STATE
32 = RESULT_CODE_CLOUD_POLICY_ENROLLMENT_FAILED
33 = RESULT_CODE_DOWNGRADE_AND_RELAUNCH
34 = RESULT_CODE_GPU_EXIT_ON_CONTEXT_LOST
131 = SIGQUIT
132 = SIGILL
133 = SIGTRAP
134 = SIGABRT
135 = SIGBUS (7)
136 = SIGFPE
137 = SIGKILL
138 = SIGBUS (10)
139 = SIGSEGV
140 = SIGSYS
258 = WAIT_TIMEOUT
7006 = SBOX_FATAL_INTEGRITY
7007 = SBOX_FATAL_DROPTOKEN
7008 = SBOX_FATAL_FLUSHANDLES
7009 = SBOX_FATAL_CACHEDISABLE
7010 = SBOX_FATAL_CLOSEHANDLES
7011 = SBOX_FATAL_MITIGATION
7012 = SBOX_FATAL_MEMORY_EXCEEDED
7013 = SBOX_FATAL_WARMUP
36861 = Crashpad_NotConnectedToHandler
36862 = Crashpad_FailedToCaptureProcess
36863 = Crashpad_HandlerDidNotRespond
85436397 = Crashpad_SimulatedCrash
529697949 = CPP_EH_EXCEPTION
533692099 = STATUS_GUARD_PAGE_VIOLATION
536870904 = Out of Memory
1066598273 = FACILITY_VISUALCPP/ERROR_PROC_NOT_FOUND
1066598274 = FACILITY_VISUALCPP/ERROR_MOD_NOT_FOUND
1072103400 = STATUS_CURRENT_TRANSACTION_NOT_VALID
1072365548 = STATUS_SXS_CORRUPT_ACTIVATION_STACK
1072365552 = STATUS_SXS_INVALID_DEACTIVATION
1072365566 = STATUS_SXS_CANT_GEN_ACTCTX
1073739514 = STATUS_VIRUS_INFECTED
1073740004 = STATUS_INVALID_THREAD
1073740016 = STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING
1073740022 = STATUS_THREADPOOL_HANDLE_EXCEPTION
1073740760 = STATUS_INVALID_IMAGE_HASH
1073740767 = STATUS_VERIFIER_STOP
1073740768 = STATUS_ASSERTION_FAILURE
1073740771 = STATUS_FATAL_USER_CALLBACK_EXCEPTION
1073740777 = STATUS_INVALID_CRUNTIME_PARAMETER
1073740782 = STATUS_DELAY_LOAD_FAILED
1073740791 = STATUS_STACK_BUFFER_OVERRUN
1073740940 = STATUS_HEAP_CORRUPTION
1073740959 = STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT
1073741131 = STATUS_FLOAT_MULTIPLE_TRAPS
1073741132 = STATUS_FLOAT_MULTIPLE_FAULTS
1073741205 = STATUS_DLL_INIT_FAILED_LOGOFF
1073741212 = STATUS_RESOURCE_NOT_OWNED
1073741431 = STATUS_TOO_LATE
1073741502 = STATUS_DLL_INIT_FAILED
1073741510 = STATUS_CONTROL_C_EXIT
1073741511 = STATUS_ENTRYPOINT_NOT_FOUND
1073741515 = STATUS_DLL_NOT_FOUND
1073741523 = STATUS_COMMITMENT_LIMIT
1073741558 = STATUS_PROCESS_IS_TERMINATING
1073741569 = STATUS_BAD_FUNCTION_TABLE
1073741571 = STATUS_STACK_OVERFLOW
1073741581 = STATUS_INVALID_PARAMETER_5
1073741595 = STATUS_INTERNAL_ERROR
1073741659 = STATUS_BAD_IMPERSONATION_LEVEL
1073741662 = STATUS_MEDIA_WRITE_PROTECTED
1073741670 = STATUS_INSUFFICIENT_RESOURCES
1073741674 = STATUS_PRIVILEGED_INSTRUCTION
1073741675 = STATUS_INTEGER_OVERFLOW
1073741676 = STATUS_INTEGER_DIVIDE_BY_ZERO
1073741677 = STATUS_FLOAT_UNDERFLOW
1073741678 = STATUS_FLOAT_STACK_CHECK
1073741679 = STATUS_FLOAT_OVERFLOW
1073741680 = STATUS_FLOAT_INVALID_OPERATION
1073741681 = STATUS_FLOAT_INEXACT_RESULT
1073741682 = STATUS_FLOAT_DIVIDE_BY_ZERO
1073741683 = STATUS_FLOAT_DENORMAL_OPERAND
1073741684 = STATUS_ARRAY_BOUNDS_EXCEEDED
1073741701 = STATUS_INVALID_IMAGE_FORMAT
1073741738 = STATUS_DELETE_PENDING
1073741744 = STATUS_EA_TOO_LARGE
1073741749 = STATUS_THREAD_IS_TERMINATING
1073741756 = STATUS_QUOTA_EXCEEDED
1073741757 = STATUS_SHARING_VIOLATION
1073741766 = STATUS_OBJECT_PATH_NOT_FOUND
1073741772 = STATUS_OBJECT_NAME_NOT_FOUND
1073741783 = STATUS_INVALID_UNWIND_TARGET
1073741784 = STATUS_BAD_STACK
1073741785 = STATUS_UNWIND
1073741786 = STATUS_INVALID_DISPOSITION
1073741787 = STATUS_NONCONTINUABLE_EXCEPTION
1073741788 = STATUS_OBJECT_TYPE_MISMATCH
1073741790 = STATUS_ACCESS_DENIED
1073741794 = STATUS_INVALID_LOCK_SEQUENCE
1073741795 = STATUS_ILLEGAL_INSTRUCTION
1073741796 = STATUS_INVALID_SYSTEM_SERVICE
1073741800 = STATUS_CONFLICTING_ADDRESSES
1073741801 = STATUS_NO_MEMORY
1073741811 = STATUS_INVALID_PARAMETER
1073741816 = STATUS_INVALID_HANDLE
1073741818 = STATUS_IN_PAGE_ERROR
1073741819 = STATUS_ACCESS_VIOLATION
1073741820 = STATUS_INFO_LENGTH_MISMATCH
1073741822 = STATUS_NOT_IMPLEMENTED
1073741823 = STATUS_UNSUCCESSFUL
1073741829 = STATUS_SEGMENT_NOTIFICATION
1073741845 = STATUS_FATAL_APP_EXIT
2147483644 = STATUS_SINGLE_STEP
2147483645 = STATUS_BREAKPOINT
2147483646 = STATUS_DATATYPE_MISALIGNMENT
FrameInfos: Currently always empty.
Description is the English description of the problem as assigned by the WebView2 process, this might be empty.
Failed contains the type of failure as defined by TxProcessFailedKind.
Reason contains the reason for why the process failed as defined by TxProcessFailedReason.
More details can be found at the Microsoft .Net interface: CoreWebView2ProcessFailedEventArgs.
Introduced in AntView release 1.1.164
AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/30/2024