Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watchOS: mini test failure in release mode: JitTests.Aot : System.Reflection.TargetInvocationException #11874

Closed
rolfbjarne opened this issue Nov 30, 2018 · 1 comment · Fixed by xamarin/xamarin-android#2609

Comments

@rolfbjarne
Copy link
Member

@rolfbjarne rolfbjarne commented Nov 30, 2018

Steps to Reproduce

  1. Build xamarin-macios from the mono-2018-06 branch (or master, which uses mono/2018-04).
  2. Run the test runner:
cd tests
make runner
  1. Run the mini/watchOS Device/Release test.

This failure does not occur in Debug mode.

Current Behavior

[FAIL] JitTests.Aot : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.ExecutionEngineException : Attempting to JIT compile method '(wrapper runtime-invoke) object:runtime_invoke_sig_void_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_double (object,intptr,intptr,intptr)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.
JitTests
	[FAIL] JitTests.Aot : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----> System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----> System.ExecutionEngineException : Attempting to JIT compile method '(wrapper runtime-invoke) object:runtime_invoke_sig_void_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_intptr_double (object,intptr,intptr,intptr)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.

		  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
		  at System.Reflection.MonoMethod.Invoke (System.Object , System.Reflection.BindingFlags , System.Reflection.Binder , System.Object[] , System.Globalization.CultureInfo ) <0x2f28f7 + 0x002f6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.Reflect.InvokeMethod (System.Reflection.MethodInfo , System.Object , System.Object[] ) <0x557305 + 0x00188> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.RunNonAsyncTestMethod (NUnit.Framework.Internal.TestExecutionContext ) <0x5742bf + 0x000c6> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod (NUnit.Framework.Internal.TestExecutionContext ) <0x573dd5 + 0x00094> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x573c81 + 0x0004c> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.SetUpTearDownCommand.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x5726df + 0x00164> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.SimpleWorkItem.PerformWork () <0x56b333 + 0x00102> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.Run (NUnit.Framework.Internal.Test ) <0x52b2cb + 0x0025c> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.Run () <0x526965 + 0x00130> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.<AutoRun>b__40_0 () <0x52b825 + 0x00048> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void()
		  at MonoTouch.NUnit.UI.BaseTouchRunner+<>c__DisplayClass38_0.<ExecuteOnMainThread>b__0 () <0x52bb7d + 0x0009a> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void()
		  at Foundation.NSAsyncActionDispatcher.Apply () <0x72afc9 + 0x000d8> in <3bca59ac2def4452925da4291066a18a>:0 
		  at (wrapper unknown) System.Object.gsharedvt_out_sig(intptr)
		  at (wrapper runtime-invoke) System.Object.runtime_invoke_sig_void_intptr_intptr(object,intptr,intptr,intptr)
		--TargetInvocationException
		  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
		  at System.Reflection.MonoMethod.Invoke (System.Object , System.Reflection.BindingFlags , System.Reflection.Binder , System.Object[] , System.Globalization.CultureInfo ) <0x2f28f7 + 0x002f6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at TestDriver.RunTests (System.Type type, System.String[] args, TestDriverReporter reporter) <0x4f93d + 0x00996> in <e5b5ae7e8a88420aacae7b802be019b2>:0 
		  at TestDriver.RunTests (System.Type type, System.String[] args) <0x5123d + 0x0004c> in <e5b5ae7e8a88420aacae7b802be019b2>:0 
		  at mini.JitTests.Aot () <0xa5fc9 + 0x0006c> in <e5b5ae7e8a88420aacae7b802be019b2>:0 
		  at (wrapper unknown) System.Object.gsharedvt_out_sig(intptr)
		  at (wrapper runtime-invoke) System.Object.runtime_invoke_sig_void_intptr(object,intptr,intptr,intptr)
		  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
		  at System.Reflection.MonoMethod.Invoke (System.Object , System.Reflection.BindingFlags , System.Reflection.Binder , System.Object[] , System.Globalization.CultureInfo ) <0x2f28f7 + 0x002f6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.Reflect.InvokeMethod (System.Reflection.MethodInfo , System.Object , System.Object[] ) <0x557305 + 0x00188> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.RunNonAsyncTestMethod (NUnit.Framework.Internal.TestExecutionContext ) <0x5742bf + 0x000c6> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod (NUnit.Framework.Internal.TestExecutionContext ) <0x573dd5 + 0x00094> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x573c81 + 0x0004c> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.SetUpTearDownCommand.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x5726df + 0x00164> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.SimpleWorkItem.PerformWork () <0x56b333 + 0x00102> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.Run (NUnit.Framework.Internal.Test ) <0x52b2cb + 0x0025c> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.Run () <0x526965 + 0x00130> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.<AutoRun>b__40_0 () <0x52b825 + 0x00048> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void()
		  at MonoTouch.NUnit.UI.BaseTouchRunner+<>c__DisplayClass38_0.<ExecuteOnMainThread>b__0 () <0x52bb7d + 0x0009a> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void()
		  at Foundation.NSAsyncActionDispatcher.Apply () <0x72afc9 + 0x000d8> in <3bca59ac2def4452925da4291066a18a>:0 
		  at (wrapper unknown) System.Object.gsharedvt_out_sig(intptr)
		  at (wrapper runtime-invoke) System.Object.runtime_invoke_sig_void_intptr_intptr(object,intptr,intptr,intptr)
		--ExecutionEngineException
		  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
		  at System.Reflection.MonoMethod.Invoke (System.Object , System.Reflection.BindingFlags , System.Reflection.Binder , System.Object[] , System.Globalization.CultureInfo ) <0x2f28f7 + 0x002f6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at AotTests.test_0_dyncall_nullable () <0x8cb3f + 0x03828> in <e5b5ae7e8a88420aacae7b802be019b2>:0 
		  at (wrapper unknown) System.Object.gsharedvt_out_sig(intptr,intptr)
		  at (wrapper runtime-invoke) System.Object.runtime_invoke_sig_void_intptr_intptr(object,intptr,intptr,intptr)
		  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
		  at System.Reflection.MonoMethod.Invoke (System.Object , System.Reflection.BindingFlags , System.Reflection.Binder , System.Object[] , System.Globalization.CultureInfo ) <0x2f28f7 + 0x002f6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at TestDriver.RunTests (System.Type type, System.String[] args, TestDriverReporter reporter) <0x4f93d + 0x00996> in <e5b5ae7e8a88420aacae7b802be019b2>:0 
		  at TestDriver.RunTests (System.Type type, System.String[] args) <0x5123d + 0x0004c> in <e5b5ae7e8a88420aacae7b802be019b2>:0 
		  at mini.JitTests.Aot () <0xa5fc9 + 0x0006c> in <e5b5ae7e8a88420aacae7b802be019b2>:0 
		  at (wrapper unknown) System.Object.gsharedvt_out_sig(intptr)
		  at (wrapper runtime-invoke) System.Object.runtime_invoke_sig_void_intptr(object,intptr,intptr,intptr)
		  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
		  at System.Reflection.MonoMethod.Invoke (System.Object , System.Reflection.BindingFlags , System.Reflection.Binder , System.Object[] , System.Globalization.CultureInfo ) <0x2f28f7 + 0x002f6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.Reflect.InvokeMethod (System.Reflection.MethodInfo , System.Object , System.Object[] ) <0x557305 + 0x00188> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.RunNonAsyncTestMethod (NUnit.Framework.Internal.TestExecutionContext ) <0x5742bf + 0x000c6> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod (NUnit.Framework.Internal.TestExecutionContext ) <0x573dd5 + 0x00094> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x573c81 + 0x0004c> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.Commands.SetUpTearDownCommand.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x5726df + 0x00164> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.SimpleWorkItem.PerformWork () <0x56b333 + 0x00102> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.RunChildren () <0x56a381 + 0x002b2> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem.PerformWork () <0x569421 + 0x003a8> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.DispatchWork (System.Object ) <0x56bc89 + 0x00348> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void_object(object)
		  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e73 + 0x0033a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , System.Boolean ) <0x278e0b + 0x0005a> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object ) <0x278cf3 + 0x000d6> in <6d4e9a1b4f644af3a36534d12c67a002>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.RunTest () <0x56bb65 + 0x00116> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at NUnit.Framework.Internal.WorkItems.WorkItem.Execute (NUnit.Framework.Internal.TestExecutionContext ) <0x56baab + 0x000ac> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.Run (NUnit.Framework.Internal.Test ) <0x52b2cb + 0x0025c> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.Run () <0x526965 + 0x00130> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at MonoTouch.NUnit.UI.BaseTouchRunner.<AutoRun>b__40_0 () <0x52b825 + 0x00048> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void()
		  at MonoTouch.NUnit.UI.BaseTouchRunner+<>c__DisplayClass38_0.<ExecuteOnMainThread>b__0 () <0x52bb7d + 0x0009a> in <6fd7d967790e4577822b134b1e02aca3>:0 
		  at (wrapper delegate-invoke) <Module>.invoke_void()
		  at Foundation.NSAsyncActionDispatcher.Apply () <0x72afc9 + 0x000d8> in <3bca59ac2def4452925da4291066a18a>:0 
		  at (wrapper unknown) System.Object.gsharedvt_out_sig(intptr)
		  at (wrapper runtime-invoke) System.Object.runtime_invoke_sig_void_intptr_intptr(object,intptr,intptr,intptr)

