Swift 5 very random and hardly identifiable crashes - swift

My crash log from firebase unfortunately doesnt really help me finding a solution to my issue.
Crashed: com.apple.main-thread
0 MyApp 0x94d30 PostsAPI.loadNewestPosts(ordering:start:limit:onSuccess:) + 4306505008 (<compiler-generated>:4306505008)
1 MyApp 0x5f8ec OverviewVC.loadNewestPosts(more:) + 4306286828 (<compiler-generated>:4306286828)
2 MyApp 0x6393c partial apply for closure #2 in closure #1 in OverviewVC.loadNewestPosts(more:) + 4306303292 (<compiler-generated>:4306303292)
3 MyApp 0x74a94 thunk for #escaping #callee_guaranteed () -> () + 4306373268 (<compiler-generated>:4306373268)
4 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
5 libdispatch.dylib 0x6eec _dispatch_continuation_pop + 500
6 libdispatch.dylib 0x1a13c _dispatch_source_invoke + 1596
7 libdispatch.dylib 0x11e9c _dispatch_main_queue_drain + 756
8 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF + 44
9 CoreFoundation 0x51800 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
10 CoreFoundation 0xb704 __CFRunLoopRun + 2532
11 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
12 GraphicsServices 0x1374 GSEventRunModal + 164
13 UIKitCore 0x514b58 -[UIApplication _run] + 1100
14 UIKitCore 0x296090 UIApplicationMain + 364
15 MyApp 0x9a28 main + 20 (AppDelegate.swift:20)
16 ??? 0x102a59da4 (Fehlt)
As my code obviously doesn't have so many lines as the compiler tells me where it crashes. Any help is greatly appreciated as I cannot provoke this crash and it only happens randomly on some devices...

Related

GULUserDefaults crash Swift Xcode (maybe firebase)

I am facing this error really randomly and rarely but still want to fix it. I don't know how to reproduce it as its not happening on my device but on other users devices.
The crash log does not really help me, at least I cannot figure out where the is issue is coming from and how to solve it.
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x000000000000001c
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x19fa3513c object_isClass + 16
1 Foundation 0x18c807978 KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED + 48
2 Foundation 0x18c807774 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 288
3 Foundation 0x18c7413f8 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 836
4 CoreFoundation 0x18b3cc60c -[CFPrefsSource forEachObserver:] + 336
5 CoreFoundation 0x18b3cde3c -[CFPrefsSource _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:] + 112
6 CoreFoundation 0x18b541b68 ___CFPrefsDeliverPendingKVONotificationsGuts_block_invoke + 428
7 CoreFoundation 0x18b4253f0 __CFDictionaryApplyFunction_block_invoke + 28
8 CoreFoundation 0x18b50bd94 CFBasicHashApply + 144
9 CoreFoundation 0x18b4253ac CFDictionaryApplyFunction + 240
10 CoreFoundation 0x18b53d748 _CFPrefsDeliverPendingKVONotificationsGuts + 300
11 CoreFoundation 0x18b53bf44 -[_CFXPreferences _deliverPendingKVONotifications] + 96
12 CoreFoundation 0x18b4ff194 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 432
13 CoreFoundation 0x18b4fe720 normalizeQuintuplet + 356
14 CoreFoundation 0x18b4fefbc -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 152
15 CoreFoundation 0x18b3c1580 -[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:] + 128
16 CoreFoundation 0x18b53fdd8 _CFPreferencesSetAppValueWithContainerAndConfiguration + 136
17 GoogleUtilities 0x1012a7acc -[GULUserDefaults setObject:forKey:] + 109 (GULUserDefaults.m:109)
18 FirebaseMessaging 0x1011a86b0 -[FIRMessagingPubSub archivePendingTopicsList:] + 238 (FIRMessagingPubSub.m:238)
19 FirebaseMessaging 0x1011a67d4 -[FIRMessagingPendingTopicsList addOperationForTopic:withAction:completion:] + 164 (FIRMessagingPendingTopicsList.m:164)
20 FirebaseMessaging 0x1011a8304 -[FIRMessagingPubSub subscribeToTopic:handler:] + 184 (FIRMessagingPubSub.m:184)
21 FirebaseMessaging 0x1011a16a8 __44-[FIRMessaging subscribeToTopic:completion:]_block_invoke + 674 (FIRMessaging.m:674)
22 FirebaseInstanceID 0x101166674 __39-[FIRInstanceID instanceIDWithHandler:]_block_invoke + 220 (FIRInstanceID.m:220)
23 FirebaseInstanceID 0x101167ee8 __34-[FIRInstanceID getIDWithHandler:]_block_invoke + 454 (FIRInstanceID.m:454)
24 FirebaseInstallations 0x1011378a8 __49-[FIRInstallations installationIDWithCompletion:]_block_invoke + 210 (FIRInstallations.m:210)
25 FBLPromises 0x100deda48 __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.48 + 273 (FBLPromise.m:273)
26 libdispatch.dylib 0x18b0d324c _dispatch_call_block_and_release + 32
27 libdispatch.dylib 0x18b0d4db0 _dispatch_client_callout + 20
28 libdispatch.dylib 0x18b0e2800 _dispatch_main_queue_callback_4CF + 920
29 CoreFoundation 0x18b45c11c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
30 CoreFoundation 0x18b456120 __CFRunLoopRun + 2508
31 CoreFoundation 0x18b45521c CFRunLoopRunSpecific + 600
32 GraphicsServices 0x1a24d4784 GSEventRunModal + 164
33 UIKitCore 0x18de8e200 -[UIApplication _run] + 1072
34 UIKitCore 0x18de93a74 UIApplicationMain + 168
35 MyApp 0x100424788 main + 20 (HashtagTableViewCell.swift:20)
36 libdyld.dylib 0x18b1156c0 start + 4
It looks like its coming from firebase but ultimately it crashes on the user defaults.
Any idea or hint how to solve this is greatly appreciated.
GULUserDefaults.m line 109
this is the headline of the crash in my firebase Crashlytics

