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

Assertion in xamarin-macios link sdk test: "mini-generic-sharing.c:568, condition `is_ok (error)' not met, function:inflate_info, Could not inflate generic type, due to MVAR 0 (T_ULONG) cannot be expanded with type 0x1e" #13607

Closed
akoeplinger opened this issue Mar 22, 2019 · 7 comments

Comments

@akoeplinger
Copy link
Member

akoeplinger commented Mar 22, 2019

Steps to Reproduce

  1. Run link sdk - iOS Unified 64-bits - device - Debug on xamarin-macios mono-2019-02 branch
  2. The project fails at runtime with an assertion. This is similar to AOT crashes with "MVAR 0 (Ts) cannot be expanded with type 0x1e" when compiling monotouch_System.Core_xunit-test.dll #13455 but happens only at runtime (I already applied that fix).

Current Behavior

2019-03-22 16:57:02.961 link sdk[1746:1007941] error: * Assertion at ../../../../../mono/mini/mini-generic-sharing.c:568, condition `is_ok (error)' not met, function:inflate_info, Could not inflate generic type, due to MVAR 0 (T_ULONG) cannot be expanded with type 0x1e

=================================================================
	Native Crash Reporting
=================================================================
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.
=================================================================

=================================================================
	Basic Fault Adddress Reporting
=================================================================
Memory around native instruction pointer (0x1a621f104):0x1a621f0f4  fd 7b c1 a8 c0 03 5f d6 10 29 80 d2 01 10 00 d4  .{...._..)......
0x1a621f104  c3 00 00 54 fd 7b bf a9 fd 03 00 91 b1 d5 ff 97  ...T.{..........
0x1a621f114  bf 03 00 91 fd 7b c1 a8 c0 03 5f d6 90 29 80 d2  .....{...._..)..
0x1a621f124  01 10 00 d4 c3 00 00 54 fd 7b bf a9 fd 03 00 91  .......T.{......

=================================================================
	Native stacktrace:
=================================================================
	0x101859a68 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_dump_native_crash_info
	0x10184f4e4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_handle_native_crash
	0x1a62959f0 - /usr/lib/system/libsystem_platform.dylib : <redacted>
	0x1a629b020 - /usr/lib/system/libsystem_pthread.dylib : <redacted>
	0x1a6176d78 - /usr/lib/system/libsystem_c.dylib : abort
	0x1019de5c4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : _ZL12log_callbackPKcS0_S0_iPv
	0x1019d42f0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : monoeg_g_logv_nofree
	0x1019d4388 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : monoeg_assertion_message
	0x1018573f8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : inflate_info
	0x101855280 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : lookup_or_register_info
	0x10185c0e0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_resolve_patch_target
	0x1018342d8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_aot_plt_resolve
	0x101864754 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_aot_plt_trampoline
	0x100c41c8c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : generic_trampoline_aot_plt
	0x1007fa2e4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : LinkSdk_Aot_AotBugsTest_InnerTestB_T_REF
	0x1007fa728 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : LinkSdk_Aot_AotBugsTest_Continuation_2337
	0x100c0120c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
	0x1018619a4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_jit_runtime_invoke
	0x101919cf4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_runtime_invoke_checked
	0x101921aa8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_runtime_try_invoke_array
	0x1018c54b4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : ves_icall_InternalInvoke
	0x100a24878 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : wrapper_managed_to_native_System_Reflection_RuntimeMethodInfo_InternalInvoke_System_Reflection_RuntimeMethodInfo_object_object___System_Exception_
	0x100a249f8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Reflection_RuntimeMethodInfo_Invoke_object_System_Reflection_BindingFlags_System_Reflection_Binder_object___System_Globalization_CultureInfo
	0x100a100b4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Reflection_MethodBase_Invoke_object_object__
	0x101383310 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_Reflect_InvokeMethod_System_Reflection_MethodInfo_object_object__
	0x10139059c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_Commands_TestMethodCommand_RunNonAsyncTestMethod_NUnit_Framework_Internal_TestExecutionContext
	0x1013903b4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_Commands_TestMethodCommand_RunTestMethod_NUnit_Framework_Internal_TestExecutionContext
	0x1013902d8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_Commands_TestMethodCommand_Execute_NUnit_Framework_Internal_TestExecutionContext
	0x10138f73c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_Commands_SetUpTearDownCommand_Execute_NUnit_Framework_Internal_TestExecutionContext
	0x10138d5ec - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_SimpleWorkItem_PerformWork
	0x10138e0b0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_DispatchWork_object
	0x10097d178 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool
	0x10097cf64 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool
	0x10097ced8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object
	0x10138decc - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_RunTest
	0x10138dbe0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_Execute_NUnit_Framework_Internal_TestExecutionContext
	0x10138ce8c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_CompositeWorkItem_RunChildren
	0x10138ca7c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_CompositeWorkItem_PerformWork
	0x10138e0b0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_DispatchWork_object
	0x10097d178 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool
	0x10097cf64 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool
	0x10097ced8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object
	0x10138decc - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_RunTest
	0x10138dbe0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_Execute_NUnit_Framework_Internal_TestExecutionContext
	0x10138ce8c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_CompositeWorkItem_RunChildren
	0x10138ca7c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_CompositeWorkItem_PerformWork
	0x10138e0b0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_DispatchWork_object
	0x10097d178 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool
	0x10097cf64 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool
	0x10097ced8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object
	0x10138decc - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_RunTest
	0x10138dbe0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_Execute_NUnit_Framework_Internal_TestExecutionContext
	0x10138ce8c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_CompositeWorkItem_RunChildren
	0x10138ca7c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_CompositeWorkItem_PerformWork
	0x10138e0b0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_DispatchWork_object
	0x10097d178 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool
	0x10097cf64 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool
	0x10097ced8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object
	0x10138decc - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_RunTest
	0x10138dbe0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : NUnit_Framework_Internal_WorkItems_WorkItem_Execute_NUnit_Framework_Internal_TestExecutionContext
	0x1013647b8 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : MonoTouch_NUnit_UI_BaseTouchRunner_Run_NUnit_Framework_Internal_Test
	0x101362408 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : MonoTouch_NUnit_UI_BaseTouchRunner_Run
	0x101364a40 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : MonoTouch_NUnit_UI_BaseTouchRunner__AutoRunb__40_0
	0x10136772c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : MonoTouch_NUnit_UI_TouchRunner__c__DisplayClass19_0__ExecuteOnMainThreadb__0
	0x100cfadbc - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : Foundation_NSAsyncActionDispatcher_Apply
	0x100c0120c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
	0x1018619a4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_jit_runtime_invoke
	0x101919cf4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_runtime_invoke_checked
	0x10191d7d0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_runtime_invoke
	0x1007a5050 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : _ZL30native_to_managed_trampoline_4P11objc_objectP13objc_selectorPP11_MonoMethodj
	0x1007a5eb4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : -[__MonoMac_NSAsyncActionDispatcher xamarinApplySelector]
	0x1a713d42c - /System/Library/Frameworks/Foundation.framework/Foundation : <redacted>
	0x1a661a0e0 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
	0x1a661a060 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
	0x1a6619944 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
	0x1a6614810 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : <redacted>
	0x1a66140e0 - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFRunLoopRunSpecific
	0x1a888d584 - /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices : GSEventRunModal
	0x1d3568c00 - /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIApplicationMain
	0x100d47760 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr
	0x100cd4b84 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : UIKit_UIApplication_Main_string___intptr_intptr
	0x100cd4adc - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : UIKit_UIApplication_Main_string___string_string
	0x1007da638 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : LinkSdk_Application_Main_string__
	0x100c0120c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
	0x1018619a4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_jit_runtime_invoke
	0x101919cf4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_runtime_invoke_checked
	0x1019202e4 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_runtime_exec_main_checked
	0x10183eb7c - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : mono_jit_exec
	0x1019ef1a0 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : xamarin_main
	0x1007bbb44 - /var/containers/Bundle/Application/5F01AAC1-EB01-4ACA-AD3D-AB0E6D0E8D0B/link sdk.app/link sdk : main
	0x1a60d2bb4 - /usr/lib/system/libdyld.dylib : <redacted>

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at LinkSdk.Aot.AotBugsTest:InnerTestB <0x000b3>
	  at LinkSdk.Aot.AotBugsTest:Continuation_2337 <0x00097>
	  at System.Object:runtime_invoke_dynamic <0x0011b>
	  at <unknown> <0xffffffff>
	  at System.Reflection.RuntimeMethodInfo:InternalInvoke <0x00007>
	  at System.Reflection.RuntimeMethodInfo:Invoke <0x00107>
	  at System.Reflection.MethodBase:Invoke <0x00053>
	  at NUnit.Framework.Internal.Reflect:InvokeMethod <0x0005f>
	  at NUnit.Framework.Internal.Commands.TestMethodCommand:RunNonAsyncTestMethod <0x0004b>
	  at NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod <0x00063>
	  at NUnit.Framework.Internal.Commands.TestMethodCommand:Execute <0x00037>
	  at NUnit.Framework.Internal.Commands.SetUpTearDownCommand:Execute <0x0005b>
	  at NUnit.Framework.Internal.WorkItems.SimpleWorkItem:PerformWork <0x0004b>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:DispatchWork <0x001af>
	  at System.Threading.ExecutionContext:RunInternal <0x001b7>
	  at System.Threading.ExecutionContext:Run <0x00043>
	  at System.Threading.ExecutionContext:Run <0x00067>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:RunTest <0x000db>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:Execute <0x001bf>
	  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem:RunChildren <0x0018b>
	  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem:PerformWork <0x002db>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:DispatchWork <0x001af>
	  at System.Threading.ExecutionContext:RunInternal <0x001b7>
	  at System.Threading.ExecutionContext:Run <0x00043>
	  at System.Threading.ExecutionContext:Run <0x00067>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:RunTest <0x000db>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:Execute <0x001bf>
	  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem:RunChildren <0x0018b>
	  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem:PerformWork <0x002db>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:DispatchWork <0x001af>
	  at System.Threading.ExecutionContext:RunInternal <0x001b7>
	  at System.Threading.ExecutionContext:Run <0x00043>
	  at System.Threading.ExecutionContext:Run <0x00067>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:RunTest <0x000db>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:Execute <0x001bf>
	  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem:RunChildren <0x0018b>
	  at NUnit.Framework.Internal.WorkItems.CompositeWorkItem:PerformWork <0x002db>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:DispatchWork <0x001af>
	  at System.Threading.ExecutionContext:RunInternal <0x001b7>
	  at System.Threading.ExecutionContext:Run <0x00043>
	  at System.Threading.ExecutionContext:Run <0x00067>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:RunTest <0x000db>
	  at NUnit.Framework.Internal.WorkItems.WorkItem:Execute <0x001bf>
	  at MonoTouch.NUnit.UI.BaseTouchRunner:Run <0x00157>
	  at MonoTouch.NUnit.UI.BaseTouchRunner:Run <0x00087>
	  at MonoTouch.NUnit.UI.BaseTouchRunner:<AutoRun>b__40_0 <0x0002f>
	  at <>c__DisplayClass19_0:<ExecuteOnMainThread>b__0 <0x0003b>
	  at Foundation.NSAsyncActionDispatcher:Apply <0x0003b>
	  at System.Object:runtime_invoke_dynamic <0x0011b>
	  at <unknown> <0xffffffff>
	  at UIKit.UIApplication:UIApplicationMain <0x00007>
	  at UIKit.UIApplication:Main <0x00043>
	  at UIKit.UIApplication:Main <0x0005b>
	  at LinkSdk.Application:Main <0x00097>
	  at System.Object:runtime_invoke_dynamic <0x0011b>
=================================================================

Expected Behavior

It works.

On which platforms did you notice this

[ X ] macOS
[ ] Linux
[ ] Windows

Version Used: 2019-02

@akoeplinger
Copy link
Member Author

akoeplinger commented Mar 22, 2019

And another one: error: * Assertion at ../../../../../mono/mini/mini-generic-sharing.c:600, condition 'mono_error_ok (error)' not met

@vargaz
Copy link
Contributor

vargaz commented Mar 23, 2019

I cannot reproduce this. What test suite has the second assertion ?

@akoeplinger
Copy link
Member Author

@vargaz make sure you're on the latest xamarin-macios mono-2019-02 branch. I can reproduce it.

I forgot where I hit the second assertion, will rerun the tests tomorrow.

@vargaz
Copy link
Contributor

vargaz commented Mar 24, 2019

I was running it using make "run-ios-dev64-link sdk".

@akoeplinger
Copy link
Member Author

@vargaz I can repro with that command too on my iPad Mini 4.

I also found the second assertion happens with [xUnit] Mono BCL tests group 4 - iOS Unified 64-bits - device - Debug through the xharness website with make -C tests runner. I couldn't figure out how to run that one from the commandline.

@akoeplinger
Copy link
Member Author

For the second assert @lambdageek provided me a patch to print out more details, and it resulted in this:

error: * Assertion at ../../../../../mono/mini/mini-generic-sharing.c:600, condition 'is_ok (error)' not met, function:inflate_info,
Could not inflate generic method 'System.Linq.Expressions.Tests.ArrayArrayLengthTests.GenerateGenericWithStructRestrictionArrayArray', due to MVAR 0 (Ts_INT) cannot be expanded with type 0x1e

@akoeplinger
Copy link
Member Author

Reverting daf92b9 fixed the issue.

vargaz added a commit to vargaz/mono that referenced this issue Mar 27, 2019
akoeplinger pushed a commit that referenced this issue Mar 27, 2019
Fixes #13607.

(cherry picked from commit 5433bd0)
akoeplinger pushed a commit that referenced this issue Mar 27, 2019
jonpryor pushed a commit to dotnet/android that referenced this issue Apr 24, 2019
Bumps to mono/api-snapshot@ae01378
Bumps to mono/reference-assemblies@e5173a5
Bumps to mono/bockbuild@d30329d
Bumps to mono/boringssl@3d87996
Bumps to mono/corefx@72f7d76
Bumps to mono/corert@1b7d4a1
Bumps to mono/helix-binaries@7e893ea
Bumps to mono/illinker-test-assets@f21ff68
Bumps to dotnet/linker@13d864e
Bumps to mono/llvm@1aaaaa5 [mono]
Bumps to mono/llvm@2c2cffe [xamarin-android]
Bumps to mono/NUnitLite@0029561
Bumps to mono/roslyn-binaries@0bbc9b4
Bumps to mono/xunit-binaries@8f6e62e

	$ git diff --shortstat 886c4901..e66c7667      # mono
        3597 files changed, 350850 insertions(+), 91128 deletions(-)
	$ git diff --shortstat 349752c464c5fc93b32e7d45825f2890c85c8b7d..2c2cffedf01e0fe266b9aaad2c2563e05b750ff4
	 240 files changed, 18562 insertions(+), 6581 deletions(-)

Context: https://github.com/dotnet/coreclr/issues/22046

Fixes: CVE 2018-8292 on macOS
Fixes: http://work.devdiv.io/737323
Fixes: https://github.com/dotnet/corefx/issues/33965
Fixes: dotnet/standard#642
Fixes: mono/mono#6997
Fixes: mono/mono#7326
Fixes: mono/mono#7517
Fixes: mono/mono#7750
Fixes: mono/mono#7859
Fixes: mono/mono#8360
Fixes: mono/mono#8460
Fixes: mono/mono#8766
Fixes: mono/mono#8922
Fixes: mono/mono#9418
Fixes: mono/mono#9507
Fixes: mono/mono#9951
Fixes: mono/mono#10024
Fixes: mono/mono#10030
Fixes: mono/mono#10038
Fixes: mono/mono#10448
Fixes: mono/mono#10735
Fixes: mono/mono#10735
Fixes: mono/mono#10737
Fixes: mono/mono#10743
Fixes: mono/mono#10834
Fixes: mono/mono#10837
Fixes: mono/mono#10838
Fixes: mono/mono#10863
Fixes: mono/mono#10945
Fixes: mono/mono#11020
Fixes: mono/mono#11021
Fixes: mono/mono#11021
Fixes: mono/mono#11049
Fixes: mono/mono#11091
Fixes: mono/mono#11095
Fixes: mono/mono#11123
Fixes: mono/mono#11138
Fixes: mono/mono#11146
Fixes: mono/mono#11202
Fixes: mono/mono#11214
Fixes: mono/mono#11317
Fixes: mono/mono#11326
Fixes: mono/mono#11378
Fixes: mono/mono#11385
Fixes: mono/mono#11478
Fixes: mono/mono#11479
Fixes: mono/mono#11488
Fixes: mono/mono#11489
Fixes: mono/mono#11527
Fixes: mono/mono#11529
Fixes: mono/mono#11596
Fixes: mono/mono#11603
Fixes: mono/mono#11613
Fixes: mono/mono#11623
Fixes: mono/mono#11663
Fixes: mono/mono#11681
Fixes: mono/mono#11684
Fixes: mono/mono#11693
Fixes: mono/mono#11697
Fixes: mono/mono#11779
Fixes: mono/mono#11809
Fixes: mono/mono#11858
Fixes: mono/mono#11895
Fixes: mono/mono#11898
Fixes: mono/mono#11898
Fixes: mono/mono#11965
Fixes: mono/mono#12182
Fixes: mono/mono#12193
Fixes: mono/mono#12218
Fixes: mono/mono#12235
Fixes: mono/mono#12263
Fixes: mono/mono#12307
Fixes: mono/mono#12331
Fixes: mono/mono#12362
Fixes: mono/mono#12374
Fixes: mono/mono#12402
Fixes: mono/mono#12421
Fixes: mono/mono#12461
Fixes: mono/mono#12479
Fixes: mono/mono#12479
Fixes: mono/mono#12552
Fixes: mono/mono#12603
Fixes: mono/mono#12747
Fixes: mono/mono#12831
Fixes: mono/mono#12843
Fixes: mono/mono#12881
Fixes: mono/mono#13030
Fixes: mono/mono#13284
Fixes: mono/mono#13297
Fixes: mono/mono#13455
Fixes: mono/mono#13460
Fixes: mono/mono#13478
Fixes: mono/mono#13479
Fixes: mono/mono#13522
Fixes: mono/mono#13607
Fixes: mono/mono#13610
Fixes: mono/mono#13610
Fixes: mono/mono#13639
Fixes: mono/mono#13672
Fixes: mono/mono#13834
Fixes: mono/mono#13878
Fixes: mono/mono#6352
Fixes: mono/monodevelop#6898
Fixes: xamarin/maccore#1069
Fixes: xamarin/maccore#1407
Fixes: xamarin/maccore#604
Fixes: xamarin/xamarin-macios#4984
Fixes: xamarin/xamarin-macios#5289
Fixes: xamarin/xamarin-macios#5363
Fixes: xamarin/xamarin-macios#5381
Fixes: https://issuetracker.unity3d.com/issues/editor-crashes-with-g-logv-when-entering-play-mode-with-active-flowcanvas-script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants