Only iOs Simulator crash, device works fine

AndreiPachtarouAndreiPachtarou BYMember
edited February 2016 in Xamarin.iOS

I try to update project that not updated from november 2015
I don't remember which xamarin version I used previosly
But I used previously iOs simulator for development
Now I can not
I have crashes like this

Exception start

Unhandled Exception:
System.TypeLoadException: MVAR 1 (TResponse) cannot be expanded in this context with 1 instantiations assembly: type: member:
at App.Network.Utils.FuncEx+c__AnonStorey31[T].<>m__0 () [0x0000c] in /Volumes/StorageSSD/company/dvlp/app-new/App.Network/Utils/FuncEx.cs:40 at App.Network.Utils.FuncEx.Do[T] (System.Func1 func) [0x00002] in /Volumes/StorageSSD/company/dvlp/app-new/App.Network/Utils/FuncEx.cs:50
at App.Network.Api.Authorization.AuthorizationApiService.Register (App.Network.Api.Authorization.Dto.RegisterRequest request) [0x00054] in /Volumes/StorageSSD/company/dvlp/app-new/App.Network/Api/Gen/Authorization/AuthorizationApiService.cs:60
at App.Core.Services.AuthorizationService+c__async0.MoveNext () [0x000b6] in /Volumes/StorageSSD/company/dvlp/app-new/App.Core/Services/AuthorizationService.cs:44
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:372 at App.Core.Facades.AuthorizationFacade+<Install>c__async2.MoveNext () [0x000cf] in /Volumes/StorageSSD/company/dvlp/app-new/App.Core/Facades/AuthorizationFacade.cs:54 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:124 at App.iOS.RegistrationViewController+<PerformAuthentication>c__async1.MoveNext () [0x00090] in /Volumes/StorageSSD/company/dvlp/app-new/App.iOS/Screens/Registration/RegistrationViewController.cs:242 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:994 at UIKit.UIKitSynchronizationContext+<Post>c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/maccore/src/UIKit/UIKitSynchronizationContext.cs:24 at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/maccore/src/Foundation/NSAction.cs:163 at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/2689/962a0506/source/maccore/src/UIKit/UIApplication.cs:77 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/2689/962a0506/source/maccore/src/UIKit/UIApplication.cs:61 at App.iOS.Application.Main (System.String[] args) [0x00013] in /Volumes/StorageSSD/company/dvlp/app-new/App.iOS/Main.cs:25 2016-02-27 12:59:02.415 App.iOS[85408:1192738] Unhandled managed exception: MVAR 1 (TResponse) cannot be expanded in this context with 1 instantiations assembly:<no_image> type:<unknown type> member:<none> (System.TypeLoadException) at App.Network.Utils.FuncEx+<Wrap>c__AnonStorey31[T].<>m__0 () [0x0000c] in /Volumes/StorageSSD/company/dvlp/app-new/App.Network/Utils/FuncEx.cs:40
at App.Network.Utils.FuncEx.Do[T] (System.Func1 func) [0x00002] in /Volumes/StorageSSD/company/dvlp/app-new/App.Network/Utils/FuncEx.cs:50 at App.Network.Api.Authorization.AuthorizationApiService.Register (App.Network.Api.Authorization.Dto.RegisterRequest request) [0x00054] in /Volumes/StorageSSD/company/dvlp/app-new/App.Network/Api/Gen/Authorization/AuthorizationApiService.cs:60 at App.Core.Services.AuthorizationService+<Register>c__async0.MoveNext () [0x000b6] in /Volumes/StorageSSD/company/dvlp/app-new/App.Core/Services/AuthorizationService.cs:44 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:372
at App.Core.Facades.AuthorizationFacade+c__async2.MoveNext () [0x000cf] in /Volumes/StorageSSD/company/dvlp/app-new/App.Core/Facades/AuthorizationFacade.cs:54
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:124
at App.iOS.RegistrationViewController+c__async1.MoveNext () [0x00090] in /Volumes/StorageSSD/company/dvlp/app-new/App.iOS/Screens/Registration/RegistrationViewController.cs:242
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__0 (System.Object state) [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:994
at UIKit.UIKitSynchronizationContext+c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/maccore/src/UIKit/UIKitSynchronizationContext.cs:24
at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Users/builder/data/lanes/2689/962a0506/source/maccore/src/Foundation/NSAction.cs:163
at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/2689/962a0506/source/maccore/src/UIKit/UIApplication.cs:77
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/2689/962a0506/source/maccore/src/UIKit/UIApplication.cs:61
at App.iOS.Application.Main (System.String[] args) [0x00013] in /Volumes/StorageSSD/company/dvlp/app-new/App.iOS/Main.cs:25
2016-02-27 12:59:02.416 App.iOS[85408:1192738] critical: Stacktrace:

2016-02-27 12:59:02.416 App.iOS[85408:1192738] critical:
Native stacktrace:

2016-02-27 12:59:02.431 App.iOS[85408:1192738] critical: 0 libmonosgen-2.0.dylib 0x08504507 mono_handle_native_sigsegv + 311
2016-02-27 12:59:02.431 App.iOS[85408:1192738] critical: 1 libmonosgen-2.0.dylib 0x0855a431 sigabrt_signal_handler + 145
2016-02-27 12:59:02.431 App.iOS[85408:1192738] critical: 2 libsystem_platform.dylib 0x0960203b sigtramp + 43
2016-02-27 12:59:02.431 App.iOS[85408:1192738] critical: 3 ??? 0xffffffff 0x0 + 4294967295
2016-02-27 12:59:02.432 App.iOS[85408:1192738] critical: 4 libsystem_c.dylib 0x0939865d abort + 156
2016-02-27 12:59:02.432 App.iOS[85408:1192738] critical: 5 App.iOS 0x0020efb6 xamarin_unhandled_exception_handler + 342
2016-02-27 12:59:02.432 App.iOS[85408:1192738] critical: 6 libmonosgen-2.0.dylib 0x08504d8b mono_invoke_unhandled_exception_hook + 91
2016-02-27 12:59:02.432 App.iOS[85408:1192738] critical: 7 libmonosgen-2.0.dylib 0x08503bed mono_handle_exception_internal + 6061
2016-02-27 12:59:02.432 App.iOS[85408:1192738] critical: 8 libmonosgen-2.0.dylib 0x08502439 mono_handle_exception + 41
2016-02-27 12:59:02.432 App.iOS[85408:1192738] critical: 9 libmonosgen-2.0.dylib 0x08554b1e mono_x86_throw_exception + 142
2016-02-27 12:59:02.433 App.iOS[85408:1192738] critical: 10 ??? 0x16434f57 0x0 + 373509975
2016-02-27 12:59:02.433 App.iOS[85408:1192738] critical: 11 ??? 0x1d34ab3c 0x0 + 489990972
2016-02-27 12:59:02.433 App.iOS[85408:1192738] critical: 12 ??? 0x1cfb44e3 0x0 + 486229219
2016-02-27 12:59:02.433 App.iOS[85408:1192738] critical: 13 ??? 0x1cfb4429 0x0 + 486229033
2016-02-27 12:59:02.433 App.iOS[85408:1192738] critical: 14 ??? 0x1810d9a6 0x0 + 403757478
2016-02-27 12:59:02.433 App.iOS[85408:1192738] critical: 15 libmonosgen-2.0.dylib 0x0845e1b3 mono_jit_runtime_invoke + 707
2016-02-27 12:59:02.433 App.iOS[85408:1192738] critical: 16 libmonosgen-2.0.dylib 0x08612d0f mono_runtime_invoke + 127
2016-02-27 12:59:02.433 App.iOS[85408:1192738] critical: 17 App.iOS 0x001b2351 _ZL30native_to_managed_trampoline_3P11objc_objectP13objc_selectorPP11_MonoMethodPKcS7
+ 257
2016-02-27 12:59:02.434 App.iOS[85408:1192738] critical: 18 App.iOS 0x001c41aa -[MonoMac_NSAsyncActionDispatcher xamarinApplySelector] + 74
2016-02-27 12:59:02.434 App.iOS[85408:1192738] critical: 19 libobjc.A.dylib 0x08e2c059 -[NSObject performSelector:withObject:] + 70
2016-02-27 12:59:02.434 App.iOS[85408:1192738] critical: 20 Foundation 0x00e480d8 __NSThreadPerformPerform + 323
2016-02-27 12:59:02.434 App.iOS[85408:1192738] critical: 21 CoreFoundation 0x089c76ff __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 15
2016-02-27 12:59:02.434 App.iOS[85408:1192738] critical: 22 CoreFoundation 0x089bd38b __CFRunLoopDoSources0 + 523
2016-02-27 12:59:02.434 App.iOS[85408:1192738] critical: 23 CoreFoundation 0x089bc7a8 __CFRunLoopRun + 1032
2016-02-27 12:59:02.434 App.iOS[85408:1192738] critical: 24 CoreFoundation 0x089bc0e6 CFRunLoopRunSpecific + 470
2016-02-27 12:59:02.435 App.iOS[85408:1192738] critical: 25 CoreFoundation 0x089bbefb CFRunLoopRunInMode + 123
2016-02-27 12:59:02.435 App.iOS[85408:1192738] critical: 26 GraphicsServices 0x09ed9664 GSEventRunModal + 192
2016-02-27 12:59:02.435 App.iOS[85408:1192738] critical: 27 GraphicsServices 0x09ed94a1 GSEventRun + 104
2016-02-27 12:59:02.435 App.iOS[85408:1192738] critical: 28 UIKit 0x0172abfa UIApplicationMain + 160
2016-02-27 12:59:02.435 App.iOS[85408:1192738] critical: 29 ??? 0x198ae640 0x0 + 428533312
2016-02-27 12:59:02.435 App.iOS[85408:1192738] critical: 30 ??? 0x198ae438 0x0 + 428532792
2016-02-27 12:59:02.435 App.iOS[85408:1192738] critical: 31 ??? 0x196acf38 0x0 + 426430264
2016-02-27 12:59:02.436 App.iOS[85408:1192738] critical: 32 ??? 0x18ce61d8 0x0 + 416178648
2016-02-27 12:59:02.436 App.iOS[85408:1192738] critical: 33 ??? 0x18ce6370 0x0 + 416179056
2016-02-27 12:59:02.436 App.iOS[85408:1192738] critical: 34 libmonosgen-2.0.dylib 0x0845e1b3 mono_jit_runtime_invoke + 707
2016-02-27 12:59:02.436 App.iOS[85408:1192738] critical: 35 libmonosgen-2.0.dylib 0x08612d0f mono_runtime_invoke + 127
2016-02-27 12:59:02.436 App.iOS[85408:1192738] critical: 36 libmonosgen-2.0.dylib 0x08617d21 mono_runtime_exec_main + 401
2016-02-27 12:59:02.436 App.iOS[85408:1192738] critical: 37 libmonosgen-2.0.dylib 0x08617ae5 mono_runtime_run_main + 629
2016-02-27 12:59:02.436 App.iOS[85408:1192738] critical: 38 libmonosgen-2.0.dylib 0x084cbded mono_jit_exec + 93
2016-02-27 12:59:02.437 App.iOS[85408:1192738] critical: 39 App.iOS 0x00229901 xamarin_main + 2497
2016-02-27 12:59:02.437 App.iOS[85408:1192738] critical: 40 App.iOS 0x001fbdf1 main + 113
2016-02-27 12:59:02.437 App.iOS[85408:1192738] critical: 41 libdyld.dylib 0x092f1a21 start + 1

2016-02-27 12:59:02.437 App.iOS[85408:1192738] critical:

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.

Exception end

In problem place we use generics, but this code worked fine early(october-november 2015) on device and simulator and now it works only on device
I can debug and run this code on device, but it impossible on simulator

Our project is not very big, but launch it on iOs device requie a lot of time, any small changes takes a lot of time.

Whats happen with simulator?
Why I cannot use it? (((

Sign In or Register to comment.