You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crash dump available upon request. Too big to attach. Below is partial call stack. Comparing to a blank WinUI app there seems to be missing InputNonClientPointerSource HWND, which correlates with offender API InputNonClientPointerSource::GetForWindowId.
Microsoft.UI.Input.dll!WRL2ContextSession::GetDispatcherQueue() Line 312
Microsoft.UI.Input.dll!InputNonClientPointerSourceWinRT::Configure_DispatcherQueue() Line 128
Microsoft.UI.Input.dll!InputNonClientPointerSourceWinRTStatics::GetForWindowIdHelper(Microsoft::UI::WindowId windowId, Microsoft::UI::Input::IInputNonClientPointerSource * * instance, bool isPublicApi) Line 1368
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::impl::consume_Microsoft_UI_Input_IInputNonClientPointerSourceStaticswinrt::Microsoft::UI::Input::IInputNonClientPointerSourceStatics::GetForWindowId(const winrt::Microsoft::UI::WindowId & windowId) Line 461
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId::__l2::<lambda_1>::operator()(const winrt::Microsoft::UI::Input::IInputNonClientPointerSourceStatics &) Line 691
Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::impl::factory_cache_entrywinrt::Microsoft::UI::Input::InputNonClientPointerSource,winrt::Microsoft::UI::Input::IInputNonClientPointerSourceStatics::call<winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId'::2'::<lambda_1> &>(winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId::__l2::<lambda_1> & callback) Line 6107
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::impl::call_factory(winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId::l2::<lambda_1> &&) Line 6129
Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId(const winrt::Microsoft::UI::WindowId & windowId) Line 691
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::InAppMenu::InAppMenu(Microsoft::VisualStudio::DesignTools::UwpTap::ActivationFactoryProviderBase & factoryProvider, std::shared_ptrMicrosoft::VisualStudio::DesignTools::UwpTap::OM::ObjectIdentityService identityService, Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::InAppMenuModel & model, winrt::Microsoft::UI::Xaml::Controls::Panel uiLayer, winrt::Microsoft::UI::Xaml::XamlRoot xamlRoot, HWND * hostHwnd) Line 162
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::make_unique(Microsoft::VisualStudio::DesignTools::UwpTap::ActivationFactoryProviderBase & <_Args_0>, std::shared_ptrMicrosoft::VisualStudio::DesignTools::UwpTap::OM::ObjectIdentityService &) Line 3465
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::UILayerManager::OnInAppMenuStateChanged() Line 507
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::_Func_class::operator()() Line 854
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::WinrtRunOnUIThread<std::function<void __cdecl(void)>>(const Microsoft::VisualStudio::DesignTools::UwpTap::DispatcherHelper & dispatcher, Microsoft::VisualStudio::DesignTools::UwpTap::DispatcherPriority function, std::function<void __cdecl(void)>) Line 178
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::DispatcherBindingBase::Initialize::__l5::<lambda_1>::operator()() Line 27
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::invoke(Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::DispatcherBindingBase::Initialize::__l5::<lambda_1> &) Line 1731
Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::_Func_impl_no_alloc<Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::DispatcherBindingBase<bool>::Initialize'::5'::<lambda_1>,void>::_Do_call() Line 808
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::_Func_class::operator()() Line 854
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::SimpleBinding::Initialize(std::function<void __cdecl(void)> updateView, bool invokeValueHandler) Line 48
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::DispatcherBindingBase::Initialize(std::function<void __cdecl(void)> updateView, bool invokeValueHandler) Line 24
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::UILayerManager::SetBinding(Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::NotifyingValue & value, void(Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::UILayerManager::*)() memberFn) Line 364
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::UILayerManager::Initialize() Line 137
The text was updated successfully, but these errors were encountered:
Describe the bug
WinUI app crashes when XAML Hot Reload is enabled
Steps to reproduce the bug
Follow repro steps in dotnet/maui#24293
Expected behavior
App does not crash
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
Crash dump available upon request. Too big to attach. Below is partial call stack. Comparing to a blank WinUI app there seems to be missing InputNonClientPointerSource HWND, which correlates with offender API InputNonClientPointerSource::GetForWindowId.
Microsoft.UI.Input.dll!WRL2ContextSession::GetDispatcherQueue() Line 312
Microsoft.UI.Input.dll!InputNonClientPointerSourceWinRT::Configure_DispatcherQueue() Line 128
Microsoft.UI.Input.dll!InputNonClientPointerSourceWinRTStatics::GetForWindowIdHelper(Microsoft::UI::WindowId windowId, Microsoft::UI::Input::IInputNonClientPointerSource * * instance, bool isPublicApi) Line 1368
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::impl::consume_Microsoft_UI_Input_IInputNonClientPointerSourceStaticswinrt::Microsoft::UI::Input::IInputNonClientPointerSourceStatics::GetForWindowId(const winrt::Microsoft::UI::WindowId & windowId) Line 461
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId::__l2::<lambda_1>::operator()(const winrt::Microsoft::UI::Input::IInputNonClientPointerSourceStatics &) Line 691
Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::impl::factory_cache_entrywinrt::Microsoft::UI::Input::InputNonClientPointerSource,winrt::Microsoft::UI::Input::IInputNonClientPointerSourceStatics::call<
winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId'::
2'::<lambda_1> &>(winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId::__l2::<lambda_1> & callback) Line 6107[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::impl::call_factory(winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId::l2::<lambda_1> &&) Line 6129
Microsoft.VisualStudio.DesignTools.WinUITap.dll!winrt::Microsoft::UI::Input::InputNonClientPointerSource::GetForWindowId(const winrt::Microsoft::UI::WindowId & windowId) Line 691
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::InAppMenu::InAppMenu(Microsoft::VisualStudio::DesignTools::UwpTap::ActivationFactoryProviderBase & factoryProvider, std::shared_ptrMicrosoft::VisualStudio::DesignTools::UwpTap::OM::ObjectIdentityService identityService, Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::InAppMenuModel & model, winrt::Microsoft::UI::Xaml::Controls::Panel uiLayer, winrt::Microsoft::UI::Xaml::XamlRoot xamlRoot, HWND * hostHwnd) Line 162
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::make_unique(Microsoft::VisualStudio::DesignTools::UwpTap::ActivationFactoryProviderBase & <_Args_0>, std::shared_ptrMicrosoft::VisualStudio::DesignTools::UwpTap::OM::ObjectIdentityService &) Line 3465
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::UILayerManager::OnInAppMenuStateChanged() Line 507
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::_Func_class::operator()() Line 854
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::WinrtRunOnUIThread<std::function<void __cdecl(void)>>(const Microsoft::VisualStudio::DesignTools::UwpTap::DispatcherHelper & dispatcher, Microsoft::VisualStudio::DesignTools::UwpTap::DispatcherPriority function, std::function<void __cdecl(void)>) Line 178
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::DispatcherBindingBase::Initialize::__l5::<lambda_1>::operator()() Line 27
[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::invoke(Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::DispatcherBindingBase::Initialize::__l5::<lambda_1> &) Line 1731
Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::_Func_impl_no_alloc<
Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::DispatcherBindingBase<bool>::Initialize'::
5'::<lambda_1>,void>::_Do_call() Line 808[Inline Frame] Microsoft.VisualStudio.DesignTools.WinUITap.dll!std::_Func_class::operator()() Line 854
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::SimpleBinding::Initialize(std::function<void __cdecl(void)> updateView, bool invokeValueHandler) Line 48
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::DispatcherBindingBase::Initialize(std::function<void __cdecl(void)> updateView, bool invokeValueHandler) Line 24
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::UILayerManager::SetBinding(Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::NotifyingValue & value, void(Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::UILayerManager::*)() memberFn) Line 364
Microsoft.VisualStudio.DesignTools.WinUITap.dll!Microsoft::VisualStudio::DesignTools::UwpTap::InAppUI::UILayerManager::Initialize() Line 137
The text was updated successfully, but these errors were encountered: