iOS Crash Log reading - ios

I'm developing an app which uses an external accessory and the app crashes at some point. The hardest thing to debug is an app that crashes and the device can't be connected to Xcode.
The crash log I'm getting is not symbolised and I didn't succeeded in making it more clear.
Can anyone give me a hit in what is wrong with my code from the crash log attached.
Incident Identifier: 9BB6134A-68AF-4D88-9DF4-E1AB5F00F429
CrashReporter Key: 7c5ffd5961e66395d76785cd412baf0761515cbb
Hardware Model: iPad5,4
Process: reFlash [666]
Path: /private/var/containers/Bundle/Application/4E98396D-5D6B-4FF1-8992-389A73E4A17D/reFlash.app/reFlash
Identifier: com.softescu.reflash
Version: 1 (1.06)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.softescu.reflash [663]
Date/Time: 2017-05-17 17:06:26.2257 +0300
Launch Time: 2017-05-17 17:05:51.8520 +0300
OS Version: iPhone OS 10.2.1 (14D27)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 3
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x18a2451b8 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x188c7c55c objc_exception_throw + 56
2 CoreFoundation 0x18a245100 +[NSException raise:format:] + 116
3 CoreFoundation 0x18a13fd90 -[__NSCFString substringWithRange:] + 168
4 reFlash 0x1000a3d10 0x10006c000 + 228624
5 reFlash 0x1000a3224 0x10006c000 + 225828
6 reFlash 0x100085448 0x10006c000 + 103496
7 reFlash 0x10008914c 0x10006c000 + 119116
8 reFlash 0x1000cc41c 0x10006c000 + 394268
9 reFlash 0x1000cb704 0x10006c000 + 390916
10 ExternalAccessory 0x1979f5ff8 -[EAInputStream _streamEventTrigger] + 504
11 CoreFoundation 0x18a1f2b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
12 CoreFoundation 0x18a1f24a4 __CFRunLoopDoSources0 + 524
13 CoreFoundation 0x18a1f00a4 __CFRunLoopRun + 804
14 CoreFoundation 0x18a11e2b8 CFRunLoopRunSpecific + 444
15 Foundation 0x18ac5b26c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
16 Foundation 0x18acafaa0 -[NSRunLoop(NSRunLoop) run] + 88
17 reFlash 0x100088d88 0x10006c000 + 118152
18 Foundation 0x18ad58e68 __NSThread__start__ + 1024
19 libsystem_pthread.dylib 0x1892d9850 _pthread_body + 240
20 libsystem_pthread.dylib 0x1892d9760 _pthread_start + 284
21 libsystem_pthread.dylib 0x1892d6d94 thread_start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x00000001891f5188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001891f4ff8 mach_msg + 72
2 CoreFoundation 0x000000018a1f25d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018a1f01ec __CFRunLoopRun + 1132
4 CoreFoundation 0x000000018a11e2b8 CFRunLoopRunSpecific + 444
5 GraphicsServices 0x000000018bbd2198 GSEventRunModal + 180
6 UIKit 0x000000019015e7fc -[UIApplication _run] + 684
7 UIKit 0x0000000190159534 UIApplicationMain + 208
8 reFlash 0x000000010009f4c8 0x10006c000 + 210120
9 libdyld.dylib 0x00000001891015b8 start + 4
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x00000001891f5188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001891f4ff8 mach_msg + 72
2 CoreFoundation 0x000000018a1f25d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018a1f01ec __CFRunLoopRun + 1132
4 CoreFoundation 0x000000018a11e2b8 CFRunLoopRunSpecific + 444
5 Foundation 0x000000018ac5b26c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x000000018ac7bdd0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7 UIKit 0x0000000190ad2c38 -[UIEventFetcher threadMain] + 136
8 Foundation 0x000000018ad58e68 __NSThread__start__ + 1024
9 libsystem_pthread.dylib 0x00000001892d9850 _pthread_body + 240
10 libsystem_pthread.dylib 0x00000001892d9760 _pthread_body + 0
11 libsystem_pthread.dylib 0x00000001892d6d94 thread_start + 4
Thread 2 name: GAIThread
Thread 2:
0 libsystem_kernel.dylib 0x00000001891f5188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001891f4ff8 mach_msg + 72
2 CoreFoundation 0x000000018a1f25d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018a1f01ec __CFRunLoopRun + 1132
4 CoreFoundation 0x000000018a11e2b8 CFRunLoopRunSpecific + 444
5 Foundation 0x000000018ac5b26c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x000000018acafaa0 -[NSRunLoop(NSRunLoop) run] + 88
7 reFlash 0x00000001000afe0c 0x10006c000 + 278028
8 Foundation 0x000000018ad58e68 __NSThread__start__ + 1024
9 libsystem_pthread.dylib 0x00000001892d9850 _pthread_body + 240
10 libsystem_pthread.dylib 0x00000001892d9760 _pthread_body + 0
11 libsystem_pthread.dylib 0x00000001892d6d94 thread_start + 4
Thread 3 Crashed:
0 libsystem_kernel.dylib 0x0000000189213014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001892db450 pthread_kill + 112
2 libsystem_c.dylib 0x0000000189187400 abort + 140
3 libc++abi.dylib 0x0000000188c512d4 __cxa_bad_cast + 0
4 libc++abi.dylib 0x0000000188c6b688 std::__terminate(void (*)()) + 44
5 libc++abi.dylib 0x0000000188c6b234 __cxa_rethrow + 144
6 libobjc.A.dylib 0x0000000188c7c71c objc_exception_rethrow + 44
7 CoreFoundation 0x000000018a11e32c CFRunLoopRunSpecific + 560
8 Foundation 0x000000018ac5b26c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
9 Foundation 0x000000018acafaa0 -[NSRunLoop(NSRunLoop) run] + 88
10 reFlash 0x0000000100088d88 0x10006c000 + 118152
11 Foundation 0x000000018ad58e68 __NSThread__start__ + 1024
12 libsystem_pthread.dylib 0x00000001892d9850 _pthread_body + 240
13 libsystem_pthread.dylib 0x00000001892d9760 _pthread_body + 0
14 libsystem_pthread.dylib 0x00000001892d6d94 thread_start + 4
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x000000018921323c __select + 8
1 CoreFoundation 0x000000018a1f9468 __CFSocketManager + 640
2 libsystem_pthread.dylib 0x00000001892d9850 _pthread_body + 240
3 libsystem_pthread.dylib 0x00000001892d9760 _pthread_body + 0
4 libsystem_pthread.dylib 0x00000001892d6d94 thread_start + 4
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x00000001891f5188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001891f4ff8 mach_msg + 72
2 CoreFoundation 0x000000018a1f25d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018a1f01ec __CFRunLoopRun + 1132
4 CoreFoundation 0x000000018a11e2b8 CFRunLoopRunSpecific + 444
5 CFNetwork 0x000000018a923a70 +[NSURLConnection(Loader) _resourceLoadLoop:] + 336
6 Foundation 0x000000018ad58e68 __NSThread__start__ + 1024
7 libsystem_pthread.dylib 0x00000001892d9850 _pthread_body + 240
8 libsystem_pthread.dylib 0x00000001892d9760 _pthread_body + 0
9 libsystem_pthread.dylib 0x00000001892d6d94 thread_start + 4
Thread 6:
0 libsystem_pthread.dylib 0x00000001892d6d88 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x00000001892d6d88 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x00000001892d6d88 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x00000001892d6d88 start_wqthread + 0
Thread 3 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001700fb4b1
x4: 0x0000000188c6f963 x5: 0x000000016e292ab0 x6: 0x000000000000006e x7: 0x0000000000000340
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x0000000000000031 x11: 0xffffffffffffffff
x12: 0x000000018919e772 x13: 0x0000000000000000 x14: 0x0000030000000300 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x0000000188c96d54 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x000000016e293000 x21: 0x000000016e292ab0 x22: 0x00000001af2bcbb8 x23: 0x0000000000000001
x24: 0x0000000170018750 x25: 0x0000000000000000 x26: 0x0000000000000001 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016e292a10 lr: 0x00000001892db450
sp: 0x000000016e2929f0 pc: 0x0000000189213014 cpsr: 0x00000000

