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

Error when using 2011 Q3 SP1 controls with SL4 Project

1 Answer 62 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 2
Matt asked on 02 Feb 2012, 08:29 PM
Our team just rolled out this build to our Silverlight 4 solution.  A persistent issue that only occurs when users have the SL4 runtime installed points to an exception occurring inside the RadMenu control.  If users have the SL5 runtime installed the issue does not happen.  Since our solution builds against SL4 we have no way to force them to upgrade their local runtime to SL5. 

Here is an example of how the xaml markup looks:
                    <telerik:RadMenu ClickToOpen="False" >
                        <telerik:RadMenuItem Width="140" Height="10">
                            <TextBlock Text="test" />
                        </telerik:RadMenuItem>
                    </telerik:RadMenu>
Where the telerik xlmns is defined as:
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

The silverlight runtime itself is crashing when the user hovers over the rad menu.  In some cases this causes the entire brower to crash.  We have seen this output in event viewer:

Application: IEXPLORE.EXE

CoreCLR Version: 4.0.60831.0

Description: The process was terminated due to an internal error in the .NET Runtime at IP 7876D2A6 (78630000) with exit code 8013150a.

 

--

 

Faulting application name: IEXPLORE.EXE, version: 9.0.8112.16421, time stamp: 0x4d76255d

Faulting module name: coreclr.dll, version: 4.0.60831.0, time stamp: 0x4e5d6c64

Exception code: 0x8013150a

Fault offset: 0x0013d2a6

Faulting process id: 0x1928

Faulting application start time: 0x01cce1b93068d145

Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE

Faulting module path: c:\Program Files (x86)\Microsoft Silverlight\4.0.60831.0\coreclr.dll

Report Id: e4d546c9-4dca-11e1-8ae5-3cd92b507c36

 

--

 

Fault bucket 2631081946, type 1

Event Name: APPCRASH

Response: Not available

Cab Id: 0

 

Problem signature:

P1: IEXPLORE.EXE

P2: 9.0.8112.16421

P3: 4d76255d

P4: coreclr.dll

P5: 4.0.60831.0

P6: 4e5d6c64

P7: 8013150a

P8: 0013d2a6

P9:

P10:


In visual studio 2010 we have been able to capture the stack trace on the exception that is crashing SL4 runtime:

+                             $exception         {System.ArgumentException: Value does not fall within the expected range.

   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)}  System.Exception {System.ArgumentException}

 

>             System.Windows.dll!MS.Internal.XcpImports.CheckHResult(uint hr) + 0x48 bytes           

               System.Windows.dll!MS.Internal.XcpImports.SetValue(MS.Internal.IManagedPeerBase obj, System.Windows.DependencyProperty property, System.Windows.DependencyObject doh) + 0x7c bytes        

               System.Windows.dll!MS.Internal.XcpImports.SetValue(MS.Internal.IManagedPeerBase doh, System.Windows.DependencyProperty property, object obj) + 0x127 bytes      

                System.Windows.dll!System.Windows.DependencyObject.SetObjectValueToCore(System.Windows.DependencyProperty dp, object value) + 0xd4 bytes  

                System.Windows.dll!System.Windows.DependencyObject.SetEffectiveValue(System.Windows.DependencyProperty property, ref System.Windows.EffectiveValueEntry newEntry, object newValue) + 0x35 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) + 0xe9 bytes

                System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes              

               System.Windows.dll!MS.Internal.FrameworkCallbacks.SetTemplateBinding(System.IntPtr source, MS.Internal.XamlPropertyToken tokSourceProperty, System.IntPtr target, MS.Internal.XamlPropertyToken tokTargetProperty) + 0x112 bytes           

               [Managed to Native Transition]

               System.Windows.dll!MS.Internal.XcpImports.MethodEx(System.IntPtr ptr, string name, MS.Internal.CValue[] cvData) + 0xe0 bytes     

               System.Windows.dll!MS.Internal.XcpImports.MethodEx(System.Windows.DependencyObject obj, string name) + 0x2c bytes          

                System.Windows.dll!MS.Internal.XcpImports.FrameworkElement_ApplyTemplate(System.Windows.FrameworkElement frameworkElement) + 0x22 bytes           

               System.Windows.dll!System.Windows.Controls.Control.ApplyTemplate() + 0x50 bytes

                Telerik.Windows.Controls.Navigation!Telerik.Windows.Controls.RadMenuItem.ChangeTemplate(Telerik.Windows.Controls.MenuItemRole role) + 0x9a bytes           

               Telerik.Windows.Controls.Navigation!Telerik.Windows.Controls.RadMenuItem.OnLoaded(object sender, System.Windows.RoutedEventArgs e) + 0x65 bytes       

               System.Windows.dll!MS.Internal.CoreInvokeHandler.InvokeEventHandler(int typeIndex, System.Delegate handlerDelegate, object sender, object args) + 0x7bc bytes       

               System.Windows.dll!MS.Internal.JoltHelper.FireEvent(System.IntPtr unmanagedObj, System.IntPtr unmanagedObjArgs, int argsTypeIndex, int actualArgsTypeIndex, string eventName) + 0x338 bytes       

               [Appdomain Transition]               


Please help us resolve this, and also if more information is needed I will do everything I can to get additional information.

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 06 Feb 2012, 02:37 PM
Hello Matt,

Unfortunately I wasn't able to reproduce the problem. I have tried to reproduce it with the assemblies from our Service Pack and our last internal build (2011.3.1212 and 2011.3.1330).

Can you please tell me the version of the controls you are using?

It could be great if you could send us a support ticket with a simple project so we can see the problem and help you as fast as possible.


Regards,
Georgi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Menu
Asked by
Matt
Top achievements
Rank 2
Answers by
Georgi
Telerik team
Share this question
or