【发布时间】:2024-01-08 19:16:01
【问题描述】:
我有一个发布到应用商店的 UWP 应用并且运行良好。我提交给商店的最新版本在本地调试和发布版本中运行良好,它通过了 Windows App Cert Kit 测试,它通过了商店认证过程,但是当我(或其他所有人)从商店下载它时它在运行时崩溃。商店的健康报告给了我一个无用的(至少对我来说)堆栈跟踪。我为解决这个问题所做的就是提交一个以前的版本并猜测是什么......同样的错误,提交的是以前的工作版本。以下是运行状况报告中的堆栈跟踪:
Frame Image Function Offset
0 KERNELBASE.dll RaiseFailFastException 0x0000000000000074
1 mrt100_app.dll System::Runtime::EH.GetRuntimeException 0x0000000000000014
2 mrt100_app.dll System::Runtime::EH.GetClasslibException 0x0000000000000045
3 mrt100_app.dll System::Runtime::EH.RhThrowHwEx 0x0000000000000063
4 mrt100_app.dll RhpThrowHwEx2 0x0000000000000000
5 mrt100_app.dll System::Runtime::TypeCast.AreTypesEquivalentInternal 0x0000000000000071
6 mrt100_app.dll System::Runtime::TypeCast.AreTypesEquivalent 0x0000000000000009
7 null Internal::Runtime::TypeLoader::RuntimeTypeHandleEqualityComparer.Equals 0x0000000000000047
8 null System::Collections::Generic::Internal::Dictionary$2_System::RuntimeTypeHandle,System::Int32_.FindEntry 0x0000000000000096
9 null System::Collections::Generic::Internal::Dictionary$2_System::RuntimeTypeHandle,System::Int32_.TryGetValue 0x0000000000000011
10 null System::Runtime::InteropServices::McgModuleManager.InsertDataIntoDictionary 0x0000000000000089
11 null System::Runtime::InteropServices::McgModuleManager.Initialize 0x0000000000000240
12 myapp.mcginterop.dll Mcg::StartupCodeTrigger.Initialize 0x0000000000000038
**13 myapp.exe $ILCT$::$ILT$MainMethodType$.NewMainMethod 0x000000000000000B**
14 myapp.dll RHBinder__ManagedInitAndLaunch 0x0000000000000020
15 myapp.dll RHBinder__ShimExeMain 0x000000000000000D
16 kernel32.dll BaseThreadInitThunk 0x0000000000000014
17 ntdll.dll RtlUserThreadStart 0x0000000000000021
【问题讨论】:
-
generate a crash dump 在您下载应用程序的 PC 上使用 Windbg + PDE.dll 查看更好的堆栈
标签: uwp windows-runtime windows-10 windows-store