Flutter crash - Fatal Exception: NSInvalidArgumentException

I am getting crash in flutter firebase database , here is the crash log on crashlytics
Fatal Exception: NSInvalidArgumentException
*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x19f11098c __exceptionPreprocess
1 libobjc.A.dylib 0x19ee390a4 objc_exception_throw
2 CoreFoundation 0x19f1663f8 -[__NSCFString characterAtIndex:].cold.1
3 CoreFoundation 0x19f16f75c -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.5
4 CoreFoundation 0x19effd5dc -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
5 CoreFoundation 0x19efef470 +[NSDictionary dictionaryWithObjects:forKeys:count:]
6 Runner 0x104e69a44 __53-[FLTFirebaseDatabasePlugin handleMethodCall:result:]_block_invoke.437 + 292 (FLTFirebaseDatabasePlugin.m:292)
7 Runner 0x104d469bc __39-[FRepo abortTransactionsAtNode:error:]_block_invoke + 1426 (FRepo.m:1426)
8 libdispatch.dylib 0x19eddd610 _dispatch_call_block_and_release
9 libdispatch.dylib 0x19edde184 _dispatch_client_callout
10 libdispatch.dylib 0x19ed901d0 _dispatch_main_queue_callback_4CF$VARIANT$mp
11 CoreFoundation 0x19f08e3c4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
12 CoreFoundation 0x19f0893b8 __CFRunLoopRun
13 CoreFoundation 0x19f0888bc CFRunLoopRunSpecific
14 GraphicsServices 0x1a8ef4328 GSEventRunModal
15 UIKitCore 0x1a311e6d4 UIApplicationMain
16 Runner 0x104cb0e58 main + 8 (AppDelegate.swift:8)
17 libdyld.dylib
0x19ef13460 start
Crashed: com.twitter.crashlytics.ios.exception
SIGABRT ABORT 0x000000019ef08ebc
Crashed: com.twitter.crashlytics.ios.exception
0 Runner 0x104cca6bc CLSProcessRecordAllThreads + 4329924284
1 Runner 0x104ccaaa4 CLSProcessRecordAllThreads + 4329925284
2 Runner 0x104cba310 CLSHandler + 4329857808
3 Runner 0x104cc8cb4 __CLSExceptionRecord_block_invoke + 4329917620
4 libdispatch.dylib 0x19edde184 _dispatch_client_callout + 16
5 libdispatch.dylib 0x19ed90c44 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6 Runner 0x104cc8720 CLSExceptionRecord + 4329916192
7 Runner 0x104cc854c CLSExceptionRecordNSException + 4329915724
8 Runner 0x104cc8140 CLSTerminateHandler() + 4329914688
9 libc++abi.dylib 0x19eede304 std::__terminate(void (*)()) + 16
10 libc++abi.dylib 0x19eede29c std::terminate() + 44
11 libobjc.A.dylib 0x19ee392dc _objc_terminate() + 10
12 libdispatch.dylib 0x19edde198 _dispatch_client_callout + 36
13 libdispatch.dylib 0x19ed901d0 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1044
14 CoreFoundation 0x19f08e3c4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
15 CoreFoundation 0x19f0893b8 __CFRunLoopRun + 2004
16 CoreFoundation 0x19f0888bc CFRunLoopRunSpecific + 464
17 GraphicsServices 0x1a8ef4328 GSEventRunModal + 104
18 UIKitCore 0x1a311e6d4 UIApplicationMain + 1936
19 Runner 0x104cb0e58 main + 8 (AppDelegate.swift:8)
20 libdyld.dylib 0x19ef13460 start + 4
If the question is about why the exception
appears to be showing Crashlytics frames, it's known behavior and it's just an artifact of how Crashlytics attempts to write crash information during crash time. It doesn't indicate that Crashlytics itself is causing an issue. https://docs.fabric.io/apple/crashlytics/advanced-setup.html#crashlytics-frames-appearing-in-crashes

