Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail fast exception in DirectUI::DragDrop destructor (UWP app) #5157

Open
benstevens48 opened this issue Feb 14, 2025 · 0 comments
Open

Fail fast exception in DirectUI::DragDrop destructor (UWP app) #5157

benstevens48 opened this issue Feb 14, 2025 · 0 comments

Comments

@benstevens48
Copy link

benstevens48 commented Feb 14, 2025

I have a UWP app in the Store.

I'm getting a few exceptions in the Partner Center for my app which are labelled as

fail_fast_fatal_app_exit_c0000409_windows.ui.xaml.dll!ctl::comptr_iinspectable_::internalrelease

with stack trace

Frame	Image	Function	Offset	
"0"	"ucrtbase.dll"	"abort"	"0x000000000000004E"	
"1"	"ucrtbase.dll"	"_purecall"	"0x0000000000000023"	
"2"	"ucrtbase.dll"	"__crt_state_management::wrapped_invoke_int (__cdecl*)(void),int_"	"0x0000000000000022"	
"3"	"Windows.UI.Xaml.dll"	"ctl::ComPtr_IInspectable_::InternalRelease"	"0x0000000000000033"	
"4"	"Windows.UI.Xaml.dll"	"DirectUI::DragDrop::~DragDrop"	"0x0000000000000017"	
"5"	"Windows.UI.Xaml.dll"	"DirectUI::DXamlCore::DeleteDragDrop"	"0x0000000000000035"	
"6"	"Windows.UI.Xaml.dll"	"DirectUI::DXamlCore::DeinitializeInstance"	"0x00000000000001DC"	
"7"	"Windows.UI.Xaml.dll"	"DirectUI::DXamlCore::Deinitialize"	"0x000000000000008F"	
"8"	"Windows.UI.Xaml.dll"	"DirectUI::FrameworkView::Uninitialize"	"0x0000000000000061"	
"9"	"twinapi.appcore.dll"	"Windows::ApplicationModel::Core::CoreApplicationView::Uninitialize"	"0x00000000000670EE"	
"10"	"twinapi.appcore.dll"	"Windows::ApplicationModel::Core::CoreApplicationViewAgileContainer::UninitializeView"	"0x0000000000000085"	
"11"	"twinapi.appcore.dll"	"_lambda_42789f15e44e28e8f1176a4d3f326103_::operator"	"0x000000000007BB55"	
"12"	"SHCore.dll"	"_WrapperThreadProc"	"0x000000000000011D"	
"13"	"kernel32.dll"	"BaseThreadInitThunk"	"0x000000000000001D"	
"14"	"ntdll.dll"	"RtlUserThreadStart"	"0x0000000000000028"	

From the stack trace, this is happening when an application view is closing. My app supports multiple windows, so I don't know if this when the app finally exits or just a window closing. In the former case, I was wondering if it might be related to COM shutting down before the DirectUI::DragDrop constructor being called? That's just a suggestion though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant