App is crashing on iOS 13 update when trying to upload multiple images from gallery.

IshaPIshaP Member ✭✭

=================================================================

Native Crash Reporting

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.

=================================================================

Native stacktrace:

0x10c1fe985 - /Users/cs/Library/Developer/CoreSimulator/Devices/2EBBC182-3DCD-4415-995D-2A2651ABC712/data/Containers/Bundle/Application/8C57BE6A-9F47-4FDB-B57F-F7934BAB5DAD/CS.iOS.app/CS.iOS : mono_dump_native_crash_info
0x10c1f28c5 - /Users/cs/Library/Developer/CoreSimulator/Devices/2EBBC182-3DCD-4415-995D-2A2651ABC712/data/Containers/Bundle/Application/8C57BE6A-9F47-4FDB-B57F-F7934BAB5DAD/CS.iOS.app/CS.iOS : mono_handle_native_crash
0x10c205c01 - /Users/cs/Library/Developer/CoreSimulator/Devices/2EBBC182-3DCD-4415-995D-2A2651ABC712/data/Containers/Bundle/Application/8C57BE6A-9F47-4FDB-B57F-F7934BAB5DAD/CS.iOS.app/CS.iOS : mono_sigsegv_signal_handler_debug
0x7fff51414b5d - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_platform.dylib : _sigtramp
0x10ef23088 - Unknown
0x10c1f176e - /Users/cs/Library/Developer/CoreSimulator/Devices/2EBBC182-3DCD-4415-995D-2A2651

ABC712/data/Containers/Bundle/Application/8C57BE6A-9F47-4FDB-B57F-F7934BAB5DAD/CS.iOS.app/CS.iOS : mono_handle_exception_internal
0x10c1f0849 - /Users/cs/Library/Developer/CoreSimulator/Devices/2EBBC182-3DCD-4415-995D-2A2651ABC712/data/Containers/Bundle/Application/8C57BE6A-9F47-4FDB-B57F-F7934BAB5DAD/CS.iOS.app/CS.iOS : mono_handle_exception
0x10c172659 - /Users/cs/Library/Developer/CoreSimulator/Devices/2EBBC182-3DCD-4415-995D-2A2651ABC712/data/Containers/Bundle/Application/8C57BE6A-9F47-4FDB-B57F-F7934BAB5DAD/CS.iOS.app/CS.iOS : handle_signal_exception
0x7ffee3e2dfa8 - Unknown

=================================================================

Basic Fault Address Reporting

Memory around native instruction pointer (0x10c2e7a54):0x10c2e7a44 8b 47 1c 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 .G.]........UH..
0x10c2e7a54 8b 47 20 a9 00 00 00 02 75 0c a9 00 00 00 10 75 .G .....u......u
0x10c2e7a64 26 48 8b 07 5d c3 48 8d 3d 89 1f 1f 00 48 8d
35 &H..].H.=....H.5
0x10c2e7a74 e9 1a 1f 00 48 8d 0d 5d 1b 1f 00 ba 79 03 00 00 ....H..]....y...

=================================================================

Managed Stacktrace:

  at <unknown> <0xffffffff>
  at UIKit.UIApplication:UIApplicationMain <0x00251>
  at UIKit.UIApplication:Main <0x000b2>
  at UIKit.UIApplication:Main <0x00132>
  at CS.iOS.Application:Main <0x00092>

at :runtime_invoke_void_object <0x00352>

