-
Notifications
You must be signed in to change notification settings - Fork 693
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
Crash in WinUI3 / SDK 1.6 in Microsoft_UI_Input!InputSiteHwndWinRT::PeekKeyboardMessageTime_Callback+0xd8 #10127
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you! Open similar issues:
Closed similar issues:
|
This happens on all supported Windows versions. |
Please upload stand-alone repro. |
@karkarl It happens on unexpected times, when our clients use our Xelion app. We have about 52k users and we get many crash reports, but all I have are crash dump. All crash dumps show the same stack. On Windows App SDK 1.5.7 our users see no crashes. |
@karkarl It looks like that this method does not return a valid return value: Microsoft_UI_Input!InputSiteHwndWinRT::PeekKeyboardMessageTime_Callback This is the reported failure that makes it 'failing fast': |
A crash dump works, though a standalone repo will be best to debug. |
It seems happens when closing a window, and if the window has a webview2 control in it's content tree it happens more often. |
@karkarl How can I send a crash dump? |
@karkarl I really want this to be solved. We depend on a stable SDK. How can I send a crash dump? |
It looks like this is already being tracked internally as this internal bug. I've notified the owner of that bug. |
@codendone Thank you! |
Describe the bug
Users of our WinUI3/AppSDK1.6 based app, report crashes that could not be handled within our app.
The call stack is always:
STACK_TEXT:
00000071
66bab3d0 00007ff8
ba325194 : 0000000000000000 00007ff9
172839e0 0000000000000000 00000071
66babbe0 : KERNELBASE!RaiseFailFastException+0x15200000071
66bab9b0 00007ff8
ba325273 : 0000007166babb00 00000000
0000009e 0000007166babb69 00000000
00000000 : Microsoft_UI_Input!wil::details::WilDynamicLoadRaiseFailFastException+0x5400000071
66bab9e0 00007ff8
ba325252 : 0000000100000001 000001b1
cb7d0000 0000000000000001 00007ff9
191d0167 : Microsoft_UI_Input!wil::details::WilRaiseFailFastException+0x1700000071
66baba10 00007ff8
ba31a6ce : 0000007166bad0a0 00000071
66babbe0 000000000000009e 00007ff8
ba32b643 : Microsoft_UI_Input!wil::details::WilFailFast+0xa600000071
66babae0 00007ff8
ba31a0f8 : 0000000000000000 00007ff9
17155a23 0000007166bad060 00000000
00000000 : Microsoft_UI_Input!wil::details::ReportFailure_NoReturn<3>+0x29600000071
66bacff0 00007ff8
ba31a36a : 0000000000000000 00007ff8
ba35a449 0000000000000000 00007ff8
ba460f48 : Microsoft_UI_Input!wil::details::ReportFailure_Base<3,0>+0x3000000071
66bad050 00007ff8
ba31df94 : 0000000000000000 000001f2
72b6d4b0 0000007166bad230 00007ff8
a90b4277 : Microsoft_UI_Input!wil::details::ReportFailure_Hr<3>+0x5a00000071
66bad0d0 00007ff8
ba333df8 : 0000007166bad470 00007ff8
e19d87ff 0000007166bad470 00000000
00000004 : Microsoft_UI_Input!wil::details::in1diag3::FailFast_Unexpected+0x2400000071
66bad130 00007ff8
ba32b643 : 000001f26a914bc0 000001f2
71fd3610 00007ff800000100 00000000
00000101 : Microsoft_UI_Input!InputSiteHwndWinRT::PeekKeyboardMessageTime_Callback+0xd800000071
66bad1d0 00007ff8
ba3574eb : 000001f27eff5378 00000071
66bad2d0 0000007166bad260 00000000
00000000 : Microsoft_UI_Input!IslandInputSiteWinRT::PeekKeyboardMessageTime_Callback+0x5300000071
66bad210 00007ff8
ba3567b2 : 0000007166bad360 00000100
64700824 0000000066bad380 00000000
00000000 : Microsoft_UI_Input!PointerInputObserverWinRT::PointerAndKeyboardMessageOrderMediator::GetNextKeyboardMessageTimeInMs_Callback+0x4700000071
66bad280 00007ff8
ba35b5d6 : 0000007166bad578 00000000
00000000 000001f280c07e20 00007ff8
bae7c920 : Microsoft_UI_Input!PointerInputObserverWinRT::DeliverInputMessage+0x1c200000071
66bad520 00007ff8
d5e9b282 : 000001f264700824 000001f2
80c07e20 0000000040a000c0 000001f2
80c07e20 : Microsoft_UI_Input!IIndependentInputTargetPrincipal_ReceiveBamoImpl::BamoIndependentInputTargetPrincipalImpl::Thunk_DeliverInputMessage_17+0xd600000071
66bad5c0 00007ff8
ba35887f : 0000000000000000 00007ff8
ba33550c 000001b1cb7d0000 00000000
00000001 : CoreMessagingXP!CoreUICallReceive+0xa200000071
66bad7d0 00007ff8
ba3eda13 : 0000007166bad870 000001f2
71afdd50 000001f280c07e20 000001f2
02400010 : Microsoft_UI_Input!BamoImpl::BamoIndependentInputTargetPrincipalImpl::OnMessage+0x3f00000071
66bad820 00007ff8
d5e4fb68 : 000001f271afdd40 00000071
66bad8f0 0000007166bad930 00000000
40a000c0 : Microsoft_UI_Input!Microsoft::BamoImpl::ConnectionIndirector::OnItemMessage+0xb300000071
66bad870 00007ff8
d5e4fe5f : 000001b1cd4905a0 00007ff8
d5ebe288 0000007166bad950 000001f2
724d8510 : CoreMessagingXP!CFlat::SehSafe::Execute<<lambda_de6cc8128f8f9f99144226758963eeb9> >+0x4c00000071
66bad8c0 00007ff8
d5e448eb : 000001f2724d8510 000001f2
80c07e20 000001f200000001 00000071
40a000c0 : CoreMessagingXP!Microsoft::CoreUI::ICallbackMessageConversationHost::Interface$::ImportDispatcher::OnItemMessage+0xbf00000071
66bad940 00007ff8
d5e45890 : 000001f2724d8510 00000071
66bad9f0 000001f2720ffbd0 00000000
00000000 : CoreMessagingXP!Microsoft::CoreUI::ICallbackMessageConversationHost::OnItemMessage<CFlat::InterfacePtrMicrosoft::CoreUI::ICallbackMessageConversationHost >+0x5f00000071
66bad990 00007ff8
d5e91f46 : 000001f2720ffbd0 000001f2
6a71c510 000001f280c07e20 000001f2
724d8510 : CoreMessagingXP!Microsoft::CoreUI::Conversations::Conversation::Callback_OnItemMessage+0x13000000071
66bada20 00007ff8
d5e3b330 : 000001f2720ffbd0 000001b1
cd499d20 0000000000000000 000001b1
cb8bdd50 : CoreMessagingXP!Microsoft::CoreUI::Conversations::ItemMessageDispatcher::Callback_OnMessageCore+0x3600000071
66bada70 00007ff8
d5e320ba : 000001f2724d7d30 000001b1
cb8ff650 000001f2724d7d30 00007ff8
d5ea7541 : CoreMessagingXP!Microsoft::CoreUI::Messaging::MessageEndpoint::Callback_OnMessage+0x8000000071
66badb20 00007ff8
d5e32279 : 000001b1cb8ff650 000001b1
00000100 0000007166badc70 00000000
00000001 : CoreMessagingXP!Microsoft::CoreUI::Messaging::MessageSession::Callback_DeliverMessage+0x2be00000071
66badc00 00007ff8
d5e5ef90 : 0000000000000000 000001b1
cb8ff650 0000007166badd40 00000000
0001ffff : CoreMessagingXP!Microsoft::CoreUI::Messaging::MessageSession::Callback_DeliverMessageBatch+0x10900000071
66badcd0 00007ff8
d5e23e0d : 000001b1cb873ef0 000001b1
cb873ef0 0000000000000001 000001b1
cd48fdd0 : CoreMessagingXP!Microsoft::CoreUI::Messaging::InterconnectMessageAdapter::InterfaceImplementation$::_Cn_Threading_IInterconnectBufferHandler::Dispatcher::Callback_ReceiveBuffer+0xf000000071
66baddd0 00007ff8
d5e77840 : 000001b1cd48fdd0 000001b1
cb8ffaa0 0000000000000000 00000000
00006626 : CoreMessagingXP!Cn::Threading::InterconnectQueue::Callback_ProcessNextItem+0x1d100000071
66bade70 00007ff8
d5e683ce : 000001b1cb8ffaa0 000001b1
cb873d10 0000000000000000 00007ff8
d5e22dc1 : CoreMessagingXP!Microsoft::CoreUI::Messaging::InterconnectMessageAdapter::Callback_OnReceive+0x4c00000071
66badeb0 00007ff8
d5e2c880 : 000001b1cd4a6120 00000000
00000000 000001b1cb8fec20 000001b1
cb8ffa40 : CoreMessagingXP!Microsoft::CoreUI::Dispatch::OffThreadReceiver::Callback_OnDispatch+0x2be00000071
66badf50 00007ff8
d5e2c5ed : 0000000000000000 00000000
00000000 0000000000000000 000001b1
cb8ffa40 : CoreMessagingXP!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchNextItem+0x1bc00000071
66badff0 00007ff8
d5e1fd7c : 0000000000000000 ffffffff
fffffffe 000001b1cb8fec20 00007ff9
195a9877 : CoreMessagingXP!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop+0x1b900000071
66bae0b0 00007ff8
d5e22c66 : 000001b1cb8fec20 000001b1
cd4044d0 000001b100000000 000001b1
cb8fed00 : CoreMessagingXP!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0x16400000071
66bae110 00007ff8
d5e22fdc : 000001b1cd4905a0 000001b1
cd494d70 0000000000000000 00007ff8
d5e1f1f1 : CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::DrainCoreMessagingQueue+0x15a00000071
66bae1d0 00007ff8
d5e636a3 : 00000000000a0b6c 00000071
66bae590 0000000000000000 00000000
000a0b6c : CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x9800000071
66bae220 00007ff8
d5e63836 : 000001b1cd4993e0 00000000
000a0b6c 00000000000a0b6c 000001b1
cb8fed00 : CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::DoWork+0xa700000071
66bae280 00007ff8
d5e63dae : 0000000000000000 00000000
00000060 0000e3902a1d3c7b 00000000
00000006 : CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::HandleDispatchNotifyMessage+0x13200000071
66bae2e0 00007ff9
18f2ef5c : 0000000000000070 00000000
00000001 0000000000000001 00000000
000a0b6c : CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::WindowProc+0x5e00000071
66bae310 00007ff9
18f2e684 : 0000000000000000 00007ff8
d5e63d50 0000007166c7b800 00007ff9
18f4210e : user32!UserCallWinProcCheckWow+0x50c00000071
66bae4a0 00007ff8
a961facd : 00007ff8d5e63d50 00000000
00000000 0000000000000000 00007ff8
5b071701 : user32!DispatchMessageWorker+0x49400000071
66bae520 00007ff8
a961d9e2 : 0000000000000000 00000071
66bae5d9 0000000000000000 00007ff8
d5ea0f60 : Microsoft_UI_Xaml!DirectUI::FrameworkApplication::RunDesktopWindowMessageLoop+0x9900000071
66bae5a0 00007ff8
a92cf1b8 : 000001b1cb8600e0 00000071
66bae918 0000007166baeab8 00007ff8
5b0716ec : Microsoft_UI_Xaml!DirectUI::FrameworkApplication::StartDesktop+0x3c200000071
66bae640 00007ff8
5b068bc5 : 0000000000000000 00000071
66bae740 00004c8a2cd6946b 00000071
66bae398 : Microsoft_UI_Xaml!DirectUI::FrameworkApplicationFactory::Start+0x10800000071
66bae690 00000000
00000000 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : Microsoft_WinUI!ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.Start+0x145Steps to reproduce the bug
Expected behavior
No crashes...
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows version
All Window versions (Windows 10 and 11)
The text was updated successfully, but these errors were encountered: