【发布时间】:2016-03-19 03:19:39
【问题描述】:
直到昨天,我才遇到 Microsoft Advertising 的问题... 昨天由于微软广告,我的应用程序发生了很多崩溃。 事件的符号名称是: Microsoft_Advertising!Windows::UI::Xaml::DependencyObject::[Windows::UI::Xaml::IDependencyObject]::SetValue
其他人有这个问题吗? 我怎么解决这个问题? (我的应用是 Windows 10 通用应用(c# + XAML))
堆栈跟踪:
1 Windows_UI_Xaml DirectUI::DependencyPropertyHandle::GetDP 0x2E380F
2 Windows_UI_Xaml DirectUI::DependencyObject::SetValue 0x27
3 Microsoft_Advertising Windows::UI::Xaml::DependencyObject::[Windows::UI::Xaml::IDependencyObject]::SetValue 0x48
4 Microsoft_Advertising Microsoft::Advertising::WinRT::UI::AdControl::ApplicationId::[Microsoft::Advertising::WinRT::UI::__IAdControlPublicNonVirtuals::ApplicationId]::set 0x6E
5 Microsoft_Advertising Microsoft::Advertising::WinRT::UI::AdControl::[Microsoft::Advertising::WinRT::UI::__IAdControlPublicNonVirtuals]::__abi_Microsoft_Advertising_WinRT_UI___IAdControlPublicNonVirtuals____abi_set_ApplicationId 0x2A
6 App2_7ff97fad0000 $102_McgInterop::ComCallHelpers.ComCall__HRESULT 0x87
7 App2_7ff97fad0000 $102_McgInterop::ForwardComSharedStubs.Proc_string__ 0x6D
8 App2_7ff97fad0000 $97_Microsoft::AdMediator::Universal::MicrosoftAdvertising::MicrosoftAdvertisingAdAdapter.InstantiateControl 0x249
9 App2_7ff97fad0000 $56_Microsoft::AdMediator::Core::BaseAdAdapter::__c__DisplayClass72_0._LoadControl_b__0 0x20
10 App2_7ff97fad0000 $56_Microsoft::AdMediator::Core::BaseAdAdapter::__c__DisplayClass76_0._RunOnDispatcher_b__0 0x22
11 App2_7ff97fad0000 $16_System::Threading::WaitCallback.Invoke 0xF
12 App2_7ff97fad0000 $84_Internal::WinRT::Interop::WinRTCallbacks::__c__DisplayClass14_0._SubmitLongRunningThreadpoolWork_b__0 0x10
13 App2_7ff97fad0000 $102_Windows::UI::Core::DispatchedHandler__Impl::Vtbl.Invoke__STUB 0x2A
14 Windows_UI Windows::UI::Core::CDispatcher::ProcessInvokeItem 0x23C
15 Windows_UI Windows::UI::Core::CDispatcher::ProcessMessage 0x1A4
16 Windows_UI Windows::UI::Core::CDispatcher::WaitAndProcessMessages 0x1A2
17 Windows_UI Windows::UI::Core::CDispatcher::ProcessEvents 0xA8
18 Windows_UI_Xaml CJupiterWindow::RunCoreWindowMessageLoop 0x65
19 Windows_UI_Xaml DirectUI::DXamlCore::RunMessageLoop 0x47
20 twinapi_appcore Windows::ApplicationModel::Core::CoreApplicationView::Run 0x46
21 twinapi_appcore _lambda_d86ebb20270fa8a99766b2537cc9a251_::_helper_func_cdecl_0x100
22 SHCore _WrapperThreadProc 0xF0
23 kernel32 BaseThreadInitThunk 0x22
24 ntdll RtlUserThreadStart 0x34
失败字符串名称为:
STOWED_EXCEPTION_8000ffff_Microsoft.Advertising.dll!Windows::UI::Xaml::DependencyObject::[Windows::UI::Xaml::IDependencyObject]::SetValue
当我在 VisualSudio 2015 上测试我的应用程序时,我遇到了这个错误: 在 App2.exe 中的 0x74CD3E28 (KernelBase.dll) 处引发异常:0x40080201:WinRT 发起错误(参数:0x800F1000、0x00000053、0x07A0CE9C)。 windows\dxaml\xcp\components\vsm\visualstatemanagerdatasource.cpp(260)\Windows.UI.Xaml.dll!055146AF: (caller: 0522D02D) Exception(1) tid(5168) 800F1000 Aucun composant installé n'a été détecté。 在 App2.exe 中的 0x74CD3E28 处引发异常:Microsoft C++ 异常:内存位置 0x07A0C448 处的 wil::ResultException。 在 App2.exe 中的 0x74CD3E28 处引发异常:Microsoft C++ 异常:[rethrow] 在内存位置 0x00000000。 windows\dxaml\xcp\components\vsm\cvisualstatemanager2.cpp(131)\Windows.UI.Xaml.dll!05514C93: (caller: 05439146) ReturnHr(1) tid(5168) 800F1000 Aucun composant installé n'a été détecté。
但是我的应用和以前一样...我不明白(我刚刚更新了admediator...)
【问题讨论】:
-
"其他人有这个问题吗?"很难说问题出在哪里,因为您只说它是“由于微软广告而导致的大量崩溃 [..]”。我相信您有更多详细信息 - 如果您有异常,那么包括异常类型和消息的完整堆栈跟踪将有所帮助......
-
对不起...我有堆栈跟踪
-
还有异常类型和消息?
-
我添加了失败字符串名称
-
好吧,至少那是更多的信息——虽然如果你能把它的格式设置得更易读会更好。至少现在看到相同错误的其他人更有可能识别它。