Crash: crash in Microsoft.ui.xaml.dll ExceptionCode: c000027b
Opened this issue · 1 comments
Describe the bug
microsoft.windowsappsdk version [1.6.2.241114003]
-
*
-
Exception Analysis *
-
*
DEBUG_FLR_EXCEPTION_CODE(8000ffff) and the ".exr -1" ExceptionCode(c000027b) don't match
KEY_VALUES_STRING: 1
Key : Analysis.CPU.Sec
Value: 7
Key : Analysis.DebugAnalysisProvider.CPP
Value: Create: 8007007e on GIH-D-23198
Key : Analysis.DebugData
Value: CreateObject
Key : Analysis.DebugModel
Value: CreateObject
Key : Analysis.Elapsed.Sec
Value: 10
Key : Analysis.Memory.CommitPeak.Mb
Value: 518
Key : Analysis.System
Value: CreateObject
Key : CLR.Engine
Value: CORECLR
Key : CLR.NOSOS
Value: 1
Key : CLR.Version
Value: 8.0.824.36612
Key : Failure.Source.FilePath
Value: C:\__w\1\s\dxaml\xcp\win\shared\xcpwindow.cpp
Key : Timeline.OS.Boot.DeltaSec
Value: 22844
Key : Timeline.Process.Start.DeltaSec
Value: 85
COMMENT:
*** "C:\Users\yanzhikang\Downloads\SysinternalsSuite\procdump64.exe" -e -ma 25476 C:\Users\yanzhikang\AppData\Local\Netease\DuoDuoWallpaper\Dump
*** Unhandled exception: C000027B
NTGLOBALFLAG: 400
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=0000006c37177220 rbx=0000006c37177830 rcx=0000006c37177220
rdx=0000000000000000 rsi=000001fe9444d180 rdi=0000006c37177220
rip=00007ffc7600db22 rsp=0000006c37177140 rbp=0000000000000001
r8=0000000000000000 r9=0000000000000000 r10=000001fe99c94370
r11=0000006c37177830 r12=0000000000000000 r13=0000000080070057
r14=0000000000000002 r15=0000400000000000
iopl=0 nv up ei pl nz na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000204
KERNELBASE!RaiseFailFastException+0x152:
00007ffc`7600db22 0f1f440000 nop dword ptr [rax+rax]
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffc7600db22 (KERNELBASE!RaiseFailFastException+0x0000000000000152)
ExceptionCode: c000027b
ExceptionFlags: 00000001
NumberParameters: 2
Parameter[0]: 000001fe9444d180
Parameter[1]: 0000000000000001
PROCESS_NAME: DuoDuoWallpaperUI.exe
ERROR_CODE: (NTSTATUS) 0xc000027b -
EXCEPTION_CODE_STR: 8000ffff
EXCEPTION_PARAMETER1: 000001fe9444d180
EXCEPTION_PARAMETER2: 0000000000000001
FAULTING_THREAD: ffffffff
ADDITIONAL_DEBUG_TEXT: SOS.DLL is not loaded for managed code. Analysis might be incomplete
STACK_TEXT:
000001fe94026cb0 00007ffb
562fb651 Microsoft_ui_xaml!CXcpDispatcher::OnReentrancyProtectedWindowMessage+0x6d
000001fe94026cb8 00007ffb
562fb5df Microsoft_ui_xaml!CXcpDispatcher::ProcessMessage+0x7b
000001fe94026cc0 00007ffb
562fab07 Microsoft_ui_xaml!CDeferredInvoke::DispatchQueuedMessage+0x83
000001fe94026cc8 00007ffb
562feb9d Microsoft_ui_xaml!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl ABI::Windows::Foundation::ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Microsoft::UI::Dispatching::DispatcherQueueTimer *,ABI::Microsoft::UI::Dispatching::IDispatcherQueueTimer >,IInspectable >::)+0x5d
000001fe94026cd0 00007ffc
103a8057 CoreMessagingXP!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::Foundation::ITypedEventHandler_impl<Windows::Foundation::Internal::AggregateType<Microsoft::UI::Dispatching::DispatcherQueueTimer * __ptr64,Microsoft::UI::Dispatching::IDispatcherQueueTimer * __ptr64>,IInspectable * __ptr64>::)+0x87
000001fe94026cd8 00007ffc
103a33df CoreMessagingXP!Microsoft::WRL::InvokeTraits<-2>::InvokeDelegates<<lambda_1e854da9c9ccd42f6138c3b007a32877>,Windows::Foundation::ITypedEventHandler<Microsoft::UI::Dispatching::DispatcherQueueTimer * __ptr64,IInspectable * __ptr64> >+0x83
000001fe94026ce0 00007ffc
103a84f3 CoreMessagingXP!Microsoft::UI::Dispatching::DispatcherQueueTimer::TimerCallback+0xf3
000001fe94026ce8 00007ffc
10350b0d CoreMessagingXP!CFlat::SehSafe::Execute<<lambda_a81ff790741c2a62f2197c2561f5fe49> >+0x21
000001fe94026cf0 00007ffc
10354b66 CoreMessagingXP!Microsoft::CoreUI::ActionCallback::ImportAdapter$+0x66
000001fe94026cf8 00007ffc
10340ea9 CoreMessagingXP!Microsoft::CoreUI::Dispatch::TimeoutManager::Callback_OnDispatch+0x1a9
000001fe94026d00 00007ffc
1032c990 CoreMessagingXP!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchNextItem+0x1bc
000001fe94026d08 00007ffc
1032c6fd CoreMessagingXP!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop+0x1b9
000001fe94026d10 00007ffc
1031fecc CoreMessagingXP!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0x164
000001fe94026d18 00007ffc
10322d72 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::DrainCoreMessagingQueue+0x15a
000001fe94026d20 00007ffc
103230e8 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x98
000001fe94026d28 00007ffc
103637d3 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::DoWork+0xa7
000001fe94026d30 00007ffc
10363966 CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::HandleDispatchNotifyMessage+0x132
000001fe94026d38 00007ffc
10363ede CoreMessagingXP!Microsoft::CoreUI::Dispatch::UserAdapter::WindowProc+0x5e
000001fe94026d40 00007ffc
7781e858 user32!UserCallWinProcCheckWow+0x2f8
000001fe94026d48 00007ffc
7781e3dc user32!DispatchClientMessage+0x9c
000001fe94026d50 00007ffc
77830c93 user32!_fnDWORD+0x33
000001fe94026d58 00007ffc
783f0e64 ntdll!KiUserCallbackDispatcherContinue+0x0
000001fe94026d60 00007ffc
762e1064 win32u!NtUserPeekMessage+0x14
000001fe94026d68 00007ffc
7781a5c3 user32!_PeekMessage+0x43
000001fe94026d70 00007ffc
7781a523 user32!PeekMessageW+0x143
000001fe94026d78 00007ffc
77031f37 combase!CCliModalLoop::MyPeekMessage+0x53
000001fe94026d80 00007ffc
77031ea1 combase!CCliModalLoop::PeekRPCAndDDEMessage+0x49
000001fe94026d88 00007ffc
76ff4cf1 combase!CCliModalLoop::BlockFn+0x2c5
000001fe94026d90 00007ffc
7702bf9f combase!ModalLoop+0xa3
000001fe94026d98 00007ffc
770ec0d9 combase!ClassicSTAThreadDispatchCrossApartmentCall+0xc03f9
000001fe94026da0 00007ffc
76ffa77e combase!CSyncClientCall::SendReceive2+0x78e
000001fe94026da8 00007ffc
76ff5aa3 combase!ClassicSTAThreadSendReceive+0xa3
000001fe94026db0 00007ffc
76ff94c5 combase!CSyncClientCall::SendReceive+0x325
000001fe94026db8 00007ffc
76ff4644 combase!CClientChannel::SendReceive+0x84
000001fe94026dc0 00007ffc
7702605e combase!NdrExtpProxySendReceive+0x4e
000001fe94026dc8 00007ffc
7825d334 rpcrt4!NdrpClientCall3+0x3a4
000001fe94026dd0 00007ffc
77020948 combase!ObjectStublessClient+0x138
000001fe94026dd8 00007ffc
7709f872 combase!ObjectStubless+0x42
000001fe94026de0 00007ffc
76ff29e8 combase!CObjectContext::InternalContextCallback+0x1c8
000001fe94026de8 00007ffc
76fd7485 combase!CAgileReferenceMarshaled::~CAgileReferenceMarshaled+0x71
000001fe94026df0 00007ffc
76fd6ee4 combase!CAgileReferenceMarshaled::scalar deleting destructor'+0x14 000001fe
94026df8 00007ffc77033490 combase!Microsoft::WRL::Details::RuntimeClassImpl<Microsoft::WRL::RuntimeClassFlags<2>,1,0,0,IAgileReference,Microsoft::WRL::FtmBase>::Release+0x30 000001fe
94026e00 00007ffc3f797e31 DataExchange!Microsoft::WRL::ComPtr<Windows::Foundation::IAsyncOperation<Windows::Foundation::Collections::IVectorView<Windows::Storage::IStorageItem * __ptr64> * __ptr64> >::InternalRelease+0x21 000001fe
94026e08 00007ffc3f7b44e1 DataExchange!DragDropManager::
vector deleting destructor'+0x21
000001fe94026e10 00007ffc
3f7961cb DataExchange!Microsoft::WRL::Details::RuntimeClassImpl<Microsoft::WRL::RuntimeClassFlags<3>,1,1,0,Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager,Microsoft::WRL::CloakedIid,Microsoft::WRL::FtmBase>::Release+0x6b
000001fe94026e18 00007ffc
7706cf13 combase!<lambda_ef8a5b5bdab9c6b69f38e6b21c5d3987>::operator+0xbb
000001fe94026e20 00007ffc
76fe0752 combase!ObjectMethodExceptionHandlingAction<<lambda_ef8a5b5bdab9c6b69f38e6b21c5d3987> >+0xe
000001fe94026e28 00007ffc
76fe07f5 combase!CStdIdentity::ReleaseCtrlUnk+0x81
000001fe94026e30 00007ffc
7706ca36 combase!CStdMarshal::DisconnectWorker_ReleasesLock+0x4f2
000001fe94026e38 00007ffc
76fe2731 combase!CStdMarshal::Disconnect+0xf1
000001fe94026e40 00007ffc
76fda43a combase!CStdIdentity::DecStrongCnt+0x86
000001fe94026e48 00007ffc
76fda2fe combase!CStdMarshal::DecStrongAndNotifyAct+0xaa
000001fe94026e50 00007ffc
76fd6e20 combase!CStdMarshal::DecSrvIPIDCnt+0x9c
000001fe94026e58 00007ffc
76fdcb24 combase!CStdMarshal::ReleaseMarshalObjRef+0x1dc
000001fe94026e60 00007ffc
76fde037 combase!ReleaseMarshalObjRef+0x9b
000001fe94026e68 00007ffc
76f9e86e combase!CoReleaseMarshalData+0xde
000001fe94026e70 00007ffc
7028c568 twinapi_appcore!RemoveServiceFromMapping+0x338
000001fe94026e78 00007ffc
702bace8 twinapi_appcore!UnregisterAllViewServices+0x78
000001fe94026e80 00007ffc
702bac47 twinapi_appcore!CoreUnregisterAllWindowServices+0x37
000001fe94026e88 00007ffc
702babe3 twinapi_appcore!CWindowViewServicesLifetimeManager::Rundown+0x83
000001fe94026e90 00007ffc
7028c827 twinapi_appcore!RemoveServiceFromMapping+0x5f7
000001fe94026e98 00007ffc
702b7f40 twinapi_appcore!CoreUnregisterWindowService+0x1d0
000001fe94026ea0 00007ffc
7783b878 user32!CallWindowServiceCallback+0xbc
000001fe94026ea8 00007ffc
7781d1a0 user32!RealDefWindowProcWorker+0x8a0
000001fe94026eb0 00007ffc
7781c7b8 user32!DefWindowProcW+0x178
000001fe94026eb8 00007ffb
572e1008 Microsoft_UI_Input!DesktopSiteBridge::WndProcStatic+0xc8
000001fe94026ec0 00007ffc
7781e858 user32!UserCallWinProcCheckWow+0x2f8
000001fe94026ec8 00007ffc
7781e3dc user32!DispatchClientMessage+0x9c
000001fe94026ed0 00007ffc
77830c93 user32!_fnDWORD+0x33
000001fe94026ed8 00007ffc
783f0e64 ntdll!KiUserCallbackDispatcherContinue+0x0
000001fe94026ee0 00007ffc
762e2384 win32u!NtUserDestroyWindow+0x14
000001fe94026ee8 00007ffb
572e02b0 Microsoft_UI_Input!DesktopSiteBridge::Destroy+0x30
000001fe94026ef0 00007ffb
572e4199 Microsoft_UI_Input!ContentSiteBridge::ProcessDestroy+0x61
000001fe94026ef8 00007ffb
572e25f6 Microsoft_UI_Input!ContentSiteBridge::Close+0x46
000001fe94026f00 00007ffb
5614a8c6 Microsoft_ui_xaml!CPopup::EnsureBridgeClosed+0x15a
000001fe94026f08 00007ffb
5614a509 Microsoft_ui_xaml!CPopup::~CPopup+0xf5
000001fe94026f10 00007ffb
5614a3f4 Microsoft_ui_xaml!CPopup::scalar deleting destructor'+0x14 000001fe
94026f18 00007ffb5609a1c3 Microsoft_ui_xaml!CDependencyObject::Release+0x1c3 000001fe
94026f20 00007ffb5686f90a Microsoft_ui_xaml!CDOCollection::Neat+0x1da 000001fe
94026f28 00007ffb568716b8 Microsoft_ui_xaml!CCollection::Destroy+0x18 000001fe
94026f30 00007ffb5687170d Microsoft_ui_xaml!CCollection::Clear+0x1d 000001fe
94026f38 00007ffb5686e044 Microsoft_ui_xaml!CUIElementCollection::RemoveAllElements+0xc8 000001fe
94026f40 00007ffb560efea4 Microsoft_ui_xaml!CUIElement::~CUIElement+0xbc 000001fe
94026f48 00007ffb5610ea13 Microsoft_ui_xaml!CFrameworkElement::~CFrameworkElement+0x18f 000001fe
94026f50 00007ffb560cfa54 Microsoft_ui_xaml!CGrid::
scalar deleting destructor'+0x14
000001fe94026f58 00007ffb
5609a1c3 Microsoft_ui_xaml!CDependencyObject::Release+0x1c3
000001fe94026f60 00007ffb
5686f90a Microsoft_ui_xaml!CDOCollection::Neat+0x1da
000001fe94026f68 00007ffb
568716b8 Microsoft_ui_xaml!CCollection::Destroy+0x18
000001fe94026f70 00007ffb
5687170d Microsoft_ui_xaml!CCollection::Clear+0x1d
000001fe94026f78 00007ffb
5686e044 Microsoft_ui_xaml!CUIElementCollection::RemoveAllElements+0xc8
000001fe94026f80 00007ffb
560efea4 Microsoft_ui_xaml!CUIElement::~CUIElement+0xbc
000001fe94026f88 00007ffb
5610ea13 Microsoft_ui_xaml!CFrameworkElement::~CFrameworkElement+0x18f
000001fe94026f90 00007ffb
560cfa54 Microsoft_ui_xaml!CGrid::scalar deleting destructor'+0x14 000001fe
94026f98 00007ffb5609a1c3 Microsoft_ui_xaml!CDependencyObject::Release+0x1c3 000001fe
94026fa0 00007ffb5686f90a Microsoft_ui_xaml!CDOCollection::Neat+0x1da 000001fe
94026fa8 00007ffb568716b8 Microsoft_ui_xaml!CCollection::Destroy+0x18 000001fe
94026fb0 00007ffb5687170d Microsoft_ui_xaml!CCollection::Clear+0x1d 000001fe
94026fb8 00007ffb5686e044 Microsoft_ui_xaml!CUIElementCollection::RemoveAllElements+0xc8 000001fe
94026fc0 00007ffb560efea4 Microsoft_ui_xaml!CUIElement::~CUIElement+0xbc 000001fe
94026fc8 00007ffb5610ea13 Microsoft_ui_xaml!CFrameworkElement::~CFrameworkElement+0x18f 000001fe
94026fd0 00007ffb560cfa54 Microsoft_ui_xaml!CGrid::
scalar deleting destructor'+0x14
000001fe94026fd8 00007ffb
5609a1c3 Microsoft_ui_xaml!CDependencyObject::Release+0x1c3
000001fe94026fe0 00007ffb
5686f90a Microsoft_ui_xaml!CDOCollection::Neat+0x1da
000001fe94026fe8 00007ffb
568716b8 Microsoft_ui_xaml!CCollection::Destroy+0x18
000001fe94026ff0 00007ffb
5687170d Microsoft_ui_xaml!CCollection::Clear+0x1d
000001fe94026ff8 00007ffb
5686e044 Microsoft_ui_xaml!CUIElementCollection::RemoveAllElements+0xc8
000001fe94027000 00007ffb
560efea4 Microsoft_ui_xaml!CUIElement::~CUIElement+0xbc
000001fe94027008 00007ffb
5610ea13 Microsoft_ui_xaml!CFrameworkElement::~CFrameworkElement+0x18f
000001fe94027010 00007ffb
560cfa54 Microsoft_ui_xaml!CGrid::scalar deleting destructor'+0x14 000001fe
94027018 00007ffb5609a1c3 Microsoft_ui_xaml!CDependencyObject::Release+0x1c3 000001fe
94027020 00007ffb5686f90a Microsoft_ui_xaml!CDOCollection::Neat+0x1da 000001fe
94027028 00007ffb568716b8 Microsoft_ui_xaml!CCollection::Destroy+0x18 000001fe
94027030 00007ffb5687170d Microsoft_ui_xaml!CCollection::Clear+0x1d 000001fe
94027038 00007ffb5686e044 Microsoft_ui_xaml!CUIElementCollection::RemoveAllElements+0xc8 000001fe
94027040 00007ffb560efea4 Microsoft_ui_xaml!CUIElement::~CUIElement+0xbc 000001fe
94027048 00007ffb5610ea13 Microsoft_ui_xaml!CFrameworkElement::~CFrameworkElement+0x18f 000001fe
94027050 00007ffb560cfa54 Microsoft_ui_xaml!CGrid::
scalar deleting destructor'+0x14
000001fe94027058 00007ffb
5609a1c3 Microsoft_ui_xaml!CDependencyObject::Release+0x1c3
000001fe94027060 00007ffb
5686f90a Microsoft_ui_xaml!CDOCollection::Neat+0x1da
000001fe94027068 00007ffb
568716b8 Microsoft_ui_xaml!CCollection::Destroy+0x18
000001fe94027070 00007ffb
5687170d Microsoft_ui_xaml!CCollection::Clear+0x1d
000001fe94027078 00007ffb
5686e044 Microsoft_ui_xaml!CUIElementCollection::RemoveAllElements+0xc8
000001fe94027080 00007ffb
560efea4 Microsoft_ui_xaml!CUIElement::~CUIElement+0xbc
000001fe94027088 00007ffb
5610ea13 Microsoft_ui_xaml!CFrameworkElement::~CFrameworkElement+0x18f
000001fe94027090 00007ffb
5665fef4 Microsoft_ui_xaml!CUserControl::scalar deleting destructor'+0x14 000001fe
94027098 00007ffb5609a1c3 Microsoft_ui_xaml!CDependencyObject::Release+0x1c3 000001fe
940270a0 00007ffb5686f90a Microsoft_ui_xaml!CDOCollection::Neat+0x1da 000001fe
940270a
FAULTING_SOURCE_LINE: C:__w\1\s\dxaml\xcp\win\shared\xcpwindow.cpp
FAULTING_SOURCE_FILE: C:__w\1\s\dxaml\xcp\win\shared\xcpwindow.cpp
FAULTING_SOURCE_LINE_NUMBER: 666
FAULTING_SOURCE_SRV_COMMAND: powershell -command "Invoke-WebRequest 'https://raw.githubusercontent.com/microsoft/microsoft-ui-xaml/14364e6c301e881c5e2b6b9c39503343c66e53eb/src/dxaml/xcp/win/shared/xcpwindow.cpp' -OutFile '"D:\Windows Kits\10\Debuggers\x64\src\TFS_COMMIT\f6b3531d\src\dxaml\xcp\win\shared\xcpwindow.cpp"'"
SYMBOL_NAME: Microsoft_ui_xaml!CXcpDispatcher::OnReentrancyProtectedWindowMessage+6d
MODULE_NAME: Microsoft_ui_xaml
IMAGE_NAME: Microsoft.ui.xaml.dll
STACK_COMMAND: *** Stowed Exception v2 ***; .exr -1; dpp 0x1fe9444d180 L0x1; dt 0x1fe94027cd0 combase!STOWED_EXCEPTION_INFORMATION_V2 -r; dps 0x1fe94026cb0 L0xf0 ; ** Pseudo Context ** StowedPseudo ** Value: 1bbbe1d2780 ** ; kb
FAILURE_BUCKET_ID: STOWED_EXCEPTION_NOSOS_BAD_REFCOUNT_FOR_SZSYMBOL_8000ffff_Microsoft.ui.xaml.dll!CXcpDispatcher::OnReentrancyProtectedWindowMessage
OS_VERSION: 10.0.19041.1
BUILDLAB_STR: vb_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
FAILURE_ID_HASH: {ff8b1206-03ea-32f2-8a34-21950ca72427}
Followup: MachineOwner
Steps to reproduce the bug
No specific step, just crash when page swift in frame sometimes.
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
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:
- Crash in WinUI3 / SDK 1.6 in Microsoft_UI_Input!InputSiteHwndWinRT::PeekKeyboardMessageTime_Callback+0xd8 (#10127), similarity score: 0.85
- Unable to launch application when published in store (#8577), similarity score: 0.84
Closed similar issues:
- Reentrancy crash destroying a TextBox due to its ShutdownTextServices() call (#9070), similarity score: 0.86
- Stowed Exception - COMException/Element not found (#9082), similarity score: 0.86
- Stowed
8007007E
(0xc000027b
) on some systems upon instantiatingMicrosoft.UI.Xaml.Window
(#8446), similarity score: 0.83
Note: You can give me feedback by thumbs upping or thumbs downing this comment.