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

System.TypeLoadException: 'Unable to find a type named 'TrackerCollection<T'' in WinUI3 preview4 #4240

Closed
arivoir opened this issue Feb 18, 2021 · 12 comments
Assignees
Labels
appModel-win32 Exclusive to WinUI 3 Win32 Desktop apps area-C#/WinRT product-winui3 WinUI 3 issues team-Markup Issue for the Markup team

Comments

@arivoir
Copy link

arivoir commented Feb 18, 2021

I'm constantly seeing the following exception

System.TypeLoadException: 'Unable to find a type named 'TrackerCollection<T''

at WinRT.TypeNameSupport.FindTypeByNameCore(String runtimeClassName, Type[] genericTypes)

When enabling "Common Language Runtime Exceptions"
image

Despite the exception is internal it looks like a bug

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Feb 18, 2021
@StephenLPeters StephenLPeters added appModel-win32 Exclusive to WinUI 3 Win32 Desktop apps product-winui3 WinUI 3 issues labels Feb 19, 2021
@StephenLPeters
Copy link
Contributor

@Scottj1s and @stevenbrix based purely on the function name I'm guessing this is CSWinrt?

@StephenLPeters StephenLPeters removed the needs-triage Issue needs to be triaged by the area owners label Feb 19, 2021
@arivoir
Copy link
Author

arivoir commented Feb 19, 2021

This issue is affecting the VisualTreeHelper.FindElementsInHostCoordinates and VisualTreeHelper.GetParent methods slowing down the performance every time the ui receives feedback.

@j0shuams
Copy link

j0shuams commented Mar 18, 2021

This issue is showing up in XamlControlsGallery, when you try to access changes colors on some controls and when you try to navigate to certain controls pages. I can provide repro steps if need be.

@codendone
Copy link
Contributor

Do you still see this issue on Project Reunion 0.5.5? This picked up a new CsWinRT, and so far I'm not seeing this problem when playing around in WinUI 3 Controls Gallery.

@arivoir
Copy link
Author

arivoir commented Apr 23, 2021

Yes, it´s still in Project Reunion 0.5.5

@codendone
Copy link
Contributor

Thanks for checking. Do you have more info on how to repro?

@arivoir
Copy link
Author

arivoir commented Apr 26, 2021

Unfortunately I just installed Net6 sdk, and WinUI 3 stopped working, but you should be able to easily reproduce the problem by calling VisualTreeHelper.GetParent method

@arivoir
Copy link
Author

arivoir commented Apr 26, 2021

I could create a repo sample

<Grid Background="Transparent" PointerPressed="OnPointerPressed"/>

With the following code behind

private void OnPointerPressed(object sender, PointerRoutedEventArgs e)
{
    var view = sender as FrameworkElement;
    var point = e.GetCurrentPoint(view).Position;
    var elem = VisualTreeHelper.FindElementsInHostCoordinates(point, view).FirstOrDefault() as FrameworkElement;
}

Enable seeing the handled exceptions

image

Run the app and click everywhere

image
Here is the repo sample

App11.zip

@codendone
Copy link
Contributor

Thanks, that repros for me! (And, sorry, I missed your earlier comment about that VisualTreeHelper method hitting this issue.)

@Scottj1s
Copy link
Member

This is a known issue in the Windows OS, and is not likely to be addressed until later this year. The issue is due to an erroneous return string from a system Windows Runtime component's IInspectable::GetRuntimeClassName(). The C#/WinRT runtime attempts to resolve this string to a type, which fails with the given exception.

@Scottj1s
Copy link
Member

Rather than waiting that long for a Windows OS fix, I've added caching to C#/WinRT to prevent the exception storm:
microsoft/CsWinRT#828

I expect this fix will be available in the next public release of C#/WinRT - early May.

@Scottj1s Scottj1s self-assigned this Apr 28, 2021
@mqudsi
Copy link

mqudsi commented Jul 17, 2021