How to debug this information in swift (SIGTRAP #0 )?

My application crashed, and I don't know the problem..
0 klood 0x00000001000e4640 0x1000ac000 + 230976
1 PexKit 0x00000001003a17e8 0x100334000 + 448488
2 PexKit 0x00000001003a1414 0x100334000 + 447508
3 Foundation 0x0000000182f04540 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
4 Foundation 0x0000000182e56870 -[NSBlockOperation main] + 96
5 Foundation 0x0000000182e46e48 -[__NSOperationInternal _start:] + 604
6 Foundation 0x0000000182f06934 __NSOQSchedule_f + 224
7 libdispatch.dylib 0x0000000181f9547c _dispatch_client_callout + 16
8 libdispatch.dylib 0x0000000181f9ab84 _dispatch_main_queue_callback_4CF + 1844
9 CoreFoundation 0x0000000182500d50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
10 CoreFoundation 0x00000001824febb8 __CFRunLoopRun + 1628
11 CoreFoundation 0x0000000182428c50 CFRunLoopRunSpecific + 384
12 GraphicsServices 0x0000000183d10088 GSEventRunModal + 180
13 UIKit 0x0000000187712088 UIApplicationMain + 204
14 klood 0x0000000100162fb0 0x1000ac000 + 749488
15 libdyld.dylib 0x0000000181fc68b8 start + 4
I think the problem maybe is _dispatch_main_queue_callback_4CF, and I don't know how to fix it, thank you very much.
Start with the beginning, follow your code step by step with breakpoints. If you don't know where to start, place your breakpoint at the first viewDidLoad() and just follow from there.

App rejection - Crash report says: failed to scene-create in time (badf00d) What is wrong?

my app just got rejected by apple, and I could use some help to figure out what is wrong. The app works fine on all my devices and does not crash. The app synchronizes with iCloud right when it launches. This works fine on my devices, but maybe something is up with that.
Here is the first crash report (symbolicated):
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
com.Name.App failed to scene-create in time
Elapsed total CPU time (seconds): 9.250 (user 9.250, system 0.000), 23% CPU
Elapsed application CPU time (seconds): 0.298, 1% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000192f7ceb8 semaphore_wait_trap + 8
1 libsystem_platform.dylib 0x00000001930299e0 _os_semaphore_wait + 20
2 libdispatch.dylib 0x0000000192e5e3e0 _dispatch_barrier_sync_f_slow + 516
3 Foundation 0x0000000182aedccc -[NSUbiquitousKeyValueStore _synchronizeForced:notificationQueue:] + 248
4 Foundation 0x0000000182aedb50 -[NSUbiquitousKeyValueStore synchronize] + 88
5 Cloud-Fryser 0x00000001000dab08 0x1000d0000 + 43784
6 UIKit 0x000000018645ce80 -[UIViewController loadViewIfRequired] + 688
7 UIKit 0x0000000186512374 -[UINavigationController _layoutViewController:] + 60
8 UIKit 0x0000000186512270 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 244
9 UIKit 0x000000018651170c -[UINavigationController _startTransition:fromViewController:toViewController:] + 108
10 UIKit 0x00000001865113b8 -[UINavigationController _startDeferredTransitionIfNeeded:] + 636
11 UIKit 0x00000001865110d8 -[UINavigationController __viewWillLayoutSubviews] + 52
12 UIKit 0x0000000186511058 -[UILayoutContainerView layoutSubviews] + 196
13 UIKit 0x0000000186459a28 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 568
14 QuartzCore 0x0000000185db1990 -[CALayer layoutSublayers] + 164
15 QuartzCore 0x0000000185dac560 CA::Layer::layout_if_needed(CA::Transaction*) + 316
16 QuartzCore 0x0000000185dac404 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 28
17 QuartzCore 0x0000000185dabc04 CA::Context::commit_transaction(CA::Transaction*) + 272
18 QuartzCore 0x0000000185dab988 CA::Transaction::commit() + 432
19 UIKit 0x00000001866e7014 -[UIApplication _reportMainSceneUpdateFinished:] + 56
20 UIKit 0x00000001866e7ec0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 2776
21 UIKit 0x00000001866e6044 -[UIApplication workspaceDidEndTransaction:] + 180
22 FrontBoardServices 0x0000000189edd63c __31-[FBSSerialQueue performAsync:]_block_invoke + 24
23 CoreFoundation 0x0000000181c66120 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16
24 CoreFoundation 0x0000000181c65228 __CFRunLoopDoBlocks + 308
25 CoreFoundation 0x0000000181c63428 __CFRunLoopRun + 692
26 CoreFoundation 0x0000000181b911f0 CFRunLoopRunSpecific + 392
27 UIKit 0x00000001864c7788 -[UIApplication _run] + 548
28 UIKit 0x00000001864c2780 UIApplicationMain + 1484
29 Cloud-Fryser 0x00000001000dc878 0x1000d0000 + 51320
30 libdyld.dylib 0x0000000192e7ea04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000192f7cc94 kevent64 + 8
1 libdispatch.dylib 0x0000000192e6497c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000192e573b0 _dispatch_mgr_thread + 48
Thread 2 name: Dispatch queue: com.apple.sydprotection
Thread 2:
0 libsystem_kernel.dylib 0x0000000192f96e50 __open + 8
1 libsystem_kernel.dylib 0x0000000192f95dbc open + 12
2 Foundation 0x0000000182ab1ebc _NSReadBytesFromFileWithExtendedAttributes + 132
3 Foundation 0x0000000182ab1ddc -[NSData(NSData) initWithContentsOfFile:] + 76
4 Foundation 0x0000000182ad87fc -[NSData(NSData) initWithContentsOfURL:] + 384
5 Foundation 0x0000000182ab1cf0 +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 112
6 SyncedDefaults 0x000000018dbab224 -[SYDRemotePreferencesSource _cachePlistFromDisk] + 104
7 SyncedDefaults 0x000000018dbabedc -[SYDRemotePreferencesSource _synchronizeForced:] + 160
8 SyncedDefaults 0x000000018dbabdac __48-[SYDRemotePreferencesSource synchronizeForced:]_block_invoke + 36
9 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
10 libdispatch.dylib 0x0000000192e5e6e4 _dispatch_barrier_sync_f_invoke + 72
11 SyncedDefaults 0x000000018dbabd5c -[SYDRemotePreferencesSource synchronizeForced:] + 116
12 Foundation 0x0000000182aecc74 -[NSUbiquitousKeyValueStore synchronizeWithSourceForced:] + 32
13 Foundation 0x0000000182aecbe0 __46-[NSUbiquitousKeyValueStore _registerToDaemon]_block_invoke + 72
14 libdispatch.dylib 0x0000000192e553a8 _dispatch_call_block_and_release + 20
15 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
16 libdispatch.dylib 0x0000000192e5f4bc _dispatch_queue_drain + 1212
17 libdispatch.dylib 0x0000000192e58470 _dispatch_queue_invoke + 128
18 libdispatch.dylib 0x0000000192e61220 _dispatch_root_queue_drain + 660
19 libdispatch.dylib 0x0000000192e62758 _dispatch_worker_thread3 + 104
20 libsystem_pthread.dylib 0x00000001930312e0 _pthread_wqthread + 812
21 libsystem_pthread.dylib 0x0000000193030fa4 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x0000000192f97c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000193031390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000193030fa4 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x0000000192f97c78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000193031390 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x0000000193030fa4 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x0000000192f7ce7c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000192f7ccf4 mach_msg + 68
2 CoreFoundation 0x0000000181c655c8 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181c6351c __CFRunLoopRun + 936
4 CoreFoundation 0x0000000181b911f0 CFRunLoopRunSpecific + 392
5 CoreFoundation 0x0000000181be32a8 CFRunLoopRun + 108
6 CoreMotion 0x000000018258a9d4 0x182548000 + 272852
7 libsystem_pthread.dylib 0x0000000193033e7c _pthread_body + 160
8 libsystem_pthread.dylib 0x0000000193033dd8 _pthread_start + 156
9 libsystem_pthread.dylib 0x0000000193030fac thread_start + 0
Here is the second crash report:
Application Specific Information:
com.Name.App failed to scene-create in time
Elapsed total CPU time (seconds): 20.300 (user 20.300, system 0.000), 49% CPU
Elapsed application CPU time (seconds): 0.207, 1% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x0000000192f7ceb8 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000192e62d98 _dispatch_group_wait_slow + 244
2 CloudDocs 0x0000000188427818 -[BRXPCSyncProxy resultWithTimeout:] + 72
3 CloudDocs 0x0000000188418bc0 __BRIsProcessForcingUbiquity_block_invoke + 172
4 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
5 libdispatch.dylib 0x0000000192e56240 dispatch_once_f + 92
6 CloudDocs 0x0000000188418b0c BRIsProcessForcingUbiquity + 60
7 Foundation 0x0000000182b3ad6c ___BRIsCloudDocsUsed_block_invoke + 44
8 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
9 libdispatch.dylib 0x0000000192e56240 dispatch_once_f + 92
10 Foundation 0x0000000182b35044 ___NSFrameworkHandleForLibrarianSymbols_block_invoke + 96
11 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
12 libdispatch.dylib 0x0000000192e56240 dispatch_once_f + 92
13 Foundation 0x0000000182b3acec ___initializeLibrarianFunctions_block_invoke + 268
14 libdispatch.dylib 0x0000000192e55368 _dispatch_client_callout + 12
15 libdispatch.dylib 0x0000000192e56240 dispatch_once_f + 92
16 Foundation 0x0000000182b3a5b0 -[NSFileManager URLForUbiquityContainerIdentifier:] + 544
17 Cloud-Fryser 0x000000010003dc04 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:20)
18 UIKit 0x00000001864ce3cc -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 300
19 UIKit 0x00000001866e522c -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2280
20 UIKit 0x00000001866e79ac -[UIApplication _runWithMainScene:transitionContext:completion:] + 1476
21 UIKit 0x00000001866e6044 -[UIApplication workspaceDidEndTransaction:] + 180
22 FrontBoardServices 0x0000000189edd63c __31-[FBSSerialQueue performAsync:]_block_invoke + 24
23 CoreFoundation 0x0000000181c66120 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16
24 CoreFoundation 0x0000000181c65228 __CFRunLoopDoBlocks + 308
25 CoreFoundation 0x0000000181c6384c __CFRunLoopRun + 1752
26 CoreFoundation 0x0000000181b911f0 CFRunLoopRunSpecific + 392
27 UIKit 0x00000001864c7788 -[UIApplication _run] + 548
28 UIKit 0x00000001864c2780 UIApplicationMain + 1484
29 Cloud-Fryser 0x0000000100044878 main (main.m:16)
30 libdyld.dylib 0x0000000192e7ea04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000192f7cc94 kevent64 + 8
1 libdispatch.dylib 0x0000000192e6497c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x0000000192e573b0 _dispatch_mgr_thread + 48
If you need additional information, just let me know.
The issue is very simple.
You just spend too much time loading your app on the splash screen and the iOS device stops your app.
The reason it only happens in the review and not when you test it is because you always run it from Xcode, and when running from Xcode it won't have this behavior.
If you will run your app directly from the device (by tapping its icon) you will see it will happen there as well. Assuming you spent too much time loading on that specific run.
Edit: Also I am seeing that you are stuck on a semaphore and don't use too much CPU, which might mean you have a deadlock which stalls the app on the reviewer's device and that is why it spends too much time loading and the device stops your app. Not sure...
Here is my devblog post if you are interested:
http://pompidev.net/2014/11/16/ios-app-works-on-xcode-but-crash-running-from-device/

