[1.12] Crash when persisting a defterm window #15368

Open
opened 2026-01-31 04:36:27 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Sep 28, 2021).

discovered in the 1.12 bug bash on 9/28

  • Enable window persisting.
  • Open a couple Terminal windows, then launch pwsh so that it opens as a new defterm window.
  • "Quit" the terminal.
  • You'll get a crash like the one below:
Details
0:000> k
 # Child-SP          RetAddr               Call Site
00 (Inline Function) --------`--------     Windows_UI_Xaml!ctl::ComObjectBase::QueryInterfaceBase+0x9 [onecoreuap\windows\dxaml\xcp\components\com\comobjectbase.cpp @ 36] 
01 000000f3`c4bde9a0 00007ff9`0c2b91df     Windows_UI_Xaml!ctl::ComObject<DirectUI::ContentControl>::QueryInterface+0x11 [onecoreuap\windows\dxaml\xcp\components\com\inc\ComObject.h @ 36] 
02 000000f3`c4bde9d0 00007ff8`deb3f1d7     Windows_UI_Xaml!ctl::Details::WeakReferenceImpl::Resolve+0x4f [onecoreuap\windows\dxaml\xcp\components\com\weakreference.cpp @ 35] 
03 000000f3`c4bdea00 00007ff8`deaea933     Microsoft_UI_Xaml!DllGetActivationFactory+0x633c7
04 000000f3`c4bdea40 00007ff8`deb37266     Microsoft_UI_Xaml!DllGetActivationFactory+0xeb23
05 000000f3`c4bdea70 00007ff8`deb37234     Microsoft_UI_Xaml!DllGetActivationFactory+0x5b456
06 000000f3`c4bdeaa0 00007ff8`deaaadc4     Microsoft_UI_Xaml!DllGetActivationFactory+0x5b424
07 000000f3`c4bdead0 00007ff9`0c1c3d34     Microsoft_UI_Xaml+0x2adc4
08 (Inline Function) --------`--------     Windows_UI_Xaml!ctl::release_interface_nonull+0x1a [onecoreuap\windows\dxaml\xcp\components\com\inc\ComUtils.h @ 152] 
09 000000f3`c4bdeb00 00007ff9`0c1c260f     Windows_UI_Xaml!DirectUI::TrackerTargetReference::Clear+0x1f4 [onecoreuap\windows\dxaml\xcp\components\lifetime\lib\trackertargetreference.cpp @ 697] 
0a (Inline Function) --------`--------     Windows_UI_Xaml!DirectUI::TrackerPtr<IInspectable,1,0>::Clear+0xd [onecoreuap\windows\dxaml\xcp\components\lifetime\inc\TrackerPtr.h @ 267] 
0b (Inline Function) --------`--------     Windows_UI_Xaml!ctl::WeakReferenceSourceNoThreadId::RemovePtrValue+0x17b [onecoreuap\windows\dxaml\xcp\components\lifetime\inc\WeakReferenceSourceNoThreadId.h @ 233] 
0c 000000f3`c4bdeb80 00007ff9`0c1c21c9     Windows_UI_Xaml!DirectUI::DependencyObject::ClearPeerReferences+0x23f [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 757] 
0d 000000f3`c4bdebc0 00007ff9`0c28b434     Windows_UI_Xaml!DirectUI::DependencyObject::DisconnectFrameworkPeerCore+0x29 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 493] 
0e (Inline Function) --------`--------     Windows_UI_Xaml!DirectUI::DependencyObject::DisconnectFrameworkPeer+0x2e [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 547] 
0f (Inline Function) --------`--------     Windows_UI_Xaml!DirectUI::DependencyObject::EndShutdown+0x2e [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 639] 
10 000000f3`c4bdebf0 00007ff9`0c28ab89     Windows_UI_Xaml!DirectUI::DXamlCore::ShutdownAllPeers+0x1b4 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dxamlcore.cpp @ 1891] 
11 000000f3`c4bdec90 00007ff9`0c28a26a     Windows_UI_Xaml!DirectUI::DXamlCore::CommonShutdown+0x1d1 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dxamlcore.cpp @ 925] 
12 000000f3`c4bded00 00007ff9`0c289abb     Windows_UI_Xaml!DirectUI::DXamlCore::DeinitializeInstance+0x172 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dxamlcore.cpp @ 1039] 
13 000000f3`c4bded30 00007ff9`0c288412     Windows_UI_Xaml!DirectUI::DXamlCore::Deinitialize+0x8f [onecoreuap\windows\dxaml\xcp\dxaml\lib\dxamlcore.cpp @ 3105] 
14 000000f3`c4bded60 00007ff9`0c3f6f93     Windows_UI_Xaml!DirectUI::WindowsXamlManager::XamlCore::Close+0x122 [onecoreuap\windows\dxaml\xcp\dxaml\lib\windowsxamlmanager_partial.cpp @ 346] 
15 (Inline Function) --------`--------     Windows_UI_Xaml!DirectUI::WindowsXamlManager::EnqueueClose::__l2::<lambda_fb82c00b6d7c6024e3fa60b065facdab>::operator()+0x9 [onecoreuap\windows\dxaml\xcp\dxaml\lib\windowsxamlmanager_partial.cpp @ 298] 
16 000000f3`c4bdedc0 00007ff9`40e09ca0     Windows_UI_Xaml!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::System::IDispatcherQueueHandler::*)(void)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,Windows::System::IDispatcherQueueHandler,Microsoft::WRL::FtmBase>,<lambda_fb82c00b6d7c6024e3fa60b065facdab> &,-1>::Invoke+0x13 [onecore\external\sdk\inc\wrl\event.h @ 354] 
17 000000f3`c4bdedf0 00007ff9`40dabba0     CoreMessaging!Windows::System::DispatcherQueue::DeferInvokeCallback+0x20 [mincore\coreui\dev\dispatcherqueue\wrtdispatcherqueue.cpp @ 911] 
18 (Inline Function) --------`--------     CoreMessaging!Microsoft::CoreUI::ActionCallback::ImportAdapter$::__l2::<lambda_a81ff790741c2a62f2197c2561f5fe49>::operator()+0x1f [mincore\CoreUI\Dev\System\Api\IExportMessageSession.cs @ 22] 
19 000000f3`c4bdee20 00007ff9`40dabaf1     CoreMessaging!CFlat::SehSafe::Execute<<lambda_a81ff790741c2a62f2197c2561f5fe49> >+0x2c [CFlatCorlib\1.0.210714011\CFlatCorlib\SehSafe.inl @ 11] 
1a 000000f3`c4bdee50 00007ff9`40dcaf83     CoreMessaging!Microsoft::CoreUI::ActionCallback::ImportAdapter$+0xb1 [mincore\CoreUI\Dev\System\Api\IExportMessageSession.cs @ 22] 
1b (Inline Function) --------`--------     CoreMessaging!CFlat::DelegateImpl<Microsoft::CoreUI::ActionCallback,0,void __cdecl(void),long __cdecl(void *),0>::Invoke+0x22 [CFlatCorlib\1.0.210714011\CFlatCorlib\Delegate.h @ 337] 
1c 000000f3`c4bdeea0 00007ff9`40dc9d15     CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch+0x6d3 [mincore\CoreUI\Dev\System\Dispatch\DeferredCall.cs @ 62] 
1d 000000f3`c4bdef60 00007ff9`40dcbb7e     CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch+0x1a5 [mincore\CoreUI\Dev\System\Dispatch\DeferredCallDispatcher.cs @ 379] 
1e (Inline Function) --------`--------     CoreMessaging!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchNextItem+0x447 [mincore\CoreUI\Dev\System\Dispatch\Dispatcher.cs @ 968] 
1f (Inline Function) --------`--------     CoreMessaging!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop+0x4b0 [mincore\CoreUI\Dev\System\Dispatch\Dispatcher.cs @ 504] 
20 000000f3`c4bdefb0 00007ff9`40dc82e6     CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0x5fe [mincore\CoreUI\Dev\System\Dispatch\EventLoop.cs @ 654] 
21 (Inline Function) --------`--------     CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::DrainCoreMessagingQueue+0x1db [mincore\CoreUI\Dev\System\Dispatch\UserAdapter.cs @ 774] 
22 000000f3`c4bdf0a0 00007ff9`40e1458a     CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x2a6 [mincore\CoreUI\Dev\System\Dispatch\UserAdapter.cs @ 1108] 
23 000000f3`c4bdf130 00007ff9`40e1c43d     CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatchRaw+0x76 [mincore\CoreUI\Dev\System\Dispatch\UserAdapter.cs @ 1045] 
24 000000f3`c4bdf170 00007ff9`40e1c4d1     CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::DoWork+0x75 [mincore\coreui\dev\system\Dispatch\UserAdapterCommonN.cpp @ 201] 
25 000000f3`c4bdf1c0 00007ff9`40de291c     CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::HandleVariableDispatchNotifyMessage+0x21 [mincore\coreui\dev\system\Dispatch\UserAdapterCommonN.cpp @ 171] 
26 (Inline Function) --------`--------     CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::HandleDispatchNotifyMessage+0x99 [mincore\coreui\dev\system\Dispatch\minwin\UserAdapterN.cpp @ 505] 
27 000000f3`c4bdf1f0 00007ff9`46683b38     CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::WindowProc+0xfc [mincore\coreui\dev\system\Dispatch\UserAdapterCommonN.cpp @ 110] 
28 000000f3`c4bdf260 00007ff9`4668368c     user32!UserCallWinProcCheckWow+0x338 [clientcore\windows\core\ntuser\client\clmsg.cxx @ 282] 
29 000000f3`c4bdf3d0 00007ff9`46696b2a     user32!DispatchClientMessage+0x9c [clientcore\windows\core\ntuser\client\daytona\objfre\amd64\client.cxx @ 3435] 
2a 000000f3`c4bdf430 00007ff9`469098f4     user32!__fnDWORD+0x3a [onecoreuap\restricted\windows\inc\ntuser\inc\ntcb.h @ 1214] 
2b 000000f3`c4bdf490 00007ff9`43db13b4     ntdll!KiUserCallbackDispatcherContinue [minkernel\ntos\rtl\amd64\trampoln.asm @ 607] 
2c 000000f3`c4bdf518 00007ff9`46691b96     win32u!ZwUserPeekMessage+0x14 [onecoreuap\windows\core\umode\moderncore\objfre\amd64\usrstubs.asm @ 165] 
2d 000000f3`c4bdf520 00007ff9`46691a8a     user32!_PeekMessage+0xb6 [clientcore\windows\core\ntuser\client\ntstubs.cxx @ 930] 
2e 000000f3`c4bdf590 00007ff9`37ea14f5     user32!PeekMessageW+0x13a [onecoreuap\restricted\windows\inc\private\core\ntuser\client\cltxt.h @ 761] 
2f 000000f3`c4bdf600 00007ff9`37ea39b9     Microsoft_Toolkit_Win32_UI_XamlHost!winrt::Microsoft::Toolkit::Win32::UI::XamlHost::implementation::XamlApplication::Close+0x145 [D:\a\1\s\Microsoft.Toolkit.Win32.UI.XamlApplication\XamlApplication.cpp @ 75] 
30 000000f3`c4bdf690 00007ff7`90643703     Microsoft_Toolkit_Win32_UI_XamlHost!winrt::impl::produce<winrt::Microsoft::Toolkit::Win32::UI::XamlHost::implementation::XamlApplication,winrt::Windows::Foundation::IClosable>::Close+0x19 [D:\a\1\s\Microsoft.Toolkit.Win32.UI.XamlApplication\x64\Release\Generated Files\winrt\Windows.Foundation.h @ 1080] 
31 (Inline Function) --------`--------     WindowsTerminal!winrt::impl::consume_Windows_Foundation_IClosable<winrt::TerminalApp::App>::Close+0x45 [C:\a\_work\1\s\src\cascadia\WindowsTerminal\Generated Files\winrt\Windows.Foundation.h @ 121] 
32 000000f3`c4bdf6c0 00007ff7`90635c85     WindowsTerminal!AppHost::~AppHost+0x93 [C:\a\_work\1\s\src\cascadia\WindowsTerminal\AppHost.cpp @ 106] 
33 000000f3`c4bdf700 00007ff7`9062cc42     WindowsTerminal!wWinMain+0xd2b5 [C:\a\_work\1\s\src\cascadia\WindowsTerminal\main.cpp @ 199] 
34 (Inline Function) --------`--------     WindowsTerminal!invoke_main+0x21 [d:\a01\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 118] 
35 000000f3`c4bdf920 00007ff9`454a6d50     WindowsTerminal!__scrt_common_main_seh+0x106 [d:\a01\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] 
36 000000f3`c4bdf960 00007ff9`46864c6b     KERNEL32!BaseThreadInitThunk+0x10 [clientcore\base\win32\client\thread.c @ 75] 
37 000000f3`c4bdf990 00000000`00000000     ntdll!RtlUserThreadStart+0x2b [minkernel\ntdll\rtlstrt.c @ 1152] 

See also: #11083, #9800

Originally created by @zadjii-msft on GitHub (Sep 28, 2021). _discovered in the 1.12 bug bash on 9/28_ * Enable window persisting. * Open a couple Terminal windows, then launch `pwsh` so that it opens as a new defterm window. * "Quit" the terminal. * You'll get a crash like the one below: <details> <summary>Details</summary> ``` 0:000> k # Child-SP RetAddr Call Site 00 (Inline Function) --------`-------- Windows_UI_Xaml!ctl::ComObjectBase::QueryInterfaceBase+0x9 [onecoreuap\windows\dxaml\xcp\components\com\comobjectbase.cpp @ 36] 01 000000f3`c4bde9a0 00007ff9`0c2b91df Windows_UI_Xaml!ctl::ComObject<DirectUI::ContentControl>::QueryInterface+0x11 [onecoreuap\windows\dxaml\xcp\components\com\inc\ComObject.h @ 36] 02 000000f3`c4bde9d0 00007ff8`deb3f1d7 Windows_UI_Xaml!ctl::Details::WeakReferenceImpl::Resolve+0x4f [onecoreuap\windows\dxaml\xcp\components\com\weakreference.cpp @ 35] 03 000000f3`c4bdea00 00007ff8`deaea933 Microsoft_UI_Xaml!DllGetActivationFactory+0x633c7 04 000000f3`c4bdea40 00007ff8`deb37266 Microsoft_UI_Xaml!DllGetActivationFactory+0xeb23 05 000000f3`c4bdea70 00007ff8`deb37234 Microsoft_UI_Xaml!DllGetActivationFactory+0x5b456 06 000000f3`c4bdeaa0 00007ff8`deaaadc4 Microsoft_UI_Xaml!DllGetActivationFactory+0x5b424 07 000000f3`c4bdead0 00007ff9`0c1c3d34 Microsoft_UI_Xaml+0x2adc4 08 (Inline Function) --------`-------- Windows_UI_Xaml!ctl::release_interface_nonull+0x1a [onecoreuap\windows\dxaml\xcp\components\com\inc\ComUtils.h @ 152] 09 000000f3`c4bdeb00 00007ff9`0c1c260f Windows_UI_Xaml!DirectUI::TrackerTargetReference::Clear+0x1f4 [onecoreuap\windows\dxaml\xcp\components\lifetime\lib\trackertargetreference.cpp @ 697] 0a (Inline Function) --------`-------- Windows_UI_Xaml!DirectUI::TrackerPtr<IInspectable,1,0>::Clear+0xd [onecoreuap\windows\dxaml\xcp\components\lifetime\inc\TrackerPtr.h @ 267] 0b (Inline Function) --------`-------- Windows_UI_Xaml!ctl::WeakReferenceSourceNoThreadId::RemovePtrValue+0x17b [onecoreuap\windows\dxaml\xcp\components\lifetime\inc\WeakReferenceSourceNoThreadId.h @ 233] 0c 000000f3`c4bdeb80 00007ff9`0c1c21c9 Windows_UI_Xaml!DirectUI::DependencyObject::ClearPeerReferences+0x23f [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 757] 0d 000000f3`c4bdebc0 00007ff9`0c28b434 Windows_UI_Xaml!DirectUI::DependencyObject::DisconnectFrameworkPeerCore+0x29 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 493] 0e (Inline Function) --------`-------- Windows_UI_Xaml!DirectUI::DependencyObject::DisconnectFrameworkPeer+0x2e [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 547] 0f (Inline Function) --------`-------- Windows_UI_Xaml!DirectUI::DependencyObject::EndShutdown+0x2e [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 639] 10 000000f3`c4bdebf0 00007ff9`0c28ab89 Windows_UI_Xaml!DirectUI::DXamlCore::ShutdownAllPeers+0x1b4 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dxamlcore.cpp @ 1891] 11 000000f3`c4bdec90 00007ff9`0c28a26a Windows_UI_Xaml!DirectUI::DXamlCore::CommonShutdown+0x1d1 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dxamlcore.cpp @ 925] 12 000000f3`c4bded00 00007ff9`0c289abb Windows_UI_Xaml!DirectUI::DXamlCore::DeinitializeInstance+0x172 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dxamlcore.cpp @ 1039] 13 000000f3`c4bded30 00007ff9`0c288412 Windows_UI_Xaml!DirectUI::DXamlCore::Deinitialize+0x8f [onecoreuap\windows\dxaml\xcp\dxaml\lib\dxamlcore.cpp @ 3105] 14 000000f3`c4bded60 00007ff9`0c3f6f93 Windows_UI_Xaml!DirectUI::WindowsXamlManager::XamlCore::Close+0x122 [onecoreuap\windows\dxaml\xcp\dxaml\lib\windowsxamlmanager_partial.cpp @ 346] 15 (Inline Function) --------`-------- Windows_UI_Xaml!DirectUI::WindowsXamlManager::EnqueueClose::__l2::<lambda_fb82c00b6d7c6024e3fa60b065facdab>::operator()+0x9 [onecoreuap\windows\dxaml\xcp\dxaml\lib\windowsxamlmanager_partial.cpp @ 298] 16 000000f3`c4bdedc0 00007ff9`40e09ca0 Windows_UI_Xaml!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::System::IDispatcherQueueHandler::*)(void)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,Windows::System::IDispatcherQueueHandler,Microsoft::WRL::FtmBase>,<lambda_fb82c00b6d7c6024e3fa60b065facdab> &,-1>::Invoke+0x13 [onecore\external\sdk\inc\wrl\event.h @ 354] 17 000000f3`c4bdedf0 00007ff9`40dabba0 CoreMessaging!Windows::System::DispatcherQueue::DeferInvokeCallback+0x20 [mincore\coreui\dev\dispatcherqueue\wrtdispatcherqueue.cpp @ 911] 18 (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::ActionCallback::ImportAdapter$::__l2::<lambda_a81ff790741c2a62f2197c2561f5fe49>::operator()+0x1f [mincore\CoreUI\Dev\System\Api\IExportMessageSession.cs @ 22] 19 000000f3`c4bdee20 00007ff9`40dabaf1 CoreMessaging!CFlat::SehSafe::Execute<<lambda_a81ff790741c2a62f2197c2561f5fe49> >+0x2c [CFlatCorlib\1.0.210714011\CFlatCorlib\SehSafe.inl @ 11] 1a 000000f3`c4bdee50 00007ff9`40dcaf83 CoreMessaging!Microsoft::CoreUI::ActionCallback::ImportAdapter$+0xb1 [mincore\CoreUI\Dev\System\Api\IExportMessageSession.cs @ 22] 1b (Inline Function) --------`-------- CoreMessaging!CFlat::DelegateImpl<Microsoft::CoreUI::ActionCallback,0,void __cdecl(void),long __cdecl(void *),0>::Invoke+0x22 [CFlatCorlib\1.0.210714011\CFlatCorlib\Delegate.h @ 337] 1c 000000f3`c4bdeea0 00007ff9`40dc9d15 CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch+0x6d3 [mincore\CoreUI\Dev\System\Dispatch\DeferredCall.cs @ 62] 1d 000000f3`c4bdef60 00007ff9`40dcbb7e CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch+0x1a5 [mincore\CoreUI\Dev\System\Dispatch\DeferredCallDispatcher.cs @ 379] 1e (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchNextItem+0x447 [mincore\CoreUI\Dev\System\Dispatch\Dispatcher.cs @ 968] 1f (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop+0x4b0 [mincore\CoreUI\Dev\System\Dispatch\Dispatcher.cs @ 504] 20 000000f3`c4bdefb0 00007ff9`40dc82e6 CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0x5fe [mincore\CoreUI\Dev\System\Dispatch\EventLoop.cs @ 654] 21 (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::DrainCoreMessagingQueue+0x1db [mincore\CoreUI\Dev\System\Dispatch\UserAdapter.cs @ 774] 22 000000f3`c4bdf0a0 00007ff9`40e1458a CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x2a6 [mincore\CoreUI\Dev\System\Dispatch\UserAdapter.cs @ 1108] 23 000000f3`c4bdf130 00007ff9`40e1c43d CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatchRaw+0x76 [mincore\CoreUI\Dev\System\Dispatch\UserAdapter.cs @ 1045] 24 000000f3`c4bdf170 00007ff9`40e1c4d1 CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::DoWork+0x75 [mincore\coreui\dev\system\Dispatch\UserAdapterCommonN.cpp @ 201] 25 000000f3`c4bdf1c0 00007ff9`40de291c CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::HandleVariableDispatchNotifyMessage+0x21 [mincore\coreui\dev\system\Dispatch\UserAdapterCommonN.cpp @ 171] 26 (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::HandleDispatchNotifyMessage+0x99 [mincore\coreui\dev\system\Dispatch\minwin\UserAdapterN.cpp @ 505] 27 000000f3`c4bdf1f0 00007ff9`46683b38 CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::WindowProc+0xfc [mincore\coreui\dev\system\Dispatch\UserAdapterCommonN.cpp @ 110] 28 000000f3`c4bdf260 00007ff9`4668368c user32!UserCallWinProcCheckWow+0x338 [clientcore\windows\core\ntuser\client\clmsg.cxx @ 282] 29 000000f3`c4bdf3d0 00007ff9`46696b2a user32!DispatchClientMessage+0x9c [clientcore\windows\core\ntuser\client\daytona\objfre\amd64\client.cxx @ 3435] 2a 000000f3`c4bdf430 00007ff9`469098f4 user32!__fnDWORD+0x3a [onecoreuap\restricted\windows\inc\ntuser\inc\ntcb.h @ 1214] 2b 000000f3`c4bdf490 00007ff9`43db13b4 ntdll!KiUserCallbackDispatcherContinue [minkernel\ntos\rtl\amd64\trampoln.asm @ 607] 2c 000000f3`c4bdf518 00007ff9`46691b96 win32u!ZwUserPeekMessage+0x14 [onecoreuap\windows\core\umode\moderncore\objfre\amd64\usrstubs.asm @ 165] 2d 000000f3`c4bdf520 00007ff9`46691a8a user32!_PeekMessage+0xb6 [clientcore\windows\core\ntuser\client\ntstubs.cxx @ 930] 2e 000000f3`c4bdf590 00007ff9`37ea14f5 user32!PeekMessageW+0x13a [onecoreuap\restricted\windows\inc\private\core\ntuser\client\cltxt.h @ 761] 2f 000000f3`c4bdf600 00007ff9`37ea39b9 Microsoft_Toolkit_Win32_UI_XamlHost!winrt::Microsoft::Toolkit::Win32::UI::XamlHost::implementation::XamlApplication::Close+0x145 [D:\a\1\s\Microsoft.Toolkit.Win32.UI.XamlApplication\XamlApplication.cpp @ 75] 30 000000f3`c4bdf690 00007ff7`90643703 Microsoft_Toolkit_Win32_UI_XamlHost!winrt::impl::produce<winrt::Microsoft::Toolkit::Win32::UI::XamlHost::implementation::XamlApplication,winrt::Windows::Foundation::IClosable>::Close+0x19 [D:\a\1\s\Microsoft.Toolkit.Win32.UI.XamlApplication\x64\Release\Generated Files\winrt\Windows.Foundation.h @ 1080] 31 (Inline Function) --------`-------- WindowsTerminal!winrt::impl::consume_Windows_Foundation_IClosable<winrt::TerminalApp::App>::Close+0x45 [C:\a\_work\1\s\src\cascadia\WindowsTerminal\Generated Files\winrt\Windows.Foundation.h @ 121] 32 000000f3`c4bdf6c0 00007ff7`90635c85 WindowsTerminal!AppHost::~AppHost+0x93 [C:\a\_work\1\s\src\cascadia\WindowsTerminal\AppHost.cpp @ 106] 33 000000f3`c4bdf700 00007ff7`9062cc42 WindowsTerminal!wWinMain+0xd2b5 [C:\a\_work\1\s\src\cascadia\WindowsTerminal\main.cpp @ 199] 34 (Inline Function) --------`-------- WindowsTerminal!invoke_main+0x21 [d:\a01\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 118] 35 000000f3`c4bdf920 00007ff9`454a6d50 WindowsTerminal!__scrt_common_main_seh+0x106 [d:\a01\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] 36 000000f3`c4bdf960 00007ff9`46864c6b KERNEL32!BaseThreadInitThunk+0x10 [clientcore\base\win32\client\thread.c @ 75] 37 000000f3`c4bdf990 00000000`00000000 ntdll!RtlUserThreadStart+0x2b [minkernel\ntdll\rtlstrt.c @ 1152] ``` </details> See also: #11083, #9800
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15368