我遇到了通用应用程序的问题。 我试图让它工作7天(和夜晚);
我在开发电脑上开发我的应用程序没有遇到大麻烦。 该应用程序在调试和发布模式下运行良好(也使用.NET Native预编译)
但是当在商店中部署应用程序(或侧面加载)时,它会在启动画面后直接崩溃!
我的转储文件是一个带有pde扩展名的二手windbg来理解这个问题......我在这里。
我没有抓住真正的问题,它似乎与xaml字符串和空指针异常相关联。
例外情况是:KERNELBASE!BasepIsSecureProcess
。
在用windbg挖掘之后,我会陷入:combase!roOriginateLanguageException+0x57
......
你会从windbg的报告中找到。
如果你能帮助我陷入困境......
以下是报告:
=========================================================================================
PDE v10.0 - Copyright 2015 Andrew Richards
=========================================================================================
Stowed Exception Array @ 0x0000020320afe850
Stowed Exception #1 @ 0x0000020320af9f68
0x80004003 (FACILITY_NULL - Default): E_POINTER - Pointer that is not valid
Stack : 0x2032305d3c0
7ffee14a76a7 combase!RoOriginateLanguageException+0x57
*** ERROR: Symbol file could not be found. Defaulted to export symbols for coreclr.dll -
7ffea0ceeb20 coreclr!GetCLRRuntimeHost+0x8a3bc
7ffea0e1d63b coreclr!GetCLRRuntimeHost+0x1b8ed7
7ffe413108c4
Stowed Exception #2 @ 0x00000203230586d0
0x80004003 (FACILITY_NULL - Default): E_POINTER - Pointer that is not valid
Stack : 0x2032306c178
7ffec7c75b02 Windows_UI_Xaml!DirectUI::FrameworkApplication::MainASTAInitialize+0x12a
7ffec7c75723 Windows_UI_Xaml!DirectUI::FrameworkView::Initialize+0x73
7ffedcc298e8 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationView::CreateAndInitializeFrameworkView+0xb8
7ffedcc44e0a twinapi_appcore!Microsoft::WRL::RuntimeClass<Microsoft::WRL::RuntimeClassFlags<2>,Windows::Foundation::IEventHandler<Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs * __ptr64>,Microsoft::WRL::FtmBase,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil>::RuntimeClass<Microsoft::WRL::RuntimeClassFlags<2>,Windows::Foundation::IEventHandler<Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs * __ptr64>,Microsoft::WRL::FtmBase,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil,Microsoft::WRL::Details::Nil>+0x1a6
7ffedeac9087 SHCore!??$MakeAndInitialize@VCClosableStreamWrapper@@UIStream@@PEAU2@$$T@Details@WRL@Microsoft@@YAJPEAPEAUIStream@@$$QEAPEAU3@$$QEA$$T@Z+0x27b
7ffedf898102 kernel32!BaseThreadInitThunk+0x22
7ffee1b2c574 ntdll!RtlUserThreadStart+0x34
干杯,
里卡多