For what it's worth, I randomly started seeing this (in the new caching-enabled codepath) with Project Reunion 0.8 on Windows 10 18363 completely out of the blue (as in, the same code was running under a debugger just fine yesterday). Since it's the same codepath each time, I'm assuming it's the same <T> in question. Due to the caching, I would expect to see it once or so, but I'm guessing it's failing to to ever create the object and each time the codepath is triggered (for me, on listbox selection change), the runtime exception is thrown (and handled, obviously).

In case this isn't a "known issue, nothing we can do about it" as of the latest release, here's the stacktrace:

 	WinRT.Runtime.dll!WinRT.TypeNameSupport.FindTypeByNameCore(string runtimeClassName, System.Type[] genericTypes)	Unknown
 	WinRT.Runtime.dll!WinRT.TypeNameSupport.FindTypeByName(System.ReadOnlySpan<char> runtimeClassName)	Unknown
 	WinRT.Runtime.dll!WinRT.ComWrappersSupport.GetRuntimeClassForTypeCreation(WinRT.IInspectable inspectable, System.Type staticallyDeterminedType)	Unknown
 	WinRT.Runtime.dll!WinRT.DefaultComWrappers.CreateObject(WinRT.IObjectReference objRef)	Unknown
 	WinRT.Runtime.dll!WinRT.DefaultComWrappers.CreateObject(System.IntPtr externalComObject, System.Runtime.InteropServices.CreateObjectFlags flags)	Unknown
 	[Native to Managed Transition]	
 	System.Private.CoreLib.dll!00007ffc842cd17e()	Unknown
 	[Managed to Native Transition]	
 	System.Private.CoreLib.dll!System.Runtime.InteropServices.ComWrappers.TryGetOrCreateObjectForComInstanceInternal(System.Runtime.CompilerServices.ObjectHandleOnStack comWrappersImpl, long wrapperId, System.IntPtr externalComObject, System.Runtime.InteropServices.CreateObjectFlags flags, System.Runtime.CompilerServices.ObjectHandleOnStack wrapper, System.Runtime.CompilerServices.ObjectHandleOnStack retValue)	Unknown