Related

Unable to find the cause of crash-Exception Type: EXC_BREAKPOINT (SIGTRAP)

I would be so appreciated if anybody could spend their time to help me!!!
What I am facing now
I was trying to present an view controller from extension and the app crashed without leading me the line of error code.
What I tried:
I Added many breakpoints, found that if I don't present the table view controller to show the correct info, no crash. But after the presentation, after the info is loaded rightly in the table, seconds later, crash happens.
What I can provide:
I can provide the full crash report:
Incident Identifier: 03B53A6D-E069-4C4B-98C0-CB61C8C1A688
CrashReporter Key: 1dd64f8867f0eda63dfc5248be178fbebdd71653
Hardware Model: iPhone9,2
Process: EverykeyAutofillExtension [98811]
Path: /private/var/containers/Bundle/Application/63F02B78-71D9-405B-AC3F-314868CA262D/Privacy.app/PlugIns/PrivacyExtension.appex/EverykeyAutofillExtension
Identifier: comPrivacy.ios.PrivacyAutofillExtension
Version: 12 (2.4.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.Privacy.ios.PrivacyAutofillExtension [24965]
Date/Time: 2020-08-26 14:20:40.7959 -0400
Launch Time: 2020-08-26 14:20:03.4675 -0400
OS Version: iPhone OS 13.5.1 (17F80)
Release Type: User
Baseband Version: 7.60.01
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000019819e9d0
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [98811]
Triggered by Thread: 1
Last Exception Backtrace:
0 CoreFoundation 0x19853d794 __exceptionPreprocess + 224
1 libobjc.A.dylib 0x19825fbcc objc_exception_throw + 55
2 Foundation 0x198a151fc _AssertAutolayoutOnAllowedThreadsOnly + 419
3 Foundation 0x19882207c -[NSISEngine _optimizeWithoutRebuilding] + 67
4 Foundation 0x198821f98 -[NSISEngine optimize] + 111
5 Foundation 0x198821c0c -[NSISEngine performPendingChangeNotifications] + 111
6 UIKitCore 0x19ca97e88 -[UIView+ 15605384 (CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 171
7 UIKitCore 0x19ca988c4 -[UIView+ 15608004 (CALayerDelegate) layoutSublayersOfLayer:] + 2247
8 QuartzCore 0x19f02b724 -[CALayer layoutSublayers] + 283
9 QuartzCore 0x19f03187c CA::Layer::layout_if_needed+ 1407100 (CA::Transaction*) + 467
10 QuartzCore 0x19f03c3c0 CA::Layer::layout_and_display_if_needed+ 1450944 (CA::Transaction*) + 139
11 QuartzCore 0x19ef84f1c CA::Context::commit_transaction+ 700188 (CA::Transaction*, double) + 295
12 QuartzCore 0x19efae8bc CA::Transaction::commit+ 870588 () + 675
13 QuartzCore 0x19efaf85c CA::Transaction::release_thread+ 874588 (void*) + 227
14 libsystem_pthread.dylib 0x198256f8c _pthread_tsd_cleanup + 579
15 libsystem_pthread.dylib 0x198253df4 _pthread_exit + 79
16 libsystem_pthread.dylib 0x198254e64 _pthread_wqthread_exit + 95
17 libsystem_pthread.dylib 0x198254c04 _pthread_wqthread + 415
18 libsystem_pthread.dylib 0x198257740 start_wqthread + 7
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 GraphicsServices 0x00000001a260038c GSEventRunModal + 160
6 UIKitCore 0x000000019c5e4444 UIApplicationMain + 1932
7 libxpc.dylib 0x00000001981218fc _xpc_objc_main.cold.3 + 208
8 libxpc.dylib 0x000000019810d4f0 _xpc_objc_main + 212
9 libxpc.dylib 0x000000019810fb4c xpc_main + 148
10 Foundation 0x0000000198834534 +[NSXPCListener serviceListener] + 0
11 PlugInKit 0x00000001a599fd50 0x1a5989000 + 93520
12 PlugInKit 0x00000001a599fa68 0x1a5989000 + 92776
13 PlugInKit 0x00000001a59a015c 0x1a5989000 + 94556
14 Foundation 0x0000000198a0d2c0 NSExtensionMain + 64
15 libdyld.dylib 0x000000019833d8f0 start + 4
Thread 1 Crashed:
0 libsystem_c.dylib 0x000000019819e9d0 __abort + 144
1 libsystem_c.dylib 0x000000019819e9d0 __abort + 144
2 libsystem_c.dylib 0x000000019819e940 __abort + 0
3 libc++abi.dylib 0x0000000198306cc0 __cxxabiv1::__aligned_malloc_with_fallback+ 76992 (unsigned long) + 0
4 libc++abi.dylib 0x00000001982f8e10 demangling_unexpected_handler+ 19984 () + 0
5 libobjc.A.dylib 0x000000019825fe80 _objc_terminate+ 24192 () + 124
6 libc++abi.dylib 0x000000019830614c std::__terminate(void (*)+ 74060 ()) + 16
7 libc++abi.dylib 0x0000000198308bd8 __cxa_get_exception_ptr + 0
8 libc++abi.dylib 0x0000000198308b98 __cxxabiv1::exception_cleanup_func+ 84888 (_Unwind_Reason_Code, _Unwind_Exception*) + 0
9 libobjc.A.dylib 0x000000019825fcf8 _objc_exception_destructor+ 23800 (void*) + 0
10 Foundation 0x0000000198a151fc -[NSISEngine tryToOptimizeReturningMutuallyExclusiveConstraints] + 0
11 Foundation 0x000000019882207c -[NSISEngine _optimizeWithoutRebuilding] + 68
12 Foundation 0x0000000198821f98 -[NSISEngine optimize] + 112
13 Foundation 0x0000000198821c0c -[NSISEngine performPendingChangeNotifications] + 112
14 UIKitCore 0x000000019ca97e88 -[UIView+ 15605384 (CALayerDelegate) _wantsReapplicationOfAutoLayoutWithLayoutDirtyOnEntry:] + 172
15 UIKitCore 0x000000019ca988c4 -[UIView+ 15608004 (CALayerDelegate) layoutSublayersOfLayer:] + 2248
16 QuartzCore 0x000000019f02b724 -[CALayer layoutSublayers] + 284
17 QuartzCore 0x000000019f03187c CA::Layer::layout_if_needed+ 1407100 (CA::Transaction*) + 468
18 QuartzCore 0x000000019f03c3c0 CA::Layer::layout_and_display_if_needed+ 1450944 (CA::Transaction*) + 140
19 QuartzCore 0x000000019ef84f1c CA::Context::commit_transaction+ 700188 (CA::Transaction*, double) + 296
20 QuartzCore 0x000000019efae8bc CA::Transaction::commit+ 870588 () + 676
21 QuartzCore 0x000000019efaf85c CA::Transaction::release_thread+ 874588 (void*) + 228
22 libsystem_pthread.dylib 0x0000000198256f8c _pthread_tsd_cleanup + 580
23 libsystem_pthread.dylib 0x0000000198253df4 _pthread_exit + 80
24 libsystem_pthread.dylib 0x0000000198254e64 _pthread_wqthread_legacy_worker_wrap + 0
25 libsystem_pthread.dylib 0x0000000198254c04 _pthread_wqthread + 416
26 libsystem_pthread.dylib 0x0000000198257740 start_wqthread + 8
Thread 2 name: com.apple.uikit.eventfetch-thread
Thread 2:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 Foundation 0x00000001987f901c -[NSRunLoop+ 32796 (NSRunLoop) runMode:beforeDate:] + 228
6 Foundation 0x00000001987f8efc -[NSRunLoop+ 32508 (NSRunLoop) runUntilDate:] + 88
7 UIKitCore 0x000000019c6875dc -[UIEventFetcher threadMain] + 152
8 Foundation 0x0000000198927e20 __NSThread__start__ + 848
9 libsystem_pthread.dylib 0x0000000198253d98 _pthread_start + 156
10 libsystem_pthread.dylib 0x000000019825774c thread_start + 8
Thread 3:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x0000000198311198 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000019831060c mach_msg + 72
2 CoreFoundation 0x00000001984bb468 __CFRunLoopServiceMachPort + 148
3 CoreFoundation 0x00000001984b649c __CFRunLoopRun + 1160
4 CoreFoundation 0x00000001984b5ce8 CFRunLoopRunSpecific + 424
5 CFNetwork 0x000000019b776894 0x19b775000 + 6292
6 Foundation 0x0000000198927e20 __NSThread__start__ + 848
7 libsystem_pthread.dylib 0x0000000198253d98 _pthread_start + 156
8 libsystem_pthread.dylib 0x000000019825774c thread_start + 8
Thread 5:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x0000000198257738 start_wqthread + 0
Thread 1 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000001
x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x00000000ffffffe7 x9: 0x00000001e565b228 x10: 0x00000000000003e8 x11: 0x000000000000000b
x12: 0x00000001d388d080 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000007
x16: 0x0000000000000030 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x000000016fa62b58
x20: 0x00000001e2581810 x21: 0x000000016fa62c10 x22: 0x0000000281b4ce40 x23: 0x00000001d3b33000
x24: 0x0000000000000001 x25: 0x0000000000000068 x26: 0x000000000000009c x27: 0x0000000000000068
x28: 0x000000002b310019 fp: 0x000000016fa62b70 lr: 0x000000019819e9d0
sp: 0x000000016fa62b40 pc: 0x000000019819e9d0 cpsr: 0x40000000
esr: 0xf2000001 Address size fault
Look, Your app crashed at:
Triggered by Thread: 1
and use
[CALayer layoutSublayers]
looks like, You're updating UI not in main thread somewhere
Whenever you see something like this
1 libobjc.A.dylib 0x19825fbcc objc_exception_throw + 55
You should go to the breakpoints tab in Xcode, click the + button, then Exception Breakpoint...
This will create a breakpoint called "All Objective-C exceptions". This will pause the debugger at the moment the exception is thrown, letting you see the exact misuse of Apple's API that is causing the exception.

iOS Crash on Splash Screen on Return from Another App

My app opens up another app and crashes on the splash screen when the user returns to my app.
I haven't been able to replicate the issue and have gone through the debug logs to no avail so far. I think the crash relates to application:openURL:options in App Delegate.
Any ideas?
Here's my code for that method:
-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options {
NSString *string = [options objectForKey:UIApplicationOpenURLOptionsSourceApplicationKey];
if (string && [string hasPrefix:#"com.squareup.square"]) {
PFObject *parseOrder = self.dataManager.parseOrderObject;
if (parseOrder && url && options) {
[self.dataExtraction squareUploadSuccessfulPaymentHelperWithParseOrder:parseOrder
URL:url
options:options];
}
return YES;
}
return NO;
}
Here are the logs:
Incident Identifier: 4506A316-557A-4E89-9A24-3A48AB167EE4
CrashReporter Key: ba26439f76bc207f8db936b344220e545a0b368d
Hardware Model: iPad5,4
Process: APPNAME [974]
Path: /private/var/containers/Bundle/Application/8810679A-29AB-41E1-8A9D-B08D1C68B72B/APPNAME.app/APPNAME
Identifier: com.NAME.APPNAME
Version: 1 (1.47)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.NAME.APPNAME [815]
Date/Time: 2018-03-07 14:45:27.1669 -0500
Launch Time: 2018-03-07 14:45:26.2575 -0500
OS Version: iPhone OS 10.1.1 (14B100)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x187a821c0 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x1864bc55c objc_exception_throw + 55
2 CoreFoundation 0x187961600 -[__NSPlaceholderArray initWithObjects:count:] + 311
3 CoreFoundation 0x18796d38c +[NSArray arrayWithObjects:count:] + 51
4 Parse 0x10071823c 0x100690000 + 557628
5 APPNAME 0x100149ae4 0x1000d4000 + 482020
6 APPNAME 0x100148e64 0x1000d4000 + 478820
7 APPNAME 0x10014827c 0x1000d4000 + 475772
8 APPNAME 0x1001ab4fc 0x1000d4000 + 881916
9 UIKit 0x18db663a4 __45-[UIApplication _applicationOpenURL:payload:]_block_invoke + 751
10 UIKit 0x18db65e30 -[UIApplication _applicationOpenURL:payload:] + 655
11 UIKit 0x18db58ba8 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4371
12 UIKit 0x18db5e5c8 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1655
13 UIKit 0x18db72e60 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke.3137 + 47
14 UIKit 0x18db5b5ac -[UIApplication workspaceDidEndTransaction:] + 167
15 FrontBoardServices 0x1896298bc __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 35
16 FrontBoardServices 0x189629728 -[FBSSerialQueue _performNext] + 175
17 FrontBoardServices 0x189629ad0 -[FBSSerialQueue _performNextFromRunLoopSource] + 55
18 CoreFoundation 0x187a30278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 23
19 CoreFoundation 0x187a2fbc0 __CFRunLoopDoSources0 + 523
20 CoreFoundation 0x187a2d7c0 __CFRunLoopRun + 803
21 CoreFoundation 0x18795c048 CFRunLoopRunSpecific + 443
22 UIKit 0x18d9412b0 -[UIApplication _run] + 607
23 UIKit 0x18d93c034 UIApplicationMain + 207
24 APPNAME 0x1001b809c 0x1000d4000 + 934044
25 libdyld.dylib 0x1869405b8 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000186a52014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000186b1a450 pthread_kill + 112
2 libsystem_c.dylib 0x00000001869c63e0 abort + 140
3 libc++abi.dylib 0x00000001864912d4 __cxa_bad_cast + 0
4 libc++abi.dylib 0x00000001864aecc0 default_unexpected_handler+ 126144 () + 0
5 libobjc.A.dylib 0x00000001864bc844 _objc_terminate+ 34884 () + 124
6 libc++abi.dylib 0x00000001864ab66c std::__terminate(void (*)+ 112236 ()) + 16
7 libc++abi.dylib 0x00000001864ab234 __cxa_rethrow + 144
8 libobjc.A.dylib 0x00000001864bc71c objc_exception_rethrow + 44
9 CoreFoundation 0x000000018795c0bc CFRunLoopRunSpecific + 560
10 UIKit 0x000000018d9412b0 -[UIApplication _run] + 608
11 UIKit 0x000000018d93c034 UIApplicationMain + 208
12 APPNAME 0x00000001001b809c 0x1000d4000 + 934044
13 libdyld.dylib 0x00000001869405b8 start + 4
Thread 1:
0 libsystem_kernel.dylib 0x0000000186a52a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000186b1635c _pthread_wqthread + 1452
2 libsystem_pthread.dylib 0x0000000186b15da4 start_wqthread + 4
Thread 2:
0 libsystem_kernel.dylib 0x0000000186a52a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000186b1635c _pthread_wqthread + 1452
2 libsystem_pthread.dylib 0x0000000186b15da4 start_wqthread + 4
Thread 3:
0 libsystem_pthread.dylib 0x0000000186b15da0 start_wqthread + 0
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x0000000186a3416c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000186a33fdc mach_msg + 72
2 CoreFoundation 0x0000000187a2fcec __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x0000000187a2d908 __CFRunLoopRun + 1132
4 CoreFoundation 0x000000018795c048 CFRunLoopRunSpecific + 444
5 CFNetwork 0x000000018814dfd0 +[NSURLConnection+ 847824 (Loader) _resourceLoadLoop:] + 336
6 Foundation 0x000000018856b47c __NSThread__start__ + 1024
7 libsystem_pthread.dylib 0x0000000186b18850 _pthread_body + 240
8 libsystem_pthread.dylib 0x0000000186b18760 _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000186b15dac thread_start + 4
Thread 5:
0 libsystem_pthread.dylib 0x0000000186b15da0 start_wqthread + 0
Thread 6 name: Dispatch queue: com.parse.PFCommandCache.processing
Thread 6:
0 libsystem_kernel.dylib 0x0000000186a51e1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000186b179c0 _pthread_cond_wait + 640
2 Foundation 0x00000001884be590 -[NSCondition wait] + 240
3 Bolts 0x0000000100498218 0x100484000 + 82456
4 Parse 0x0000000100698b1c 0x100690000 + 35612
5 Parse 0x0000000100698ad4 0x100690000 + 35540
6 Parse 0x00000001006cedc8 0x100690000 + 257480
7 Parse 0x00000001006ce930 0x100690000 + 256304
8 Parse 0x00000001006ce4d0 0x100690000 + 255184
9 libdispatch.dylib 0x000000018690d1c0 _dispatch_client_callout + 16
10 libdispatch.dylib 0x000000018691a008 _dispatch_continuation_pop + 576
11 libdispatch.dylib 0x0000000186926648 _dispatch_source_latch_and_call + 204
12 libdispatch.dylib 0x000000018690f164 _dispatch_source_invoke + 820
13 libdispatch.dylib 0x000000018691b278 _dispatch_queue_serial_drain + 468
14 libdispatch.dylib 0x00000001869109a8 _dispatch_queue_invoke + 652
15 libdispatch.dylib 0x000000018691d38c _dispatch_root_queue_drain + 572
16 libdispatch.dylib 0x000000018691d0ec _dispatch_worker_thread3 + 124
17 libsystem_pthread.dylib 0x0000000186b162b8 _pthread_wqthread + 1288
18 libsystem_pthread.dylib 0x0000000186b15da4 start_wqthread + 4
Thread 7 name: com.apple.uikit.eventfetch-thread
Thread 7:
0 libsystem_kernel.dylib 0x0000000186a3416c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000186a33fdc mach_msg + 72
2 CoreFoundation 0x0000000187a2fcec __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x0000000187a2d908 __CFRunLoopRun + 1132
4 CoreFoundation 0x000000018795c048 CFRunLoopRunSpecific + 444
5 Foundation 0x000000018846da8c -[NSRunLoop+ 51852 (NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x000000018848e57c -[NSRunLoop+ 185724 (NSRunLoop) runUntilDate:] + 96
7 UIKit 0x000000018e2b6a2c -[UIEventFetcher threadMain] + 136
8 Foundation 0x000000018856b47c __NSThread__start__ + 1024
9 libsystem_pthread.dylib 0x0000000186b18850 _pthread_body + 240
10 libsystem_pthread.dylib 0x0000000186b18760 _pthread_body + 0
11 libsystem_pthread.dylib 0x0000000186b15dac thread_start + 4
Thread 8:
0 libsystem_pthread.dylib 0x0000000186b15da0 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x0000000186b15da0 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001700f6437
x4: 0x00000001864afbc3 x5: 0x000000016fd2b580 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x000000000000000b x11: 0x0000000000000010
x12: 0x00000001869dd772 x13: 0x0000000000000000 x14: 0x0000030000000300 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x00000001ac2cfc40 x21: 0x000000016fd2b580 x22: 0x00000001ac2d6bb8 x23: 0x0000000000000001
x24: 0x000000017001aad0 x25: 0x0000000000000000 x26: 0x0000000000000001 x27: 0x0000000000000000
x28: 0x000000016fd2bbd8 fp: 0x000000016fd2b4e0 lr: 0x0000000186b1a450
sp: 0x000000016fd2b4c0 pc: 0x0000000186a52014 cpsr: 0x00000000

Interpretation of iOS crash log with -[UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:]

My submission to the App Store was rejected due to a crash. However, I am unable to reproduce the crash on multiple hardware devices and simulators. I've symbolicated the crash log, and it seems the issue is occurring in an area of code where the app is fetching some data from a server and closing a UIAlertController that notifies the user to "Please wait..." Below is the crash log.
Date/Time: 2017-05-06 00:27:06.7009 +0700
Launch Time: 2017-05-06 00:26:43.8793 +0700
OS Version: iPhone OS 10.3.1 (14E304)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 1
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x18c47efd8 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x18aee0538 objc_exception_throw + 56
2 CoreFoundation 0x18c47eeac +[NSException raise:format:arguments:] + 104
3 Foundation 0x18cf16710 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 UIKit 0x192823454 -[UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:] + 196
5 UIKit 0x192823514 -[UIApplication _systemAnimationFenceCreatingIfNecessary:] + 24
6 UIKit 0x19287c7a0 +[UIWindow _synchronizedDrawingFence] + 116
7 UIKit 0x192a3a150 +[_UIKeyboardChangedInformation informationForKeyboardUp:withIAV:] + 104
8 UIKit 0x192d338d4 -[_UIRemoteKeyboards prepareToMoveKeyboard:withIAV:showing:forScreen:] + 464
9 UIKit 0x19266bc04 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 820
10 UIKit 0x192688cf4 -[UIPeripheralHost(UIKitInternal) _restoreInputViewsWithId:animated:] + 584
11 UIKit 0x19291bd64 -[UIViewController _restoreInputViewsForPresentation] + 280
12 UIKit 0x1928f6e3c -[UIPresentationController runTransitionForCurrentState] + 1560
13 UIKit 0x1928f50f8 -[UIPresentationController _dismissWithAnimationController:interactionController:target:didEndSelector:] + 764
14 UIKit 0x19291b8c0 -[UIViewController _dismissViewControllerWithAnimationController:interactionController:completion:] + 464
15 UIKit 0x1926d0cd4 -[UIViewController _dismissViewControllerWithTransition:from:completion:] + 600
16 UIKit 0x192678b6c -[UIViewController dismissViewControllerWithTransition:completion:] + 1144
17 UIKit 0x19267894c -[UIViewController dismissViewControllerWithTransition:completion:] + 600
18 UIKit 0x19291ab68 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 524
19 UIKit 0x1926786c0 -[UIViewController dismissViewControllerAnimated:completion:] + 152
20 DinokEtp 0x1001014c4 specialized ViewController.(downloadCaseTypesFile(workFlowVersionMobileShouleBeOn : Double, validateUserResponse : ValidateUserResponse) -> ()).(closure #1) (ViewController.swift:360)
21 DinokEtp 0x1000fd84c ViewController.(downloadCaseTypesFile(workFlowVersionMobileShouleBeOn : Double, validateUserResponse : ValidateUserResponse) -> ()).(closure #1) (ViewController.swift:0)
22 DinokEtp 0x100101b38 partial apply for ViewController.(downloadCaseTypesFile(workFlowVersionMobileShouleBeOn : Double, validateUserResponse : ValidateUserResponse) -> ()).(closure #1) (ViewController.swift:0)
23 CFNetwork 0x18ca89358 __85-[__NSURLSessionLocal downloadTaskForRequest:downloadFilePath:resumeData:completion:]_block_invoke + 32
24 CFNetwork 0x18caeb18c __50-[__NSCFLocalDownloadTask _private_fileCompletion]_block_invoke.321 + 84
25 Foundation 0x18cf4d804 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
26 Foundation 0x18ce92760 -[NSBlockOperation main] + 96
27 Foundation 0x18ce82b18 -[__NSOperationInternal _start:] + 612
28 Foundation 0x18cf4fba0 __NSOQSchedule_f + 228
29 libdispatch.dylib 0x18b3369a0 _dispatch_client_callout + 16
30 libdispatch.dylib 0x18b344ad4 _dispatch_queue_serial_drain + 928
31 libdispatch.dylib 0x18b33a2cc _dispatch_queue_invoke + 884
32 libdispatch.dylib 0x18b346a50 _dispatch_root_queue_drain + 540
33 libdispatch.dylib 0x18b3467d0 _dispatch_worker_thread3 + 124
34 libsystem_pthread.dylib 0x18b53f1d0 _pthread_wqthread + 1096
35 libsystem_pthread.dylib 0x18b53ed7c start_wqthread + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x000000018b45b224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018b45b09c mach_msg + 72
2 CoreFoundation 0x000000018c42ce88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018c42aadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018c35ad94 CFRunLoopRunSpecific + 424
5 GraphicsServices 0x000000018ddc4074 GSEventRunModal + 100
6 UIKit 0x000000019260c130 UIApplicationMain + 208
7 DinokEtp 0x00000001000654bc main (EMSCaseUpload.swift:14)
8 libdyld.dylib 0x000000018b36959c start + 4
Thread 1 name: Dispatch queue: NSOperationQueue 0x17003e2c0 :: NSOperation 0x17025e5d0 (QOS: DEFAULT)
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x000000018b479014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000018b543334 pthread_kill + 112
2 libsystem_c.dylib 0x000000018b3ed9c4 abort + 140
3 libc++abi.dylib 0x000000018aeb91b0 __cxa_bad_cast + 0
4 libc++abi.dylib 0x000000018aed2c04 default_unexpected_handler() + 0
5 libobjc.A.dylib 0x000000018aee0820 _objc_terminate() + 124
6 libc++abi.dylib 0x000000018aecf5d4 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x000000018aecf640 std::terminate() + 60
8 libdispatch.dylib 0x000000018b3369b4 _dispatch_client_callout + 36
9 libdispatch.dylib 0x000000018b344ad4 _dispatch_queue_serial_drain + 928
10 libdispatch.dylib 0x000000018b33a2cc _dispatch_queue_invoke + 884
11 libdispatch.dylib 0x000000018b346a50 _dispatch_root_queue_drain + 540
12 libdispatch.dylib 0x000000018b3467d0 _dispatch_worker_thread3 + 124
13 libsystem_pthread.dylib 0x000000018b53f1d0 _pthread_wqthread + 1096
14 libsystem_pthread.dylib 0x000000018b53ed7c start_wqthread + 4
Thread 2:
0 libsystem_pthread.dylib 0x000000018b53ed78 start_wqthread + 0
Thread 3 name: com.apple.uikit.eventfetch-thread
Thread 3:
0 libsystem_kernel.dylib 0x000000018b45b224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018b45b09c mach_msg + 72
2 CoreFoundation 0x000000018c42ce88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018c42aadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018c35ad94 CFRunLoopRunSpecific + 424
5 Foundation 0x000000018ce74d64 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x000000018ce95b34 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7 UIKit 0x0000000192f965f8 -[UIEventFetcher threadMain] + 136
8 Foundation 0x000000018cf722c8 __NSThread__start__ + 996
9 libsystem_pthread.dylib 0x000000018b54175c _pthread_body + 240
10 libsystem_pthread.dylib 0x000000018b54166c _pthread_body + 0
11 libsystem_pthread.dylib 0x000000018b53ed84 thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x000000018b479a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000018b53f274 _pthread_wqthread + 1260
2 libsystem_pthread.dylib 0x000000018b53ed7c start_wqthread + 4
Thread 5:
0 libsystem_pthread.dylib 0x000000018b53ed78 start_wqthread + 0
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x000000018b45b224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018b45b09c mach_msg + 72
2 CoreFoundation 0x000000018c42ce88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018c42aadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018c35ad94 CFRunLoopRunSpecific + 424
5 CFNetwork 0x000000018cb66ca4 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404
6 Foundation 0x000000018cf722c8 __NSThread__start__ + 996
7 libsystem_pthread.dylib 0x000000018b54175c _pthread_body + 240
8 libsystem_pthread.dylib 0x000000018b54166c _pthread_body + 0
9 libsystem_pthread.dylib 0x000000018b53ed84 thread_start + 4
Thread 1 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001700f8c37
x4: 0x000000018aed3b07 x5: 0x000000016de9a850 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x000000000c000000 x9: 0x0000000004000000 x10: 0x000000000000000b x11: 0x000000000000000b
x12: 0x0000000000000010 x13: 0x000000018c6c9c0e x14: 0x0000030000000300 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x000000016de9b000 x21: 0x000000016de9a850 x22: 0x00000001700ff380 x23: 0x0000000000000004
x24: 0x00000001b1ebd400 x25: 0x0000000000000000 x26: 0x00000001b1ebd400 x27: 0x000000016de9b0e0
x28: 0x0000000000000000 fp: 0x000000016de9a7b0 lr: 0x000000018b543334
sp: 0x000000016de9a790 pc: 0x000000018b479014 cpsr: 0x00000000
I would recommend double checking that you are not interacting with that UIAlertController (or any other UIKit API) outside the main thread (aka, Thread 0 above). Many UIKit APIs are designed to be used only from the main thread.
Worth noting that the crash happened on Thread 1…
If you are in doubt, wrap the call with:
DispatchQueue.main.async {
// Call UIAlertController code here...
}

Crash EXC_CRASH (SIGABRT) on iOS 8.4

I have a crash that only occurs on Apple review: when they try to login the app crashes.
I tested it with real iPhones in test environment and in Ad-hoc several times and the crash never occurred before.
After the review I made some research and I found some similar things and I have been trying out but I can't event simulate the same issue here (I also tried to change Xcode debug to release and he crash does not happen).
Here is what they said it happened at the review:
Upon further review and a fresh install of your app we continue to
find that your app crashed on an iPad running iOS 8.4 and iPhone
running iOS 8.4 when we:
1. Launch App
2. Input provided demo account credentials
3. Tap "Login"
4. Application crashes.
Here is the symbolicated log:
Last Exception Backtrace:
0 CoreFoundation 0x1820ac2d8 __exceptionPreprocess + 132
1 libobjc.A.dylib 0x193c7c0e4 objc_exception_throw + 60
2 CoreFoundation 0x1820ac198 +[NSException raise:format:arguments:] + 116
3 Foundation 0x182f60ed4 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 UIKit 0x186b4f1e0 -[UIKeyboardTaskQueue waitUntilAllTasksAreFinished] + 184
5 UIKit 0x186b4f8c8 -[UIKeyboardImpl setDelegate:force:] + 636
6 UIKit 0x186b48b3c -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 1212
7 UIKit 0x186c2709c -[UIResponder _finishResignFirstResponder] + 184
8 UIKit 0x187277730 -[UITextField _finishResignFirstResponder] + 56
9 UIKit 0x186bced5c -[UIResponder resignFirstResponder] + 320
10 UIKit 0x186c508bc -[UITextField resignFirstResponder] + 124
11 UIKit 0x186d4b170 -[UITextField _setEnabled:animated:] + 128
12 PioNET 0x100051110 -[LoginViewController startLogging] (LoginViewController.m:667)
13 Foundation 0x182faddb8 __NSThread__main__ + 1072
14 libsystem_pthread.dylib 0x1944dbdc8 _pthread_body + 164
15 libsystem_pthread.dylib 0x1944dbd24 _pthread_start + 160
16 libsystem_pthread.dylib 0x1944d8ef8 thread_start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 PioNET 0x00000001000e3274 +[AFNetworkReachabilityManager sharedManager] (AFNetworkReachabilityManager.m:113)
1 PioNET 0x00000001000dee9c +[AFHTTPRequestOperationManager manager] (AFHTTPRequestOperationManager.m:41)
2 PioNET 0x000000010004db98 -[LoginViewController authentication:andPassword:] (LoginViewController.m:247)
3 PioNET 0x0000000100050cfc -[LoginViewController loginProcess:andPassword:] (LoginViewController.m:641)
4 PioNET 0x00000001000514b4 -[LoginViewController login:] (LoginViewController.m:692)
5 UIKit 0x0000000186b59394 -[UIApplication sendAction:to:from:forEvent:] + 92
6 UIKit 0x0000000186b42470 -[UIControl _sendActionsForEvents:withEvent:] + 608
7 UIKit 0x0000000186b58d30 -[UIControl touchesEnded:withEvent:] + 588
8 UIKit 0x0000000186b589bc -[UIWindow _sendTouchesForEvent:] + 696
9 UIKit 0x0000000186b51ef8 -[UIWindow sendEvent:] + 680
10 UIKit 0x0000000186b2511c -[UIApplication sendEvent:] + 260
11 UIKit 0x0000000186dc62b4 _UIApplicationHandleEventFromQueueEvent + 15420
12 UIKit 0x0000000186b23630 _UIApplicationHandleEventQueue + 1712
13 CoreFoundation 0x000000018206423c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
14 CoreFoundation 0x00000001820634e0 __CFRunLoopDoSources0 + 260
15 CoreFoundation 0x0000000182061590 __CFRunLoopRun + 708
16 CoreFoundation 0x0000000181f8d2d0 CFRunLoopRunSpecific + 392
17 GraphicsServices 0x000000018b8bb6f8 GSEventRunModal + 164
18 UIKit 0x0000000186b8af3c UIApplicationMain + 1484
19 PioNET 0x00000001000709b0 main (main.m:14)
20 libdyld.dylib 0x0000000194326a04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000194424c24 kevent64 + 8
1 libdispatch.dylib 0x0000000194309e6c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x00000001942fb998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 7 name: com.apple.NSURLConnectionLoader
Thread 7:
0 libsystem_kernel.dylib 0x0000000194424e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000194424c84 mach_msg + 68
2 CoreFoundation 0x0000000182063720 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182061674 __CFRunLoopRun + 936
4 CoreFoundation 0x0000000181f8d2d0 CFRunLoopRunSpecific + 392
5 CFNetwork 0x0000000181a6a590 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
6 Foundation 0x0000000182faddb4 __NSThread__main__ + 1068
7 libsystem_pthread.dylib 0x00000001944dbdc4 _pthread_body + 160
8 libsystem_pthread.dylib 0x00000001944dbd20 _pthread_start + 156
9 libsystem_pthread.dylib 0x00000001944d8ef4 thread_start + 0
Thread 8 name: com.apple.CFSocket.private
Thread 8:
0 libsystem_kernel.dylib 0x000000019443f498 __select + 8
1 CoreFoundation 0x0000000182069124 __CFSocketManager + 668
2 libsystem_pthread.dylib 0x00000001944dbdc4 _pthread_body + 160
3 libsystem_pthread.dylib 0x00000001944dbd20 _pthread_start + 156
4 libsystem_pthread.dylib 0x00000001944d8ef4 thread_start + 0
Thread 9:
0 libsystem_kernel.dylib 0x0000000194424e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000194424c84 mach_msg + 68
2 CoreFoundation 0x0000000182063720 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182061674 __CFRunLoopRun + 936
4 CoreFoundation 0x0000000181f8d2d0 CFRunLoopRunSpecific + 392
5 CoreFoundation 0x0000000181fdf358 CFRunLoopRun + 108
6 CoreMotion 0x00000001829982b8 0x182950000 + 295608
7 libsystem_pthread.dylib 0x00000001944dbdc4 _pthread_body + 160
8 libsystem_pthread.dylib 0x00000001944dbd20 _pthread_start + 156
9 libsystem_pthread.dylib 0x00000001944d8ef4 thread_start + 0
Thread 10 Crashed:
0 libsystem_kernel.dylib 0x000000019443f270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001944dd16c pthread_kill + 108
2 libsystem_c.dylib 0x00000001943b6b14 abort + 108
3 libc++abi.dylib 0x0000000193449414 abort_message + 112
4 libc++abi.dylib 0x0000000193468b88 default_terminate_handler() + 300
5 libobjc.A.dylib 0x0000000193c7c3bc _objc_terminate() + 124
6 libc++abi.dylib 0x0000000193465bb0 std::__terminate(void (*)()) + 12
7 libc++abi.dylib 0x0000000193465474 __cxa_throw + 132
8 libobjc.A.dylib 0x0000000193c7c200 objc_exception_throw + 344
9 CoreFoundation 0x00000001820ac194 +[NSException raise:format:arguments:] + 112
10 Foundation 0x0000000182f60ed0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 108
11 UIKit 0x0000000186b4f1dc -[UIKeyboardTaskQueue waitUntilAllTasksAreFinished] + 180
12 UIKit 0x0000000186b4f8c4 -[UIKeyboardImpl setDelegate:force:] + 632
13 UIKit 0x0000000186b48b38 -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 1208
14 UIKit 0x0000000186c27098 -[UIResponder _finishResignFirstResponder] + 180
15 UIKit 0x000000018727772c -[UITextField _finishResignFirstResponder] + 52
16 UIKit 0x0000000186bced58 -[UIResponder resignFirstResponder] + 316
17 UIKit 0x0000000186c508b8 -[UITextField resignFirstResponder] + 120
18 UIKit 0x0000000186d4b16c -[UITextField _setEnabled:animated:] + 124
19 PioNET 0x000000010005110c -[LoginViewController startLogging] (LoginViewController.m:667)
20 Foundation 0x0000000182faddb4 __NSThread__main__ + 1068
21 libsystem_pthread.dylib 0x00000001944dbdc4 _pthread_body + 160
22 libsystem_pthread.dylib 0x00000001944dbd20 _pthread_start + 156
23 libsystem_pthread.dylib 0x00000001944d8ef4 thread_start + 0
Thread 10 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001700ed0b7
x4: 0x0000000193469dfd x5: 0x0000000105476460 x6: 0x000000000000006e x7: 0x0000000000000fa0
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x0000000000000200 x11: 0x0000000000000000
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000002 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000105478000 x21: 0x00000001983f1ce8 x22: 0x0000000170010360 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x0000000187316681 x27: 0x0000000194c08000
x28: 0x0000000000000110 fp: 0x00000001054763c0 lr: 0x00000001944dd170
sp: 0x00000001054763a0 pc: 0x000000019443f270 cpsr: 0x00000000
Do you use some third party control? It's not rare some controls crash when compiled for release.
You can try to turn off the code optimizations for the release build and test if it crashes.
Looks like it crashed at
0 PioNET 0x00000001000e3274 +[AFNetworkReachabilityManager sharedManager] (AFNetworkReachabilityManager.m:113)
That class, AFNetworkReachabilityManager, has something to do with if the network is reachable or not. Have you tried testing your application under different network situations, like no internet or poor internet connectivity? That might be where they're seeing the crash.

iOS 8 crash log (AVPlayer)

I am unable to diagnose this crash log, which occurs when using the AVPlayer class-- sometimes it happens right away, and sometimes it happens when trying to play the 2nd or 3rd video..
Incident Identifier: 4E82E665-228D-4A97-8B85-6F5B65E2B457
CrashReporter Key: 46be3f0cd4d380b2ce08823fedd6d6d22c38df2f
Hardware Model: iPad4,2
Process: App [2433]
Path: /private/var/mobile/Containers/Bundle/Application/66E1EFE7-1BD0-4CE3-8FEF-47D58C36ADF7/App.app/App
Identifier: SXX.app
Version: 1.3 (1.3)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-03-31 15:59:07.361 -0700
Launch Time: 2015-03-31 15:57:50.272 -0700
OS Version: iOS 8.2 (12D508)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 6
Last Exception Backtrace:
0 CoreFoundation 0x18530a530 __exceptionPreprocess + 132
1 libobjc.A.dylib 0x1964280e4 objc_exception_throw + 60
2 CoreFoundation 0x18530a470 +[NSException raise:format:] + 128
3 Foundation 0x1861865e0 NSKVODeallocate + 340
4 AVFoundation 0x183b27b38 __destroy_helper_block_1474 + 28
5 libsystem_blocks.dylib 0x196ad1910 _Block_release + 256
6 libdispatch.dylib 0x196a79954 _dispatch_client_callout + 16
7 libdispatch.dylib 0x196a7e20c _dispatch_main_queue_callback_4CF + 1608
8 CoreFoundation 0x1852c22ec __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
9 CoreFoundation 0x1852c0394 __CFRunLoopRun + 1492
10 CoreFoundation 0x1851ed1f4 CFRunLoopRunSpecific + 396
11 GraphicsServices 0x18e51f6fc GSEventRunModal + 168
12 UIKit 0x189b7e10c UIApplicationMain + 1488
13 App 0x10001d4ac main (main.m:8)
14 libdyld.dylib 0x196aa6a08 start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000196bbf594 __semwait_signal_nocancel + 8
1 libsystem_c.dylib 0x0000000196aef1a0 nanosleep$NOCANCEL + 200
2 libsystem_c.dylib 0x0000000196b142b8 usleep$NOCANCEL + 64
3 libsystem_c.dylib 0x0000000196b36b1c abort + 116
4 App 0x0000000100042b50 uncaught_exception_handler + 32
5 CoreFoundation 0x000000018530a8ec __handleUncaughtException + 688
6 libobjc.A.dylib 0x00000001964283b0 _objc_terminate() + 112
7 libc++abi.dylib 0x0000000195c25bb0 std::__terminate(void (*)()) + 12
8 libc++abi.dylib 0x0000000195c25474 __cxa_throw + 132
9 libobjc.A.dylib 0x0000000196428200 objc_exception_throw + 344
10 CoreFoundation 0x000000018530a46c +[NSException raise:format:] + 124
11 Foundation 0x00000001861865dc NSKVODeallocate + 336
12 AVFoundation 0x0000000183b27b34 __destroy_helper_block_1474 + 24
13 libsystem_blocks.dylib 0x0000000196ad190c _Block_release + 252
14 libdispatch.dylib 0x0000000196a79950 _dispatch_client_callout + 12
15 libdispatch.dylib 0x0000000196a7e208 _dispatch_main_queue_callback_4CF + 1604
16 CoreFoundation 0x00000001852c22e8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
17 CoreFoundation 0x00000001852c0390 __CFRunLoopRun + 1488
18 CoreFoundation 0x00000001851ed1f0 CFRunLoopRunSpecific + 392
19 GraphicsServices 0x000000018e51f6f8 GSEventRunModal + 164
20 UIKit 0x0000000189b7e108 UIApplicationMain + 1484
21 App 0x000000010001d4a8 main (main.m:8)
22 libdyld.dylib 0x0000000196aa6a04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000196ba4c24 kevent64 + 8
1 libdispatch.dylib 0x0000000196a89e6c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000196a7b998 _dispatch_mgr_thread + 48
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x0000000196ba4e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000196ba4c84 mach_msg + 68
2 CoreFoundation 0x00000001852c2214 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x00000001852c0168 __CFRunLoopRun + 936
4 CoreFoundation 0x00000001851ed1f0 CFRunLoopRunSpecific + 392
5 CFNetwork 0x0000000184cee2a0 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
6 Foundation 0x0000000186202304 __NSThread__main__ + 1068
7 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
8 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
9 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x0000000196bbf498 __select + 8
1 CoreFoundation 0x00000001852c7c0c __CFSocketManager + 656
2 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
3 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
4 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 5 name: com.apple.coremedia.player.remote
Thread 5:
0 libsystem_kernel.dylib 0x0000000196ba4e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000196ba4c84 mach_msg + 68
2 MediaToolbox 0x00000001876efe7c FigExpressNotificationThread + 100
3 CoreMedia 0x0000000185b22028 figThreadMain + 244
4 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
5 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
6 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 6 Crashed:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 8 name: com.apple.coremedia.player.async
Thread 8:
0 libsystem_kernel.dylib 0x0000000196ba4e48 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000196a87f3c _dispatch_semaphore_wait_slow + 252
2 MediaToolbox 0x00000001876e95bc fpa_AsyncMovieControlThread + 1952
3 CoreMedia 0x0000000185b22028 figThreadMain + 244
4 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
5 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
6 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 9 name: com.apple.coremedia.player.async
Thread 9:
0 libsystem_kernel.dylib 0x0000000196ba4e48 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000196a87f3c _dispatch_semaphore_wait_slow + 252
2 MediaToolbox 0x00000001876e95bc fpa_AsyncMovieControlThread + 1952
3 CoreMedia 0x0000000185b22028 figThreadMain + 244
4 libsystem_pthread.dylib 0x0000000196c5bdc4 _pthread_body + 160
5 libsystem_pthread.dylib 0x0000000196c5bd20 _pthread_start + 156
6 libsystem_pthread.dylib 0x0000000196c58ef4 thread_start + 0
Thread 10:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 11:
0 libsystem_kernel.dylib 0x0000000196bbfc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000196c592d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000196c58eec start_wqthread + 0
Thread 6 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000004 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000002d1f x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x6800a3c4679d3eb0 x10: 0x0000000000000015 x11: 0x0000000000000000
x12: 0x000000012d0ea200 x13: 0x000000019ab850d8 x14: 0x0000000000000000 x15: 0x0000000000000001
x16: 0x0000000000000170 x17: 0x00000001964426b8 x18: 0x0000000000000000 x19: 0x000000010469c000
x20: 0x0000000000000009 x21: 0x00000000800002ff x22: 0x0000000000009f0f x23: 0x0000000000010000
x24: 0x000000019abab000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000010469bf70 lr: 0x0000000196c592dc
sp: 0x000000010469bf10 pc: 0x0000000196bbfc78 cpsr: 0x40000000
Crash logs like this can be unhelpful. The most likely culprit is a nil pointer somewhere in your code. You may have no option but to step through your code with a debugger making sure that all your variables have the values you expect them to have.

Resources