Microsoft.NET.CoreRuntime的SOS调试扩展

在尝试使用WinDbg跟踪UWP C#/ XAML存储项目中的致命空指针语言exception(c000027b)时,由于缺少Microsoft.NET.CoreRuntime的SOS调试扩展,我无法访问CLR Exception对象。 我无法找到匹配的sos.dll。 我错过了什么?

注意:应用程序崩溃是可重现的,但仅在未进行调试时才会发生。 因此,遗憾的是,在Visual Studio调试器下运行项目不是这种情况下的解决方案。

[...] 0:009> dt -a6 000001c37c6587e0 combase!PSTOWED_EXCEPTION_INFORMATION_V2 [0] @ 000001c3`7c6587e0 --------------------------------------------- 0x000001c3`7a8c8348 +0x000 Header : _STOWED_EXCEPTION_INFORMATION_HEADER +0x008 ResultCode : 80004003 +0x00c ExceptionForm : 0y01 +0x00c ThreadId : 0y000000000000000000100001111100 (0x87c) +0x010 ExceptionAddress : 0x00007ffb`e61f24dd Void +0x018 StackTraceWordSize : 8 +0x01c StackTraceWords : 5 +0x020 StackTrace : 0x000001c3`7c658a80 Void +0x010 ErrorText : 0x00007ffb`e61f24dd "赈???" +0x028 NestedExceptionType : 0x314f454c +0x030 NestedException : 0x000001c3`7b2f8348 Void [...] 0:009> dpS 0x000001c3`7c658a80 L5 00007ffb`e61d76a7 combase!RoOriginateLanguageException+0x57 [d:\th\com\combase\winrt\error\error.cpp @ 1083] 00007ffb`af285df7 mscorlib_ni+0x6a5df7 00007ffb`af232b76 mscorlib_ni+0x652b76 00007ffb`af232d30 mscorlib_ni+0x652d30 0:009> .formats 0x314f454c Evaluate expression: Hex: 00000000`314f454c Decimal: 827278668 Octal: 0000000000006123642514 Binary: 00000000 00000000 00000000 00000000 00110001 01001111 01000101 01001100 Chars: ....1OEL Time: Wed Mar 20 01:37:48 1996 Float: low 3.01619e-009 high 0 Double: 4.0873e-315 0:009> !sos.dumpccw 0x000001c3`7b2f8348 The call to LoadLibrary(sos) failed, Win32 error 0n2 "The system cannot find the file specified." Please check your debugger configuration and/or network access. 0:009> !sos.dumpccw The call to LoadLibrary(sos) failed, Win32 error 0n2 "The system cannot find the file specified." Please check your debugger configuration and/or network access. 0:009> .cordll -ve -u -l CLRDLL: Unable to get version info for 'C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.0_1.0.23430.0_x64__8wekyb3d8bbwe\SOS.dll', Win32 error 0n87 Cannot Automatically load SOS CLRDLL: Loaded DLL C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.0_1.0.23430.0_x64__8wekyb3d8bbwe\mscordaccore.dll CLR DLL status: Loaded DLL C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.0_1.0.23430.0_x64__8wekyb3d8bbwe\mscordaccore.dll 0:009> .chain [...] Extension DLL chain: dbghelp: image 10.0.10586.15, API 10.0.6, built Fri Nov 20 06:55:01 2015 [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll] ext: image 10.0.10586.15, API 1.0.0, built Fri Nov 20 06:55:08 2015 [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\ext.dll] exts: image 10.0.10586.15, API 1.0.0, built Fri Nov 20 06:54:07 2015 [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\exts.dll] uext: image 10.0.10586.15, API 1.0.0, built Fri Nov 20 06:54:02 2015 [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winext\uext.dll] ntsdexts: image 10.0.10586.15, API 1.0.0, built Fri Nov 20 07:28:14 2015 [path: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\WINXP\ntsdexts.dll] 

感谢magicandre1981和Andrew Richards的帮助! 通过Andrew Richards提供的CLRStack,我能够将有问题的部分缩小到单一方法。 在基于捕获一般exception的初始变通方法之后,进一步调查显示传递给BitmapImage构造函数的Uri(Uri)的Uri无法通过UriSource属性可靠地检索回来。

一个对BitmapImage的内部缓存机制有更多了解的人可能会对这种行为有所了解。 如果BitmapImage内部缓存开始运行,访问BitmapImage.UriSource.OriginalString可能会显然引发空指针exception,即使BitmapImage(Uri)与有效的Uri一起使用来构造BitmapImage对象也是如此。

我修改的序列化方法不再访问BitmapImage.UriSource.OriginalString,而是使用CastImage类的其他私有属性来维护该Uri。 问题解决了。

 ///  /// Translates the current instance into a JsonObject. ///  /// The current instance as a JsonObject. public JsonObject Serialise() { JsonObject jsonObject = new JsonObject(); jsonObject.Add("Number", this.number.HasValue ? JsonValue.CreateNumberValue(this.number.Value) : JsonValue.CreateNullValue()); jsonObject.Add("Category", (!string.IsNullOrEmpty(this.category)) ? JsonValue.CreateStringValue(this.category) : JsonValue.CreateNullValue()); jsonObject.Add("Comment", (!string.IsNullOrEmpty(this.comment)) ? JsonValue.CreateStringValue(this.comment) : JsonValue.CreateNullValue()); if (this.performer != null) { jsonObject.Add("Performer", this.performer.Serialise()); } else { jsonObject.Add("Performer", JsonValue.CreateNullValue()); } if (this.castImages != null) { jsonObject.Add("CastImages", this.castImages.Serialise()); } else { jsonObject.Add("CastImages", JsonValue.CreateNullValue()); } jsonObject.Add("CastClip", this.castClip != null ? JsonValue.CreateStringValue(this.castClip.ToString()) : JsonValue.CreateNullValue()); return jsonObject; } 

许多sosdll驻留在.net框架目录中

搜索并加载它

 0:000> .shell Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Admin><.shell waiting 1 second(s) for process> <.shell process may need input>cd /dc:\windows\microsoft.net\framework cd /dc:\windows\microsoft.net\framework cd /dc:\windows\microsoft.net\framework C:\WINDOWS\Microsoft.NET\Framework><.shell waiting 1 second(s) for process> <.shell process may need input>dir /s /b sos*.* dir /s /b sos*.* dir /s /b sos*.* C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\SOS.dll C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\SOS.dll C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\SOS.dll C:\WINDOWS\Microsoft.NET\Framework><.shell waiting 1 second(s) for process> <.shell process may need input>exit exit exit .shell: Process exited Press ENTER to continue <.shell waiting 1 second(s) for process> <.shell process may need input> 0:000> .load C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\SOS.dll 0:000> .chain Extension DLL chain: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\SOS.dll: image 1.1.4322.2032, API 1.0.0, built Thu Jul 15 12:16:07 2004 

好的,在Andrew Richards的Windbg Extension PDE.dll的帮助下运行后!PDE.dpx -dse显示所有Stowed Exceptions(那些0xC000027B例外)我看到5个Stowed Exceptions:

 0:009> !pde.dpx -dse ========================================================================================= PDE v10.0 - Copyright 2015 Andrew Richards ========================================================================================= Start memory scan : 0x0000007d1b2fc370 ($csp) End memory scan : 0x0000007d1b300000 (User Stack Base) r12 : 0x000001c37c658c60 : !dse combase!STOWED_EXCEPTION_INFORMATION_V1 0x0000007d1b2fc528 : 0x000001c37c658c60 : !dse combase!STOWED_EXCEPTION_INFORMATION_V1 0x0000007d1b2fc930 : 0x000001c37c6587e0 : !dse combase!STOWED_EXCEPTION_INFORMATION_V1 0x0000007d1b2fc960 : 0x000001c37a8c8348 : !dse combase!STOWED_EXCEPTION_INFORMATION_V1 0x0000007d1b2fc9c0 : 0x000001c37c6587e0 : !dse combase!STOWED_EXCEPTION_INFORMATION_V1 0x0000007d1b2fcaa8 : 0x000001c37c658c30 : !dse combase!STOWED_EXCEPTION_INFORMATION_V1 

显示这些exception仅显示E_UNEXPECTED - Unexpected failure为错误:

 0:009> !PDE.dse 000001c37c658c30 Stowed Exception Array @ 0x000001c37c658c30 Stowed Exception #1 @ 0x000001c378b49948 0x8000FFFF (FACILITY_NULL - Default): E_UNEXPECTED - Unexpected failure Stack : 0x1c378b48138 7ffbdb69fec0 Windows_UI_Xaml!FocusProperties::IsFocusable+0x276bd0 7ffbdb4fc875 Windows_UI_Xaml!CFocusManager::SetFocusedElement+0x31 7ffbdb5b68eb Windows_UI_Xaml!CTextBlock::OnPointerPressed+0x10b 7ffbdb285800 Windows_UI_Xaml!CUIElement::OnPointerPressed+0x50 7ffbdb3efc62 Windows_UI_Xaml!CControlBase::ScriptCallback+0x2b2 7ffbdb3ef52c Windows_UI_Xaml!CXcpDispatcher::OnScriptCallback+0x25c 7ffbdb3ef0fa Windows_UI_Xaml!CXcpDispatcher::OnWindowMessage+0x3a 7ffbdb3eedfb Windows_UI_Xaml!CXcpDispatcher::WindowProc+0x11b 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00ee2 user32!DispatchClientMessage+0xa2 7ffbe6a1098e user32!_fnDWORD+0x3e 7ffbe6ca88a4 ntdll!KiUserCallbackDispatcherContinue+0x0 7ffbe6a21f94 user32!NtUserMessageCall+0x14 7ffbe6a00804 user32!SendMessageWorker+0x144 7ffbe6a0065b user32!SendMessageW+0xfb 7ffbdb3a5b82 Windows_UI_Xaml!CEventManager::Raise+0x342 7ffbdb3a576f Windows_UI_Xaml!CEventManager::RaiseRoutedEvent+0x14f 7ffbdb1cc49f Windows_UI_Xaml!CInputManager::ProcessPointerInput+0x333 7ffbdb3c7d1a Windows_UI_Xaml!CInputManager::ProcessInput+0x96 7ffbdb3c7bc7 Windows_UI_Xaml!CCoreServices::ProcessInput+0x43 7ffbdb3c7a52 Windows_UI_Xaml!CXcpBrowserHost::HandleInputMessage+0x152 7ffbdb2a0a2e Windows_UI_Xaml!CJupiterControl::HandlePointerMessage+0xb6 7ffbdb3c77a0 Windows_UI_Xaml!CJupiterControl::HandleWindowMessage+0x244 7ffbdb3c72cf Windows_UI_Xaml!CJupiterWindow::CoreWindowSubclassProc+0x13f 7ffbdb3c7169 Windows_UI_Xaml!CJupiterWindow::StaticCoreWindowSubclassProc+0x49 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00c97 user32!DispatchMessageWorker+0x1a7 7ffbdc20b4ec Windows_UI!Windows::UI::Core::CDispatcher::ProcessMessage+0x43c 7ffbdc20af1a Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessages+0xfa 7ffbdc20ad98 Windows_UI!Windows::UI::Core::CDispatcher::ProcessEvents+0xa8 7ffbdb59d129 Windows_UI_Xaml!CJupiterWindow::RunCoreWindowMessageLoop+0x61 7ffbdb59cf33 Windows_UI_Xaml!DirectUI::DXamlCore::RunMessageLoop+0x47 7ffbe1c79126 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationView::Run+0x46 7ffbe1c9e0da twinapi_appcore!MIDL_user_allocate+0xfa 7ffbe3968fd0 SHCore!??$MakeAndInitialize@VCClosableStreamWrapper@@UIStream@@PEAU2@$$T@Details@WRL@Microsoft@@YAJPEAPEAUIStream@@$$QEAPEAU3@$$QEA$$T@Z+0x1c4 7ffbe5cf8102 kernel32!BaseThreadInitThunk+0x22 7ffbe6c5c2e4 ntdll!RtlUserThreadStart+0x34 Stowed Exception #2 @ 0x000001c378b480d8 0x8000FFFF (FACILITY_NULL - Default): E_UNEXPECTED - Unexpected failure Stack : 0x1c378b468c8 7ffbdb69fec0 Windows_UI_Xaml!FocusProperties::IsFocusable+0x276bd0 7ffbdb4fca3b Windows_UI_Xaml!CFocusManager::UpdateFocus+0x17f 7ffbdb4fc899 Windows_UI_Xaml!CFocusManager::SetFocusedElement+0x55 7ffbdb887368 Windows_UI_Xaml!FocusManager_SetFocusedElement+0x70 7ffbdb6a4014 Windows_UI_Xaml!DirectUI::DependencyObject::SetFocusedElement+0x26b894 7ffbdb36e9a0 Windows_UI_Xaml!DirectUI::Page::OnLoaded+0x120 7ffbdb36c5e0 Windows_UI_Xaml!DirectUI::ClassMemberEventHandler::Invoke+0xb0 7ffbdb386609 Windows_UI_Xaml!DirectUI::CRoutedEventSourceBase::Raise+0x3e9 7ffbdb3860f1 Windows_UI_Xaml!DirectUI::CRoutedEventSourceBase::UntypedRaise+0x91 7ffbdb3877ad Windows_UI_Xaml!DirectUI::DependencyObject::FireEvent+0x65 7ffbdb3edd15 Windows_UI_Xaml!DirectUI::DXamlCore::FireEvent+0x205 7ffbdb3edaef Windows_UI_Xaml!AgCoreCallbacks::FireEvent+0x4f 7ffbdb3edf3f Windows_UI_Xaml!CCoreServices::CLR_FireEvent+0x16f 7ffbdb3eddb1 Windows_UI_Xaml!CommonBrowserHost::CLR_FireEvent+0x21 7ffbdb3efb66 Windows_UI_Xaml!CControlBase::ScriptCallback+0x1b6 7ffbdb3ef52c Windows_UI_Xaml!CXcpDispatcher::OnScriptCallback+0x25c 7ffbdb3ef0fa Windows_UI_Xaml!CXcpDispatcher::OnWindowMessage+0x3a 7ffbdb3eedfb Windows_UI_Xaml!CXcpDispatcher::WindowProc+0x11b 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00ee2 user32!DispatchClientMessage+0xa2 7ffbe6a1098e user32!_fnDWORD+0x3e 7ffbe6ca88a4 ntdll!KiUserCallbackDispatcherContinue+0x0 7ffbe6a21f94 user32!NtUserMessageCall+0x14 7ffbe6a00804 user32!SendMessageWorker+0x144 7ffbe6a0065b user32!SendMessageW+0xfb 7ffbdb3a6d44 Windows_UI_Xaml!CXcpBrowserHost::SyncScriptCallbackRequest+0x154 7ffbdb3a6170 Windows_UI_Xaml!CEventManager::RaiseHelper+0x220 7ffbdb41e529 Windows_UI_Xaml!CEventManager::RaiseLoadedEvent+0x131 7ffbdb3f59aa Windows_UI_Xaml!CCoreServices::NWDrawTree+0x110a 7ffbdb3f393a Windows_UI_Xaml!CWindowRenderTarget::Draw+0x15a 7ffbdb3f032e Windows_UI_Xaml!CXcpBrowserHost::OnTick+0x1ee 7ffbdb3f00a9 Windows_UI_Xaml!CXcpDispatcher::Tick+0xa9 7ffbdb3eff59 Windows_UI_Xaml!CXcpDispatcher::OnReentrancyProtectedWindowMessage+0x59 7ffbdb3eed9e Windows_UI_Xaml!CXcpDispatcher::WindowProc+0xbe 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00c97 user32!DispatchMessageWorker+0x1a7 7ffbdc20b4ec Windows_UI!Windows::UI::Core::CDispatcher::ProcessMessage+0x43c 7ffbdc20afbe Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessages+0x19e 7ffbdc20ad98 Windows_UI!Windows::UI::Core::CDispatcher::ProcessEvents+0xa8 7ffbdb59d129 Windows_UI_Xaml!CJupiterWindow::RunCoreWindowMessageLoop+0x61 7ffbdb59cf33 Windows_UI_Xaml!DirectUI::DXamlCore::RunMessageLoop+0x47 7ffbe1c79126 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationView::Run+0x46 7ffbe1c9e0da twinapi_appcore!MIDL_user_allocate+0xfa 7ffbe3968fd0 SHCore!??$MakeAndInitialize@VCClosableStreamWrapper@@UIStream@@PEAU2@$$T@Details@WRL@Microsoft@@YAJPEAPEAUIStream@@$$QEAPEAU3@$$QEA$$T@Z+0x1c4 7ffbe5cf8102 kernel32!BaseThreadInitThunk+0x22 7ffbe6c5c2e4 ntdll!RtlUserThreadStart+0x34 Stowed Exception #3 @ 0x000001c378b46868 0x8000FFFF (FACILITY_NULL - Default): E_UNEXPECTED - Unexpected failure Stack : 0x1c378b45058 7ffbdb69fec0 Windows_UI_Xaml!FocusProperties::IsFocusable+0x276bd0 7ffbdb4fc875 Windows_UI_Xaml!CFocusManager::SetFocusedElement+0x31 7ffbdb887368 Windows_UI_Xaml!FocusManager_SetFocusedElement+0x70 7ffbdb6a4014 Windows_UI_Xaml!DirectUI::DependencyObject::SetFocusedElement+0x26b894 7ffbdb36e9a0 Windows_UI_Xaml!DirectUI::Page::OnLoaded+0x120 7ffbdb36c5e0 Windows_UI_Xaml!DirectUI::ClassMemberEventHandler::Invoke+0xb0 7ffbdb386609 Windows_UI_Xaml!DirectUI::CRoutedEventSourceBase::Raise+0x3e9 7ffbdb3860f1 Windows_UI_Xaml!DirectUI::CRoutedEventSourceBase::UntypedRaise+0x91 7ffbdb3877ad Windows_UI_Xaml!DirectUI::DependencyObject::FireEvent+0x65 7ffbdb3edd15 Windows_UI_Xaml!DirectUI::DXamlCore::FireEvent+0x205 7ffbdb3edaef Windows_UI_Xaml!AgCoreCallbacks::FireEvent+0x4f 7ffbdb3edf3f Windows_UI_Xaml!CCoreServices::CLR_FireEvent+0x16f 7ffbdb3eddb1 Windows_UI_Xaml!CommonBrowserHost::CLR_FireEvent+0x21 7ffbdb3efb66 Windows_UI_Xaml!CControlBase::ScriptCallback+0x1b6 7ffbdb3ef52c Windows_UI_Xaml!CXcpDispatcher::OnScriptCallback+0x25c 7ffbdb3ef0fa Windows_UI_Xaml!CXcpDispatcher::OnWindowMessage+0x3a 7ffbdb3eedfb Windows_UI_Xaml!CXcpDispatcher::WindowProc+0x11b 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00ee2 user32!DispatchClientMessage+0xa2 7ffbe6a1098e user32!_fnDWORD+0x3e 7ffbe6ca88a4 ntdll!KiUserCallbackDispatcherContinue+0x0 7ffbe6a21f94 user32!NtUserMessageCall+0x14 7ffbe6a00804 user32!SendMessageWorker+0x144 7ffbe6a0065b user32!SendMessageW+0xfb 7ffbdb3a6d44 Windows_UI_Xaml!CXcpBrowserHost::SyncScriptCallbackRequest+0x154 7ffbdb3a6170 Windows_UI_Xaml!CEventManager::RaiseHelper+0x220 7ffbdb41e529 Windows_UI_Xaml!CEventManager::RaiseLoadedEvent+0x131 7ffbdb3f59aa Windows_UI_Xaml!CCoreServices::NWDrawTree+0x110a 7ffbdb3f393a Windows_UI_Xaml!CWindowRenderTarget::Draw+0x15a 7ffbdb3f032e Windows_UI_Xaml!CXcpBrowserHost::OnTick+0x1ee 7ffbdb3f00a9 Windows_UI_Xaml!CXcpDispatcher::Tick+0xa9 7ffbdb3eff59 Windows_UI_Xaml!CXcpDispatcher::OnReentrancyProtectedWindowMessage+0x59 7ffbdb3eed9e Windows_UI_Xaml!CXcpDispatcher::WindowProc+0xbe 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00c97 user32!DispatchMessageWorker+0x1a7 7ffbdc20b4ec Windows_UI!Windows::UI::Core::CDispatcher::ProcessMessage+0x43c 7ffbdc20afbe Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessages+0x19e 7ffbdc20ad98 Windows_UI!Windows::UI::Core::CDispatcher::ProcessEvents+0xa8 7ffbdb59d129 Windows_UI_Xaml!CJupiterWindow::RunCoreWindowMessageLoop+0x61 7ffbdb59cf33 Windows_UI_Xaml!DirectUI::DXamlCore::RunMessageLoop+0x47 7ffbe1c79126 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationView::Run+0x46 7ffbe1c9e0da twinapi_appcore!MIDL_user_allocate+0xfa 7ffbe3968fd0 SHCore!??$MakeAndInitialize@VCClosableStreamWrapper@@UIStream@@PEAU2@$$T@Details@WRL@Microsoft@@YAJPEAPEAUIStream@@$$QEAPEAU3@$$QEA$$T@Z+0x1c4 7ffbe5cf8102 kernel32!BaseThreadInitThunk+0x22 7ffbe6c5c2e4 ntdll!RtlUserThreadStart+0x34 Stowed Exception #4 @ 0x000001c378773828 0x8000FFFF (FACILITY_NULL - Default): E_UNEXPECTED - Unexpected failure Stack : 0x1c378772018 7ffbdb69fec0 Windows_UI_Xaml!FocusProperties::IsFocusable+0x276bd0 7ffbdb437162 Windows_UI_Xaml!CFocusManager::GetFirstFocusableElement+0x22 7ffbdb36ecbf Windows_UI_Xaml!FocusManager_GetFirstFocusableElement+0x3f 7ffbdb36e929 Windows_UI_Xaml!DirectUI::Page::OnLoaded+0xa9 7ffbdb36c5e0 Windows_UI_Xaml!DirectUI::ClassMemberEventHandler::Invoke+0xb0 7ffbdb386609 Windows_UI_Xaml!DirectUI::CRoutedEventSourceBase::Raise+0x3e9 7ffbdb3860f1 Windows_UI_Xaml!DirectUI::CRoutedEventSourceBase::UntypedRaise+0x91 7ffbdb3877ad Windows_UI_Xaml!DirectUI::DependencyObject::FireEvent+0x65 7ffbdb3edd15 Windows_UI_Xaml!DirectUI::DXamlCore::FireEvent+0x205 7ffbdb3edaef Windows_UI_Xaml!AgCoreCallbacks::FireEvent+0x4f 7ffbdb3edf3f Windows_UI_Xaml!CCoreServices::CLR_FireEvent+0x16f 7ffbdb3eddb1 Windows_UI_Xaml!CommonBrowserHost::CLR_FireEvent+0x21 7ffbdb3efb66 Windows_UI_Xaml!CControlBase::ScriptCallback+0x1b6 7ffbdb3ef52c Windows_UI_Xaml!CXcpDispatcher::OnScriptCallback+0x25c 7ffbdb3ef0fa Windows_UI_Xaml!CXcpDispatcher::OnWindowMessage+0x3a 7ffbdb3eedfb Windows_UI_Xaml!CXcpDispatcher::WindowProc+0x11b 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00ee2 user32!DispatchClientMessage+0xa2 7ffbe6a1098e user32!_fnDWORD+0x3e 7ffbe6ca88a4 ntdll!KiUserCallbackDispatcherContinue+0x0 7ffbe6a21f94 user32!NtUserMessageCall+0x14 7ffbe6a00804 user32!SendMessageWorker+0x144 7ffbe6a0065b user32!SendMessageW+0xfb 7ffbdb3a6d44 Windows_UI_Xaml!CXcpBrowserHost::SyncScriptCallbackRequest+0x154 7ffbdb3a6170 Windows_UI_Xaml!CEventManager::RaiseHelper+0x220 7ffbdb41e529 Windows_UI_Xaml!CEventManager::RaiseLoadedEvent+0x131 7ffbdb3f59aa Windows_UI_Xaml!CCoreServices::NWDrawTree+0x110a 7ffbdb3f393a Windows_UI_Xaml!CWindowRenderTarget::Draw+0x15a 7ffbdb3f032e Windows_UI_Xaml!CXcpBrowserHost::OnTick+0x1ee 7ffbdb3f00a9 Windows_UI_Xaml!CXcpDispatcher::Tick+0xa9 7ffbdb3eff59 Windows_UI_Xaml!CXcpDispatcher::OnReentrancyProtectedWindowMessage+0x59 7ffbdb3eed9e Windows_UI_Xaml!CXcpDispatcher::WindowProc+0xbe 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00c97 user32!DispatchMessageWorker+0x1a7 7ffbdc20b4ec Windows_UI!Windows::UI::Core::CDispatcher::ProcessMessage+0x43c 7ffbdc20afbe Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessages+0x19e 7ffbdc20ad98 Windows_UI!Windows::UI::Core::CDispatcher::ProcessEvents+0xa8 7ffbdb59d129 Windows_UI_Xaml!CJupiterWindow::RunCoreWindowMessageLoop+0x61 7ffbdb59cf33 Windows_UI_Xaml!DirectUI::DXamlCore::RunMessageLoop+0x47 7ffbe1c79126 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationView::Run+0x46 7ffbe1c9e0da twinapi_appcore!MIDL_user_allocate+0xfa 7ffbe3968fd0 SHCore!??$MakeAndInitialize@VCClosableStreamWrapper@@UIStream@@PEAU2@$$T@Details@WRL@Microsoft@@YAJPEAPEAUIStream@@$$QEAPEAU3@$$QEA$$T@Z+0x1c4 7ffbe5cf8102 kernel32!BaseThreadInitThunk+0x22 7ffbe6c5c2e4 ntdll!RtlUserThreadStart+0x34 Stowed Exception #5 @ 0x000001c378b4b1b8 0x8000FFFF (FACILITY_NULL - Default): E_UNEXPECTED - Unexpected failure Stack : 0x1c378b499a8 7ffbdb69fec0 Windows_UI_Xaml!FocusProperties::IsFocusable+0x276bd0 7ffbdb436aa8 Windows_UI_Xaml!CFocusManager::GetFirstFocusableElementInternal+0x190 7ffbdb436a31 Windows_UI_Xaml!CFocusManager::GetFirstFocusableElementInternal+0x119 7ffbdb436a31 Windows_UI_Xaml!CFocusManager::GetFirstFocusableElementInternal+0x119 7ffbdb436a31 Windows_UI_Xaml!CFocusManager::GetFirstFocusableElementInternal+0x119 7ffbdb436a31 Windows_UI_Xaml!CFocusManager::GetFirstFocusableElementInternal+0x119 7ffbdb437152 Windows_UI_Xaml!CFocusManager::GetFirstFocusableElement+0x12 7ffbdb36ecbf Windows_UI_Xaml!FocusManager_GetFirstFocusableElement+0x3f 7ffbdb36e929 Windows_UI_Xaml!DirectUI::Page::OnLoaded+0xa9 7ffbdb36c5e0 Windows_UI_Xaml!DirectUI::ClassMemberEventHandler::Invoke+0xb0 7ffbdb386609 Windows_UI_Xaml!DirectUI::CRoutedEventSourceBase::Raise+0x3e9 7ffbdb3860f1 Windows_UI_Xaml!DirectUI::CRoutedEventSourceBase::UntypedRaise+0x91 7ffbdb3877ad Windows_UI_Xaml!DirectUI::DependencyObject::FireEvent+0x65 7ffbdb3edd15 Windows_UI_Xaml!DirectUI::DXamlCore::FireEvent+0x205 7ffbdb3edaef Windows_UI_Xaml!AgCoreCallbacks::FireEvent+0x4f 7ffbdb3edf3f Windows_UI_Xaml!CCoreServices::CLR_FireEvent+0x16f 7ffbdb3eddb1 Windows_UI_Xaml!CommonBrowserHost::CLR_FireEvent+0x21 7ffbdb3efb66 Windows_UI_Xaml!CControlBase::ScriptCallback+0x1b6 7ffbdb3ef52c Windows_UI_Xaml!CXcpDispatcher::OnScriptCallback+0x25c 7ffbdb3ef0fa Windows_UI_Xaml!CXcpDispatcher::OnWindowMessage+0x3a 7ffbdb3eedfb Windows_UI_Xaml!CXcpDispatcher::WindowProc+0x11b 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00ee2 user32!DispatchClientMessage+0xa2 7ffbe6a1098e user32!_fnDWORD+0x3e 7ffbe6ca88a4 ntdll!KiUserCallbackDispatcherContinue+0x0 7ffbe6a21f94 user32!NtUserMessageCall+0x14 7ffbe6a00804 user32!SendMessageWorker+0x144 7ffbe6a0065b user32!SendMessageW+0xfb 7ffbdb3a6d44 Windows_UI_Xaml!CXcpBrowserHost::SyncScriptCallbackRequest+0x154 7ffbdb3a6170 Windows_UI_Xaml!CEventManager::RaiseHelper+0x220 7ffbdb41e529 Windows_UI_Xaml!CEventManager::RaiseLoadedEvent+0x131 7ffbdb3f59aa Windows_UI_Xaml!CCoreServices::NWDrawTree+0x110a 7ffbdb3f393a Windows_UI_Xaml!CWindowRenderTarget::Draw+0x15a 7ffbdb3f032e Windows_UI_Xaml!CXcpBrowserHost::OnTick+0x1ee 7ffbdb3f00a9 Windows_UI_Xaml!CXcpDispatcher::Tick+0xa9 7ffbdb3eff59 Windows_UI_Xaml!CXcpDispatcher::OnReentrancyProtectedWindowMessage+0x59 7ffbdb3eed9e Windows_UI_Xaml!CXcpDispatcher::WindowProc+0xbe 7ffbe6a01169 user32!UserCallWinProcCheckWow+0x1f9 7ffbe6a00c97 user32!DispatchMessageWorker+0x1a7 7ffbdc20b4ec Windows_UI!Windows::UI::Core::CDispatcher::ProcessMessage+0x43c 7ffbdc20afbe Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessages+0x19e 7ffbdc20ad98 Windows_UI!Windows::UI::Core::CDispatcher::ProcessEvents+0xa8 7ffbdb59d129 Windows_UI_Xaml!CJupiterWindow::RunCoreWindowMessageLoop+0x61 7ffbdb59cf33 Windows_UI_Xaml!DirectUI::DXamlCore::RunMessageLoop+0x47 7ffbe1c79126 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationView::Run+0x46 7ffbe1c9e0da twinapi_appcore!MIDL_user_allocate+0xfa 7ffbe3968fd0 SHCore!??$MakeAndInitialize@VCClosableStreamWrapper@@UIStream@@PEAU2@$$T@Details@WRL@Microsoft@@YAJPEAPEAUIStream@@$$QEAPEAU3@$$QEA$$T@Z+0x1c4 7ffbe5cf8102 kernel32!BaseThreadInitThunk+0x22 7ffbe6c5c2e4 ntdll!RtlUserThreadStart+0x34 

我会在圣诞节假期之后问他,如果他的团队之前看到过这样的碰撞事故。