>	System.Private.CoreLib.dll!System.Runtime.InteropServices.ComWrappers.TryGetOrCreateObjectForComInstanceInternal(System.Runtime.InteropServices.ComWrappers impl, System.IntPtr externalComObject, System.Runtime.InteropServices.CreateObjectFlags flags, object wrapperMaybe, out object retValue) Line 312	C#
 	System.Private.CoreLib.dll!System.Runtime.InteropServices.ComWrappers.GetOrCreateObjectForComInstance(System.IntPtr externalComObject, System.Runtime.InteropServices.CreateObjectFlags flags) Line 231	C#
 	WinRT.Runtime.dll!WinRT.ComWrappersSupport.CreateRcwForComObject<System.Collections.Generic.IList<object>>(System.IntPtr ptr)	Unknown
 	WinRT.Runtime.dll!WinRT.MarshalInspectable<System.Collections.Generic.IList<object>>.FromAbi(System.IntPtr ptr)	Unknown
 	WinRT.Runtime.dll!WinRT.MarshalInterface<System.Collections.Generic.IList<object>>.FromAbi(System.IntPtr ptr)	Unknown
 	Microsoft.WinUI.dll!ABI.Microsoft.UI.Xaml.Controls.ISelectionChangedEventArgs.Microsoft.UI.Xaml.Controls.ISelectionChangedEventArgs.AddedItems.get()	Unknown
 	Microsoft.WinUI.dll!Microsoft.UI.Xaml.Controls.SelectionChangedEventArgs.AddedItems.get()	Unknown
 	iMessage.dll!WinMessageUwp.MainPage.lstConversations_SelectionChanged(object sender, Microsoft.UI.Xaml.Controls.SelectionChangedEventArgs e) Line 1346	C#
 	Microsoft.WinUI.dll!ABI.Microsoft.UI.Xaml.Controls.SelectionChangedEventHandler.Do_Abi_Invoke.AnonymousMethod__0(Microsoft.UI.Xaml.Controls.SelectionChangedEventHandler invoke)	Unknown
 	WinRT.Runtime.dll!WinRT.ComWrappersSupport.MarshalDelegateInvoke<Microsoft.UI.Xaml.Controls.SelectionChangedEventHandler>(System.IntPtr thisPtr, System.Action<Microsoft.UI.Xaml.Controls.SelectionChangedEventHandler> invoke)	Unknown
 	Microsoft.WinUI.dll!ABI.Microsoft.UI.Xaml.Controls.SelectionChangedEventHandler.Do_Abi_Invoke(System.IntPtr thisPtr, System.IntPtr sender, System.IntPtr e)	Unknown
 	[Native to Managed Transition]	
 	Microsoft.ui.xaml.dll!DirectUI::CRoutedEventSourceBase<DirectUI::IUntypedEventSource,ABI::Microsoft::UI::Xaml::Controls::ISelectionChangedEventHandler,IInspectable,ABI::Microsoft::UI::Xaml::Controls::ISelectionChangedEventArgs>::Raise()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::Selector::OnSelectionChanged()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::Selector::InvokeSelectionChanged()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::Selector::EndChange()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::Selector::SelectJustThisItemInternal()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::Selector::MakeSingleSelection()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::ListViewBase::MakeSingleSelection()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::ListViewBase::MakeSingleSelection()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::ListViewBase::OnSelectItemPrimary()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::ListViewBase::OnItemPrimaryInteractionGesture()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::ListViewBaseItem::DoTapInteraction()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::ListViewBaseItem::DoPendingTapInteractionForPointerId()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::ListViewBaseItem::OnPointerReleased()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::ControlGenerated::OnPointerReleasedProtected()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::Control::FireEvent()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::DXamlCore::FireEvent()	Unknown
 	Microsoft.ui.xaml.dll!CCoreServices::CLR_FireEvent()	Unknown
 	Microsoft.ui.xaml.dll!CommonBrowserHost::CLR_FireEvent()	Unknown
 	Microsoft.ui.xaml.dll!CControlBase::ScriptCallback()	Unknown
 	Microsoft.ui.xaml.dll!CXcpDispatcher::OnWindowMessage(struct HWND__ *,unsigned int,unsigned __int64,__int64)	Unknown
 	Microsoft.ui.xaml.dll!CXcpDispatcher::WindowProc(struct HWND__ *,unsigned int,unsigned __int64,__int64)	Unknown
 	user32.dll!UserCallWinProcCheckWow()	Unknown
 	user32.dll!SendMessageWorker()	Unknown
 	user32.dll!SendMessageW()	Unknown
 	Microsoft.VisualStudio.Debugger.Runtime.Impl.dll!DetouredSendMessageW(struct HWND__ *,unsigned int,unsigned __int64,__int64)	Unknown
 	Microsoft.ui.xaml.dll!CXcpBrowserHost::SyncScriptCallbackRequest()	Unknown
 	Microsoft.ui.xaml.dll!CEventManager::Raise()	Unknown
 	Microsoft.ui.xaml.dll!CEventManager::RaiseRoutedEventBubbling()	Unknown
 	Microsoft.ui.xaml.dll!CInputServices::RaiseDelayedPointerUpEvent()	Unknown
 	Microsoft.ui.xaml.dll!CInputServices::ProcessGestureInput()	Unknown
 	Microsoft.ui.xaml.dll!CInputServices::ProcessTouchInteractionCallback(class xref_ptr<class CUIElement> const &,struct TouchInteractionMsg *)	Unknown
 	Microsoft.ui.xaml.dll!CCoreServices::ProcessTouchInteractionCallback()	Unknown
 	Microsoft.ui.xaml.dll!GestureRecognizerAdapter::OnTapped()	Unknown
 	Microsoft.ui.xaml.dll!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl ABI::Windows::Foundation::ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Microsoft::UI::Input::Experimental::ExpGestureRecognizer *,ABI::Microsoft::UI::Input::Experimental::IExpGestureRecognizer *>,ABI::Windows::Foundation::Internal::AggregateType<ABI::Microsoft::UI::Input::Experimental::ExpTappedEventArgs *,ABI::Microsoft::UI::Input::Experimental::IExpTappedEventArgs *>>::*)(ABI::Microsoft::UI::Input::Experimental::IExpGestureRecognizer *,ABI::Microsoft::UI::Input::Experimental::IExpTappedEventArgs *)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::UI::Input::Experimental::ExpGestureRecognizer *,ABI::Microsoft::UI::Input::Experimental::ExpTappedEventArgs *>,Microsoft::WRL::FtmBase>,<lambda_92d18d6dae9b765e62d11d94352cdeb9> &,1,ABI::Microsoft::UI::Input::Experimental::IExpGestureRecognizer *,ABI::Microsoft::UI::Input::Experimental::IExpTappedEventArgs *>::Invoke()	Unknown
 	Microsoft.UI.Input.dll!Microsoft::WRL::InvokeTraits<-2>::InvokeDelegates<class <lambda_fbf32a2d6ce5b75f83fbbc8d64c07b0e>,struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpGestureRecognizer *,class Microsoft::UI::Input::Experimental::ExpTappedEventArgs *> >(class <lambda_fbf32a2d6ce5b75f83fbbc8d64c07b0e>,class Microsoft::WRL::Details::EventTargetArray *,class Microsoft::WRL::EventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpGestureRecognizer *,class Microsoft::UI::Input::Experimental::ExpTappedEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> > *)	Unknown
 	Microsoft.UI.Input.dll!GestureRecognizerServer::OnTappedEvent(enum Windows::Devices::Input::PointerDeviceType,struct Windows::Foundation::Point,unsigned int)	Unknown
 	Microsoft.UI.Input.dll!GestureRecognizerServer::OnOutput(struct INTERACTION_CONTEXT_OUTPUT const *)	Unknown
 	Microsoft.UI.Input.dll!GestureRecognizerServer::OutputCallback(void *,struct INTERACTION_CONTEXT_OUTPUT const *)	Unknown
 	ninput.dll!COutputConverter::Process(class CInteractionContextConfiguration const &,enum InteractionContextProperties::MeasurementUnits,enum CInteractionContextGlobal::FeedbackSettings,struct DigitizerInfo const *,struct INTERACTION_INPUT const *,unsigned int,struct INTERACTION_OUTPUT const &,int)	Unknown
 	ninput.dll!CInteractionContextImpl::OutputCallback(void *,struct INTERACTION_OUTPUT const *)	Unknown
 	ninput.dll!CInteractionGroupingFilter::_SendOutput(struct INTERACTION_OUTPUT const &)	Unknown
 	ninput.dll!CInteractionGroupingFilter::_OnInput(struct INTERACTION_OUTPUT const &)	Unknown
 	ninput.dll!COutputCoalescingFilter::Flush(void)	Unknown
 	ninput.dll!COutputCoalescingFilter::_OnInput(struct INTERACTION_OUTPUT const &)	Unknown
 	ninput.dll!CInteractionEngineImpl::DigitizerInput(enum DIGITIZER_KIND,unsigned __int64,unsigned int,unsigned int,struct INTERACTION_INPUT const *)	Unknown
 	ninput.dll!CInteractionContextImpl::ProcessFrameHistory(unsigned int,unsigned int,struct tagPOINTER_INFO const *)	Unknown
 	ninput.dll!CInteractionContextImpl::ProcessBufferedPackets(void)	Unknown
 	ninput.dll!ProcessBufferedPacketsInteractionContext�()	Unknown
 	Microsoft.UI.Input.dll!GestureRecognizerServer::ProcessUpEvent(struct Microsoft::UI::Input::Experimental::IExpPointerPoint *)	Unknown
 	Microsoft.ui.xaml.dll!ElementGestureTracker::ProcessPointerInformation()	Unknown
 	Microsoft.ui.xaml.dll!ElementGestureTracker::ProcessPointerMessage(struct InputMessage const &,struct ABI::Microsoft::UI::Input::Experimental::IExpPointerPointStatics * const)	Unknown
 	Microsoft.ui.xaml.dll!CInputServices::ProcessPointerMessagesWithInteractionEngine()	Unknown
 	Microsoft.ui.xaml.dll!CInputServices::ProcessInteractionPointerMessages()	Unknown
 	Microsoft.ui.xaml.dll!ContentRootInput::PointerInputProcessor::ProcessPointerInput(struct InputMessage *,int *)	Unknown
 	Microsoft.ui.xaml.dll!CInputServices::ProcessInput(struct InputMessage *,class CContentRoot *,int *)	Unknown
 	Microsoft.ui.xaml.dll!CXcpBrowserHost::HandleInputMessage(unsigned int,struct MsgPacket *,class CContentRoot *,bool,bool &)	Unknown
 	Microsoft.ui.xaml.dll!CJupiterControl::HandlePointerMessage()	Unknown
 	Microsoft.ui.xaml.dll!CJupiterWindow::OnIslandPointerMessage(unsigned int,class CContentRoot *,struct ABI::Microsoft::UI::Input::Experimental::IExpPointerPoint *,bool,bool *)	Unknown
 	Microsoft.ui.xaml.dll!CXamlIslandRoot::InjectPointerMessage(unsigned int,struct ABI::Microsoft::UI::Input::Experimental::IExpPointerEventArgs *)	Unknown
 	Microsoft.ui.xaml.dll!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl ABI::Windows::Foundation::ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,ABI::Microsoft::UI::Input::Experimental::IExpPointerInputObserver *>,ABI::Windows::Foundation::Internal::AggregateType<ABI::Microsoft::UI::Input::Experimental::ExpPointerEventArgs *,ABI::Microsoft::UI::Input::Experimental::IExpPointerEventArgs *>>::*)(ABI::Microsoft::UI::Input::Experimental::IExpPointerInputObserver *,ABI::Microsoft::UI::Input::Experimental::IExpPointerEventArgs *)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,ABI::Windows::Foundation::ITypedEventHandler<ABI::Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,ABI::Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,Microsoft::WRL::FtmBase>,<lambda_f8b54ce08161156e62200159d3467821> &,1,ABI::Microsoft::UI::Input::Experimental::IExpPointerInputObserver *,ABI::Microsoft::UI::Input::Experimental::IExpPointerEventArgs *>::Invoke()	Unknown
 	Microsoft.UI.Input.dll!Microsoft::WRL::Details::DelegateArgTraits<long ( Windows::Foundation::ITypedEventHandler_impl<struct Windows::Foundation::Internal::AggregateType<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,struct Microsoft::UI::Input::Experimental::IExpPointerInputObserver *>,struct Windows::Foundation::Internal::AggregateType<class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *,struct Microsoft::UI::Input::Experimental::IExpPointerEventArgs *> >::*)(struct Microsoft::UI::Input::Experimental::IExpPointerInputObserver *,struct Microsoft::UI::Input::Experimental::IExpPointerEventArgs *)>::DelegateInvokeHelper<struct Microsoft::WRL::Implements<struct Microsoft::WRL::RuntimeClassFlags<2>,struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,class Microsoft::WRL::FtmBase>,class `Microsoft::WRL::Details::CreateAgileHelper<struct Windows::Foundation::ITypedEventHandler<cl	Unknown
 	Microsoft.UI.Input.dll!Microsoft::WRL::InvokeTraits<-2>::InvokeDelegates<class `Microsoft::WRL::EventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll<class PointerInputObserverWinRT::Api *,struct Microsoft::UI::Input::Experimental::IExpPointerEventArgs *>(class PointerInputObserverWinRT::Api *,struct Microsoft::UI::Input::Experimental::IExpPointerEventArgs *)'::`2'::<lambda_1>,struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *> >(class `Microsoft::WRL::EventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll<class PointerIn	Unknown
 	Microsoft.UI.Input.dll!Microsoft::WRL::EventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> >::DoInvoke<class `Microsoft::WRL::EventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll<class PointerInputObserverWinRT::Api *,struct Microsoft::UI::Input::Experimental::IExpPointerEventArgs *>(class PointerInputObserverWinRT::Api *,struct Microsoft::UI::Input::Experimental::IExpPointerEventArgs *)'::`2'::<lambda_1> >(class `Microsoft::WRL::EventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptio	Unknown
 	Microsoft.UI.Input.dll!Microsoft::WRL2::ContextSession::LeaveSession_Callback<class `PointerInputObserverWinRT::InvokeEventDirectlyHelper_Callback<class Microsoft::WRL2::ContextEventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> >,class PointerInputObserverWinRT::Api>(class Microsoft::WRL::ComPtr<struct IPointerEventArgsPrivate> const &,class Microsoft::WRL2::ContextEventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> > &,class PointerInputObserverWinRT::Api *)'::`2'::<lambda_1> >(class `PointerInputObserverWinRT::InvokeEventDirectlyHelper_Callback<class Microsoft::WRL2::ContextEventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Exper	Unknown
 	Microsoft.UI.Input.dll!PointerInputObserverWinRT::InvokeEventDirectlyHelper_Callback<class Microsoft::WRL2::ContextEventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> >,class PointerInputObserverWinRT::Api>(class Microsoft::WRL::ComPtr<struct IPointerEventArgsPrivate> const &,class Microsoft::WRL2::ContextEventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> > &,class PointerInputObserverWinRT::Api *)	Unknown
 	Microsoft.UI.Input.dll!PointerInputObserverWinRT::InvokeEventHelper_Callback<class Microsoft::WRL2::ContextEventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> >,class PointerInputObserverWinRT::Api>(struct WindowsMessageDeliveryMessage *,class Microsoft::WRL2::ContextEventSource<struct Windows::Foundation::ITypedEventHandler<class Microsoft::UI::Input::Experimental::ExpPointerInputObserver *,class Microsoft::UI::Input::Experimental::ExpPointerEventArgs *>,struct Microsoft::WRL::InvokeModeOptions<-2> > &,class PointerInputObserverWinRT::Api *)	Unknown
 	Microsoft.UI.Input.dll!PointerInputObserverWinRT::OnWindowMessage_Callback(struct WindowsMessageDeliveryMessage *)	Unknown
 	Microsoft.UI.Input.dll!std::_Func_impl_no_alloc<<lambda_a42e6ab881593194cfb23dada5e0b66d>,enum InputSiteIterationDecision,Microsoft::WRL::ComPtr<BaseInputObjectWinRT> const &>::_Do_call()	Unknown
 	Microsoft.UI.Input.dll!InputSiteWinRT::ForEachAttachedObject(class std::function<enum InputSiteIterationDecision > const &)	Unknown
 	Microsoft.UI.Input.dll!WindowsMessageDeliveryInputSiteWinRT::OnWindowMessage_Callback(struct WindowsMessageDeliveryMessage *)	Unknown
 	Microsoft.UI.Input.dll!WindowsMessageDeliveryInputSiteWinRT::Private::OnWindowMessage_Callback(struct WindowsMessageDeliveryMessage *)	Unknown
 	Microsoft.UI.Input.dll!WindowsMessageDeliveryAdapter::ProcessWindowMessage_NoLock(struct HWND__ *,unsigned int,unsigned __int64,__int64)	Unknown
 	user32.dll!UserCallWinProcCheckWow()	Unknown
 	user32.dll!DispatchMessageWorker()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::FrameworkApplication::RunDesktopWindowMessageLoop()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::FrameworkApplication::StartDesktop()	Unknown
 	Microsoft.ui.xaml.dll!DirectUI::FrameworkApplicationFactory::Start()	Unknown
 	[Managed to Native Transition]	
 	Microsoft.WinUI.dll!ABI.Microsoft.UI.Xaml.IApplicationStatics.Microsoft.UI.Xaml.IApplicationStatics.Start(Microsoft.UI.Xaml.ApplicationInitializationCallback callback)	Unknown
 	Microsoft.WinUI.dll!Microsoft.UI.Xaml.Application.Start(Microsoft.UI.Xaml.ApplicationInitializationCallback callback)	Unknown
 	iMessage.dll!WinMessageUwp.Program.Main(string[] args) Line 26	C#
 	[Native to Managed Transition]	
 	[Inline Frame] hostpolicy.dll!coreclr_t::execute_assembly(int) Line 89	C++
 	hostpolicy.dll!run_app_for_context(const hostpolicy_context_t & context, int argc, const wchar_t * * argv) Line 246	C++
 	hostpolicy.dll!run_app(const int argc, const wchar_t * * argv) Line 275	C++
 	hostpolicy.dll!corehost_main(const int argc, const wchar_t * * argv) Line 408	C++
 	hostfxr.dll!execute_app(const std::wstring & impl_dll_dir, corehost_init_t * init, const int argc, const wchar_t * * argv) Line 146	C++
 	hostfxr.dll!`anonymous namespace'::read_config_and_execute(const std::wstring & host_command, const host_startup_info_t & host_info, const std::wstring & app_candidate, const std::unordered_map<enum known_options,std::vector<std::wstring,std::allocator<std::wstring>>,known_options_hash,std::equal_to<enum known_options>,std::allocator<std::pair<enum known_options const ,std::vector<std::wstring,std::allocator<std::wstring>>>>> & opts, int new_argc, const wchar_t * * new_argv, host_mode_t mode, wchar_t * out_buffer, int buffer_size, int * required_buffer_size) Line 520	C++
 	hostfxr.dll!fx_muxer_t::handle_exec_host_command(const std::wstring & host_command, const host_startup_info_t & host_info, const std::wstring & app_candidate, const std::unordered_map<enum known_options,std::vector<std::wstring,std::allocator<std::wstring>>,known_options_hash,std::equal_to<enum known_options>,std::allocator<std::pair<enum known_options const ,std::vector<std::wstring,std::allocator<std::wstring>>>>> & opts, int argc, const wchar_t * * argv, int argoff, host_mode_t mode, wchar_t * result_buffer, int buffer_size, int * required_buffer_size) Line 1001	C++
 	hostfxr.dll!fx_muxer_t::execute(const std::wstring host_command, const int argc, const wchar_t * * argv, const host_startup_info_t & host_info, wchar_t * result_buffer, int buffer_size, int * required_buffer_size) Line 566	C++
 	hostfxr.dll!hostfxr_main_startupinfo(const int argc, const wchar_t * * argv, const wchar_t * host_path, const wchar_t * dotnet_root, const wchar_t * app_path) Line 61	C++
 	iMessage.exe!exe_start(const int argc, const wchar_t * * argv) Line 236	C++
 	iMessage.exe!wmain(const int argc, const wchar_t * * argv) Line 302	C++
 	[Inline Frame] iMessage.exe!invoke_main() Line 90	C++
 	iMessage.exe!__scrt_common_main_seh() Line 288	C++
 	kernel32.dll!BaseThreadInitThunk�()	Unknown
 	ntdll.dll!RtlUserThreadStart�()	Unknown

@bpulliam bpulliam added the team-Markup Issue for the Markup team label Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appModel-win32 Exclusive to WinUI 3 Win32 Desktop apps area-C#/WinRT product-winui3 WinUI 3 issues team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

8 participants