-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I'm debugging a crash in a windows app using React Native for Windows. The crash is caused by an INVALID_PARAMETER (c000000d)
exception in Microsoft.ReactNative.dll
, specifically in Mso::ThreadPoolSchedulerWin::Post
. Here's the relevant call stack and context:
caused by INVALID_PARAMETER_c000000d_Microsoft.ReactNative.dll!Mso::ThreadPoolSchedulerWin::Post .
Suggest only the minimal and necessary code changes required to fix or guard against this crash. Do not suggest unrelated or stylistic refactors.
Make this change for 0.72-stable branch
Threads
# Child-SP RetAddr Call Site
00 00000056`c3ffc198 00007ffa`fafa586f ntdll!ZwAlpcSendWaitReceivePort+0x17 [minkernel\ntdll\daytona\objfre\amd64\usrstubs.asm @ 1372]
01 00000056`c3ffc1a0 00007ffa`fafa5433 ntdll!SendMessageToWERService+0x213 [minkernel\ntdll\wer.c @ 491]
02 00000056`c3ffc300 00007ffa`fa0c10eb ntdll!ReportExceptionInternal+0xc3 [minkernel\ntdll\wer.c @ 627]
03 00000056`c3ffce70 00007ffa`fa0e898d kernel32!WerpReportFaultInternal+0x467 [onecore\windows\feedback\core\faultrep\lib\faultrep.cpp @ 967]
04 00000056`c3ffcff0 00007ffa`f82994ac kernel32!WerpReportFault+0xc5 [onecore\windows\feedback\core\faultrep\lib\faultrep.cpp @ 1384]
05 00000056`c3ffd040 00007ffa`fb02a97f KERNELBASE!UnhandledExceptionFilter+0x34c [minkernel\kernelbase\xcpt.c @ 701]
06 (Inline Function) --------`-------- ntdll!RtlpThreadExceptionFilter+0x2e [minkernel\ldr\rtlstrt.c @ 958]
07 00000056`c3ffd130 00007ffa`fafe3e33 ntdll!RtlUserThreadStart$filt$0+0x3f [minkernel\ldr\rtlstrt.c @ 1185]
08 00000056`c3ffd160 00007ffa`fb02815f ntdll!__C_specific_handler+0x93 [minkernel\crts\crtw32\misc\riscchandler.c @ 446]
09 00000056`c3ffd1d0 00007ffa`faf2efd7 ntdll!RtlpExecuteHandlerForException+0xf [minkernel\ntos\rtl\amd64\xcptmisc.asm @ 132]
0a 00000056`c3ffd200 00007ffa`faf2de66 ntdll!RtlDispatchException+0x437 [minkernel\ntos\rtl\amd64\exdsptch.c @ 680]
0b 00000056`c3ffd950 00007ffa`faf3d31f ntdll!RtlRaiseException+0x206 [minkernel\ntos\rtl\amd64\raise.c @ 240]
0c 00000056`c3ffe200 00007ffa`c7e2ad90 ntdll!TppRaiseInvalidParameter+0x6b [minkernel\threadpool\ntdll\tp.c @ 193]
0d 00000056`c3ffe2e0 00007ffa`c7e28f28 Microsoft_ReactNative!Mso::ThreadPoolSchedulerWin::Post+0x20 [C:\__w\1\s\node_modules\react-native-windows\Mso\src\dispatchQueue\threadPoolScheduler_win.cpp @ 157]
0e 00000056`c3ffe310 00007ffa`c7e289bd Microsoft_ReactNative!Mso::QueueService::Post+0x118 [C:\__w\1\s\node_modules\react-native-windows\Mso\src\dispatchQueue\queueService.cpp @ 45]
0f 00000056`c3ffe350 00007ffa`c7de7814 Microsoft_ReactNative!Mso::QueueService::InvokeElsePost+0xbd [C:\__w\1\s\node_modules\react-native-windows\Mso\src\dispatchQueue\queueService.cpp @ 78]
10 (Inline Function) --------`-------- Microsoft_ReactNative!Mso::DispatchQueue::InvokeElsePost+0x16 [C:\__w\1\s\node_modules\react-native-windows\Mso\dispatchQueue\dispatchQueue.h @ 582]
11 00000056`c3ffe390 00007ffa`c7debb24 Microsoft_ReactNative!Mso::Internal::ActiveObjectDeleter::Delete<Mso::UnknownObject<Mso::WeakRefCountPolicy<Mso::Internal::ActiveObjectDeleter,Mso::MakeAllocator>,Mso::Internal::ActiveObjectBase,Mso::React::IReactHost> >+0x68 [C:\__w\1\s\node_modules\react-native-windows\Mso\activeObject\activeObject.h @ 214]
12 00000056`c3ffe3c0 00007ffa`c7dd3672 Microsoft_ReactNative!Mso::ObjectWeakRefContainer<Mso::React::ReactViewHost,Mso::ObjectWeakRef>::DestroyObject+0x14 [C:\__w\1\s\node_modules\react-native-windows\Mso\object\objectWithWeakRef.h @ 202]
13 (Inline Function) --------`-------- Microsoft_ReactNative!Mso::ObjectWeakRef::Release+0x1a [C:\__w\1\s\node_modules\react-native-windows\Mso\object\objectWithWeakRef.h @ 106]
14 00000056`c3ffe3f0 00007ffa`c7dc91c9 Microsoft_ReactNative!Mso::UnknownObject<Mso::WeakRefCountPolicy<Mso::DefaultRefCountedDeleter,Mso::MakeAllocator>,Mso::React::IReactViewInstance>::Release+0x22 [C:\__w\1\s\node_modules\react-native-windows\Mso\object\unknownObject.h @ 534]
15 (Inline Function) --------`-------- Microsoft_ReactNative!Mso::CntPtr<Mso::React::IReactHost>::{dtor}+0x1b [C:\__w\1\s\node_modules\react-native-windows\Mso\smartPtr\cntPtr.h @ 243]
16 00000056`c3ffe420 00007ffa`c7d548b2 Microsoft_ReactNative!winrt::Microsoft::ReactNative::implementation::ReactNativeHost::`scalar deleting destructor'+0x49
17 (Inline Function) --------`-------- Microsoft_ReactNative!winrt::impl::root_implements<winrt::Microsoft::ReactNative::implementation::ReactNonAbiValue<std::shared_ptr<Microsoft::ReactNative::HermesRuntimeHolder> >,winrt::Microsoft::ReactNative::IReactNonAbiValue>::NonDelegatingRelease+0x74 [C:\__w\1\s\node_modules\react-native-windows\build\x64\Release\Microsoft.ReactNative\Generated Files\winrt\base.h @ 7416]
18 (Inline Function) --------`-------- Microsoft_ReactNative!winrt::impl::root_implements<winrt::Microsoft::ReactNative::implementation::ReactNonAbiValue<std::shared_ptr<Microsoft::ReactNative::HermesRuntimeHolder> >,winrt::Microsoft::ReactNative::IReactNonAbiValue>::Release+0x74 [C:\__w\1\s\node_modules\react-native-windows\build\x64\Release\Microsoft.ReactNative\Generated Files\winrt\base.h @ 7301]
19 00000056`c3ffe450 00007ffa`c8064a97 Microsoft_ReactNative!winrt::implements<winrt::Microsoft::ReactNative::implementation::ReactNonAbiValue<std::shared_ptr<Microsoft::ReactNative::HermesRuntimeHolder> >,winrt::Microsoft::ReactNative::IReactNonAbiValue>::Release+0x7e [C:\__w\1\s\node_modules\react-native-windows\build\x64\Release\Microsoft.ReactNative\Generated Files\winrt\base.h @ 7934]
1a (Inline Function) --------`-------- ExperienceExtensions!winrt::Windows::Foundation::IUnknown::release_ref+0xe [C:\__w\1\s\packages\ExperienceExtensions\windows\ExperienceExtensions\lib\Generated Files\winrt\base.h @ 2164]
1b (Inline Function) --------`-------- ExperienceExtensions!winrt::Windows::Foundation::IUnknown::operator=+0x13 [C:\__w\1\s\packages\ExperienceExtensions\windows\ExperienceExtensions\lib\Generated Files\winrt\base.h @ 2076]
1c 00000056`c3ffe480 00007ffa`c8053b3c ExperienceExtensions!winrt::ExperienceExtensions::implementation::ReactNativeExperienceViewControl::SetReactNativeHost+0xcf [C:\__w\1\s\packages\ExperienceExtensions\windows\ExperienceExtensions\lib\ReactNativeExperienceViewControl.cpp @ 1405]
1d 00000056`c3ffe4f0 00007ffa`c8055bb4 ExperienceExtensions!winrt::ExperienceExtensions::implementation::ReactNativeExperienceViewControl::~ReactNativeExperienceViewControl+0x44 [C:\__w\1\s\packages\ExperienceExtensions\windows\ExperienceExtensions\lib\ReactNativeExperienceViewControl.cpp @ 76]
1e 00000056`c3ffe530 00007ffa`c8061572 ExperienceExtensions!winrt::impl::heap_implements<winrt::ExperienceExtensions::implementation::ReactNativeExperienceViewControl>::`scalar deleting destructor'+0x14
1f (Inline Function) --------`-------- ExperienceExtensions!winrt::impl::root_implements<winrt::ExperienceExtensions::implementation::ReactNativeExperienceViewControl,winrt::ExperienceExtensions::ReactNativeExperienceViewControl,winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged,winrt::Windows::UI::Xaml::Data::ICustomPropertyProvider,winrt::composing,winrt::Windows::UI::Xaml::Controls::IControlOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides6,winrt::Windows::UI::Xaml::IFrameworkElementOverrides,winrt::Windows::UI::Xaml::IFrameworkElementOverrides2,winrt::Windows::UI::Xaml::IUIElementOverrides,winrt::Windows::UI::Xaml::IUIElementOverrides7,winrt::Windows::UI::Xaml::IUIElementOverrides8,winrt::Windows::UI::Xaml::IUIElementOverrides9,winrt::Windows::UI::Xaml::Markup::IComponentConnector,winrt::Windows::UI::Xaml::Markup::IComponentConnector2>::NonDelegatingRelease+0x74 [C:\__w\1\s\packages\ExperienceExtensions\windows\ExperienceExtensions\lib\Generated Files\winrt\base.h @ 7638]
20 (Inline Function) --------`-------- ExperienceExtensions!winrt::impl::root_implements<winrt::ExperienceExtensions::implementation::ReactNativeExperienceViewControl,winrt::ExperienceExtensions::ReactNativeExperienceViewControl,winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged,winrt::Windows::UI::Xaml::Data::ICustomPropertyProvider,winrt::composing,winrt::Windows::UI::Xaml::Controls::IControlOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides6,winrt::Windows::UI::Xaml::IFrameworkElementOverrides,winrt::Windows::UI::Xaml::IFrameworkElementOverrides2,winrt::Windows::UI::Xaml::IUIElementOverrides,winrt::Windows::UI::Xaml::IUIElementOverrides7,winrt::Windows::UI::Xaml::IUIElementOverrides8,winrt::Windows::UI::Xaml::IUIElementOverrides9,winrt::Windows::UI::Xaml::Markup::IComponentConnector,winrt::Windows::UI::Xaml::Markup::IComponentConnector2>::Release+0x74 [C:\__w\1\s\packages\ExperienceExtensions\windows\ExperienceExtensions\lib\Generated Files\winrt\base.h @ 7523]
21 00000056`c3ffe560 00007ffa`e99a5bc4 ExperienceExtensions!winrt::implements<winrt::ExperienceExtensions::implementation::ReactNativeExperienceViewControl,winrt::ExperienceExtensions::ReactNativeExperienceViewControl,winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged,winrt::Windows::UI::Xaml::Data::ICustomPropertyProvider,winrt::composing,winrt::Windows::UI::Xaml::Controls::IControlOverrides,winrt::Windows::UI::Xaml::Controls::IControlOverrides6,winrt::Windows::UI::Xaml::IFrameworkElementOverrides,winrt::Windows::UI::Xaml::IFrameworkElementOverrides2,winrt::Windows::UI::Xaml::IUIElementOverrides,winrt::Windows::UI::Xaml::IUIElementOverrides7,winrt::Windows::UI::Xaml::IUIElementOverrides8,winrt::Windows::UI::Xaml::IUIElementOverrides9,winrt::Windows::UI::Xaml::Markup::IComponentConnector,winrt::Windows::UI::Xaml::Markup::IComponentConnector2>::Release+0x7e [C:\__w\1\s\packages\ExperienceExtensions\windows\ExperienceExtensions\lib\Generated Files\winrt\base.h @ 8159]
22 (Inline Function) --------`-------- Windows_UI_Xaml!ctl::release_interface+0x19 [onecoreuap\windows\dxaml\xcp\components\com\inc\ComUtils.h @ 137]
23 00000056`c3ffe590 00007ffa`e9968898 Windows_UI_Xaml!DirectUI::DependencyObject::ReleaseForPeerReferenceHelper+0x74 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 2668]
24 00000056`c3ffe5c0 00007ffa`e99a0ff8 Windows_UI_Xaml!DirectUI::DependencyObject::ClearExpectedReferenceOnPeer+0x98 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 4045]
25 (Inline Function) --------`-------- Windows_UI_Xaml!CFxCallbacks::FrameworkCallbacks_ClearExpectedReferenceOnPeer+0xb [onecoreuap\windows\dxaml\xcp\dxaml\lib\fxcallbacks.cpp @ 1103]
26 (Inline Function) --------`-------- Windows_UI_Xaml!CDependencyObject::ClearExpectedReferenceOnPeer+0x1c [onecoreuap\windows\dxaml\xcp\core\core\elements\depends.cpp @ 3001]
27 (Inline Function) --------`-------- Windows_UI_Xaml!CDependencyObject::OnParentChange+0x5e4 [onecoreuap\windows\dxaml\xcp\core\core\elements\depends.cpp @ 1728]
28 00000056`c3ffe620 00007ffa`e99603c5 Windows_UI_Xaml!CDependencyObject::SetParent+0x7e4 [onecoreuap\windows\dxaml\xcp\core\core\elements\depends.cpp @ 2312]
29 (Inline Function) --------`-------- Windows_UI_Xaml!CDOCollection::ChangeParent+0x1a [onecoreuap\windows\dxaml\xcp\components\collection\docollection.cpp @ 1066]
2a (Inline Function) --------`-------- Windows_UI_Xaml!CDOCollection::SetChildParent+0x231 [onecoreuap\windows\dxaml\xcp\components\collection\docollection.cpp @ 1195]
2b 00000056`c3ffe740 00007ffa`e9e5db5a Windows_UI_Xaml!CDOCollection::Neat+0x335 [onecoreuap\windows\dxaml\xcp\components\collection\docollection.cpp @ 854]
2c 00000056`c3ffe7c0 00007ffa`e9c29bec Windows_UI_Xaml!CCollection::Destroy+0x1a [onecoreuap\windows\dxaml\xcp\components\collection\collect.cpp @ 23]
2d 00000056`c3ffe7f0 00007ffa`e9c27bd3 Windows_UI_Xaml!CCollection::Clear+0x1c [onecoreuap\windows\dxaml\xcp\components\collection\collect.cpp @ 63]
2e (Inline Function) --------`-------- Windows_UI_Xaml!CUIElementCollection::RemoveAllElements+0x5f [onecoreuap\windows\dxaml\xcp\components\collection\uielementcollection.cpp @ 1317]
2f 00000056`c3ffe820 00007ffa`e9ed82e4 Windows_UI_Xaml!CUIElement::~CUIElement+0x1e7 [onecoreuap\windows\dxaml\xcp\core\core\elements\uielement.cpp @ 398]
30 00000056`c3ffe890 00007ffa`e99c1966 Windows_UI_Xaml!CContentPresenter::`scalar deleting destructor'+0x14
31 (Inline Function) --------`-------- Windows_UI_Xaml!CDependencyObject::ReleaseImpl+0x214 [onecoreuap\windows\dxaml\xcp\core\core\elements\depends.cpp @ 448]
32 00000056`c3ffe8c0 00007ffa`e99604d9 Windows_UI_Xaml!CDependencyObject::Release+0x246 [onecoreuap\windows\dxaml\xcp\components\dependencyobject\dependencyobjectmin.cpp @ 69]
33 (Inline Function) --------`-------- Windows_UI_Xaml!ReleaseInterface+0x8 [onecoreuap\windows\dxaml\xcp\pal\inc\macros.h @ 34]
34 00000056`c3ffe910 00007ffa`e9e5db5a Windows_UI_Xaml!CDOCollection::Neat+0x449 [onecoreuap\windows\dxaml\xcp\components\collection\docollection.cpp @ 875]
35 00000056`c3ffe990 00007ffa`e9c29bec Windows_UI_Xaml!CCollection::Destroy+0x1a [onecoreuap\windows\dxaml\xcp\components\collection\collect.cpp @ 23]
36 00000056`c3ffe9c0 00007ffa`e9c27bd3 Windows_UI_Xaml!CCollection::Clear+0x1c [onecoreuap\windows\dxaml\xcp\components\collection\collect.cpp @ 63]
37 (Inline Function) --------`-------- Windows_UI_Xaml!CUIElementCollection::RemoveAllElements+0x5f [onecoreuap\windows\dxaml\xcp\components\collection\uielementcollection.cpp @ 1317]
38 00000056`c3ffe9f0 00007ffa`e9f7ab14 Windows_UI_Xaml!CUIElement::~CUIElement+0x1e7 [onecoreuap\windows\dxaml\xcp\core\core\elements\uielement.cpp @ 398]
39 00000056`c3ffea60 00007ffa`e99c1966 Windows_UI_Xaml!CContentControl::`scalar deleting destructor'+0x14
3a (Inline Function) --------`-------- Windows_UI_Xaml!CDependencyObject::ReleaseImpl+0x214 [onecoreuap\windows\dxaml\xcp\core\core\elements\depends.cpp @ 448]
3b 00000056`c3ffea90 00007ffa`e99604d9 Windows_UI_Xaml!CDependencyObject::Release+0x246 [onecoreuap\windows\dxaml\xcp\components\dependencyobject\dependencyobjectmin.cpp @ 69]
3c (Inline Function) --------`-------- Windows_UI_Xaml!ReleaseInterface+0x8 [onecoreuap\windows\dxaml\xcp\pal\inc\macros.h @ 34]
3d 00000056`c3ffeae0 00007ffa`e9e5db5a Windows_UI_Xaml!CDOCollection::Neat+0x449 [onecoreuap\windows\dxaml\xcp\components\collection\docollection.cpp @ 875]
3e 00000056`c3ffeb60 00007ffa`e9c29bec Windows_UI_Xaml!CCollection::Destroy+0x1a [onecoreuap\windows\dxaml\xcp\components\collection\collect.cpp @ 23]
3f 00000056`c3ffeb90 00007ffa`e9c27bd3 Windows_UI_Xaml!CCollection::Clear+0x1c [onecoreuap\windows\dxaml\xcp\components\collection\collect.cpp @ 63]
40 (Inline Function) --------`-------- Windows_UI_Xaml!CUIElementCollection::RemoveAllElements+0x5f [onecoreuap\windows\dxaml\xcp\components\collection\uielementcollection.cpp @ 1317]
41 00000056`c3ffebc0 00007ffa`e9ed82e4 Windows_UI_Xaml!CUIElement::~CUIElement+0x1e7 [onecoreuap\windows\dxaml\xcp\core\core\elements\uielement.cpp @ 398]
42 00000056`c3ffec30 00007ffa`e99c1966 Windows_UI_Xaml!CContentPresenter::`scalar deleting destructor'+0x14
43 (Inline Function) --------`-------- Windows_UI_Xaml!CDependencyObject::ReleaseImpl+0x214 [onecoreuap\windows\dxaml\xcp\core\core\elements\depends.cpp @ 448]
44 00000056`c3ffec60 00007ffa`e99c40ea Windows_UI_Xaml!CDependencyObject::Release+0x246 [onecoreuap\windows\dxaml\xcp\components\dependencyobject\dependencyobjectmin.cpp @ 69]
45 (Inline Function) --------`-------- Windows_UI_Xaml!ReleaseInterface+0x8 [onecoreuap\windows\dxaml\xcp\pal\inc\macros.h @ 34]
46 00000056`c3ffecb0 00007ffa`e9c55736 Windows_UI_Xaml!DirectUI::DependencyObject::DisconnectFrameworkPeerCore+0xca [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 509]
47 (Inline Function) --------`-------- Windows_UI_Xaml!DirectUI::DependencyObject::DisconnectFrameworkPeer+0xf [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 547]
48 00000056`c3ffece0 00007ffa`e9d39c89 Windows_UI_Xaml!DirectUI::DependencyObject::OnFinalRelease+0x3e6 [onecoreuap\windows\dxaml\xcp\dxaml\lib\dependencyobject.cpp @ 405]
49 (Inline Function) --------`-------- Windows_UI_Xaml!ctl::ComBase::ReleaseImpl+0x6b [onecoreuap\windows\dxaml\xcp\components\com\inc\ComBase.h @ 307]
4a 00000056`c3ffed20 00007ffa`e9e64242 Windows_UI_Xaml!ctl::ComObject<DirectUI::Binding>::Release+0x99 [onecoreuap\windows\dxaml\xcp\components\com\inc\ComObject.h @ 95]
4b (Inline Function) --------`-------- Windows_UI_Xaml!ctl::ComPtr<Windows::UI::Xaml::IDependencyObject>::InternalRelease+0x14 [onecoreuap\windows\dxaml\xcp\components\com\inc\ComPtr.h @ 274]
4c (Inline Function) --------`-------- Windows_UI_Xaml!ctl::ComPtr<Windows::UI::Xaml::IDependencyObject>::{dtor}+0x14 [onecoreuap\windows\dxaml\xcp\components\com\inc\ComPtr.h @ 345]
4d 00000056`c3ffed50 00007ffa`e9e644f1 Windows_UI_Xaml!DirectUI::ItemContainerGenerator::OnItemRemoved+0x142 [onecoreuap\windows\dxaml\xcp\dxaml\lib\itemcontainergenerator_partial.cpp @ 2512]
4e 00000056`c3ffedc0 00007ffa`e9eca49f Windows_UI_Xaml!DirectUI::ItemContainerGenerator::OnItemCollectionChanged+0x131 [onecoreuap\windows\dxaml\xcp\dxaml\lib\itemcontainergenerator_partial.cpp @ 2357]
4f 00000056`c3ffee10 00007ffa`e9a3f951 Windows_UI_Xaml!DirectUI::ClassMemberEventHandler<DirectUI::ItemContainerGenerator,Windows::UI::Xaml::Controls::IItemContainerGenerator,Windows::Foundation::Collections::VectorChangedEventHandler<IInspectable *>,Windows::Foundation::Collections::IObservableVector<IInspectable *>,Windows::Foundation::Collections::IVectorChangedEventArgs>::Invoke+0xcf [onecoreuap\windows\dxaml\xcp\dxaml\lib\JoltClasses.h @ 663]
50 00000056`c3ffee80 00007ffa`e9a3f6b8 Windows_UI_Xaml!DirectUI::CEventSourceBase<DirectUI::IUntypedEventSource,Windows::Foundation::Collections::VectorChangedEventHandler<IInspectable *>,Windows::Foundation::Collections::IObservableVector<IInspectable *>,Windows::Foundation::Collections::IVectorChangedEventArgs>::Raise+0x99 [onecoreuap\windows\dxaml\xcp\dxaml\lib\JoltClasses.h @ 307]
51 00000056`c3ffeef0 00007ffa`ea2b6db1 Windows_UI_Xaml!DirectUI::ItemCollection::OnCollectionChanged+0xc8 [onecoreuap\windows\dxaml\xcp\dxaml\lib\itemcollection_partial.cpp @ 410]
52 (Inline Function) --------`-------- Windows_UI_Xaml!DirectUI::ItemCollection::UpdateItemsSourceList::__l23::<lambda_7f3eb7331414c36ce2a846fa4e67b785>::operator()+0x48 [onecoreuap\windows\dxaml\xcp\dxaml\lib\itemcollection_partial.cpp @ 368]
53 (Inline Function) --------`-------- Windows_UI_Xaml!std::invoke+0x51 [onecore\internal\sdk\inc\ucrt\type_traits @ 1741]
54 00000056`c3ffef40 00007ffa`e9d9b179 Windows_UI_Xaml!std::_Func_impl_no_alloc<<lambda_7f3eb7331414c36ce2a846fa4e67b785>,long,Windows::Foundation::Collections::IObservableVector<IInspectable *> *,Windows::Foundation::Collections::IVectorChangedEventArgs *>::_Do_call+0x61 [onecore\internal\sdk\inc\ucrt\stl120\functional @ 810]
55 (Inline Function) --------`-------- Windows_UI_Xaml!std::_Func_class<long,IInspectable *,Windows::UI::Xaml::Input::IPointerRoutedEventArgs *>::operator()+0x1e [onecore\internal\sdk\inc\ucrt\stl120\functional @ 854]
56 00000056`c3ffef70 00007ffa`e9c7c0a2 Windows_UI_Xaml!ctl::event_handler_base<Windows::UI::Xaml::Input::IPointerEventHandler,IInspectable,Windows::UI::Xaml::Input::IPointerRoutedEventArgs,DirectUI::UIElementPointerReleasedTraits>::Invoke+0x49 [onecoreuap\windows\dxaml\xcp\components\com\inc\comEventHandler.h @ 38]
57 00000056`c3ffefa0 00007ffa`e9c7bc7b Windows_UI_Xaml!DirectUI::TrackerEventSource<Windows::Foundation::Collections::VectorChangedEventHandler<IInspectable *>,Windows::Foundation::Collections::IObservableVector<IInspectable *>,Windows::Foundation::Collections::IVectorChangedEventArgs>::Raise+0x7e [onecoreuap\windows\dxaml\xcp\dxaml\lib\TrackerCollections.h @ 572]
58 (Inline Function) --------`-------- Windows_UI_Xaml!DirectUI::BindableObservableVectorWrapper::RaiseVectorChanged+0xf [onecoreuap\windows\dxaml\xcp\dxaml\lib\bindableobservablevectorwrapper.cpp @ 286]
59 00000056`c3fff000 00007ffa`e9d9b179 Windows_UI_Xaml!DirectUI::BindableObservableVectorWrapper::ProcessVectorChange+0x53 [onecoreuap\windows\dxaml\xcp\dxaml\lib\bindableobservablevectorwrapper.cpp @ 254]
5a (Inline Function) --------`-------- Windows_UI_Xaml!std::_Func_class<long,IInspectable *,Windows::UI::Xaml::Input::IPointerRoutedEventArgs *>::operator()+0x1e [onecore\internal\sdk\inc\ucrt\stl120\functional @ 854]
5b 00000056`c3fff030 00007ffa`bc982ce3 Windows_UI_Xaml!ctl::event_handler_base<Windows::UI::Xaml::Input::IPointerEventHandler,IInspectable,Windows::UI::Xaml::Input::IPointerRoutedEventArgs,DirectUI::UIElementPointerReleasedTraits>::Invoke+0x49 [onecoreuap\windows\dxaml\xcp\components\com\inc\comEventHandler.h @ 38]
5c 00000056`c3fff060 00007ffa`bc982680 SystemSettingsViewModel_Desktop!Platform::EventSource::DoInvokeVoid<Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler,<lambda_fa30a613036bcec23797998bf71b5136> >+0x133 [OneCore\Internal\Sdk\Inc\ucrt\vccorlib.h @ 2668]
5d 00000056`c3fff110 00007ffa`bca4af0a SystemSettingsViewModel_Desktop!Platform::EventSource::InvokeVoid<Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler,Windows::UI::Xaml::Interop::IBindableObservableVector ^,Platform::Object ^>+0xac [OneCore\Internal\Sdk\Inc\ucrt\vccorlib.h @ 2692]
5e (Inline Function) --------`-------- SystemSettingsViewModel_Desktop!Platform::Collections::Vector<SystemSettings::ViewModel::SettingsCardEntry ^,std::equal_to<SystemSettings::ViewModel::SettingsCardEntry ^>,1>::m_wuxi_event::raise+0x1f [OneCore\Internal\Sdk\Inc\ucrt\collection.h @ 845]
5f 00000056`c3fff190 00007ffa`bca4b2f3 SystemSettingsViewModel_Desktop!Platform::Collections::Vector<SystemSettings::ViewModel::SettingsCardEntry ^,std::equal_to<SystemSettings::ViewModel::SettingsCardEntry ^>,1>::Notify+0xa6 [OneCore\Internal\Sdk\Inc\ucrt\collection.h @ 775]
60 (Inline Function) --------`-------- SystemSettingsViewModel_Desktop!Platform::Collections::Vector<SystemSettings::ViewModel::SettingsCardEntry ^,std::equal_to<SystemSettings::ViewModel::SettingsCardEntry ^>,1>::NotifyRemoved+0x10 [OneCore\Internal\Sdk\Inc\ucrt\collection.h @ 790]
61 00000056`c3fff1c0 00007ffa`bca4a373 SystemSettingsViewModel_Desktop!Platform::Collections::Vector<SystemSettings::ViewModel::SettingsCardEntry ^,std::equal_to<SystemSettings::ViewModel::SettingsCardEntry ^>,1>::[Windows::Foundation::Collections::IVector<SystemSettings::ViewModel::SettingsCardEntry ^>]::RemoveAt+0x7b [OneCore\Internal\Sdk\Inc\ucrt\collection.h @ 703]
62 00000056`c3fff220 00007ffa`bca4ac6c SystemSettingsViewModel_Desktop!SystemSettings::ViewModel::CardListStateObserver::HandleViewReadyTimeout+0x203 [shellcommon\shell\SystemSettings\desktop\ViewModel\CardListStateObserver.cpp @ 485]
63 00000056`c3fff330 00007ffa`bca4a72f SystemSettingsViewModel_Desktop!SystemSettings::ViewModel::CardListStateObserver::MonitorForViewReadyTimeoutAsync$_ResumeCoro$1+0x2fc [shellcommon\shell\SystemSettings\desktop\ViewModel\CardListStateObserver.cpp @ 458]
64 (Inline Function) --------`-------- SystemSettingsViewModel_Desktop!std::experimental::coroutine_handle<void>::resume+0xb [OneCore\Internal\Sdk\Inc\ucrt\stl120\experimental\coroutine @ 104]
65 (Inline Function) --------`-------- SystemSettingsViewModel_Desktop!wil::details::dispatcher_handler::Complete+0x1b [OneCore\Internal\Sdk\Inc\wil\opensource\wil\cppwinrt_helpers.h @ 97]
66 (Inline Function) --------`-------- SystemSettingsViewModel_Desktop!wil::details::dispatcher_handler::operator()+0x1b [OneCore\Internal\Sdk\Inc\wil\opensource\wil\cppwinrt_helpers.h @ 91]
67 00000056`c3fff4b0 00007ffa`eaabad47 SystemSettingsViewModel_Desktop!winrt::impl::delegate<winrt::Windows::UI::Core::DispatchedHandler,wil::details::dispatcher_handler>::Invoke+0x1f [shellcommon\Internal\BuildMetadata\Internal\CppWinRT\winrt\windows.ui.core.h @ 8233]
68 (Inline Function) --------`-------- Windows_UI!Windows::UI::Core::CDispatcher::InvokeAndCompleteItem+0x49 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 1294]
69 (Inline Function) --------`-------- Windows_UI!Windows::UI::Core::CDispatcher::ProcessInvokeItem+0x197 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 1229]
6a 00000056`c3fff4e0 00007ffa`eaaba140 Windows_UI!Windows::UI::Core::CDispatcher::ProcessMessage+0x987 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 267]
6b 00000056`c3fff660 00007ffa`eaab9dbe Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessagesInternal+0xb0 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 1972]
6c 00000056`c3fff770 00007ffa`ebc94917 Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessages+0x2e [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 458]
6d (Inline Function) --------`-------- twinapi_appcore!Event::WaitAndProcessEvents+0x57 [onecoreuap\shell\coreapplication\application\lib\eventwrapper.cpp @ 105]
6e 00000056`c3fff7a0 00007ffa`ebc93e3d twinapi_appcore!Windows::ApplicationModel::SuspendingOperation::WaitForAnyOutstandingDeferrals+0xb7 [onecoreuap\shell\coreapplication\application\lib\suspendingeventargs.cpp @ 160]
6f (Inline Function) --------`-------- twinapi_appcore!Windows::ApplicationModel::SuspendingEventArgs::WaitForAnyOutstandingDeferrals+0x263 [onecoreuap\shell\coreapplication\application\lib\suspendingeventargs.cpp @ 304]
70 00000056`c3fff7f0 00007ffa`ebceb359 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationView::SuspendResume+0x46d [onecoreuap\shell\coreapplication\application\lib\coreapplicationview.cpp @ 667]
71 00000056`c3fff890 00007ffa`eaabaa62 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationView::SuspendResumeHandler::Invoke+0x289 [onecoreuap\shell\coreapplication\application\lib\CoreApplicationView.h @ 278]
72 (Inline Function) --------`-------- Windows_UI!Windows::UI::Core::CDispatcher::InvokeAndCompleteItem+0x49 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 1294]
73 (Inline Function) --------`-------- Windows_UI!Windows::UI::Core::CDispatcher::ProcessInvokeItem+0x642 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 1229]
74 00000056`c3fffa50 00007ffa`eaaba140 Windows_UI!Windows::UI::Core::CDispatcher::ProcessMessage+0x6a2 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 355]
75 00000056`c3fffbd0 00007ffa`eaab9dbe Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessagesInternal+0xb0 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 1972]
76 00000056`c3fffce0 00007ffa`ebc8676d Windows_UI!Windows::UI::Core::CDispatcher::WaitAndProcessMessages+0x2e [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 458]
77 00000056`c3fffd10 00007ffa`ebc866aa twinapi_appcore!Event::WaitAndProcessEvents+0x75 [onecoreuap\shell\coreapplication\application\lib\eventwrapper.cpp @ 105]
78 00000056`c3fffd40 00007ffa`ebc86572 twinapi_appcore!Windows::ApplicationModel::Core::CoreApplicationViewAgileContainer::WaitForViewReady+0x4a [onecoreuap\shell\coreapplication\application\lib\coreapplicationviewagilecontainer.cpp @ 1503]
79 00000056`c3fffd80 00007ffa`f946805a twinapi_appcore!<lambda_42789f15e44e28e8f1176a4d3f326103>::operator()+0x72 [onecoreuap\shell\coreapplication\application\lib\coreapplicationviewagilecontainer.cpp @ 1266]
7a 00000056`c3fffdb0 00007ffa`fa09e8d7 SHCore!_WrapperThreadProc+0x15a [onecore\shell\shcore\libs\thread\thread.cpp @ 354]
7b 00000056`c3fffeb0 00007ffa`faed28dc kernel32!BaseThreadInitThunk+0x17 [clientcore\base\win32\client\thread.c @ 77]
7c 00000056`c3fffee0 00000000`00000000 ntdll!RtlUserThreadStart+0x2c [minkernel\ldr\rtlstrt.c @ 1184]
Find the root cause and add fix.
Also refer https://github.com/microsoft/hermes-windows/tree/main
Copilot