我在 .netcore 3.1 上有 WPF 应用程序,打包在 appx 包中并从包中安装。有时(几十次启动中的一次)它会在启动时崩溃,并在 EventViewer 中出现错误:
第一个错误条目:
Application: MyApp.exe
CoreCLR Version: 4.700.20.47201
.NET Core Version: 3.1.9
Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FFE0C06FF20 (00007FFE0C050000) with exit code 80131506.
Run Code Online (Sandbox Code Playgroud)
下一个错误条目:
Faulting application name: MyApp.exe, version: 1.0.0.0, time stamp: 0x5f6b3998
Faulting module name: coreclr.dll, version: 4.700.20.47201, time stamp: 0x5f6a7a28
Exception code: 0xc0000005
Fault offset: 0x000000000001ff20
Faulting process id: 0x5920
Faulting application start time: 0x01d6ca611262b108
Faulting application path: C:\Program …Run Code Online (Sandbox Code Playgroud)