Expected Behavior

No test failure

Version Used:

Branches: either xamarin-macios/master (which uses mono/2018-04) or xamarin-macios/mono-2018-06

@marek-safar

This comment has been minimized.

Copy link
Member

@marek-safar marek-safar commented Nov 30, 2018

@vargaz looks one of those limitations cases, could you please double check

vargaz added a commit to vargaz/mono that referenced this issue Dec 1, 2018
monojenkins added a commit to monojenkins/mono that referenced this issue Dec 1, 2018
monojenkins added a commit to monojenkins/mono that referenced this issue Dec 1, 2018
monojenkins added a commit to monojenkins/mono that referenced this issue Dec 1, 2018
marek-safar added a commit that referenced this issue Dec 3, 2018
…e, newly added tests depend on it.

Fixes #11874.
marek-safar added a commit that referenced this issue Dec 3, 2018
…e, newly added tests depend on it.

Fixes #11874.
@marek-safar marek-safar closed this Dec 9, 2018
monojenkins added a commit that referenced this issue Dec 18, 2018
…e, newly added tests depend on it. (#11893)

[2018-06] [aot] Emit runtime invoke wrappers for up to 40 parameters for bitcod…

…e, newly added tests depend on it.

Fixes #11874.



<!--
Thank you for your Pull Request!

If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.

Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
-->


Backport of #11891.

/cc @vargaz
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Jan 11, 2019
Fixes: mono/mono#11874
Fixes: mono/mono#11898
Fixes: mono/mono#12093
Fixes: mono/mono#12130
Fixes: mono/mono#12131

Fix race condition in XmlCharType.Instance.

Fix IndexOutOfRangeException in MethodInfo.ReturnParameter.IsDefined

Fix CVE 2018-8292 on macOS.

NDK r18 build support.

Crash reporter fixes.
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Jan 11, 2019
Fixes: mono/mono#11874
Fixes: mono/mono#11898
Fixes: mono/mono#12093
Fixes: mono/mono#12130
Fixes: mono/mono#12131

Fix race condition in XmlCharType.Instance.

Fix IndexOutOfRangeException in MethodInfo.ReturnParameter.IsDefined

Fix CVE 2018-8292 on macOS.

NDK r18 build support.

Crash reporter fixes.
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Jan 14, 2019
Fixes: mono/mono#11874
Fixes: mono/mono#11898
Fixes: mono/mono#12093
Fixes: mono/mono#12130
Fixes: mono/mono#12131

Fix race condition in XmlCharType.Instance.

Fix IndexOutOfRangeException in MethodInfo.ReturnParameter.IsDefined

Fix CVE 2018-8292 on macOS.

NDK r18 build support.

Crash reporter fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.