You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
[RyuJIT] Unhandled Exception: System.InvalidCastException: Unable to cast object of type 'Internal.TypeSystem.Ecma.EcmaType' to type 'Internal.TypeSystem.ArrayType'. #3203
Compiling a simple Tizen application on Ubuntu causes the error in CoreRT/RyuJIT for the following method [Tizen.Applications]AppCommon.AppEventGetLanguage
Unhandled Exception: System.InvalidCastException: Unable to cast object of type 'Internal.TypeSystem.Ecma.EcmaType' to type 'Internal.TypeSystem.ArrayType'.
at Internal.TypeSystem.Interop.ArrayMarshaller.AllocNativeToManaged(ILCodeStream codeStream)
at Internal.TypeSystem.Interop.Marshaller.EmitMarshalArgumentManagedToNative()
at Internal.TypeSystem.Interop.Marshaller.EmitForwardArgumentMarshallingIL()
at Internal.TypeSystem.Interop.Marshaller.EmitArgumentMarshallingIL()
at Internal.TypeSystem.Interop.Marshaller.EmitMarshallingIL(PInvokeILCodeStreams pInvokeILCodeStreams)
at Internal.IL.Stubs.PInvokeILEmitter.EmitIL()
at Internal.IL.Stubs.PInvokeILEmitter.EmitIL(MethodDesc method, PInvokeILEmitterConfiguration pinvokeILEmitterConfiguration)
at Internal.IL.PInvokeILProvider.EmitIL(MethodDesc method)
at Internal.IL.ILProvider.CreateMethodIL(MethodDesc method)
at Internal.IL.ILProvider.CreateValueFromKey(MethodDesc key)
at Internal.TypeSystem.LockFreeReaderHashtable`2.CreateValueAndEnsureValueIsInTable(TKey key)
at Internal.TypeSystem.LockFreeReaderHashtable`2.GetOrCreateValue(TKey key)
at Internal.IL.ILProvider.GetMethodIL(MethodDesc method)
at ILCompiler.Compilation.GetMethodIL(MethodDesc method)
at Internal.JitInterface.CorInfoImpl.Get_CORINFO_METHOD_INFO(MethodDesc method, MethodIL methodIL, CORINFO_METHOD_INFO& methodInfo)
at Internal.JitInterface.CorInfoImpl.CompileMethod(MethodCodeNode methodCodeNodeNeedingCode, MethodIL methodIL)
at ILCompiler.RyuJitCompilation.ComputeDependencyNodeDependencies(List`1 obj)
at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeDependencies(List`1 deferredStaticDependencies)
at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes()
at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.get_MarkedNodeList()
at ILCompiler.RyuJitCompilation.CompileInternal(String outputFile, ObjectDumper dumper)
at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String outputFile, ObjectDumper dumper)
at ILCompiler.Program.Run(String[] args)
at ILCompiler.Program.Main(String[] args)
Aborted (core dumped)
To reproduce this failure unarchive the attached file into the directory corert/tests/src/Simple as one more "Simple" test and run the build.sh script.