UWP:应用程序故障1007 CStorageFileProxy发布()



我的UWP应用程序(C#和XAML(使用Windows.Storage打开和保存文件(StorageFolder、StorageFile、FileIO等(。一切都适用于我的大多数用户。但是,我看到一些崩溃报告列出了以下标题和堆栈跟踪。我无法重现错误。代码审查没有显示任何结果,互联网搜索结果为零。

cstoragefileproxy发布((

application_fault 00001007:application_fault

windows.storage.dll
CStorageFileProxy Release() dataaccess.cpp:3817
System.Private.Interop.dll
System::Runtime::InteropServices::McgMarshal ComRelease_StdCall() McgMarshal.cs:454
System.Private.Interop.dll
System::Runtime::InteropServices::McgMarshal ComRelease() McgMarshal.cs:473
System.Private.Interop.dll
System::__ComObject Cleanup() __ComObject.cs:903
System.Private.Interop.dll
System::RCWFinalizer Finalize() __ComObject.cs:58
mrt100_app.dll
System::Runtime::__Finalizer DrainQueue() __Finalizer.cs:61
mrt100_app.dll
System::Runtime::__Finalizer ProcessFinalizers() __Finalizer.cs:41
mrt100_app.dll
FinalizerStart() finalizerhelpers.cpp:69
ntdll.dll
RtlUserThreadStart() rtlstrt.c:1162

我所有的代码都是C#和XAML,没有不安全的代码块。我注意到堆栈跟踪中的"McgMarshal"条目,可能是线程问题。

有人能说明是什么原因导致Windows.Storage.DLL出现上述故障吗?

谢谢你的帮助!

不幸的是,在转向.Net原生编译器后,UWP应用程序的崩溃报告变得毫无用处,正如您所发现的那样。它们需要使用编译应用程序时获得的.pdb文件进行处理,以获得真正可操作的报告。微软承诺会制造出这样的工具,但多年来一直没有。我想我在GitHub上看到有人为此制作了一些工具,尽管它远非友好的(在控制台上工作(,但我没有它的链接。

最新更新