Please guide me how to fix this!!

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    There is no useful information in the stack trace , try to integrate App Center to analyse the cause , check https://docs.microsoft.com/en-us/appcenter/build/xamarin/ios/

  • WolfgangBergerWolfgangBerger USMember

    I am experiencing a similar issue with a bound native library. This crash only happens on an iOS 13 simulator, not on a an iOS 13 Device. However, it works without problems on an iOS 12 simulator (same build environment, Xcode 11). The bound library and the binding project has not changed.

    =================================================================
        Native Crash Reporting
    =================================================================
    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.
    =================================================================
    
    =================================================================
        Native stacktrace:
    =================================================================
        0x10ee997c5 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_dump_native_crash_info
        0x10ee8d705 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_handle_native_crash
        0x10eea0a41 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_sigsegv_signal_handler_debug
        0x7fff51414b5d - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_platform.dylib : _sigtramp
        0x10ef3c729 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_class_get_checked
        0x10ee8c5ae - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_handle_exception_internal
        0x10ee8b689 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_handle_exception
        0x10ee0ca2f - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_amd64_throw_exception
        0x1112aa5b0 - Unknown
        0x10f0ef973 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : _ZL17exception_handlerP11NSException
        0x7fff23b9903d - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __handleUncaughtException
        0x7fff503b5d76 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : _ZL15_objc_terminatev
        0x7fff4f23be97 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++abi.dylib : _ZSt11__terminatePFvvE
        0x7fff4f23b8fe - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++abi.dylib : __cxa_get_exception_ptr
        0x7fff4f23b8c5 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++abi.dylib : _ZN10__cxxabiv1L22exception_cleanup_funcE19_Unwind_Reason_CodeP17_Unwind_Exception
        0x7fff503b5c44 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : _ZL26_objc_exception_destructorPv
        0x10f0f1140 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : xamarin_process_nsexception_using_mode
        0x10f0f1027 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : xamarin_process_nsexception
        0x10f102979 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : xamarin_dyn_objc_msgSend
        0x1135cf6f6 - Unknown
    
    =================================================================
        Basic Fault Address Reporting
    =================================================================
    Memory around native instruction pointer (0x10ef82894):0x10ef82884  8b 47 1c 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5  .G.]........UH..
    0x10ef82894  8b 47 20 a9 00 00 00 02 75 0c a9 00 00 00 10 75  .G .....u......u
    0x10ef828a4  26 48 8b 07 5d c3 48 8d 3d f0 ef 1a 00 48 8d 35  &H..].H.=....H.5
    0x10ef828b4  50 eb 1a 00 48 8d 0d c4 eb 1a 00 ba 79 03 00 00  P...H.......y...
    
    =================================================================
        Managed Stacktrace:
    =================================================================
          at <unknown> <0xffffffff>
          at ApiDefinition.Messaging:void_objc_msgSend_IntPtr_IntPtr_Double <0x00125>
          at MyTrackerTracking.MYTracker:StartTrackerWithAccountKey <0x00352>
          at APP.iOS.Tracking.MyTrackerTrackeriOS:.ctor <0x00202>
          at APP.iOS.IoC.TrackingModule:Load <0x00102>
          at <>c__DisplayClass2_0:<InitIoC>b__0 <0x00081>
          at System.Collections.Generic.List`1:ForEach <0x00161>
          at APP.iOS.Bootstrapper:InitIoC <0x005c2>
          at APP.iOS.Bootstrapper:Run <0x000b2>
          at APP.iOS.AppDelegate:FinishedLaunching <0x00142>
          at <Module>:runtime_invoke_bool__this___object_object <0x00215>
          at <unknown> <0xffffffff>
          at UIKit.UIApplication:UIApplicationMain <0x00251>
          at UIKit.UIApplication:Main <0x000b2>
          at UIKit.UIApplication:Main <0x00132>
          at APP.iOS.Application:Main <0x00092>
          at <Module>:runtime_invoke_void_object <0x001a8>
    =================================================================
    
  • WolfgangBergerWolfgangBerger USMember

    I am experiencing a similar issue with a bound native library. This crash only happens on an iOS 13 simulator, not on a an iOS 13 Device. However, it works without problems on an iOS 12 simulator (same build environment, Xcode 11). The bound library and the binding project has not changed.

    =================================================================
        Native Crash Reporting
    =================================================================
    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.
    =================================================================
    
    =================================================================
        Native stacktrace:
    =================================================================
        0x10ee997c5 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_dump_native_crash_info
        0x10ee8d705 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_handle_native_crash
        0x10eea0a41 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_sigsegv_signal_handler_debug
        0x7fff51414b5d - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_platform.dylib : _sigtramp
        0x10ef3c729 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_class_get_checked
        0x10ee8c5ae - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_handle_exception_internal
        0x10ee8b689 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_handle_exception
        0x10ee0ca2f - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : mono_amd64_throw_exception
        0x1112aa5b0 - Unknown
        0x10f0ef973 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : _ZL17exception_handlerP11NSException
        0x7fff23b9903d - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __handleUncaughtException
        0x7fff503b5d76 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : _ZL15_objc_terminatev
        0x7fff4f23be97 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++abi.dylib : _ZSt11__terminatePFvvE
        0x7fff4f23b8fe - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++abi.dylib : __cxa_get_exception_ptr
        0x7fff4f23b8c5 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++abi.dylib : _ZN10__cxxabiv1L22exception_cleanup_funcE19_Unwind_Reason_CodeP17_Unwind_Exception
        0x7fff503b5c44 - /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib : _ZL26_objc_exception_destructorPv
        0x10f0f1140 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : xamarin_process_nsexception_using_mode
        0x10f0f1027 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : xamarin_process_nsexception
        0x10f102979 - /Users/theuser/Library/Developer/CoreSimulator/Devices/43416B24-8762-4088-B5C7-85B497ADFDF4/data/Containers/Bundle/Application/9C608718-BC2E-4C55-B9F2-E088B0D5D07A/APPiOS.app/APPiOS : xamarin_dyn_objc_msgSend
        0x1135cf6f6 - Unknown
    
    =================================================================
        Basic Fault Address Reporting
    =================================================================
    Memory around native instruction pointer (0x10ef82894):0x10ef82884  8b 47 1c 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5  .G.]........UH..
    0x10ef82894  8b 47 20 a9 00 00 00 02 75 0c a9 00 00 00 10 75  .G .....u......u
    0x10ef828a4  26 48 8b 07 5d c3 48 8d 3d f0 ef 1a 00 48 8d 35  &H..].H.=....H.5
    0x10ef828b4  50 eb 1a 00 48 8d 0d c4 eb 1a 00 ba 79 03 00 00  P...H.......y...
    
    =================================================================
        Managed Stacktrace:
    =================================================================
          at <unknown> <0xffffffff>
          at ApiDefinition.Messaging:void_objc_msgSend_IntPtr_IntPtr_Double <0x00125>
          at MyTrackerTracking.MYTracker:StartTrackerWithAccountKey <0x00352>
          at APP.iOS.Tracking.MyTrackerTrackeriOS:.ctor <0x00202>
          at APP.iOS.IoC.TrackingModule:Load <0x00102>
          at <>c__DisplayClass2_0:<InitIoC>b__0 <0x00081>
          at System.Collections.Generic.List`1:ForEach <0x00161>
          at APP.iOS.Bootstrapper:InitIoC <0x005c2>
          at APP.iOS.Bootstrapper:Run <0x000b2>
          at APP.iOS.AppDelegate:FinishedLaunching <0x00142>
          at <Module>:runtime_invoke_bool__this___object_object <0x00215>
          at <unknown> <0xffffffff>
          at UIKit.UIApplication:UIApplicationMain <0x00251>
          at UIKit.UIApplication:Main <0x000b2>
          at UIKit.UIApplication:Main <0x00132>
          at APP.iOS.Application:Main <0x00092>
          at <Module>:runtime_invoke_void_object <0x001a8>
    =================================================================
    
Sign In or Register to comment.