Search Unity

Random unknown crashes on iOS 15+

Discussion in 'iOS and tvOS' started by AvenSlayer, Nov 2, 2021.

  1. AvenSlayer

    AvenSlayer

    Joined:
    Jun 19, 2015
    Posts:
    6
    I have 10-20 crashes in my app from last 2 weeks.
    On devices iOS 15 or above.

    logs has minimum infos:

    Role:                Background
    Exception Type: EXC_CRASH (SIGKILL)
    Exception Codes: 0x0000000000000000, 0x0000000000000000


    OS Version:          iPhone OS 15.1 (19B74)


    with something strange:

    Kernel Triage:
    VM - pmap_enter failed with resource shortage
    VM - Compressor failed a blocking pager_get


    Opening the crashlog in the Xcode project just points to the main line of UnityFramework.framework

    Has anyone come across this? I will be glad for any help or information.

    partical crashlog
    Code (CSharp):
    1. Incident Identifier: BE20139B-0956-4AA7-8AE8-6922C053B4F3
    2. Hardware Model:      iPhone12,1
    3. Process:             %AppName% [6821]
    4. Path:                /private/var/containers/Bundle/Application/460BE69F-AA91-4611-954B-C837622941A2/%AppName%.app/%AppName%
    5. Identifier:          %Identifier%
    6. Version:             2.3.2020 (2020)
    7. AppStoreTools:       13A1030d
    8. AppVariant:          1:iPhone12,1:13
    9. Code Type:           ARM-64 (Native)
    10. Role:                Background
    11. Parent Process:      launchd [1]
    12. Coalition:           %Identifier% [1751]
    13.  
    14. Date/Time:           2021-10-29 17:51:37.1505 +0300
    15. Launch Time:         2021-10-29 17:37:45.9539 +0300
    16. OS Version:          iPhone OS 15.1 (19B74)
    17. Release Type:        User
    18. Baseband Version:    3.00.00
    19. Report Version:      104
    20.  
    21. Exception Type:  EXC_CRASH (SIGKILL)
    22. Exception Codes: 0x0000000000000000, 0x0000000000000000
    23. Exception Note:  EXC_CORPSE_NOTIFY
    24. Triggered by Thread:  0
    25.  
    26.  
    27. Kernel Triage:
    28. VM - pmap_enter failed with resource shortage
    29. VM - pmap_enter failed with resource shortage
    30. VM - pmap_enter failed with resource shortage
    31. VM - Compressor failed a blocking pager_get
    32.  
    33.  
    34. Thread 0 name:
    35. Thread 0 Crashed:
    36. 0   libsystem_kernel.dylib            0x00000001b7412ae4 __semwait_signal + 8
    37. 1   libsystem_c.dylib                0x000000018b3f3f00 nanosleep + 216 (nanosleep.c:104)
    38. 2   libc++.1.dylib                    0x0000000198cec820 std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 84 (__threading_support:546)
    39. 3   libAudioToolboxUtility.dylib      0x00000001995c6d50 caulk::concurrent::guarded_lookup_hash_table<unsigned int, BaseOpaqueObject*, (caulk::concurrent::guarded_lookup_hash_table_options)0>::remove(unsigned int) + 184 (thread:386)
    40. 4   libAudioToolboxUtility.dylib      0x00000001995ca118 BaseOpaqueObject::~BaseOpaqueObject() + 68 (OpaqueObjectMgr.cpp:87)
    41. 5   libEmbeddedSystemAUs.dylib        0x00000001bc1d6a04 AURemoteIO::~AURemoteIO() + 336 (OpaqueObjectMgr.h:181)
    42. 6   libEmbeddedSystemAUs.dylib        0x00000001bc1e0040 ausdk::ComponentBase::AP_Close(void*) + 116 (ComponentBase.cpp:68)
    43. 7   AudioToolboxCore                  0x00000001932346cc AudioComponentInstanceDispose + 88 (APComponent.mm:415)
    44. 8   UnityFramework                    0x00000001058eda84 FMOD::OutputCoreAudio::reset(bool, bool) + 472
    45. 9   Foundation                        0x0000000181d8eb80 -[__NSObserver _doit:] + 348 (NSNotification.m:327)
    46. 10  CoreFoundation                    0x0000000180562ed8 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28 (CFNotificationCenter.c:652)
    47. 11  CoreFoundation                    0x00000001805feb8c ___CFXRegistrationPost_block_invoke + 52 (CFNotificationCenter.c:173)
    48. 12  CoreFoundation                    0x00000001805d1f44 _CFXRegistrationPost + 456 (CFNotificationCenter.c:199)
    49. 13  CoreFoundation                    0x0000000180578d44 _CFXNotificationPost + 716 (CFNotificationCenter.c:1147)
    50. 14  Foundation                        0x0000000181d74628 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96 (NSNotification.m:560)
    51. 15  AudioSession                      0x00000001898f10a0 -[AVAudioSession privateInterruptionWithInfo:] + 2036 (AVAudioSession_iOS.mm:2962)
    52. 16  AudioSession                      0x00000001898f1db8 ___ZN8avfaudio30AVAudioSessionPropertyListenerEPvjjPKv_block_invoke.5 + 56 (AVAudioSession_iOS.mm:416)
    53. 17  libdispatch.dylib                0x0000000180241914 _dispatch_call_block_and_release + 32 (init.c:1517)
    54. 18  libdispatch.dylib                0x0000000180243660 _dispatch_client_callout + 20 (object.m:560)
    55. 19  libdispatch.dylib                0x0000000180251b60 _dispatch_main_queue_callback_4CF + 944 (inline_internal.h:2601)
    56. 20  CoreFoundation                    0x0000000180589cd4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1795)
    57. 21  CoreFoundation                    0x0000000180543eac __CFRunLoopRun + 2540 (CFRunLoop.c:3144)
    58. 22  CoreFoundation                    0x00000001805573b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
    59. 23  GraphicsServices                  0x000000019bee738c GSEventRunModal + 164 (GSEvent.c:2200)
    60. 24  UIKitCore                        0x0000000182ef76a8 -[UIApplication _run] + 1100 (UIApplication.m:3493)
    61. 25  UIKitCore                        0x0000000182c767f4 UIApplicationMain + 2092 (UIApplication.m:5046)
    62. 26  UnityFramework                    0x0000000104cb3518 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 108 (main.mm:96)
    63. 27  %AppName%                        0x000000010019be00 main + 68 (main.mm:26)
    64. 28  dyld                              0x00000001003e5a24 start + 520 (dyldMain.cpp:876)
    + Attached full crash log.

    added:
    Xcode: 12.5
    Unity: 2019.4.29
     
    Last edited: Nov 8, 2021
    nikita_khvorov likes this.
  2. nikita_khvorov

    nikita_khvorov

    Joined:
    Oct 29, 2020
    Posts:
    2
    We have pretty the same crashlogs in top1 and top2 for our app on iOS. Built with Unity 2020.3.14f1

    Code (CSharp):
    1. Thread 0 name:
    2. Thread 0 Crashed:
    3. 0   libsystem_kernel.dylib            0x00000001b80a2504 mach_msg_trap + 8
    4. 1   libsystem_kernel.dylib            0x00000001b80a2b9c mach_msg + 76 (mach_msg.c:119)
    5. 2   libsystem_kernel.dylib            0x00000001b80ab36c clock_get_time + 88 (clockUser.c:241)
    6. 3   libsystem_c.dylib                 0x000000018c083e98 nanosleep + 112 (nanosleep.c:97)
    7. 4   libc++.1.dylib                    0x000000019997c820 std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 84 (__threading_support:546)
    8. 5   libAudioToolboxUtility.dylib      0x000000019a256d50 caulk::concurrent::guarded_lookup_hash_table<unsigned int, BaseOpaqueObject*, (caulk::concurrent::guarded_lookup_hash_table_options)0>::remove(unsigned int) + 184 (thread:386)
    9. 6   libAudioToolboxUtility.dylib      0x000000019a25a118 BaseOpaqueObject::~BaseOpaqueObject() + 68 (OpaqueObjectMgr.cpp:87)
    10. 7   libEmbeddedSystemAUs.dylib        0x00000001bce66a04 AURemoteIO::~AURemoteIO() + 336 (OpaqueObjectMgr.h:181)
    11. 8   libEmbeddedSystemAUs.dylib        0x00000001bce70040 ausdk::ComponentBase::AP_Close(void*) + 116 (ComponentBase.cpp:68)
    12. 9   AudioToolboxCore                  0x0000000193ec46cc AudioComponentInstanceDispose + 88 (APComponent.mm:415)
    13. 10  UnityFramework                    0x000000010bd58408 0x109fe0000 + 30901256
    14. 11  Foundation                        0x0000000182a1eb80 -[__NSObserver _doit:] + 348 (NSNotification.m:327)
    15. 12  CoreFoundation                    0x00000001811f2ed8 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28 (CFNotificationCenter.c:652)
    16. 13  CoreFoundation                    0x000000018128eb8c ___CFXRegistrationPost_block_invoke + 52 (CFNotificationCenter.c:173)
    17. 14  CoreFoundation                    0x0000000181261f44 _CFXRegistrationPost + 456 (CFNotificationCenter.c:199)
    18. 15  CoreFoundation                    0x0000000181208d44 _CFXNotificationPost + 716 (CFNotificationCenter.c:1147)
    19. 16  Foundation                        0x0000000182a04628 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96 (NSNotification.m:560)
    20. 17  AudioSession                      0x000000018a5810a0 -[AVAudioSession privateInterruptionWithInfo:] + 2036 (AVAudioSession_iOS.mm:2962)
    21. 18  AudioSession                      0x000000018a581db8 ___ZN8avfaudio30AVAudioSessionPropertyListenerEPvjjPKv_block_invoke.5 + 56 (AVAudioSession_iOS.mm:416)
    22. 19  libdispatch.dylib                 0x0000000180ed1914 _dispatch_call_block_and_release + 32 (init.c:1517)
    23. 20  libdispatch.dylib                 0x0000000180ed3660 _dispatch_client_callout + 20 (object.m:560)
    24. 21  libdispatch.dylib                 0x0000000180ee1b60 _dispatch_main_queue_callback_4CF + 944 (inline_internal.h:2601)
    25. 22  CoreFoundation                    0x0000000181219cd4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1795)
    26. 23  CoreFoundation                    0x00000001811d3eac __CFRunLoopRun + 2540 (CFRunLoop.c:3144)
    27. 24  CoreFoundation                    0x00000001811e73b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
    28. 25  GraphicsServices                  0x000000019cb7738c GSEventRunModal + 164 (GSEvent.c:2200)
    29. 26  UIKitCore                         0x0000000183b876a8 -[UIApplication _run] + 1100 (UIApplication.m:3493)
    30. 27  UIKitCore                         0x00000001839067f4 UIApplicationMain + 2092 (UIApplication.m:5046)
    31. 28  UnityFramework                    0x0000000109ffa604 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 108 (main.mm:96)
    32. 29  %AppName%                       0x0000000100793e00 main + 68 (main.mm:26)
    33. 30  dyld                              0x0000000100b11a24 start + 520 (dyldMain.cpp:876)
     
  3. nikita_khvorov

    nikita_khvorov

    Joined:
    Oct 29, 2020
    Posts:
    2
    AvenSlayer, what version of xcode you've used for the build that crashes?
     
  4. BjoUnity3d

    BjoUnity3d

    Joined:
    Jul 24, 2012
    Posts:
    60
    For me, I'm using the second most recent version I believe 13.0. I guess I should update that now. Seeing similar crashes. 32 of these showing in Xcode:

    Incident Identifier: 0E0CDC42-2DA0-492F-9088-61B1CF5CED81
    Hardware Model: iPhone12,8
    Process: SuperSquares [3812]
    Path: /private/var/containers/Bundle/Application/3619F938-F403-4256-A2FA-358F939272C2/SuperSquares.app/SuperSquares
    Identifier: com.react.supersquares
    Version: 4.0.1 (241)
    AppStoreTools: 13A1030d
    AppVariant: 1:iPhone12,8:13
    Code Type: ARM-64 (Native)
    Role: Background
    Parent Process: launchd [1]
    Coalition: com.react.supersquares [1019]

    Date/Time: 2021-11-02 15:23:57.6124 -0400
    Launch Time: 2021-11-02 15:23:45.0169 -0400
    OS Version: iPhone OS 15.0.2 (19A404)
    Release Type: User
    Baseband Version: 3.00.00
    Report Version: 104

    Exception Type: EXC_CRASH (SIGKILL)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Exception Note: EXC_CORPSE_NOTIFY
    Triggered by Thread: 0


    Kernel Triage:
    VM - pmap_enter failed with resource shortage
    VM - pmap_enter failed with resource shortage
    VM - pmap_enter failed with resource shortage
    VM - pmap_enter failed with resource shortage
    VM - pmap_enter failed with resource shortage


    Thread 0 name:
    Thread 0 Crashed:
    0 libsystem_kernel.dylib 0x00000001b7f4eff0 __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x00000001f11ac274 _pthread_cond_wait + 1228 (pthread_cond.c:636)
    2 UnityFramework 0x000000010c4f5c60 il2cpp::eek:s::posix::posixWaitObject::Wait(unsigned int, bool) + 400 (PosixWaitObject.cpp:119)
    3 UnityFramework 0x000000010c4ecafc il2cpp::eek:s::Event::Wait(unsigned int, bool) + 16 (Event.cpp:46)
    4 UnityFramework 0x000000010c4ecafc il2cpp::eek:s::Thread::Join(unsigned int) + 16 (Thread.cpp:213)
    5 UnityFramework 0x000000010c4ecafc il2cpp::eek:s::Thread::Join() + 24 (Thread.cpp:207)
    6 UnityFramework 0x000000010c512014 il2cpp::vm::Thread::KillAllBackgroundThreadsAndWaitForForegroundThreads() + 152 (Thread.cpp:317)
    7 UnityFramework 0x000000010c51c2d8 il2cpp::vm::Runtime::Shutdown() + 68 (Runtime.cpp:393)
    8 UnityFramework 0x000000010bd10fbc CleanupIl2Cpp() + 20 (MonoManager_Il2Cpp.cpp:293)
    9 UnityFramework 0x000000010bc25558 PlayerCleanup(bool) + 84 (Player.cpp:621)
    10 UnityFramework 0x000000010c03569c UnityCleanup + 16 (LibEntryPoint.mm:219)
    11 UnityFramework 0x000000010c035900 UnityPlayerLoopImpl(bool) + 260 (LibEntryPoint.mm:315)
    12 UnityFramework 0x000000010b507b6c UnityRepaint + 140 (UnityAppController+Rendering.mm:282)
    13 UnityFramework 0x000000010b50241c -[UnityAppController applicationWillResignActive:] + 100 (UnityAppController.mm:524)
    14 UIKitCore 0x0000000183d04b68 -[UIApplication _deactivateForReason:notify:] + 1352 (UIApplication.m:1833)
    15 UIKitCore 0x0000000183de03dc -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 212 (_UISceneLifecycleMultiplexer.m:101)
    16 UIKitCore 0x0000000184021acc -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 760 (_UISceneLifecycleMultiplexer.m:564)
    17 UIKitCore 0x0000000183fad1f0 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340 (_UISceneLifecycleMultiplexer.m:470)
    18 UIKitCore 0x0000000183b94044 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block... + 196 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:73)
    19 UIKitCore 0x0000000183c5462c +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 892 (BSAnimationSettings+UIKit.m:50)
    20 UIKitCore 0x0000000183b95f54 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276 (_UISceneSettingsDiffAction.m:23)
    21 UIKitCore 0x0000000183c8118c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:58)
    22 UIKitCore 0x0000000184109b0c __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.610 + 776 (UIScene.m:1775)
    23 UIKitCore 0x0000000183bc4d5c -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256 (UIScene.m:1476)
    24 UIKitCore 0x0000000183c08494 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 288 (UIScene.m:1742)
    25 UIKitCore 0x0000000183b91f84 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 492 (UIApplicationSceneClientAgent.m:80)
    26 FrontBoardServices 0x000000019300d110 -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 528 (FBSScene.m:549)
    27 FrontBoardServices 0x0000000193025d5c __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 152 (FBSWorkspaceScenesClient.m:581)
    28 FrontBoardServices 0x000000019300a6c4 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 (FBSWorkspace.m:352)
    29 FrontBoardServices 0x0000000193010b20 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 396 (FBSWorkspaceScenesClient.m:580)
    30 libdispatch.dylib 0x0000000181245950 _dispatch_client_callout + 20 (object.m:560)
    31 libdispatch.dylib 0x00000001812493e8 _dispatch_block_invoke_direct + 264 (queue.c:489)
    32 FrontBoardServices 0x000000019300bfa4 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 (FBSSerialQueue.m:157)
    33 FrontBoardServices 0x000000019300b3e4 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 (FBSSerialQueue.m:181)
    34 FrontBoardServices 0x000000019300f9f4 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:194)
    35 CoreFoundation 0x00000001815f5030 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972)
    36 CoreFoundation 0x0000000181605cf0 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
    37 CoreFoundation 0x000000018153fff8 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
    38 CoreFoundation 0x0000000181545804 __CFRunLoopRun + 820 (CFRunLoop.c:2951)
    39 CoreFoundation 0x00000001815593c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
    40 GraphicsServices 0x000000019cd6a38c GSEventRunModal + 164 (GSEvent.c:2200)
    41 UIKitCore 0x0000000183eff060 -[UIApplication _run] + 1100 (UIApplication.m:3457)
    42 UIKitCore 0x0000000183c7cb8c UIApplicationMain + 2124 (UIApplication.m:5013)
    43 UnityFramework 0x000000010b506548 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 108 (main.mm:96)
    44 SuperSquares 0x0000000104ccf0ac main + 68 (main.mm:26)
    45 dyld 0x0000000105041a24 start + 520 (dyldMain.cpp:876)
     
  5. artoonie

    artoonie

    Joined:
    Feb 9, 2017
    Posts:
    22
    I am also seeing this on iOS 15 / Unity 2020.3.21f1. It seems to happen when recording from mic then going to the background soon after, though I have limited data there. Did anybody submit a Unity bug report?
     
    AvenSlayer likes this.
  6. AvenSlayer

    AvenSlayer

    Joined:
    Jun 19, 2015
    Posts:
    6
    I use Xcode 12.5
    Unity version is 2019.4.29
     
  7. Deleted User

    Deleted User

    Guest

    @AvenSlayer The same thing happened to us on an iPad with 15.1, Unity 2020.3.18f1. But it's random, did not work all day. Reinstalling it helped
     
  8. mcptt

    mcptt

    Joined:
    Nov 24, 2021
    Posts:
    1
    We have seen something very similar in a completely different project, pjsip.
    I am crossposting our github issue here in case either project manage to advance on the issue.
     
  9. Deleted User

    Deleted User

    Guest

    checked where the stacktraces differ:
    @mcptt :
    Code (CSharp):
    1. 8   ios_sdk                             0x0000000105fb7f7c ca_stream_destroy + 2670460 (coreaudio_dev.m:2281)
    2.  
    mine / @AvenSlayer / @nikita_khvorov:
    Code (CSharp):
    1. 8   UnityFramework                    0x000000010466c808 FMOD::OutputCoreAudio::reset(bool, bool) + 472
    In both cases, this is the next call
    Code (CSharp):
    1. 7   AudioToolboxCore                  0x0000000195f46d14 AudioComponentInstanceDispose + 60 (APComponent.mm:415)
     
  10. lightchris

    lightchris

    Joined:
    Aug 1, 2019
    Posts:
    2
    Did you find a solution to this issue?
     
  11. lightchris

    lightchris

    Joined:
    Aug 1, 2019
    Posts:
    2
    We removed the mobile notifications package and it works now.
     
  12. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,796
    Yeah, as my mother used to say, the only good packaged in an uninstalled package.
     
  13. Deleted User

    Deleted User

    Guest

    @lightchris How did you find out about this? Trial and error? Does it reliably fix the problem for now?
     
  14. lkj_dpc

    lkj_dpc

    Joined:
    Aug 9, 2021
    Posts:
    4
    I am experiencing this issue, same callstack.
    Reliable repro steps are to tell siri to play some music while the Unity app is running.
    We don not use the MobileNotificationsPackage.

    Unity version 2020.3.15f2.
     
    nikita_khvorov likes this.
  15. Gillissie

    Gillissie

    Joined:
    May 16, 2011
    Posts:
    305
    I'm also experiencing the same issue. The error stacks all seem to be rooted in audio-related stuff. My tester has reported it happening when using Siri to look up things, and when a call is incoming. Also in Unity 2020. I wonder if it's an issue in 2021?
     
  16. Alan-Liu

    Alan-Liu

    Joined:
    Jan 23, 2014
    Posts:
    393
    It seams that Unity 2020.3.25 fixed a similar issue(https://issuetracker.unity3d.com/is...ication-sometimes-freezes-unity-app-on-ios-15). Does your issue get fixed using this version?
     
  17. Petr777

    Petr777

    Joined:
    Nov 8, 2017
    Posts:
    49
    We have 3 crashes in our iOS Unity app (many crash reports for each of them in Xcode Organizer, iOS 15 only, iOS 14 is ok):
    1. Related to audio with fmod::eek:utputcoreaudio::reset in stack - stack is very close to posted by this topic author
    2. Related to shaders compiling with ShaderLab::SubProgram::Compile in stack,
    3. Related to writing to keychain. ф
    They all have

    Code (JavaScript):
    1. Exception Type:  EXC_CRASH (SIGKILL)
    2. Exception Codes: 0x0000000000000000, 0x0000000000000000
    3. Exception Note:  EXC_CORPSE_NOTIFY
    4. Triggered by Thread:  0  
    and have no "Termination Reason" field.

    Looks like this is iOS 15 bug, see https://developer.apple.com/forums/thread/693623
     
  18. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    112
    We have submitted an iOS app that works perfectly in Testflight on all our iPhone models, even with iOS 15.4.1 (same as in App Review, according to the crash logs) but it crashes instantly on launch for Apple's App Review. Only difference I see is that they tested it using iPad Air 3rd Gen (seems they always test iPhone apps on iPad, fig knows why)

    We're still on Unity 2019.4.34

    Anyway, four crashlogs, all looking like this:
    ...
    "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
    "termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"CineGame","byPid":91267},
    "ktriageinfo" : "VM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\n",
    ...
     
    Last edited: May 11, 2022