Skip to content

CmdPal: crash when opening Settings window #47970

Closed

Description

Microsoft PowerToys version

0.100

Installation method

Dev build in Visual Studio

Area(s) with issue?

Command Palette

Steps to reproduce

  1. Run CmdPal in Release/AOT configuration.
  2. Open the Settings window.
  3. Observe the crash.

Stowed Exception #1 @ 0x000001bce1b32848
	0x80004002 (FACILITY_NULL - Default): E_NOINTERFACE - No such interface supported

	Stack	 : 0x19c44d44200
		7ffa1fe80ec7 combase!RoOriginateError+0xc7
		7ff95ced3ae8 CoreMessagingXP!Microsoft::UI::Dispatching::DispatcherQueue::DeferInvokeCallback+0x68
		7ff95ce80a4d CoreMessagingXP!CFlat::SehSafe::Execute<<lambda_a81ff790741c2a62f2197c2561f5fe49> >+0x21
		7ff95ce84aa6 CoreMessagingXP!Microsoft::CoreUI::ActionCallback::ImportAdapter$+0x66
		7ff95ce8b0e0 CoreMessagingXP!Microsoft::CoreUI::Messaging::MessageSession::Callback_InvokeDeferInvoke+0x60
		7ff95ce5b91f CoreMessagingXP!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch+0x6c7
		7ff95ce99092 CoreMessagingXP!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch+0x102
		7ff95ce5c8d0 CoreMessagingXP!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchNextItem+0x1bc
		7ff95ce5c63d CoreMessagingXP!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop+0x1b9
		7ff95ce4fd8c CoreMessagingXP!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0x164
		7ff95ce52cb6 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::DrainCoreMessagingQueue+0x15a
		7ff95ce5302c CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x98
		7ff95ce936f3 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::DoWork+0xa7
		7ff95ce93886 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::HandleDispatchNotifyMessage+0x132
		7ff95ce93dfe CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::WindowProc+0x5e
		7ffa2014c396 user32!UserCallWinProcCheckWow+0x356
		7ffa2014bc1c user32!DispatchClientMessage+0x9c
		7ffa201822a3 user32!_fnDWORD+0x33
		7ffa22104104 ntdll!KiUserCallbackDispatcherContinue+0x0
		7ffa1f2c1344 win32u!NtUserGetMessage+0x14
		7ffa2017b352 user32!GetMessageW+0x22
		7ff8060e5100 Microsoft_UI_Xaml!DirectUI::FrameworkApplication::RunDesktopWindowMessageLoop+0x3c
		7ff80604c2b1 Microsoft_UI_Xaml!DirectUI::FrameworkApplication::StartDesktop+0x209
		7ff806152e92 Microsoft_UI_Xaml!DirectUI::FrameworkApplicationFactory::Start+0x62
		7ff6b2cf4269 Microsoft_CmdPal_UI!Microsoft_WinUI_ABI_Microsoft_UI_Xaml_IApplicationStaticsMethods__Start+0x99
		7ff6b2b08ccc Microsoft_CmdPal_UI!Microsoft_CmdPal_UI_Microsoft_CmdPal_UI_Program__Main+0x22c
		7ff6b35eb359 Microsoft_CmdPal_UI!Microsoft_CmdPal_UI__Module___StartupCodeMain+0xf9
		7ff6b37534d0 Microsoft_CmdPal_UI!wmain+0xb0
		7ff6b381890f Microsoft_CmdPal_UI!__scrt_common_main_seh+0x10f
		7ffa206de957 kernel32!BaseThreadInitThunk+0x17
		7ffa220279fc ntdll!RtlUserThreadStart+0x2c

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Upload Bug Report ZIP-file

No response

Additional Information

No response

Other Software

No response

Activity

  1. added a commit that references this issue on May 18, 2026
    2d0aade
  2. removed
    Product-SettingsThe standalone PowerToys Settings application
    Needs-TriageFor issues raised to be triaged and prioritized by internal Microsoft teams
    on May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions