EXC_CRASH (SIGABRT) CFRunLoopRunSpecific

Hello, I'm seeking some help after looking at some of our crash log reports. I'll post here one example:

From the look of it, seems to be a crash caused by the OS. Reason being that looking at the thread 0, the frame 10 is our app setting up the AppDelegate (AppDelegate.swift:11 is the class declaration). After that all the other frames are specifying code deep in the UIKit and CoreFoundation frameworks. Have anyone seen something like that? Could this be an out-of-memory crash? Thanks in advance!

I am also experiencing the same problem.

This crash report is weird. Consider this:

Exception Type:  EXC_CRASH (SIGABRT)

This usually means that the app crashed itself by calling abort. However, the crashing thread backtrace:

Thread 0 Crashed:
0   libsystem_kernel.dylib … mach_msg2_trap + 8 …
1   libsystem_kernel.dylib … mach_msg2_internal + 80 …
2   libsystem_kernel.dylib … mach_msg_overwrite + 388 …
3   libsystem_kernel.dylib … mach_msg + 24 …
4   CoreFoundation         … __CFRunLoopServiceMachPort + 160 …
5   CoreFoundation         … __CFRunLoopRun + 1232 …
6   CoreFoundation         … CFRunLoopRunSpecific + 612 …
7   GraphicsServices       … GSEventRunModal + 164 …
8   UIKitCore              … -[UIApplication _run] + 888 …
9   UIKitCore              … UIApplicationMain + 340 …
10  Driver                 … main + 68 …
11  dyld                   … start + 2528 …

shows no sign of anything that could trigger a SIGABRT. That leaves two theories:

  • Someone is sending the SIGABRT signal from outside your process.

  • Something is messing up your crash report.

With regards the first, I’ve never seen that happen on iOS. Which suggests the second. And this is worrisome:

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib  … mach_msg2_trap + 8 …
1   libsystem_kernel.dylib  … mach_msg2_internal + 80 …
2   libsystem_kernel.dylib  … mach_msg_overwrite + 388 …
3   libsystem_kernel.dylib  … mach_msg + 24 …
4   Driver                  … handleExceptions + 172 …
5   libsystem_pthread.dylib … _pthread_start + 148 …
6   libsystem_pthread.dylib … thread_start + 8 …

Frame 4 look like a third-party crash reporter. Such things are fundamentally unreliable. For an explanation as to why, see Implementing Your Own Crash Reporter.

My advice is that you remove your third-party crash reporter. If you continue to see crashes, please reply on this thread, including an Apple crash report per the instructions in Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

