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

RadMap Q1 2011 Infinite Recursion Stack Overflow

1 Answer 91 Views
Map
This is a migrated thread and some comments may be shown as answers.
Martyn
Top achievements
Rank 1
Martyn asked on 31 Mar 2011, 04:31 PM
Hi,

I am developing a Silverlight application with a RadMap on a Navigation page. All is well, until I navigate away from the page, at which point I get a stack overflow exception, which, upon getting the Call Stack I have discovered there is an infinite loop occurring with the map on the page I have navigated away from, changing its center location repeatedly until the stack overflow.

System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
  Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
  System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
  System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
  System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
  System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
  Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
  System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
  System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
  System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
  System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
  Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
  Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
  System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
  System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
  System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
  System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
  The maximum number of stack frames supported by Visual Studio has been exceeded.

Please help, I've spent a whole day trying to debug this and I can't get anywhere. My fellow developer is still using the Q3 2010 release and this problem does not occur. He's now just upgraded to the Q1 2011 release and the same issue.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 05 Apr 2011, 07:25 AM
Hello Martyn,

We are aware of this problem. It has been fixed already. The fix will be avaialable in the nearest internal build.

Kind regards,
Andrey Murzov
the Telerik team
Tags
Map
Asked by
Martyn
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or