This is a migrated thread and some comments may be shown as answers.

RadComboBox click locks up the entire application

2 Answers 139 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
Joe asked on 07 Feb 2018, 11:17 PM

I've got a WPF C# application in which I have many RadComboBoxes.  Sometimes when  I fire it up and click on one of the combo boxes, my entire application hangs.  Sometimes it does not.  It *seems* that if I wait long enough before clicking the dropdown, it doesn't happen.  And I have a lot of other initialization going on so that would make some sense.  But I can't figure out howBut it has happened in both release and debug mode.

When I break into the debugger I see the main thread all locked up in combase.dll.  I have attempted to attach the complete stack track to this messsage but since it won't let me attach a txt file I couldn't get a snapshot of the whole thing.  So I also pasted the entire stack trace in text form at the bottom of this message.

None of the other threads in the entire application is doing anything.  They don't have anything locked that I can see. I went through every single one. Not a single one of them has a stack trace more then 4 or 5 calls deep.  They're all at the start of their thread processes.

The action (in the main thread stack track) appears to start with Telerik RadToggleButton.OnClick.  Here is the line in the main thread stack trace

     Telerik.Windows.Controls.dll!Telerik.Windows.Controls.RadToggleButton.OnClick()UnknownNo symbols loaded.


I don't know where to go with this.  I cannot make it happen in a simple, standalone app.  My app has background work going on but, as I said, none of the threads are doing anything.   

Any idea where to go from here?

 

The Stack Trace:

 