header NaN 0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"ARMCPUZ","byPid":4691}, "asi" : {"libsystem_c.dylib":["abort() called"]}, "lastExceptionBacktrace" : [{"imageOffset":540448,"symbol":"__exceptionPreprocess","symbolLocation":164,"imageIndex":3},{"imageOffset":94904,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":15},{"imageOffset":74276,"symbol":"_NSConstraintBasedLayoutDeferOptimization","symbolLocation":0,"imageIndex":20},{"imageOffset":73444,"symbol":"-[NSISEngine withBehaviors:performModifications:]","symbolLocation":36,"imageIndex":20},{"imageOffset":120800,"symbol":"-[UIView _postMovedFromSuperview:]","symbolLocation":504,"imageIndex":5},{"imageOffset":115356,"symbol":"-[UIView(Internal) _addSubview:positioned:relativeTo:]","symbolLocation":2200,"imageIndex":5},{"imageOffset":1449360,"symbol":"-[UITableView _addSubview:positioned:relativeTo:]","symbolLocation":100,"imageIndex":5},{"imageOffset":1448716,"symbol":"-[UIScrollView _addContentSubview:atBack:]","symbolLocation":272,"imageIndex":5},{"imageOffset":1448144,"symbol":"-[UITableView _addContentSubview:atBack:]","symbolLocation":228,"imageIndex":5},{"imageOffset":2308584,"symbol":"__53-[UITableView _configureCellForDisplay:forIndexPath:]_block_invoke","symbolLocation":1340,"imageIndex":5},{"imageOffset":611380,"symbol":"+[UIView(Animation) performWithoutAnimation:]","symbolLocation":76,"imageIndex":5},{"imageOffset":2465240,"symbol":"-[UITableView _configureCellForDisplay:forIndexPath:]","symbolLocation":204,"imageIndex":5},{"imageOffset":2462240,"symbol":"-[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:]","symbolLocation":1564,"imageIndex":5},{"imageOffset":2457452,"symbol":"-[UITableView _updateVisibleCellsForRanges:createIfNecessary:]","symbolLocation":596,"imageIndex":5},{"imageOffset":2454812,"symbol":"-[UITableView _updateVisibleCellsNow:]","symbolLocation":1100,"imageIndex":5},{"imageOffset":2452588,"symbol":"-[UITableView _cellForRowAtIndexPath:usingPresentationValues:]","symbolLocation":200,"imageIndex":5},{"imageOffset":3917808,"symbol":"-[UITableView cellForRowAtIndexPath:]","symbolLocation":52,"imageIndex":5},{"imageOffset":318936,"imageIndex":1},{"imageOffset":420292,"imageIndex":1},{"imageOffset":3952580,"imageIndex":19},{"imageOffset":8508,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":16},{"imageOffset":15828,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":16},{"imageOffset":46080,"symbol":"_dispatch_lane_serial_drain","symbolLocation":748,"imageIndex":16},{"imageOffset":48944,"symbol":"_dispatch_lane_invoke","symbolLocation":380,"imageIndex":16},{"imageOffset":93364,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":288,"imageIndex":16},{"imageOffset":91432,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":404,"imageIndex":16},{"imageOffset":18740,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":11},{"imageOffset":4300,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":11}], "faultingThread" : 4, "threads" : [{"id":84521,"threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":37396280246272},{"value":0},{"value":37396280246272},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":8707},{"value":0},{"value":1},{"value":8707},{"value":14330285},{"value":69269232549888},{"value":0},{"value":18446744073709551569},{"value":6849312760,"symbolLocation":56,"symbol":"clock_gettime"},{"value":0},{"value":4294967295},{"value":2},{"value":37396280246272},{"value":0},{"value":37396280246272},{"value":6137997256},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7937117896},"cpsr":{"value":0},"fp":{"value":6137997104},"sp":{"value":6137997024},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7937103560},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":5832,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":2},{"imageOffset":20168,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":2},{"imageOffset":19936,"symbol":"mach_msg_overwrite","symbolLocation":436,"imageIndex":2},{"imageOffset":19488,"symbol":"mach_msg","symbolLocation":24,"imageIndex":2},{"imageOffset":343900,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":3},{"imageOffset":341504,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":3},{"imageOffset":339160,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":3},{"imageOffset":4520,"symbol":"GSEventRunModal","symbolLocation":164,"imageIndex":4},{"imageOffset":4238056,"symbol":"-[UIApplication _run]","symbolLocation":888,"imageIndex":5},{"imageOffset":4976024,"symbol":"UIApplicationMain","symbolLocation":340,"imageIndex":5},{"imageOffset":240268,"imageIndex":1},{"imageOffset":250196,"symbol":"start","symbolLocation":2356,"imageIndex":6}]},{"id":550270,"name":"com.apple.uikit.eventfetch-thread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":65983582568448},{"value":0},{"value":65983582568448},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":15363},{"value":0},{"value":1},{"value":15363},{"value":14033494},{"value":0},{"value":0},{"value":18446744073709551569},{"value":6849312760,"symbolLocation":56,"symbol":"clock_gettime"},{"value":0},{"value":4294967295},{"value":2},{"value":65983582568448},{"value":0},{"value":65983582568448},{"value":6140271992},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7937117896},"cpsr":{"value":0},"fp":{"value":6140271840},"sp":{"value":6140271760},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7937103560},"far":{"value":0}},"frames":[{"imageOffset":5832,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":2},{"imageOffset":20168,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":2},{"imageOffset":19936,"symbol":"mach_msg_overwrite","symbolLocation":436,"imageIndex":2},{"imageOffset":19488,"symbol":"mach_msg","symbolLocation":24,"imageIndex":2},{"imageOffset":343900,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":3},{"imageOffset":341504,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":3},{"imageOffset":339160,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":3},{"imageOffset":818012,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":212,"imageIndex":10},{"imageOffset":817580,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":64,"imageIndex":10},{"imageOffset":4319260,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":420,"imageIndex":5},{"

EXC_CRASH (SIGABRT) CFRunLoopRunSpecific
 
 
Q