【发布时间】:2020-02-09 00:39:16
【问题描述】:
在旁加载的 Windows 应用商店应用程序的日志中,我发现以下异常:
Arg_ArgumentException --> System.ArgumentException: Arg_ArgumentException
at SharedLibrary!<BaseAddress>+0x3a13ad
at my-app!<BaseAddress>+0xf29d82h
at my-app!<BaseAddress>+0xf29cdc
at my-app!<BaseAddress>+0x10e0844
at my-app!<BaseAddress>+0x14fbe60
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SharedLibrary!<BaseAddress>+0x502089
at System.Threading.ContextCallback.Invoke(Object state)
at SharedLibrary!<BaseAddress>+0x3e683c
为了表示跟踪,我尝试使用 corefx-tools 的 WindowsDevCenterStacktraceSymbolicater 和 StackParser 以及应用程序的 PDB,这会将跟踪更改为:
Arg_ArgumentException --> System.ArgumentException: Arg_ArgumentException
at SharedLibrary!COM+_Entry_Point+0x3a13ad
at my-app!COM+_Entry_Point+0xf29d82
at my-app!COM+_Entry_Point+0xf29cdc
at my-app!COM+_Entry_Point+0x10e0844
at my-app!COM+_Entry_Point+0x14fbe60
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SharedLibrary!COM+_Entry_Point+0x502089
at System.Threading.ContextCallback.Invoke(Object state)
at SharedLibrary!COM+_Entry_Point+0x3e683c
在这种情况下,有没有办法解决 COM+_Entry_Point 引用?怎么样?
【问题讨论】:
标签: c# uwp symbolicatecrash .net-native sideloading