microsoft / WindowsAppSDK-Samples

Feature samples for the Windows App SDK
MIT License
721 stars 225 forks source link

Simple Island App crashes on quit #321

Closed litherum closed 2 months ago

litherum commented 10 months ago

If you build and run the unmodified Simple Island App, and then quit the app, it crashes.

I'm not sure if this is helpful, but here is the stack trace: Stack Trace.txt

I'm using Windows 11 23H2, Windows 11 SDK 10.0.22000.0, Visual Studio 17.8.1, and Windows App SDK 1.4.3 (1.4.231115000).

edward-a commented 8 months ago

Also wondering if there is a fix. From the call stack, it looks like it's caused by Visual Studio?

KernelBase.dll!RaiseFailFastException() Unknown
Microsoft.UI.Input.dll!00007ffa58522a05()   Unknown
Microsoft.UI.Input.dll!00007ffa5856fa7d()   Unknown
Microsoft.UI.Input.dll!00007ffa5856fbc4()   Unknown
Microsoft.UI.Input.dll!00007ffa585568a5()   Unknown
Microsoft.UI.Input.dll!00007ffa58556275()   Unknown
Microsoft.VisualStudio.DesignTools.WinUITap.dll!00007ffa289007d9()  Unknown
Microsoft.VisualStudio.DesignTools.WinUITap.dll!00007ffa289319ef()  Unknown
Microsoft.VisualStudio.DesignTools.WinUITap.dll!00007ffa28928687()  Unknown
Microsoft.VisualStudio.DesignTools.WinUITap.dll!00007ffa28926d12()  Unknown
Microsoft.VisualStudio.DesignTools.WinUITap.dll!00007ffa289c15c9()  Unknown
Microsoft.VisualStudio.DesignTools.WinUITap.dll!00007ffa289d3727()  Unknown
Microsoft.VisualStudio.DesignTools.WinUITap.dll!00007ffa289ade9b()  Unknown
Microsoft.VisualStudio.DesignTools.WinUITap.dll!00007ffa289aa206()  Unknown
Microsoft.ui.xaml.dll!00007ff9c2d8e4ed()    Unknown
Microsoft.ui.xaml.dll!00007ff9c2d8e924()    Unknown
Microsoft.ui.xaml.dll!00007ff9c2bcb63e()    Unknown
Microsoft.ui.xaml.dll!00007ff9c2afbe7d()    Unknown
Microsoft.ui.xaml.dll!00007ff9c2b6db02()    Unknown
Microsoft.ui.xaml.dll!00007ff9c2b6dd8d()    Unknown
Microsoft.ui.xaml.dll!00007ff9c2b6e18d()    Unknown
Microsoft.ui.xaml.dll!00007ff9c2b6e047()    Unknown
CoreMessagingXP.dll!00007ffa84e91378()  Unknown
CoreMessagingXP.dll!00007ffa84e91b3e()  Unknown
CoreMessagingXP.dll!00007ffa84e8ef5d()  Unknown
CoreMessagingXP.dll!00007ffa84e8ed3e()  Unknown
CoreMessagingXP.dll!00007ffa84e43bcc()  Unknown
CoreMessagingXP.dll!00007ffa84e3d8db()  Unknown
CoreMessagingXP.dll!00007ffa84e4750d()  Unknown
CoreMessagingXP.dll!00007ffa84e178ab()  Unknown
CoreMessagingXP.dll!00007ffa84e572a2()  Unknown
CoreMessagingXP.dll!00007ffa84e190d4()  Unknown
CoreMessagingXP.dll!00007ffa84e18963()  Unknown
CoreMessagingXP.dll!00007ffa84e0ed73()  Unknown
CoreMessagingXP.dll!00007ffa84e115ea()  Unknown
CoreMessagingXP.dll!00007ffa84e11aeb()  Unknown
CoreMessagingXP.dll!00007ffa84e119f4()  Unknown
CoreMessagingXP.dll!00007ffa84e4e56d()  Unknown
CoreMessagingXP.dll!00007ffa84e4e4f2()  Unknown
CoreMessagingXP.dll!00007ffa84e4e3a3()  Unknown
user32.dll!00007ffaf42c8241()   Unknown
user32.dll!00007ffaf42c7efc()   Unknown
user32.dll!00007ffaf42d302d()   Unknown
ntdll.dll!KiUserCallbackDispatcherContinue()    Unknown
win32u.dll!00007ffaf41914d4()   Unknown
user32.dll!00007ffaf42d1b4f()   Unknown
user32.dll!00007ffaf42d1a1c()   Unknown
CoreMessagingXP.dll!00007ffa84e4e9f4()  Unknown
CoreMessagingXP.dll!00007ffa84e11886()  Unknown
CoreMessagingXP.dll!00007ffa84e110d3()  Unknown
CoreMessagingXP.dll!00007ffa84e1a7a6()  Unknown
CoreMessagingXP.dll!00007ffa84e0eb79()  Unknown
CoreMessagingXP.dll!00007ffa84e145d0()  Unknown
CoreMessagingXP.dll!00007ffa84e8e783()  Unknown
CoreMessagingXP.dll!00007ffa84e88b5d()  Unknown
SimpleIslandApp.exe!winrt::impl::consume_Microsoft_UI_Dispatching_IDispatcherQueueController2<winrt::Microsoft::UI::Dispatching::DispatcherQueueController>::ShutdownQueue() Line 128   C++

SimpleIslandApp.exe!wWinMain(HINSTANCE *, HINSTANCE , wchar_t , int) Line 79 C++

Scottj1s commented 2 months ago

This issue was fixed with Windows App SDK 1.5