win32u.dll!NtUserMsgWaitForMultipleObjectsEx()UnknownSymbols loaded.
user32.dll!RealMsgWaitForMultipleObjectsEx()UnknownSymbols loaded.
combase.dll!CCliModalLoop::BlockFn(void * * ahEvent=0x0000009e70bf9060, unsigned long cEvents=1, unsigned long * lpdwSignaled=0x0000009e70bf90a0)C++Symbols loaded.
combase.dll!ModalLoop(CSyncClientCall * pClientCall=0x000001b4c8f86a20)C++Symbols loaded.
combase.dll!ClassicSTAThreadDispatchCrossApartmentCall(tagRPCOLEMESSAGE * pMessage=0x0000009e70bf9ae0, OXIDEntry * pOXIDEntry, CSyncClientCall * pClientCall=0x000001b4c8f86a20)C++Symbols loaded.
[Inline Frame] combase.dll!CSyncClientCall::SwitchAptAndDispatchCall(tagRPCOLEMESSAGE * pMessage=0x0000009e70bf9ae0)C++Symbols loaded.
combase.dll!CSyncClientCall::SendReceive2(tagRPCOLEMESSAGE * pMessage=0x0000009e70bf9ae0, unsigned long * pstatus=0x0000009e70bf9778)C++Symbols loaded.
[Inline Frame] combase.dll!SyncClientCallRetryContext::SendReceiveWithRetry(tagRPCOLEMESSAGE *)C++Symbols loaded.
[Inline Frame] combase.dll!CSyncClientCall::SendReceiveInRetryContext(SyncClientCallRetryContext *)C++Symbols loaded.
combase.dll!ClassicSTAThreadSendReceive(CSyncClientCall * pClientCall=0x000001b4c8f86a20, tagRPCOLEMESSAGE * pMsg=0x0000009e70bf9ae0, unsigned long * pulStatus=0x0000009e70bf9778)C++Symbols loaded.
combase.dll!CSyncClientCall::SendReceive(tagRPCOLEMESSAGE * pMessage=0x0000009e70bf9ae0, unsigned long * pulStatus=0x0000009e70bf9778)C++Symbols loaded.
[Inline Frame] combase.dll!CClientChannel::SendReceive(tagRPCOLEMESSAGE *)C++Symbols loaded.
combase.dll!NdrExtpProxySendReceive(void * pThis=0x0000009e70bf9f20, _MIDL_STUB_MESSAGE * pStubMsg=0x0000009e70bf98f0)C++Symbols loaded.
rpcrt4.dll!NdrpClientCall3()UnknownSymbols loaded.
combase.dll!ObjectStublessClient(void * ParamAddress=0x0000009e70bf9f50, __int64 * FloatRegisters=0x0000009e70bf9f20, long Method)C++Symbols loaded.
combase.dll!ObjectStubless()UnknownSymbols loaded.
combase.dll!CObjectContext::InternalContextCallback(HRESULT(*)(void *) pfnCallback=0x00007fff83986700, void * pParam=0x0000000000000201, const _GUID & riid={...}, int iMethod=2, IUnknown * pUnk=0x0000000000000000)C++Symbols loaded.
combase.dll!CGIPTable::GetInterfaceFromGlobal(unsigned long dwCookie, const _GUID & riid={...}, void * * ppv=0x0000009e70bfa1d0)C++Symbols loaded.
[Inline Frame] combase.dll!GetInterfaceFromStdGlobal(unsigned long)C++Symbols loaded.
combase.dll!CProcessActivator::GetApartmentActivator(ActivationPropertiesIn * pInActProperties=0x0000009e70bfa720, ISystemActivator * * ppActivator=0x0000009e70bfa1d0)C++Symbols loaded.
combase.dll!CProcessActivator::CCICallback(unsigned long dwContext=0, IUnknown * pUnkOuter=0x0000000000000000, ActivationPropertiesIn * pActIn=0x0000009e70bfa720, IActivationPropertiesIn * pInActProperties=0x0000009e70bfa958, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!CProcessActivator::AttemptActivation(ActivationPropertiesIn * pActIn, IUnknown * pUnkOuter, IActivationPropertiesIn * pInActProperties, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210, HRESULT(CProcessActivator::*)(unsigned long, IUnknown *, ActivationPropertiesIn *, IActivationPropertiesIn *, IActivationPropertiesOut * *) pfnCtxActCallback=0x00007fff839ca400, unsigned long dwContext=1)C++Symbols loaded.
combase.dll!CProcessActivator::ActivateByContext(ActivationPropertiesIn * pActIn=0x0000009e70bfa720, IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesIn * pInActProperties=0x0000009e70bfa958, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210, HRESULT(CProcessActivator::*)(unsigned long, IUnknown *, ActivationPropertiesIn *, IActivationPropertiesIn *, IActivationPropertiesOut * *) pfnCtxActCallback=0x00007fff839ca400)C++Symbols loaded.
combase.dll!CProcessActivator::CreateInstance(IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesIn * pInActProperties=0x0000009e70bfa958, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!ActivationPropertiesIn::DelegateCreateInstance(IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesOut * * ppActPropsOut=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!CClientContextActivator::CreateInstance(IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesIn * pInActProperties=0x0000009e70bfa958, IActivationPropertiesOut * * ppOutActProperties=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!ActivationPropertiesIn::DelegateCreateInstance(IUnknown * pUnkOuter=0x0000000000000000, IActivationPropertiesOut * * ppActPropsOut=0x0000009e70bfb210)C++Symbols loaded.
combase.dll!ICoCreateInstanceEx(const _GUID & OriginalClsid, IUnknown * punkOuter=0x0000000000000000, unsigned long dwClsCtx=1, _COSERVERINFO * pServerInfo=0x0000000000000000, unsigned long dwCount=1, unsigned long dwActvFlags=16384, tagMULTI_QI * pResults=0x0000009e70bfb6f0, ActivationPropertiesIn * pActIn=0x0000009e70bfa720)C++Symbols loaded.
combase.dll!CComActivator::DoCreateInstance(const _GUID & Clsid={...}, IUnknown * punkOuter=0x0000000000000000, unsigned long dwClsCtx=1, _COSERVERINFO * pServerInfo=0x0000000000000000, unsigned long dwCount=1, tagMULTI_QI * pResults=0x0000009e70bfb6f0, ActivationPropertiesIn * pActIn=0x0000000000000000)C++Symbols loaded.
[Inline Frame] combase.dll!CoCreateInstanceEx(const _GUID &)C++Symbols loaded.
combase.dll!CoCreateInstance(const _GUID & rclsid={...}, IUnknown * pUnkOuter=0x0000000000000000, unsigned long dwContext=1, const _GUID & riid, void * * ppv=0x0000009e70bfb798)C++Symbols loaded.
UIAutomationCore.dll!BlockingCoreDispatcher::CreateAndRegisterBlockingCore(void)UnknownSymbols loaded.
UIAutomationCore.dll!BlockingCoreDispatcher::FinalConstruct(void)UnknownSymbols loaded.
UIAutomationCore.dll!CUIAutomation7::FinalConstruct(void)UnknownSymbols loaded.
UIAutomationCore.dll!ATL::CComObject<class CUIAutomation7>::CreateInstance(class ATL::CComObject<class CUIAutomation7> * *)UnknownSymbols loaded.
UIAutomationCore.dll!UiaReturnRawElementProvider()UnknownSymbols loaded.
UIAutomationProvider.ni.dll!00007fff4f60a933()UnknownNo symbols loaded.
[Managed to Native Transition]Annotated Frame
UIAutomationProvider.dll!System.Windows.Automation.Provider.AutomationInteropProvider.ReturnRawElementProvider(System.IntPtr hwnd, System.IntPtr wParam, System.IntPtr lParam, System.Windows.Automation.Provider.IRawElementProviderSimple el)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.Popup.PopupSecurityHelper.ForceMsaaToUiaBridge(System.Windows.Controls.Primitives.PopupRoot popupRoot)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.Popup.CreateWindow(bool asyncCall)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry = {System.Windows.EffectiveValueEntry}, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty dp, object value, System.Windows.PropertyMetadata metadata, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType, bool isInternal)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value)UnknownSymbols loaded.
Telerik.Windows.Controls.dll!Telerik.Windows.Controls.AutoClosePopupWrapper.IsOpen.set(bool value)UnknownNo symbols loaded.
Telerik.Windows.Controls.Input.dll!Telerik.Windows.Controls.RadComboBox.OpenDropDownInternal()UnknownNo symbols loaded.
Telerik.Windows.Controls.Input.dll!Telerik.Windows.Controls.RadComboBox.OnIsDropDownOpenChanged(bool oldValue, bool newValue)UnknownNo symbols loaded.
Telerik.Windows.Controls.Input.dll!Telerik.Windows.Controls.RadComboBox.OnIsDropDownOpenChanged(System.Windows.DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e)UnknownNo symbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs e)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs args)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex entryIndex, System.Windows.DependencyProperty dp = {System.Windows.DependencyProperty}, System.Windows.PropertyMetadata metadata, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry = {System.Windows.EffectiveValueEntry}, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty dp, object value, System.Windows.PropertyMetadata metadata, bool coerceWithDeferredReference, bool coerceWithCurrentValue, System.Windows.OperationType operationType, bool isInternal)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value)UnknownSymbols loaded.
Telerik.Windows.Controls.Input.dll!Telerik.Windows.Controls.RadComboBox.DropDownButtonClick(object sender, System.Windows.RoutedEventArgs e)UnknownNo symbols loaded.
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source = {Telerik.Windows.Controls.RadToggleButton}, System.Windows.RoutedEventArgs args = {System.Windows.RoutedEventArgs}, bool reRaised = false)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender = {Telerik.Windows.Controls.RadToggleButton}, System.Windows.RoutedEventArgs args = {System.Windows.RoutedEventArgs})UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.ButtonBase.OnClick()UnknownSymbols loaded.
Telerik.Windows.Controls.dll!Telerik.Windows.Controls.RadToggleButton.OnClick()UnknownNo symbols loaded.
PresentationFramework.dll!System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs e)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source = {Telerik.Windows.Controls.RadToggleButton}, System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs}, bool reRaised = true)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject sender = {Telerik.Windows.Controls.RadToggleButton}, System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs}, System.Windows.RoutedEvent newEvent)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.OnMouseDownThunk(object sender, System.Windows.Input.MouseButtonEventArgs e)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source = {System.Windows.Controls.TextBlock}, System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs}, bool reRaised = false)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender = {System.Windows.Controls.TextBlock}, System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs})UnknownSymbols loaded.
PresentationCore.dll!System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs args = {System.Windows.Input.MouseButtonEventArgs})UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea()UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawMouseActions actions, int x, int y, int wheel)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd = 0x0000000000901c48, MS.Internal.Interop.WindowMessage msg = WM_LBUTTONDOWN, System.IntPtr wParam = 0x0000000000000001, System.IntPtr lParam = 0x00000000019d01ee, ref bool handled = false)UnknownSymbols loaded.
PresentationCore.dll!System.Windows.Interop.HwndSource.InputFilterMessage(System.IntPtr hwnd = 0x0000000000901c48, int msg, System.IntPtr wParam = 0x0000000000000001, System.IntPtr lParam = 0x00000000019d01ee, ref bool handled = false)UnknownSymbols loaded.
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd = 0x0000000000901c48, int msg, System.IntPtr wParam = 0x0000000000000001, System.IntPtr lParam = 0x00000000019d01ee, ref bool handled = false)UnknownSymbols loaded.
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler = null)UnknownSymbols loaded.
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs)UnknownSymbols loaded.
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd = 0x0000000000901c48, int msg, System.IntPtr wParam = 0x0000000000000001, System.IntPtr lParam = 0x00000000019d01ee)UnknownSymbols loaded.
[Native to Managed Transition]Annotated Frame
user32.dll!UserCallWinProcCheckWow()UnknownSymbols loaded.
user32.dll!DispatchMessageWorker()UnknownSymbols loaded.
WindowsBase.ni.dll!00007fff1d2bbd98()UnknownNo symbols loaded.
[Managed to Native Transition]Annotated Frame
WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame = {System.Windows.Threading.DispatcherFrame})UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore)UnknownSymbols loaded.
PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window)UnknownSymbols loaded.
GelSight.Mobile.exe!GelSight.Mobile.App.Main()UnknownSymbols loaded.
[Native to Managed Transition]Annotated Frame
mscoreei.dll!_CorExeMain()UnknownSymbols loaded.
mscoree.dll!_CorExeMain_Exported()UnknownSymbols loaded.
kernel32.dll!BaseThreadInitThunk()UnknownSymbols loaded.
ntdll.dll!RtlUserThreadStart()UnknownSymbols loaded.



2 Answers, 1 is accepted

Sort by
0
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 08 Feb 2018, 05:35 PM

I have furhter determined that this does not happen for a regular, WPF ComboBox, only for RadComboBox.  I've also found that it has no relation to any properties I set in the RadComboBox Binding.  Even something as simple as the following will cause it to lock up.

<telerik:RadComboBox>

    <telerik:RadComboBoxItem>THIS IS A TEST</telerik:RadCombBoxItem>

    <telerik:RadComboBoxItem>THIS IS ANOTHER TEST</telerik:RadComboBoxItem>
</telerik:RadComboBox>

0
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 08 Feb 2018, 06:15 PM

It would appear I spoke too soon.  It's much harder to make this happen with a regular ComboBox but if I try, I can eventually make it happen. 

 

That tells me this cannot be a Telerik problem.  I will try posting this elsewhere.  Sorry if I wasted anyone's time.

Tags
ComboBox
Asked by
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
Share this question
or