App crashes very rare on start up

I have a strange problem with my app, sometimes, very rare in fact, when run on iPhone4, it crashes right at the beginning, I got the crash log, but I really can't make anything of it. I'm kind of stuck, where should I look? Here is the log:
0 libsystem_kernel.dylib 0x34c96a1c __pthread_kill + 8
1 libsystem_c.dylib 0x328ee3b4 pthread_kill + 52
2 libsystem_c.dylib 0x328e6bf8 abort + 72
3 libsystem_c.dylib 0x329146d4 __assert_rtn + 140
4 My App 0x0000fb8c 0x1000 + 60300
5 My App 0x0000fec4 0x1000 + 61124
6 My App 0x00009ffc 0x1000 + 36860
7 CoreFoundation 0x359c979c __invoking___ + 60
8 CoreFoundation 0x35941436 -[NSInvocation invoke] + 102
9 My App 0x0005f408 0x1000 + 386056
10 My App 0x0005c9b8 0x1000 + 375224
11 CoreFoundation 0x3593656a -[NSObject(NSObject) performSelector:withObject:withObject:] + 18
12 My App 0x000b60d4 0x1000 + 741588
13 My App 0x000b6bc0 0x1000 + 744384
14 My App 0x000b8c9c 0x1000 + 752796
15 UIKit 0x35584bee -[UIWindow _sendTouchesForEvent:] + 362
16 UIKit 0x35584568 -[UIWindow sendEvent:] + 256
17 UIKit 0x3556d30c -[UIApplication sendEvent:] + 292
18 UIKit 0x3556cc4c _UIApplicationHandleEvent + 5084
19 GraphicsServices 0x35350e70 PurpleEventCallback + 660
20 CoreFoundation 0x3599da90 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
21 CoreFoundation 0x3599f838 __CFRunLoopDoSource1 + 160
22 CoreFoundation 0x359a0606 __CFRunLoopRun + 514
23 CoreFoundation 0x35930ebc CFRunLoopRunSpecific + 224
24 CoreFoundation 0x35930dc4 CFRunLoopRunInMode + 52
25 GraphicsServices 0x35350418 GSEventRunModal + 108
26 GraphicsServices 0x353504c4 GSEventRun + 56
27 UIKit 0x35597d62 -[UIApplication _run] + 398
28 UIKit 0x35595800 UIApplicationMain + 664
29 My App 0x00002118 0x1000 + 4376
30 My App 0x00002084 0x1000 + 4228
I was not able to find any pattern for the crash, it simply happens like maybe once in 30-40 app start-ups. What beats me, beside the fact that I don't know how the interpret the crash log, is why this happens so rare, with no apparent reason?
You need to symbolicate that crash log before you can see exactly which part of your code is crashing.