简体   繁体   English

如何处理 Microsoft 合作伙伴中心的堆栈跟踪?

[英]How to handle stack traces from the Microsoft partner center?

I develop the UWP application.我开发了 UWP 应用程序。 And published it via the Microsoft partner center.并通过 Microsoft 合作伙伴中心发布。 I get the crashes and hangs from the partner center with no understandable stack trace.我从合作伙伴中心得到崩溃和挂起,没有可理解的堆栈跟踪。

Also, I get the failure zip file where there are the following files (memory.csv, minidump.mdmp, WERInternalMetadata.xml).另外,我得到了失败的 zip 文件,其中包含以下文件(memory.csv、minidump.mdmp、WERInternalMetadata.xml)。

How can I investigate these files for understanding the reason for failure?我如何调查这些文件以了解失败的原因?

Is there any way to understand the reason for crashes or hangs?有什么方法可以了解崩溃或挂起的原因吗?

Here is an example of stacktrace:这是堆栈跟踪的示例:

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"

Since you've already have the mdmp file, you could open it in the WinDbg app or Visual Studio.由于你已经有了 mdmp 文件,你可以在 WinDbg 应用程序或 Visual Studio 中打开它。 You could take a look at: Dump files in the Visual Studio debugger .您可以查看: 在 Visual Studio 调试器中转储文件

Besides, you could try to use Visual Studio App Center in your app which get detailed crashed report as well and it could give the report in a readable way.此外,您可以尝试在您的应用程序中使用Visual Studio App Center ,它也可以获得详细的崩溃报告,并且可以以可读的方式提供报告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM