[Mono-dev] Assertion at mini-arm.c:5559, condition `IS_LDR_PC (code_ptr [0])' not met

Bassam Tabbara bassam at symform.com
Wed Dec 21 18:15:01 EST 2011


Hello,

We are seeing the following on ARM devices. Running mono built from the 2-10 branch. Any ideas for where to start here?

invalid code stream, instruction before IMT value is not a LDC in mono_arch_find_imt_method() (code 0x40be8868 value 0: 0xe1a06000 -1: 0xe591f028 -2: 0xe1a0e00f)
* Assertion at mini-arm.c:5559, condition `IS_LDR_PC (code_ptr [0])' not met

Stacktrace:

  at System.StringComparer.GetHashCode (object) <0x00067>
  at System.Collections.Hashtable.GetHash (object) <0x00033>
  at System.Collections.Hashtable.get_Item (object) <0x00057>
  at System.Collections.Specialized.NameObjectCollectionBase.FindFirstMatchedItem (string) <0x00033>
  at System.Collections.Specialized.NameObjectCollectionBase.BaseGet (string) <0x0001b>
  at System.Configuration.PropertyInformationCollection.get_Item (string) <0x0001b>
  at System.Configuration.ConfigurationElement.get_Item (string) <0x00033>
  at Foo.Bar.NodeSettings.get_ServerAddress () <0x0001f>
  at Foo.Bar.Storage.ContributionHost.Start (System.Action) <0x000c7>
  at (wrapper remoting-invoke-with-check) Foo.Bar.Storage.ContributionHost.Start (System.Action) <0xffffffff>
  at Symform.Storage.Node.Contribution.ContributionService.OnStart (string[]) <0x00113>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x00197>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x00047>
  at MonoServiceRunner.call (object,string,object[]) <0x00087>
  at MonoServiceRunner.MainLoop (System.ServiceProcess.ServiceBase[]) <0x005af>
  at System.ServiceProcess.ServiceBase.Run (System.ServiceProcess.ServiceBase[]) <0x0004f>
  at System.ServiceProcess.ServiceBase.Run (System.ServiceProcess.ServiceBase) <0x00047>
  at Symform.Storage.Node.Program.Main (string[]) <0x00383>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x0003b>
  at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00033>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at MonoServiceRunner.StartService () <0x0040f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int__this__ (object,intptr,intptr,intptr) <0xffffffff>
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage (System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMessage) <0x0022f>
  at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x000e3>
  at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0008f>
  at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0003b>
  at System.Runtime.Remoting.ClientActivatedIdentity.SyncObjectProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x00097>
  at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x001c3>
  at System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0010b>
  at System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0004f>
  at System.AppDomain.ProcessMessageInDomain (byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]&,System.Runtime.Remoting.Messaging.CADMethodReturnMessage&) <0x00097>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ProcessMessageInDomain (byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]&,System.Runtime.Remoting.Messaging.CADMethodReturnMessage&) <0xffffffff>
  at System.Runtime.Remoting.Channels.CrossAppDomainSink.ProcessMessageInDomain (byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage) <0x0007b>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_CrossAppDomainSink/ProcessMessageRes_object_object (object,intptr,intptr,intptr) <0xffffffff>
  at System.AppDomain.InvokeInDomainByID (int,System.Reflection.MethodInfo,object,object[]) <0x000a7>
  at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x00127>
  at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke (System.Runtime.Remoting.Messaging.IMessage) <0x0040f>
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <0x0042b>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) MonoServiceRunner.StartService () <0xffffffff>
  at (wrapper xdomain-invoke) MonoServiceRunner.StartService () <0xffffffff>
  at (wrapper remoting-invoke-with-check) MonoServiceRunner.StartService () <0xffffffff>
  at MonoServiceRunner.Main (string[]) <0x008df>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

                /share/MD0_DATA/.qpkg/Symform/mono/bin/mono [0x10740c]
                /share/MD0_DATA/.qpkg/Symform/mono/bin/mono [0x150cc8]
                /lib/libc.so.6(__default_rt_sa_restorer_v2+0) [0x402c10b0]
                /share/MD0_DATA/.qpkg/Symform/mono/bin/mono [0x2c2a6c]
                /share/MD0_DATA/.qpkg/Symform/mono/bin/mono [0x2c2b24]
                /share/MD0_DATA/.qpkg/Symform/mono/bin/mono [0x14b0f4]
                /share/MD0_DATA/.qpkg/Symform/mono/bin/mono [0x1084c8]
                /share/MD0_DATA/.qpkg/Symform/mono/bin/mono [0x109334]
                [0x403cca98]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Thanks!
Bassam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111221/f82a0e99/attachment.html 


More information about the Mono-devel-list mailing list