Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime

GurinderBaggaGurinderBagga USMember ✭✭

I am getting the following error while deploying my Xamarin IOS app:
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Posts

  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai

    That is a generic message. Can you post the entire stack trace that should have been above that text in the app output?

  • GurinderBaggaGurinderBagga USMember ✭✭

    Hello @JGoldberger

    Following is the stack trace:
    017-07-24 14:12:59.310 Schools[622:180860] Presenting view controllers on detached view controllers is discouraged .
    Thread finished: #6
    2017-07-24 14:13:00.312 Schools[622:180860] Unbalanced calls to begin/end appearance transitions for .
    2017-07-24 14:13:04.969 Schools[622:180860] DeviceToken
    Thread started: #7
    2017-07-24 14:13:07.074 Schools[622:181151] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9801)
    2017-07-24 14:13:07.080 Schools[622:181148] critical: Stacktrace:

    2017-07-24 14:13:07.080 Schools[622:181148] critical: at <0xffffffff>
    2017-07-24 14:13:07.080 Schools[622:181148] critical: at (wrapper managed-to-native) ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr_nuint (intptr,intptr,intptr,System.nuint) <0x0006f>
    2017-07-24 14:13:07.081 Schools[622:181148] critical: at Foundation.NSData.FromBytes (intptr,System.nuint) [0x00000] in /Users/builder/data/lanes/3985/35d1ccd0/source/xamarin-macios/src/build/ios/native/Foundation/NSData.g.cs:247
    2017-07-24 14:13:07.081 Schools[622:181148] critical: at MobileUtilities.Network.Http.HttpsPost (string,string,string,string) [0x00187] in /Users/impinge/Documents/Brett/EduappsApps-aa-ios-7-june-3905b35073af/Libraries/MobileUtilities.NetworkEx/HTTPSPost.cs:117
    2017-07-24 14:13:07.081 Schools[622:181148] critical: at Schools.EduAppsBaseAppDelegate.PerformRegister (object) [0x00028] in /Users/impinge/Documents/Brett/EduappsApps-aa-ios-7-june-3905b35073af/Schools/EduAppsBaseAppDelegate.cs:97
    2017-07-24 14:13:07.081 Schools[622:181148] critical: at System.Threading.ThreadHelper.ThreadStart_Context (object) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.123/src/mono/mcs/class/referencesource/mscorlib/system/threading/thread.cs:72
    2017-07-24 14:13:07.082 Schools[622:181148] critical: at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.123/src/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:957
    2017-07-24 14:13:07.082 Schools[622:181148] critical: at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.123/src/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:904
    2017-07-24 14:13:07.082 Schools[622:181148] critical: at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) [0x00031] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.123/src/mono/mcs/class/referencesource/mscorlib/system/threading/executioncontext.cs:893
    2017-07-24 14:13:07.082 Schools[622:181148] critical: at System.Threading.ThreadHelper.ThreadStart (object) [0x00012] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.123/src/mono/mcs/class/referencesource/mscorlib/system/threading/thread.cs:87
    2017-07-24 14:13:07.083 Schools[622:181148] critical: at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) [0x0001e] in <54e129cad3ee4c61a6b46c3680ddc69a#3636F2AC-762A-4059-B042-83F93EC40FB2>:0
    2017-07-24 14:13:07.083 Schools[622:181148] critical:
    Native stacktrace:

    2017-07-24 14:13:07.784 Schools[622:181148] critical: 0 Schools 0x001ac92f mono_handle_native_sigsegv + 240
    2017-07-24 14:13:07.785 Schools[622:181148] critical: 1 Schools 0x001b550f mono_sigsegv_signal_handler + 222
    2017-07-24 14:13:07.785 Schools[622:181148] critical: 2 libsystem_platform.dylib 0x1da2926d _sigtramp + 24
    2017-07-24 14:13:07.785 Schools[622:181148] critical: 3 Foundation 0x1ea3cc41 + 38
    2017-07-24 14:13:07.785 Schools[622:181148] critical: 4 Foundation 0x1ea3cc41 + 38
    2017-07-24 14:13:07.785 Schools[622:181148] critical: 5 Foundation 0x1ea3cb6b + 78
    2017-07-24 14:13:07.786 Schools[622:181148] critical: 6 Foundation 0x1ea3cb19 + 70
    2017-07-24 14:13:07.786 Schools[622:181148] critical: 7 Foundation 0x1ea3cacf + 38
    2017-07-24 14:13:07.786 Schools[622:181148] critical: 8 Foundation 0x1ea65481 + 46
    2017-07-24 14:13:07.787 Schools[622:181148] critical: 9 Schools 0x00eff3c4 wrapper_managed_to_native_ObjCRuntime_Messaging_IntPtr_objc_msgSend_IntPtr_nuint_intptr_intptr_intptr_System_nuint + 132
    2017-07-24 14:13:07.787 Schools[622:181148] critical: 10 Schools 0x004cba4c Foundation_NSData_FromBytes_intptr_System_nuint + 72
    2017-07-24 14:13:07.787 Schools[622:181148] critical: 11 Schools 0x024fb43c MobileUtilities_Network_Http_HttpsPost_string_string_string_string + 3784
    2017-07-24 14:13:07.787 Schools[622:181148] critical: 12 Schools 0x0032984c Schools_EduAppsBaseAppDelegate_PerformRegister_object + 452
    2017-07-24 14:13:07.788 Schools[622:181148] critical: 13 Schools 0x01312954 System_Threading_ThreadHelper_ThreadStart_Context_object + 276
    2017-07-24 14:13:07.788 Schools[622:181148] critical: 14 Schools 0x0130fc94 System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 536
    2017-07-24 14:13:07.788 Schools[622:181148] critical: 15 Schools 0x0130fa70 System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 52
    2017-07-24 14:13:07.789 Schools[622:181148] critical: 16 Schools 0x0130f9f0 System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object + 100
    2017-07-24 14:13:07.789 Schools[622:181148] critical: 17 Schools 0x013129bc System_Threading_ThreadHelper_ThreadStart_object + 76
    2017-07-24 14:13:07.789 Schools[622:181148] critical: 18 Schools 0x015aa198 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 256
    2017-07-24 14:13:07.789 Schools[622:181148] critical: 19 Schools 0x001b70f7 mono_jit_runtime_invoke + 1554
    2017-07-24 14:13:07.790 Schools[622:181148] critical: 20 Schools 0x00214875 do_runtime_invoke + 78
    2017-07-24 14:13:07.790 Schools[622:181148] critical: 21 Schools 0x00215c93 mono_runtime_delegate_try_invoke + 194
    2017-07-24 14:13:07.790 Schools[622:181148] critical: 22 Schools 0x0023bec7 start_wrapper + 390
    2017-07-24 14:13:07.790 Schools[622:181148] critical: 23 Schools 0x0027dbef inner_start_thread + 276
    2017-07-24 14:13:07.791 Schools[622:181148] critical: 24 libsystem_pthread.dylib 0x1da2da27 + 216
    2017-07-24 14:13:07.791 Schools[622:181148] critical: 25 libsystem_pthread.dylib 0x1da2d94d _pthread_start + 234
    2017-07-24 14:13:07.791 Schools[622:181148] critical: 26 libsystem_pthread.dylib 0x1da2b49c thread_start + 8

    2017-07-24 14:13:07.792 Schools[622:181148] critical:

    Got a SIGSEGV while executing native code. This usually indicates
    a fatal error in the mono runtime or one of the native libraries

    used by your application.

Sign In or Register to comment.