Crashes reporting [UIApplication _terminateWithStatus] indicating what issue?

We are seeing numerous reports of crashes on our live application which suggest a very unstable build. However, we aren't seeing crashes in the normal workflow of the application in practical use. At what point would a [UIApplication _terminateWithStatus] get called in a stack? Is that a crash that is occurring while the app is naturally closing down for other reasons? I can attach crash logs if they are useful. The stacks are relatively short and while we do have crash analytics tracking via Bugsnag, we do not have a 1-to-1 matchup to anything at this rate on their end.

Replies

Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib        0x00000001db9e3104 __pthread_kill + 8
1   libsystem_pthread.dylib        0x00000001dba5e070 pthread_kill$VARIANT$mp + 380 (pthread.c:1492)
2   libsystem_c.dylib              0x00000001db93ad78 abort + 140 (abort.c:94)
3   libsystem_malloc.dylib        0x00000001dba37768 malloc_vreport + 572 (malloc_printf.c:183)
4   libsystem_malloc.dylib        0x00000001dba37924 malloc_report + 64 (malloc_printf.c:192)
5   libsystem_malloc.dylib        0x00000001dba2a2d4 free + 376 (malloc.c:1753)
6   libc++.1.dylib                0x00000001dafe7120 std::__1::basic_string<char, std::__1::char_traits<char="">, std::__1::allocator >::~basic_string() + 32 (new:234)
7   libsystem_c.dylib              0x00000001db93bab4 __cxa_finalize_ranges + 384 (atexit.c:285)
8   libsystem_c.dylib              0x00000001db93bdd8 exit + 24 (exit.c:81)
9   UIKitCore                      0x0000000208ed8670 -[UIApplication _terminateWithStatus:] + 464 (UIApplication.m:6452)
10  UIKitCore                      0x000000020876d0d4 __98-[__UICanvasLifecycleMonitor_Compatability deactivateEventsOnly:withContext:forceExit:completion:]_block_invoke.279 + 352 (_UICanvasLifecycleMonitor.m:527)
11  UIKitCore                      0x0000000208edccd0 _runAfterCACommitDeferredBlocks + 296 (UIApplication.m:2744)
12  UIKitCore                      0x0000000208ecaccc _cleanUpAfterCAFlushAndRunDeferredBlocks + 384 (UIApplication.m:2722)
13  UIKitCore                      0x0000000208ef9fa0 _afterCACommitHandler + 132 (UIApplication.m:2774)
14  CoreFoundation                0x00000001dbddb7a8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1822)
15  CoreFoundation                0x00000001dbdd643c __CFRunLoopDoObservers + 412 (CFRunLoop.c:1932)
16  CoreFoundation                0x00000001dbdd69dc __CFRunLoopRun + 1264 (CFRunLoop.c:2950)
17  CoreFoundation                0x00000001dbdd61cc CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
18  GraphicsServices              0x00000001de04d584 GSEventRunModal + 100 (GSEvent.c:2245)
19  UIKitCore                      0x0000000208ed1054 UIApplicationMain + 212 (UIApplication.m:4347)
20  redacted                    0x0000000102bc18d0 main + 160 (main.mm:33)
21  libdyld.dylib                  0x00000001db896bb4 start + 4
  • @seejaneworkit - Do you find any solution to the above sort of crash report? I have similar issue with my application. I have background task enabled for the application.

    0  libsystem_kernel.dylib     0x00000001d82ed7b0 __pthread_kill + 8 1  libsystem_pthread.dylib     0x00000001f49a09c0 pthread_kill + 212 (pthread.c:1582) 2  libsystem_c.dylib        0x00000001b5136a38 abort + 120 (abort.c:118) 3  libsystem_malloc.dylib     0x00000001bb06c0a8 malloc_vreport + 556 (malloc_printf.c:183) 4  libsystem_malloc.dylib     0x00000001bb06c31c malloc_zone_error + 100 (malloc_printf.c:219) 5  libsystem_malloc.dylib     0x00000001bb052958 nanov2_allocate_from_block$VARIANT$armv81 + 520 6  libsystem_malloc.dylib     0x00000001bb051bd8 nanov2_allocate$VARIANT$armv81 + 124 7  libsystem_malloc.dylib     0x00000001bb0520c4 nanov2_calloc$VARIANT$armv81 + 148 8  libsystem_malloc.dylib     0x00000001bb061bd0 _malloc_zone_calloc + 80 (malloc.c:1604) 9  libobjc.A.dylib         0x00000001c0289124 _objc_rootAllocWithZone + 36 (objc-runtime-new.mm:8000) 10 libobjc.A.dylib         0x00000001c0292ec4 objc_alloc_init + 32 (NSObject.mm:1929) 11 UIFoundation          0x00000001b50343c8 -[NSCoreTypesetter _NSFastDrawString:length:attributes:paragraphStyle:typesetterBehavior:lineBreakMode:rect:padding:graphicsContext:baselineRendering:usesFontLeading:usesScreenFont:scrollable:syncA... + 4696 (NSCoreTypesetter.m:817) 12 UIFoundation          0x00000001b5034970 -[NSCoreTypesetter _stringDrawingCoreTextEngineWithOriginalString:rect:padding:graphicsContext:forceClipping:attributes:stringDrawingOptions:drawingContext:stringDrawingInterface:] + 1116 (NSCoreTypesetter.m:1260) 13 UIFoundation          0x00000001b50300c4 __NSStringDrawingEngine + 1652 (NSStringDrawing.m:1568) 14 UIFoundation          0x00000001b4f9bd5c -[NSString(NSExtendedStringDrawing) boundingRectWithSize:options:attributes:context:] + 156 (NSStringDrawing.m:1025) 15 UIKitCore            0x00000001af1ee060 -[UILabel _textRectForBounds:limitedToNumberOfLines:includingShadow:] + 1220 (UILabel.m:0) 16 UIKitCore            0x00000001af1f1f2c -[UILabel _intrinsicSizeWithinSize:] + 484 (UILabel.m:2981) 17 UIKitCore            0x00000001af1f112c -[UILabel _ensureBaselineMetricsReturningBounds] + 172 (UILabel.m:2805) 18 UIKitCore            0x00000001af1f1344 -[UILabel _baselineOffsetFromBottom] + 92 (UILabel.m:2838) 19 UIKitCore            0x00000001af1efe24 -[UILabel _invalidateBaselineConstraints] + 92 (UILabel.m:2430) 20 UIKitCore            0x00000001af1e9140 -[UILabel _setContent:adjustingFontForAccessibilityTraits:checkingForDifferences:] + 608 (UILabel.m:591) 21 UIKitCore            0x00000001af1eec1c -[UILabel _setText:] + 152 (UILabel.m:2013)

Add a Comment