You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK version 1.0.2164 pre release has added a string FailureSourceModulePath, which means: contains full path of the module that caused the crash in cases of Windows code integrity failures
The required runtime version is 120.0.2164.0. Running above this version has no problem and can output normally. However, when used in WV2 of v118, the program will throw an exception, as shown in the following figure.
When using this string, it is necessary to first determine the version of its WV2. If used directly, such as to determine whether the string is empty, this exception will be thrown. I think this is a bug because there must be WV2 versions earlier than v120 among many users. As long as this character string is used without determining the version of WV2, the program will exception.
I think,Instead of informing all developers that when using FailureSourceModulePath, it is important to first determine the version, why not it is better to make a judgment in the SDK,alternatively, errors should not be thrown at all.
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
118.0.2088.76
SDK Version
1.0.2164-release
Framework
Winforms
Operating System
Windows 10, Windows 11
OS Version
No response
Repro steps
To call FailureSourceModulePath normally, it is necessary to first determine e ExitCode==-1073740760, here is to do a test, place it here, and then terminate the WV2 process from the task manager
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered:
@vbryh-msft Can you add a judgment in the SDK instead of throwing an exception? For developers, we don't know if calling it will result in an exception. There is no prompt for this field, and there is no explanation in the official documentation.
@vbryh-msft However, this is just a string. For developers, subconsciously, they don't think it will also throw exceptions. Can it return null without throwing exceptions when it's not supported?
What happened?
The SDK version 1.0.2164 pre release has added a string FailureSourceModulePath, which means: contains full path of the module that caused the crash in cases of Windows code integrity failures
The required runtime version is 120.0.2164.0. Running above this version has no problem and can output normally. However, when used in WV2 of v118, the program will throw an exception, as shown in the following figure.
When using this string, it is necessary to first determine the version of its WV2. If used directly, such as to determine whether the string is empty, this exception will be thrown. I think this is a bug because there must be WV2 versions earlier than v120 among many users. As long as this character string is used without determining the version of WV2, the program will exception.
I think,Instead of informing all developers that when using FailureSourceModulePath, it is important to first determine the version, why not it is better to make a judgment in the SDK,alternatively, errors should not be thrown at all.
Error Stack:
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
118.0.2088.76
SDK Version
1.0.2164-release
Framework
Winforms
Operating System
Windows 10, Windows 11
OS Version
No response
Repro steps
To call FailureSourceModulePath normally, it is necessary to first determine e ExitCode==-1073740760, here is to do a test, place it here, and then terminate the WV2 process from the task manager
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: