【问题标题】:How to handle stack traces from the Microsoft partner center?如何处理 Microsoft 合作伙伴中心的堆栈跟踪?
【发布时间】:2023-01-23 11:46:21
【问题描述】:

我开发 UWP 应用程序。并通过 Microsoft 合作伙伴中心发布。我从合作伙伴中心得到崩溃和挂起,没有可理解的堆栈跟踪。

另外,我得到了失败的 zip 文件,其中包含以下文件(memory.csv、minidump.mdmp、WERInternalMetadata.xml)。

我如何调查这些文件以了解失败的原因?

有什么方法可以了解崩溃或挂起的原因吗?

这是堆栈跟踪的示例:

Frame   Image   Function    Offset  
 "0"    "2FE3CB00.MYAPP-EXAMPLE"    "HANG_QUIESCE"  "0x0000000000000000"    
 "1"    "unknown.dll"   "[.ecxr]"   "0x0000000000000000"    
"2" "ntdll.dll" "ZwWaitForMultipleObjects"  "0x0000000000000000"    
"3" "KERNELBASE.dll"    "WaitForMultipleObjectsEx"  "0x0000000000000000"    
"4" "mrt100_app.dll"    "PalCompatibleWaitAny"  "0x0000000000000000"    
"5" "mrt100_app.dll"    "CLREventStatic::Wait"  "0x0000000000000000"    
"6" "mrt100_app.dll"    "WKS::gc_heap::background_gc_wait_lh"   "0x0000000000000000"    
"7" "mrt100_app.dll"    "WKS::gc_heap::a_fit_free_list_large_p" "0x0000000000000000"    
"8" "mrt100_app.dll"    "WKS::gc_heap::loh_try_fit" "0x0000000000000000"    
"9" "mrt100_app.dll"    "WKS::gc_heap::allocate_large"  "0x0000000000000000"    
"10"    "mrt100_app.dll"    "WKS::gc_heap::try_allocate_more_space" "0x0000000000000000"    
"11"    "mrt100_app.dll"    "WKS::gc_heap::allocate_large_object"   "0x0000000000000000"    
"12"    "mrt100_app.dll"    "WKS::GCHeap::Alloc"    "0x0000000000000000"    
"13"    "mrt100_app.dll"    "RhpGcAlloc"    "0x0000000000000000"    
"14"    "mrt100_app.dll"    "RhpNewArrayRare"   "0x0000000000000000"    
"15"    "SharedLibrary.dll" "System::RuntimeExceptionHelpers::ExceptionData.Serialize"  "0x0000000000000000"    
"16"    "SharedLibrary.dll" "System::Runtime`enter code here`ExceptionHelpers.SerializeExceptionsForDump"   "0x0000000000000000"    
"17"    "SharedLibrary.dll" "System::RuntimeExceptionHelpers.GenerateExceptionInformationForDump"   "0x0000000000000000"    
"18"    "System.Private.Interop.dll"    "System::Runtime::InteropServices::ExceptionHelpers.OriginateLanguageException" "0x0000000000000000"    
"19"    "System.Private.Interop.dll"    "System::Runtime::InteropServices::ExceptionHelpers.ReportUnhandledError"   "0x0000000000000000"    
"20"    "System.Private.Interop.dll"    "Internal::Interop::InteropCallbacks.ReportUnhandledError"  "0x0000000000000000"    
"21"    "MyApp.dll" "-" "0x0000000000000000"    
"22"    "unknown.dll"   "unknown"   "0x0000000000000000"    
"23"    "unknown.dll"   "unknown"   "0x0000000000000000"

【问题讨论】:

    标签: c# uwp stack-trace windows-store


    【解决方案1】:

    由于你已经有了 mdmp 文件,你可以在 WinDbg 应用程序或 Visual Studio 中打开它。你可以看看:Dump files in the Visual Studio debugger

    此外,您可以尝试在您的应用程序中使用Visual Studio App Center,它也可以获得详细的崩溃报告,并且可以以可读的方式提供报告。

    【讨论】:

      猜你喜欢
      • 2010-09-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-21
      • 2021-08-12
      • 1970-01-01
      相关资源
      最近更新 更多