Random crash on iOS 16.2+ with webview - ios

We encounter more and more crashes on Crashlytics in the past 2 months or so.
This is the Stack trace from Crashlytics.
It happens on iOS 16.2 - 16.3, there is not a specific device.
From what we know from Analytics - the crash happens when the user is inside screen with webview - we don't know what the user is doing specifically but after 2 minutes or so the crash happens.
the main issue is that we cant repreduce the crash, any one has any idea what this crash abbout?
# Crashlytics - Stack trace
# Application: com.CAL.Cal4U
# Platform: apple
# Version: 4.6.1 (1.2)
# Issue: 511fcd42790c36dd562e7f10e0aad08a
# Session: e1988554054f4265979cc7fe5f024753_DNE_0_v2
# Date: Wed Feb 01 2023 11:56:19 GMT+0200 (Israel Standard Time)
Crashed: com.apple.main-thread
0 libsystem_blocks.dylib 0x2114 _call_dispose_helpers_excp + 32
1 libsystem_blocks.dylib 0x1d54 _Block_release + 252
2 libsystem_blocks.dylib 0x3f30 bool HelperBase<GenericInline>::disposeCapture<(HelperBase<GenericInline>::BlockCaptureKind)4>(unsigned int, unsigned char*) + 68
3 libsystem_blocks.dylib 0x2aac HelperBase<GenericInline>::destroyBlock(Block_layout*, bool, unsigned char*) + 180
4 libsystem_blocks.dylib 0x213c _call_dispose_helpers_excp + 72
5 libsystem_blocks.dylib 0x1d54 _Block_release + 252
6 UIKitCore 0xb6fba0 __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.446 + 68
7 UIKitCore 0x103d464 __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__ + 180
8 UIKitCore 0xd14ac -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 72
9 UIKitCore 0xd0408 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 252
10 UIKitCore 0xcfb28 -[UIViewAnimationState animationDidStop:finished:] + 68
11 QuartzCore 0x1310c CA::Layer::run_animation_callbacks(void*) + 180
12 libdispatch.dylib 0x3fdc _dispatch_client_callout + 72
13 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain + 252
14 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF + 68
15 CoreFoundation 0x9a6d8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 180
16 CoreFoundation 0x7c03c __CFRunLoopRun + 72
17 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 252
18 GraphicsServices 0x1368 GSEventRunModal + 68
19 UIKitCore 0x3a186c -[UIApplication _run] + 180
20 UIKitCore 0x3a14d0 UIApplicationMain + 72
21 CALNativeApp 0x64d0 main + 11 (main.swift:11)
22 ??? 0x1e265e960 <redacted> + 68
com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x4aa8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x16fc4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17204 mach_msg_overwrite + 388
3 libsystem_kernel.dylib 0x4fec mach_msg + 24
4 CoreFoundation 0x7aad4 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7bd18 __CFRunLoopRun + 1232
6 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 612
7 Foundation 0x420d4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8 Foundation 0x41fbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9 UIKitCore 0x4d672c -[UIEventFetcher threadMain] + 436
10 Foundation 0x5b5a8 __NSThread__start__ + 716
11 libsystem_pthread.dylib 0x16cc _pthread_start + 148
12 libsystem_pthread.dylib 0xba4 thread_start + 8
com.google.firebase.crashlytics.MachExceptionServer
0 FirebaseCrashlytics 0x1cd88 FIRCLSProcessRecordAllThreads + 393 (FIRCLSProcess.c:393)
1 FirebaseCrashlytics 0x1d168 FIRCLSProcessRecordAllThreads + 424 (FIRCLSProcess.c:424)
2 FirebaseCrashlytics 0x15f84 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3 FirebaseCrashlytics 0x18d30 FIRCLSMachExceptionServer + 524 (FIRCLSMachException.c:524)
4 libsystem_pthread.dylib 0x16cc _pthread_start + 148
5 libsystem_pthread.dylib 0xba4 thread_start + 8
com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x4aa8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x16fc4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17204 mach_msg_overwrite + 388
3 libsystem_kernel.dylib 0x4fec mach_msg + 24
4 CoreFoundation 0x7aad4 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7bd18 __CFRunLoopRun + 1232
6 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 612
7 CFNetwork 0x258078 _CFURLStorageSessionDisableCache + 61088
8 Foundation 0x5b5a8 __NSThread__start__ + 716
9 libsystem_pthread.dylib 0x16cc _pthread_start + 148
10 libsystem_pthread.dylib 0xba4 thread_start + 8
WebThread
0 libsystem_kernel.dylib 0x4aa8 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x16fc4 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x17204 mach_msg_overwrite + 388
3 libsystem_kernel.dylib 0x4fec mach_msg + 24
4 CoreFoundation 0x7aad4 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x7bd18 __CFRunLoopRun + 1232
6 CoreFoundation 0x80ec0 CFRunLoopRunSpecific + 612
7 WebCore 0xbbcd3c <redacted> + 756
8 libsystem_pthread.dylib 0x16cc _pthread_start + 148
9 libsystem_pthread.dylib 0xba4 thread_start + 8
Thread
0 libsystem_pthread.dylib 0xb90 start_wqthread + 254
Thread
0 libsystem_pthread.dylib 0xb90 start_wqthread + 254
JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x537c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232
2 JavaScriptCore 0xf643c scavenger_thread_main + 1164
3 libsystem_pthread.dylib 0x16cc _pthread_start + 148
4 libsystem_pthread.dylib 0xba4 thread_start + 8
Thread
0 libsystem_pthread.dylib 0xb90 start_wqthread + 254
Thread
0 libsystem_pthread.dylib 0xb90 start_wqthread + 254
LocalStorage
0 libsystem_kernel.dylib 0x537c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232
2 JavaScriptCore 0x4c73c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2032
3 WebKitLegacy 0x2c784 bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 248
4 WebKitLegacy 0x300a4 WebCore::StorageThread::threadEntryPoint() + 296
5 JavaScriptCore 0x6ee14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
6 JavaScriptCore 0x7109c WTF::wtfThreadEntryPoint(void*) + 16
7 libsystem_pthread.dylib 0x16cc _pthread_start + 148
8 libsystem_pthread.dylib 0xba4 thread_start + 8 0x1e8dfc960 <redacted> + 180

Related

IOS APP CRASH with message _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) abort_with_payload_wrapper_internal

Our ios app suffers some crashes recently with below title ,
_objc_fatalv(unsigned long long, unsigned long long, char const*, char*)
abort_with_payload_wrapper_internal
Crashed: com.apple.main-thread
SIGABRT ABORT 0x00000001e6013a00
we using capacitor,cordova,ionic for this app
one thing i noticed on resuming the app also this crash event happens, actually firebase log is not adequate to figure out this issue because it has nearly 200 logs with different screens like
firebase_screen: splash screen
firebase_screen_class: CAPBridgeViewController
this error is mainly in our latest version and ios16 platform
# Crashlytics - Stack trace
# Application: com.shopperApp
# Platform: apple
# Version: 0.0.8 (0.0.8)
# Issue: 09f591d6fb0a00eb74e378b77e5bf7b3
# Date: Sun Feb 12 2023 00:44:20 GMT+0530 (India Standard Time)
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0xea00 __abort_with_payload + 8
1 libsystem_kernel.dylib 0x2fb4c abort_with_payload_wrapper_internal + 100
2 libsystem_kernel.dylib 0x2fae8 abort_with_payload_wrapper_internal + 26
3 libobjc.A.dylib 0x2ac64 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 112
4 libobjc.A.dylib 0x2abf4 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 26
5 libobjc.A.dylib 0x61d0 weak_register_no_lock + 332
6 libobjc.A.dylib 0xa6b0 objc_storeWeak + 344
7 UIKitCore 0x113440 _UIResponderForwarderWantsForwardingFromResponder + 728
8 UIKitCore 0x32fdc __forwardTouchMethod_block_invoke + 40
9 CoreFoundation 0xa2c0 __NSSET_IS_CALLING_OUT_TO_A_BLOCK__ + 16
10 CoreFoundation 0x856e4 -[__NSSetM enumerateObjectsWithOptions:usingBlock:] + 196
11 UIKitCore 0x1eb140 forwardTouchMethod + 216
12 UIKitCore 0xf21f8 -[UIWindow _sendTouchesForEvent:] + 496
13 UIKitCore 0xf16f0 -[UIWindow sendEvent:] + 3224
14 UIKitCore 0xf09ec -[UIApplication sendEvent:] + 740
15 UIKitCore 0xeec58 __dispatchPreprocessedEventFromEventQueue + 2052
16 UIKitCore 0x13496c __processEventQueue + 5612
17 UIKitCore 0x418110 __eventFetcherSourceCallback + 220
18 CoreFoundation 0xcc500 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
19 CoreFoundation 0xd7e70 __CFRunLoopDoSource0 + 172
20 CoreFoundation 0x62224 __CFRunLoopDoSources0 + 232
21 CoreFoundation 0x77230 __CFRunLoopRun + 780
22 CoreFoundation 0x7bdfc CFRunLoopRunSpecific + 584
23 GraphicsServices 0x1984 GSEventRunModal + 160
24 UIKitCore 0x376e7c -[UIApplication _run] + 868
25 UIKitCore 0x376af4 UIApplicationMain + 312
26 shopperApp 0x62e4 main + 7 (AppDelegate.swift:7)
27 ??? 0x1ca24ade0 (Missing)
com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x1194 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x12a08 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x12c44 mach_msg_overwrite + 384
3 libsystem_kernel.dylib 0x1688 mach_msg + 20
4 CoreFoundation 0x76244 __CFRunLoopServiceMachPort + 156
5 CoreFoundation 0x773f4 __CFRunLoopRun + 1232
6 CoreFoundation 0x7bdfc CFRunLoopRunSpecific + 584
7 Foundation 0x3e3fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
8 Foundation 0x3e2f8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
9 UIKitCore 0x49b6d0 -[UIEventFetcher threadMain] + 424
10 Foundation 0x55f44 __NSThread__start__ + 704
11 libsystem_pthread.dylib 0x3060 _pthread_start + 116
12 libsystem_pthread.dylib 0x1688 thread_start + 8
com.google.firebase.crashlytics.MachExceptionServer
0 libsystem_kernel.dylib 0x1194 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x12a08 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x12c44 mach_msg_overwrite + 384
3 libsystem_kernel.dylib 0x1688 mach_msg + 20
4 FirebaseCrashlytics 0x188b8 FIRCLSMachExceptionServer + 194 (FIRCLSMachException.c:194)
5 libsystem_pthread.dylib 0x3060 _pthread_start + 116
6 libsystem_pthread.dylib 0x1688 thread_start + 8
com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x1194 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x12a08 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x12c44 mach_msg_overwrite + 384
3 libsystem_kernel.dylib 0x1688 mach_msg + 20
4 CoreFoundation 0x76244 __CFRunLoopServiceMachPort + 156
5 CoreFoundation 0x773f4 __CFRunLoopRun + 1232
6 CoreFoundation 0x7bdfc CFRunLoopRunSpecific + 584
7 CFNetwork 0x22d6cc _CFURLStorageSessionDisableCache + 51024
8 Foundation 0x55f44 __NSThread__start__ + 704
9 libsystem_pthread.dylib 0x3060 _pthread_start + 116
10 libsystem_pthread.dylib 0x1688 thread_start + 8
JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x19e0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x2584 _pthread_cond_wait$VARIANT$armv81 + 1220
2 JavaScriptCore 0xec4b4 scavenger_thread_main + 1012
3 libsystem_pthread.dylib 0x3060 _pthread_start + 116
4 libsystem_pthread.dylib 0x1688 thread_start + 8
com.apple.root.default-qos
0 libsystem_kernel.dylib 0x1110 semaphore_wait_trap + 8
1 libdispatch.dylib 0x33e88 _dispatch_sema4_wait$VARIANT$armv81 + 24
2 libdispatch.dylib 0x344c4 _dispatch_semaphore_wait_slow + 128
3 UIKitCore 0x4999c8 __69+[_UIAsyncInvocationObserver whenInvocationsCompleteForObservers:do:]_block_invoke_2 + 56
4 libdispatch.dylib 0x63850 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x647c8 _dispatch_client_callout + 16
6 libdispatch.dylib 0x3bb2c _dispatch_queue_override_invoke + 708
7 libdispatch.dylib 0x48d48 _dispatch_root_queue_drain + 328
8 libdispatch.dylib 0x49514 _dispatch_worker_thread2 + 160
9 libsystem_pthread.dylib 0x1b14 _pthread_wqthread + 224
10 libsystem_pthread.dylib 0x167c start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0x1654 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1b9c _pthread_wqthread + 360
2 libsystem_pthread.dylib 0x167c start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0x1654 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1b9c _pthread_wqthread + 360
2 libsystem_pthread.dylib 0x167c start_wqthread + 8
com.apple.dnssd.client
0 libsystem_kernel.dylib 0x1c34 __ulock_wait + 8
1 libsystem_platform.dylib 0x8028 _os_unfair_lock_lock_slow + 168
2 libobjc.A.dylib 0x23dc objc_object::sidetable_clearDeallocating() + 100
3 libobjc.A.dylib 0x5a3c objc_destructInstance + 160
4 libobjc.A.dylib 0xe1c8 _objc_rootDealloc + 52
5 libxpc.dylib 0x26a58 -[OS_xpc_object dealloc] + 52
6 libxpc.dylib 0x15178 _xpc_dictionary_node_free + 80
7 libxpc.dylib 0x12cd8 _xpc_dictionary_dispose + 44
8 libxpc.dylib 0x26a3c -[OS_xpc_object dealloc] + 24
9 libxpc.dylib 0x80cc _xpc_array_dispose + 40
10 libxpc.dylib 0x26a3c -[OS_xpc_object dealloc] + 24
11 libxpc.dylib 0x12d4c _xpc_dictionary_dispose + 160
12 libxpc.dylib 0x26a3c -[OS_xpc_object dealloc] + 24
13 libxpc.dylib 0x10040 _xpc_connection_mach_event + 948
14 libdispatch.dylib 0x6487c _dispatch_client_callout4 + 16
15 libdispatch.dylib 0x377c0 _dispatch_mach_msg_invoke$VARIANT$armv81 + 372
16 libdispatch.dylib 0x3f72c _dispatch_lane_serial_drain$VARIANT$armv81 + 308
17 libdispatch.dylib 0x3835c _dispatch_mach_invoke$VARIANT$armv81 + 444
18 libdispatch.dylib 0x3f72c _dispatch_lane_serial_drain$VARIANT$armv81 + 308
19 libdispatch.dylib 0x402e4 _dispatch_lane_invoke$VARIANT$armv81 + 380
20 libdispatch.dylib 0x4a000 _dispatch_workloop_worker_thread + 612
21 libsystem_pthread.dylib 0x1b50 _pthread_wqthread + 284
22 libsystem_pthread.dylib 0x167c start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0x1654 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1b9c _pthread_wqthread + 360
2 libsystem_pthread.dylib 0x167c start_wqthread + 8
com.apple.network.connections
0 libsystem_kernel.dylib 0x1c34 __ulock_wait + 8
1 libsystem_platform.dylib 0x8028 _os_unfair_lock_lock_slow + 168
2 libobjc.A.dylib 0x23dc objc_object::sidetable_clearDeallocating() + 100
3 libobjc.A.dylib 0x5a3c objc_destructInstance + 160
4 libobjc.A.dylib 0xe1c8 _objc_rootDealloc + 52
5 Network 0x3611a0 -[OS_nw_array dealloc] + 52
6 Network 0x12a768 nw_resolver_remove_endpoint_locked + 228
7 Network 0x12e468 __nw_resolver_create_dns_getaddrinfo_locked_block_invoke.165 + 6932
8 libdns_services.dylib 0x12f0 ___dnssd_getaddrinfo_activate_block_invoke + 204
9 libdispatch.dylib 0x647c8 _dispatch_client_callout + 16
10 libdispatch.dylib 0x3be7c _dispatch_continuation_pop$VARIANT$armv81 + 436
11 libdispatch.dylib 0x4d860 _dispatch_source_invoke$VARIANT$armv81 + 1552
12 libdispatch.dylib 0x4144c _dispatch_workloop_invoke$VARIANT$armv81 + 1636
13 libdispatch.dylib 0x4a000 _dispatch_workloop_worker_thread + 612
14 libsystem_pthread.dylib 0x1b50 _pthread_wqthread + 284
15 libsystem_pthread.dylib 0x167c start_wqthread + 8
Thread
0 libsystem_pthread.dylib 0x1674 start_wqthread + 270
when i googled this error Crash in UIKitCore [UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] iOS 12 only also shares similar error message but since we are not using native elements i think my cause of problem is from somewhere else?
did any faced this crashes before?
thanks in advance!

Can't understand symbolicated crash report

I have downloaded symbolicated crash report using Xcode but unable to understand it as in backtrace it shows below method where it crashed:
-[UIView(Internal) _addSubview:positioned:relativeTo:] + 132 (UIView.m:16297). However, I can't find that specific method in my code where exception occurred. Below is the crash report:
Incident Identifier: 36EACC3D-E19F-4F23-B788-CD18C8D21052
Hardware Model: iPad13,4
Process: SuperApp [1625]
Path: /private/var/containers/Bundle/Application/5AEC3228-FC0F-48FA-9812-276AAD48B44D/SuperApp.app/SuperApp
Identifier: sa.com.stc.SuperMobileApp
Version: 1.0 (1.4.0)
AppStoreTools: 12E262
AppVariant: 1:iPad13,4:14
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: sa.com.stc.SuperMobileApp [793]
Date/Time: 2021-06-20 17:34:25.7885 +0300
Launch Time: 2021-06-19 22:08:42.5573 +0300
OS Version: iPhone OS 15.0 (19A5261w)
Release Type: Beta
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x18082ff90 __exceptionPreprocess + 220 (NSException.m:199)
1 libobjc.A.dylib 0x198eeb21c objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x1808bcce0 +[NSException raise:format:] + 112 (NSException.m:155)
3 UIKitCore 0x182c4a458 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 132 (UIView.m:16297)
4 UIKitCore 0x182ff5638 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke_2 + 1304 (_UINavigationParallaxTransition.m:383)
5 UIKitCore 0x182c2acf4 +[UIView(Animation) performWithoutAnimation:] + 104 (UIView.m:14461)
6 UIKitCore 0x183144bb8 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 260 (_UINavigationParallaxTransition.m:319)
7 UIKitCore 0x182e91458 +[UIView _performBlockDelayingTriggeringResponderEvents:forScene:] + 252 (UIView.m:15984)
8 UIKitCore 0x182fb249c -[_UINavigationParallaxTransition animateTransition:] + 1092 (_UINavigationParallaxTransition.m:317)
9 UIKitCore 0x182f276ec ___UIViewControllerTransitioningRunCustomTransition_block_invoke_2 + 76 (UIViewControllerTransitioning.m:0)
10 UIKitCore 0x182ecee34 +[UIKeyboardSceneDelegate _pinInputViewsForKeyboardSceneDelegate:onBehalfOfResponder:duringBlock:] + 172 (UIKeyboardSceneDelegate.m:1968)
11 UIKitCore 0x1834cd880 ___UIViewControllerTransitioningRunCustomTransition_block_invoke.663 + 204 (UIViewControllerTransitioning.m:1258)
12 UIKitCore 0x182da8914 +[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] + 204 (UIView.m:14416)
13 UIKitCore 0x182da879c _UIViewControllerTransitioningRunCustomTransition + 628 (UIViewControllerTransitioning.m:1249)
14 UIKitCore 0x182e60ed8 -[UINavigationController _startCustomTransition:] + 3412 (UINavigationController.m:2224)
15 UIKitCore 0x182d2bbec -[UINavigationController _startDeferredTransitionIfNeeded:] + 692 (UINavigationController.m:7291)
16 UIKitCore 0x182d29e28 -[UINavigationController __viewWillLayoutSubviews] + 168 (UINavigationController.m:7596)
17 UIKitCore 0x182d66bf0 -[UILayoutContainerView layoutSubviews] + 228 (UILayoutContainerView.m:88)
18 UIKitCore 0x182be1498 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2768 (UIView.m:18074)
19 QuartzCore 0x184440f10 CA::Layer::layout_if_needed(CA::Transaction*) + 536 (CALayer.mm:10004)
20 QuartzCore 0x18444f664 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144 (CALayer.mm:2476)
21 QuartzCore 0x184479fa8 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 480 (CAContextInternal.mm:2549)
22 QuartzCore 0x1844b8910 CA::Transaction::commit() + 680 (CATransactionInternal.mm:449)
23 QuartzCore 0x184617394 CA::Transaction::flush_as_runloop_observer(bool) + 72 (CATransactionInternal.mm:941)
24 CoreFoundation 0x1807dbd04 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1799)
25 CoreFoundation 0x18076a334 __CFRunLoopDoObservers + 572 (CFRunLoop.c:1912)
26 CoreFoundation 0x1807c89c0 __CFRunLoopRun + 1052 (CFRunLoop.c:2958)
27 CoreFoundation 0x1807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
28 GraphicsServices 0x19c174600 GSEventRunModal + 164 (GSEvent.c:2200)
29 UIKitCore 0x182fae9b0 -[UIApplication _run] + 1084 (UIApplication.m:3409)
30 UIKitCore 0x182fae424 UIApplicationMain + 2204 (UIApplication.m:4949)
31 SuperApp 0x1028eec30 main + 68 (AppDelegate.swift:24)
32 dyld 0x102f2121c start + 520 (dyldMain.cpp:857)
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001b63471f4 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001f0e0123c pthread_kill + 268 (pthread.c:1609)
2 libsystem_c.dylib 0x000000018b8b2500 __abort + 128 (abort.c:155)
3 libsystem_c.dylib 0x000000018b8b2480 abort + 176 (abort.c:126)
4 libc++abi.dylib 0x0000000198ff0a7c abort_message + 132 (abort_message.cpp:78)
5 libc++abi.dylib 0x0000000198fe19b8 demangling_terminate_handler() + 352 (cxa_default_handlers.cpp:67)
6 libobjc.A.dylib 0x0000000198eef2fc _objc_terminate() + 144 (objc-exception.mm:701)
7 SuperApp 0x0000000102ae3b00 CLSTerminateHandler+ 2079488 () + 348
8 libc++abi.dylib 0x0000000198fefe10 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
9 libc++abi.dylib 0x0000000198ff2dc4 __cxa_rethrow + 148 (cxa_exception.cpp:616)
10 libobjc.A.dylib 0x0000000198eeb1d4 objc_exception_rethrow + 44 (objc-exception.mm:604)
11 CoreFoundation 0x00000001807d6408 CFRunLoopRunSpecific + 836 (CFRunLoop.c:3262)
12 GraphicsServices 0x000000019c174600 GSEventRunModal + 164 (GSEvent.c:2200)
13 UIKitCore 0x0000000182fae9b0 -[UIApplication _run] + 1084 (UIApplication.m:3409)
14 UIKitCore 0x0000000182fae424 UIApplicationMain + 2204 (UIApplication.m:4949)
15 SuperApp 0x00000001028eec30 main + 68 (AppDelegate.swift:24)
16 dyld 0x0000000102f2121c start + 520 (dyldMain.cpp:857)
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001807c94c8 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001807c8a60 __CFRunLoopRun + 1212 (CFRunLoop.c:2979)
4 CoreFoundation 0x00000001807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
5 Foundation 0x0000000181f7b018 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:377)
6 Foundation 0x0000000181f7aee4 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:424)
7 UIKitCore 0x0000000182c92cec -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1054)
8 Foundation 0x0000000181fe5a04 __NSThread__start__ + 864 (NSThread.m:742)
9 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
10 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001807c94c8 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001807c8a60 __CFRunLoopRun + 1212 (CFRunLoop.c:2979)
4 CoreFoundation 0x00000001807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
5 AudioSession 0x00000001897e5330 CADeprecated::GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:95)
6 AudioSession 0x00000001897eae58 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
7 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
8 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001b63474ec select$DARWIN_EXTSN + 8
1 WebRTC 0x0000000103b18d5c 0x103ac0000 + 363868
2 WebRTC 0x0000000103b1e95c 0x103ac0000 + 387420
3 WebRTC 0x0000000103b1de94 0x103ac0000 + 384660
4 WebRTC 0x0000000103b1f2e4 0x103ac0000 + 389860
5 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
6 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001b6346f8c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001f0e03e28 _pthread_cond_wait + 1240 (pthread_cond.c:636)
2 WebRTC 0x0000000103b24604 0x103ac0000 + 411140
3 WebRTC 0x0000000103b244e0 0x103ac0000 + 410848
4 WebRTC 0x0000000103b11884 0x103ac0000 + 333956
5 WebRTC 0x0000000103b1e95c 0x103ac0000 + 387420
6 WebRTC 0x0000000103b1de94 0x103ac0000 + 384660
7 WebRTC 0x0000000103b1f2e4 0x103ac0000 + 389860
8 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
9 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x00000001b6346f8c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001f0e03e28 _pthread_cond_wait + 1240 (pthread_cond.c:636)
2 WebRTC 0x0000000103b24614 0x103ac0000 + 411156
3 WebRTC 0x0000000103b244e0 0x103ac0000 + 410848
4 WebRTC 0x0000000103b11884 0x103ac0000 + 333956
5 WebRTC 0x0000000103b1e95c 0x103ac0000 + 387420
6 WebRTC 0x0000000103b1de94 0x103ac0000 + 384660
7 WebRTC 0x0000000103b1f2e4 0x103ac0000 + 389860
8 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
9 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x00000001b6346f8c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001f0e03e28 _pthread_cond_wait + 1240 (pthread_cond.c:636)
2 WebRTC 0x0000000103b24604 0x103ac0000 + 411140
3 WebRTC 0x0000000103b244e0 0x103ac0000 + 410848
4 WebRTC 0x0000000103bdf4bc 0x103ac0000 + 1176764
5 WebRTC 0x0000000103bdee4c 0x103ac0000 + 1175116
6 WebRTC 0x0000000103b23fcc 0x103ac0000 + 409548
7 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
8 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 7 name:
Thread 7:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 SuperApp 0x0000000102ad1320 CLSMachExceptionServer + 100
3 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
4 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 8 name:
Thread 8:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001807c94c8 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001807c8a60 __CFRunLoopRun + 1212 (CFRunLoop.c:2979)
4 CoreFoundation 0x00000001807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
5 CFNetwork 0x00000001811bae6c +[__CFN_CoreSchedulingSetRunnable _run:] + 464 (CoreSchedulingSet.mm:1372)
6 Foundation 0x0000000181fe5a04 __NSThread__start__ + 864 (NSThread.m:742)
7 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
8 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x00000001b63474ec select$DARWIN_EXTSN + 8
1 CoreFoundation 0x00000001808068a8 __CFSocketManager + 648 (CFSocket.c:1343)
2 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
3 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 10 name:
Thread 10:
0 libsystem_kernel.dylib 0x00000001b6321b78 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b6320edc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x00000001807c94c8 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001807c8a60 __CFRunLoopRun + 1212 (CFRunLoop.c:2979)
4 CoreFoundation 0x00000001807d631c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3247)
5 Foundation 0x0000000181f7b018 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:377)
6 CocoaAsyncSocket 0x000000010323e0b4 +[GCDAsyncSocket cfstreamThread:] + 376 (GCDAsyncSocket.m:7655)
7 Foundation 0x0000000181fe5a04 __NSThread__start__ + 864 (NSThread.m:742)
8 libsystem_pthread.dylib 0x00000001f0e00220 _pthread_start + 148 (pthread.c:890)
9 libsystem_pthread.dylib 0x00000001f0e0962c thread_start + 8
Thread 11:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
Thread 12:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
Thread 14 name:
Thread 14:
0 libsystem_kernel.dylib 0x00000001b6349068 kevent_id + 8
1 libdispatch.dylib 0x000000018047774c _dispatch_kq_poll + 220 (event_kevent.c:750)
2 libdispatch.dylib 0x0000000180478210 _dispatch_event_loop_wait_for_ownership + 436 (event_kevent.c:2203)
3 libdispatch.dylib 0x0000000180463eb0 __DISPATCH_WAIT_FOR_QUEUE__ + 364 (queue.c:1670)
4 libdispatch.dylib 0x0000000180463a38 _dispatch_sync_f_slow + 164 (queue.c:1751)
5 CoreData 0x0000000187b8b77c -[NSManagedObjectContext performBlockAndWait:] + 268 (NSManagedObjectContext.m:4015)
6 ChatCore 0x00000001043d8d5c specialized NSManagedObjectContext.fetch<A>(where:sortedBy:) + 468 (NSManagedObjectContext+ChatCore.swift:112)
7 ChatCore 0x0000000104363cd0 CoreDataMessageStorage.fetchSentUnreadMessages(forConversationWith:currentUser:) + 792 (CoreDataMessageStorage.swift:663)
8 ChatCore 0x00000001043ce87c ChatMessageStore.fetchSentUnreadMessages(forConversationWith:currentUser:) + 32 (ChatMessageStore.swift:158)
9 ChatCore 0x00000001043ce87c closure #3 in XMPPConversationHistoryModule.xmppMessageArchiveModule(_:didFinishArchiveFor:) + 64 (XMPPConversationHistoryModule.swift:137)
10 ChatCore 0x00000001043ce87c thunk for #callee_guaranteed (#guaranteed XMPPJID) -> (#owned [Message]?, #error #owned Error) + 64 (<compiler-generated>:0)
11 ChatCore 0x00000001043ce87c specialized Optional.flatMap<A>(_:) + 64 (<compiler-generated>:0)
12 ChatCore 0x00000001043ce87c specialized XMPPConversationHistoryModule.xmppMessageArchiveModule(_:didFinishArchiveFor:) + 744 (XMPPConversationHistoryModule.swift:136)
13 ChatCore 0x0000000104372e80 XMPPConversationHistoryModule.xmppMessageArchiveModule(_:didFinishArchiveFor:) + 12 (<compiler-generated>:124)
14 ChatCore 0x0000000104372e80 protocol witness for XMPPMessageArchiveModuleDelegate.xmppMessageArchiveModule(_:didFinishArchiveFor:) in conformance XMPPConversationHistoryModule + 12 (XMPPMessageArchiveModule.swift:0)
15 ChatCore 0x0000000104372e80 specialized XMPPMessageArchiveModule.xmppMessageArchiveManagement(_:didFinishReceivingMessagesWith:for:) + 356
16 ChatCore 0x0000000104371594 XMPPMessageArchiveModule.xmppMessageArchiveManagement(_:didFinishReceivingMessagesWith:for:) + 16 (<compiler-generated>:0)
17 ChatCore 0x0000000104371594 #objc XMPPMessageArchiveModule.xmppMessageArchiveManagement(_:didFinishReceivingMessagesWith:for:) + 96
18 CoreFoundation 0x00000001807c5e04 __invoking___ + 148
19 CoreFoundation 0x000000018076cc3c -[NSInvocation invoke] + 376 (NSForwarding.m:3448)
20 CoreFoundation 0x000000018076c690 -[NSInvocation invokeWithTarget:] + 80 (NSForwarding.m:3549)
21 XMPPFramework 0x0000000104053fac __42-[GCDMulticastDelegate forwardInvocation:]_block_invoke + 40 (GCDMulticastDelegate.m:281)
22 libdispatch.dylib 0x0000000180451c6c _dispatch_call_block_and_release + 32 (init.c:1510)
23 libdispatch.dylib 0x0000000180453a78 _dispatch_client_callout + 20 (object.m:560)
24 libdispatch.dylib 0x000000018045b8bc _dispatch_lane_serial_drain + 692 (inline_internal.h:2603)
25 libdispatch.dylib 0x000000018045c4c4 _dispatch_lane_invoke + 412 (queue.c:3926)
26 libdispatch.dylib 0x00000001804678f4 _dispatch_workloop_worker_thread + 780 (queue.c:6720)
27 libsystem_pthread.dylib 0x00000001f0e02058 _pthread_wqthread + 288 (pthread.c:2496)
28 libsystem_pthread.dylib 0x00000001f0e09620 start_wqthread + 8
Thread 15:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
Thread 16:
0 libsystem_pthread.dylib 0x00000001f0e09618 start_wqthread + 0
EOF
Its because this crash is possibly a side effect of your view configuration and happens in an Apple framework, noticed you are also using a beta version, try running the same code in ios 14.6, if you can reproduce the crash with the device connected you can enable the Exception breakpoint in Xcode to isolate the line that triggered the chain of events.

App crashes on Attributed text of label inside collection view

The App is crashing on iphone 7 ios 12. But i checked on my own system with same configuration (iphone 7 + ios 12) and it is working fine.
The report i get from crashlytics is
Date: 2018-10-01T15:29:00Z
OS Version: 12.0.0 (16A366)
Device: iPhone 7
RAM Free: 13.7%
Disk Free: 68.3%
#0. Crashed: com.apple.main-thread
0 VRapid 0x104a3d0b4 specialized GroupKViewController.getAttributedTime(time:) (GroupKViewController.swift:1095)
1 VRapid 0x104a3f5fc specialized GroupKViewController.collectionView(_:cellForItemAt:) (GroupKViewController.swift:1211)
2 VRapid 0x104a32494 #objc GroupKViewController.collectionView(_:cellForItemAt:) (GroupKViewController.swift)
3 UIKitCore 0x2036df4ac -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 356
4 UIKitCore 0x2036e37ec -[UICollectionView _updateVisibleCellsNow:] + 4036
5 UIKitCore 0x2036e888c -[UICollectionView layoutSubviews] + 324
6 UIKitCore 0x203ced998 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1380
7 QuartzCore 0x1db251a34 -[CALayer layoutSublayers] + 184
8 QuartzCore 0x1db2569c4 CA::Layer::layout_if_needed(CA::Transaction*) + 324
9 QuartzCore 0x1db1b59d4 CA::Context::commit_transaction(CA::Transaction*) + 340
10 QuartzCore 0x1db1e42f4 CA::Transaction::commit() + 608
11 QuartzCore 0x1db1e515c CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
12 CoreFoundation 0x1d6bfdb94 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
13 CoreFoundation 0x1d6bf8828 __CFRunLoopDoObservers + 412
14 CoreFoundation 0x1d6bf8dc8 __CFRunLoopRun + 1264
15 CoreFoundation 0x1d6bf85b8 CFRunLoopRunSpecific + 436
16 GraphicsServices 0x1d8e6c584 GSEventRunModal + 100
17 UIKitCore 0x20363f558 UIApplicationMain + 212
18 VRapid 0x104a19614 main (GroupVCCell.swift:19)
19 libdyld.dylib 0x1d66b8b94 start + 4
--
#0. Crashed: com.apple.main-thread
0 VRapid 0x104a3d0b4 specialized GroupKViewController.getAttributedTime(time:) (GroupKViewController.swift:1095)
1 VRapid 0x104a3f5fc specialized GroupKViewController.collectionView(_:cellForItemAt:) (GroupKViewController.swift:1211)
2 VRapid 0x104a32494 #objc GroupKViewController.collectionView(_:cellForItemAt:) (GroupKViewController.swift)
3 UIKitCore 0x2036df4ac -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 356
4 UIKitCore 0x2036e37ec -[UICollectionView _updateVisibleCellsNow:] + 4036
5 UIKitCore 0x2036e888c -[UICollectionView layoutSubviews] + 324
6 UIKitCore 0x203ced998 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1380
7 QuartzCore 0x1db251a34 -[CALayer layoutSublayers] + 184
8 QuartzCore 0x1db2569c4 CA::Layer::layout_if_needed(CA::Transaction*) + 324
9 QuartzCore 0x1db1b59d4 CA::Context::commit_transaction(CA::Transaction*) + 340
10 QuartzCore 0x1db1e42f4 CA::Transaction::commit() + 608
11 QuartzCore 0x1db1e515c CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
12 CoreFoundation 0x1d6bfdb94 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
13 CoreFoundation 0x1d6bf8828 __CFRunLoopDoObservers + 412
14 CoreFoundation 0x1d6bf8dc8 __CFRunLoopRun + 1264
15 CoreFoundation 0x1d6bf85b8 CFRunLoopRunSpecific + 436
16 GraphicsServices 0x1d8e6c584 GSEventRunModal + 100
17 UIKitCore 0x20363f558 UIApplicationMain + 212
18 VRapid 0x104a19614 main (GroupVCCell.swift:19)
19 libdyld.dylib 0x1d66b8b94 start + 4
#1. com.twitter.crashlytics.ios.binary-images
0 libsystem_kernel.dylib 0x1d6807948 write + 8
1 VRapid 0x104b1bcc0 __CLSFileWriteWithRetries_block_invoke (CLSFile.m:241)
2 VRapid 0x104b1bc00 CLSFileLoopWithWriteBlock (CLSFile.m:213)
3 VRapid 0x104b1beb0 CLSFileWriteToFileDescriptorOrBuffer (CLSFile.m:190)
4 VRapid 0x104b1c180 CLSFileWriteCollectionStart (CLSFile.m:442)
5 VRapid 0x104b1c084 CLSFileWriteSectionStart (CLSFile.m:422)
6 VRapid 0x104b042a0 __CLSBinaryImageChanged_block_invoke (CLSBinaryImage.m:501)
7 libdispatch.dylib 0x1d66a76c8 _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x1d66a8484 _dispatch_client_callout + 16
9 libdispatch.dylib 0x1d664fc18 _dispatch_lane_serial_drain$VARIANT$mp + 592
10 libdispatch.dylib 0x1d6650760 _dispatch_lane_invoke$VARIANT$mp + 432
11 libdispatch.dylib 0x1d6658f00 _dispatch_workloop_worker_thread + 600
12 libsystem_pthread.dylib 0x1d688a0f0 _pthread_wqthread + 312
13 libsystem_pthread.dylib 0x1d688cd00 start_wqthread + 4
#2. com.apple.root.default-qos
0 libsystem_kernel.dylib 0x1d68040c8 __connect + 8
1 Quickblox 0x10535bd28 qb_jid + 171224
2 libdispatch.dylib 0x1d66a76c8 _dispatch_call_block_and_release + 24
3 libdispatch.dylib 0x1d66a8484 _dispatch_client_callout + 16
4 libdispatch.dylib 0x1d664b4d8 _dispatch_queue_override_invoke + 680
5 libdispatch.dylib 0x1d6657a60 _dispatch_root_queue_drain + 376
6 libdispatch.dylib 0x1d6658308 _dispatch_worker_thread2 + 128
7 libsystem_pthread.dylib 0x1d688a190 _pthread_wqthread + 472
8 libsystem_pthread.dylib 0x1d688cd00 start_wqthread + 4
#3. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x1d67f9ed0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1d67f93a8 mach_msg + 72
2 CoreFoundation 0x1d6bfdfb0 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1d6bf8e4c __CFRunLoopRun + 1396
4 CoreFoundation 0x1d6bf85b8 CFRunLoopRunSpecific + 436
5 Foundation 0x1d75ec6a4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6 Foundation 0x1d75ec514 -[NSRunLoop(NSRunLoop) runUntilDate:] + 88
7 UIKitCore 0x20359cac0 -[UIEventFetcher threadMain] + 136
8 Foundation 0x1d771f3b0 __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x1d68892fc _pthread_body + 128
10 libsystem_pthread.dylib 0x1d688925c _pthread_start + 48
11 libsystem_pthread.dylib 0x1d688cd08 thread_start + 4
#4. Thread
0 libsystem_pthread.dylib 0x1d688ccfc start_wqthread + 190
#5. Thread
0 libsystem_kernel.dylib 0x1d6805b9c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1d688a114 _pthread_wqthread + 348
2 libsystem_pthread.dylib 0x1d688cd00 start_wqthread + 4
#6. Thread
0 libsystem_kernel.dylib 0x1d6805b9c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1d688a114 _pthread_wqthread + 348
2 libsystem_pthread.dylib 0x1d688cd00 start_wqthread + 4
#7. AVAudioSession Notify Thread
0 libsystem_kernel.dylib 0x1d67f9ed0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1d67f93a8 mach_msg + 72
2 CoreFoundation 0x1d6bfdfb0 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1d6bf8e4c __CFRunLoopRun + 1396
4 CoreFoundation 0x1d6bf85b8 CFRunLoopRunSpecific + 436
5 AVFAudio 0x1dcbd1c4c GenericRunLoopThread::Entry(void*) + 164
6 AVFAudio 0x1dcbfdd34 CAPThread::Entry(CAPThread*) + 88
7 libsystem_pthread.dylib 0x1d68892fc _pthread_body + 128
8 libsystem_pthread.dylib 0x1d688925c _pthread_start + 48
9 libsystem_pthread.dylib 0x1d688cd08 thread_start + 4
#8. Thread
0 libsystem_pthread.dylib 0x1d688ccfc start_wqthread + 190
#9. Thread
0 libsystem_pthread.dylib 0x1d688ccfc start_wqthread + 190
#10. com.twitter.crashlytics.ios.MachExceptionServer
0 VRapid 0x104b1cd80 CLSProcessRecordAllThreads (CLSProcess.c:376)
1 VRapid 0x104b1cd80 CLSProcessRecordAllThreads (CLSProcess.c:376)
2 VRapid 0x104b1d1f4 CLSProcessRecordAllThreads (CLSProcess.c:407)
3 VRapid 0x104b0d078 CLSHandler (CLSHandler.m:26)
4 VRapid 0x104b08390 CLSMachExceptionServer (CLSMachException.c:446)
5 libsystem_pthread.dylib 0x1d68892fc _pthread_body + 128
6 libsystem_pthread.dylib 0x1d688925c _pthread_start + 48
7 libsystem_pthread.dylib 0x1d688cd08 thread_start + 4
#11. AXBundleLoadQueue
0 libsystem_kernel.dylib 0x1d6804350 __getdirentries64 + 8
1 libsystem_c.dylib 0x1d6731398 _readdir_unlocked + 128
2 libsystem_c.dylib 0x1d6731458 readdir + 40
3 CoreFoundation 0x1d6bcfa74 _CFIterateDirectory + 100
4 CoreFoundation 0x1d6cc6ebc _CFBundleCopyInfoDictionaryInDirectoryWithVersion + 564
5 CoreFoundation 0x1d6cc79e4 CFBundleGetInfoDictionary + 164
6 CoreFoundation 0x1d6bb0630 _CFBundleCreate + 636
7 Foundation 0x1d75e95a4 -[NSBundle _cfBundle] + 84
8 Foundation 0x1d762824c -[NSBundle loadAndReturnError:] + 204
9 UIAccessibility 0x1e8990d38 -[NSBundleAccessibility loadAndReturnError:] + 52
10 AccessibilityUtilities 0x1e6d7b9c0 __50-[AXCodeItem loadWithStrategy:onQueue:completion:]_block_invoke_2 + 240
11 libdispatch.dylib 0x1d66a76c8 _dispatch_call_block_and_release + 24
12 libdispatch.dylib 0x1d66a8484 _dispatch_client_callout + 16
13 libdispatch.dylib 0x1d664fc18 _dispatch_lane_serial_drain$VARIANT$mp + 592
14 libdispatch.dylib 0x1d6650760 _dispatch_lane_invoke$VARIANT$mp + 432
15 libdispatch.dylib 0x1d6658f00 _dispatch_workloop_worker_thread + 600
16 libsystem_pthread.dylib 0x1d688a0f0 _pthread_wqthread + 312
17 libsystem_pthread.dylib 0x1d688cd00 start_wqthread + 4
#12. Thread
0 libsystem_pthread.dylib 0x1d688ccfc start_wqthread + 190
#13. com.apple.CoreMotion.MotionThread
0 libsystem_kernel.dylib 0x1d67f9ed0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1d67f93a8 mach_msg + 72
2 CoreFoundation 0x1d6bfdfb0 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1d6bf8e4c __CFRunLoopRun + 1396
4 CoreFoundation 0x1d6bf85b8 CFRunLoopRunSpecific + 436
5 CoreFoundation 0x1d6bf9354 CFRunLoopRun + 80
6 CoreMotion 0x1dc6272cc (Missing)
7 libsystem_pthread.dylib 0x1d68892fc _pthread_body + 128
8 libsystem_pthread.dylib 0x1d688925c _pthread_start + 48
9 libsystem_pthread.dylib 0x1d688cd08 thread_start + 4
#14. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x1d67f9ed0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1d67f93a8 mach_msg + 72
2 CoreFoundation 0x1d6bfdfb0 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1d6bf8e4c __CFRunLoopRun + 1396
4 CoreFoundation 0x1d6bf85b8 CFRunLoopRunSpecific + 436
5 CFNetwork 0x1d7218e18 -[__CoreSchedulingSetRunnable runForever] + 212
6 Foundation 0x1d771f3b0 __NSThread__start__ + 1040
7 libsystem_pthread.dylib 0x1d68892fc _pthread_body + 128
8 libsystem_pthread.dylib 0x1d688925c _pthread_start + 48
9 libsystem_pthread.dylib 0x1d688cd08 thread_start + 4
But i am not able to locate the crash as on my iPhone 7 the app is working fine.
Can anyone state the possible reason.
The following steps has already taken
Soft restart of App
Uninstall and then reinstall the app
but looks nothing works.
Below is the code for ref
Get Attributed Time Code
func getAttributedTime(time: String) -> NSAttributedString {
let attributeString = NSMutableAttributedString.init()
let timeComp = time.components(separatedBy: " ")
let timeAttributeString = NSAttributedString.init(string: timeComp[0], attributes: [NSAttributedStringKey.font : UIFont.init(name: "Roboto-Medium", size: 42)!.setFontAccordingToScreenHeight(), NSAttributedStringKey.foregroundColor : KenanteColors.timeCol])
let pmAttributedString = NSAttributedString.init(string: timeComp[1], attributes: [NSAttributedStringKey.font: UIFont.init(name: "Roboto-Medium", size: 20)!.setFontAccordingToScreenHeight(), NSAttributedStringKey.foregroundColor : KenanteColors.timeCol])
attributeString.append(timeAttributeString)
attributeString.append(pmAttributedString)
return attributeString
}
}
Calling getAttributedTime in cellForItemAt
let startTime = dateFormatter.date(from: time)?.toLocalTime() ?? Date.init()
dateFormatter.amSymbol = "am"
dateFormatter.pmSymbol = "pm"
dateFormatter.dateFormat = "hh:mm a"
let startTimeInDate = dateFormatter.string(from: startTime)
time = startTimeInDate
cell.timeIcon.attributedText = getAttributedTime(time: time)
you must share a code snippet where you assign attributed text to your label,
otherwise it could be several reasons like:
1) You have to use the attributedText property of UILabel
2) You may unwrap a custom UIFont name while it does not exist.
There would be more accurate solution after you share your code.

iOS unknown exception and crash report

We built an iOS application using Cordova/angular/ionic. The application is a photo application which uses web workers for background image processing.
After doing some image manipulation we are clearing all of our variables and memory is stable. Every so often the application gets hidden in the background and then when triggered using an external link it crashes randomly. I am getting the below crash report in xCode. The memory is stable in xCode and the application crashes before the "resume" iOS callback is called so xCode does not output any exception.
We believe this is something to do with Workers since the application crashes only after workers have been used, but we cannot find the memory leak or the lingering pointer.
We are also getting something like this in xCode (randomly) when we do worker.postMessage to a ready worker.
Communications error: <OS_xpc_error: <error: 0x397d0614> { count = 1, contents =
"XPCErrorDescription" => <string: 0x397d086c> { length = 22, contents = "Connection interrupted" }
}>
We don't know if the above error is connected to the above crash or not.
Has anyone had any similar issues?
Incident Identifier: D15A92CA-1384-41A4-86D8-DCAD0F0CCEAD
CrashReporter Key: f8d3c65b5d8546e16be90ff79e7f7852d1d340d6
Hardware Model: iPod5,1
Process: app [3639]
Path: /private/var/mobile/Containers/Bundle/Application/2A3BB04D-C783-432C-81D8-9FD17E3E766C/myapp.app/myapp
Identifier: it.myapp
Version: 1.0.2 (1.0.2)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-08-11 13:16:33.319 +0200
Launch Time: 2015-08-11 13:12:22.777 +0200
OS Version: iOS 8.1 (12B411)
Report Version: 105
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
it.myapp failed to scene-update in time
Elapsed total CPU time (seconds): 17.490 (user 17.490, system 0.000), 85% CPU
Elapsed application CPU time (seconds): 15.755, 77% CPU
Thread 0 name: Dispatch queue: com.apple.root.user-interactive-qos
Thread 0:
0 vImage 0x28081984 conv4_8_A + 300
1 vImage 0x2807e6c4 vConvolveCore_Planar8 + 2052
2 vImage 0x2804ed8a __vImageConvolveWithBias_Planar8_block_invoke + 138
3 libdispatch.dylib 0x36fc8ee0 _dispatch_client_callout2 + 20
4 libdispatch.dylib 0x36fd3b76 _dispatch_apply_invoke$VARIANT$mp + 146
5 libdispatch.dylib 0x36fd3f56 dispatch_apply_f$VARIANT$mp + 538
6 vImage 0x2804ecc6 vImageConvolveWithBias_Planar8 + 714
7 vImage 0x2804e9f0 vImageConvolve_Planar8 + 76
8 libRIP.A.dylib 0x298d8d06 symmetric_convolve + 582
9 libRIP.A.dylib 0x298d893a RIPLayerSymmetricConvolve + 522
10 libRIP.A.dylib 0x298d86b0 RIPLayerGaussianBlur + 336
11 libRIP.A.dylib 0x298d81ae rips_s_BltShapeShadow + 438
12 libRIP.A.dylib 0x298dd49e rips_s_BltShape + 46
13 libRIP.A.dylib 0x298cc9e4 ripc_Render + 196
14 libRIP.A.dylib 0x298da6d0 ripc_DrawPath + 200
15 CoreGraphics 0x2959f260 CGContextDrawPath + 140
16 WebCore 0x346ad300 WebCore::GraphicsContext::fillPath(WebCore::Path const&) + 120
17 WebCore 0x3499706e WebCore::GraphicsContext::fillRectWithRoundedHole(WebCore::FloatRect const&, WebCore::FloatRoundedRect const&, WebCore::Color const&, WebCore::ColorSpace) + 230
18 WebCore 0x34dca392 WebCore::RenderBoxModelObject::paintBoxShadow(WebCore::PaintInfo const&, WebCore::LayoutRect const&, WebCore::RenderStyle const&, WebCore::ShadowStyle, bool, bool) + 2258
19 WebCore 0x3464db72 WebCore::RenderBox::paintBoxDecorations(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 534
20 WebCore 0x3464bdc2 WebCore::RenderBlock::paintObject(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 214
21 WebCore 0x3464d636 WebCore::RenderBlock::paint(WebCore::PaintInfo&, WebCore::LayoutPoint const&) + 206
22 WebCore 0x3464bbe8 WebCore::RenderLayer::paintBackgroundForFragments(WTF::Vector<WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow> const&, WebCore::GraphicsContext*, WebCore::GraphicsContext*, WebCore::LayoutRect const&, bool, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int, WebCore::RenderObject*) + 216
23 WebCore 0x3464aeba WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext*, WebCore::RenderLayer::LayerPaintingInfo const&, unsigned int) + 1282
24 WebCore 0x346fce08 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext*, WebCore::IntRect const&, unsigned int, unsigned int) + 268
25 WebCore 0x34df0592 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&, unsigned int, WebCore::FloatRect const&) + 934
26 WebCore 0x34998624 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&, WebCore::FloatRect const&) + 100
27 WebCore 0x34d83c94 WebCore::PlatformCALayer::drawLayerContents(CGContext*, WebCore::PlatformCALayer*, WTF::Vector<WebCore::FloatRect, 5ul, WTF::CrashOnOverflow>&) + 328
28 WebCore 0x346fcc5c -[WebLayer drawInContext:] + 108
29 QuartzCore 0x2c2280be CABackingStoreUpdate_ + 2066
30 QuartzCore 0x2c309b48 ___ZN2CA5Layer8display_Ev_block_invoke + 48
31 QuartzCore 0x2c2278a2 x_blame_allocations + 86
32 QuartzCore 0x2c227550 CA::Layer::display_() + 1152
33 WebCore 0x34fe10c6 -[WebSimpleLayer display] + 50
34 QuartzCore 0x2c20bb18 CA::Layer::display_if_needed(CA::Transaction*) + 196
35 QuartzCore 0x2c20b7dc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 20
36 QuartzCore 0x2c20b1c2 CA::Context::commit_transaction(CA::Transaction*) + 218
37 QuartzCore 0x2c20afcc CA::Transaction::commit() + 320
38 UIKit 0x2ca302ea _UIWindowUpdateVisibleContextOrder + 206
39 UIKit 0x2ca3017c +[UIWindow _prepareWindowsPassingTestForAppResume:] + 12
40 UIKit 0x2ca53792 -[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:] + 1110
41 UIKit 0x2ca5310a __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 114
42 UIKit 0x2ca5308e -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 358
43 UIKit 0x2ca4834a -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 470
44 FrontBoardServices 0x2fa7e1e8 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 36
45 FrontBoardServices 0x2fa8d0de __31-[FBSSerialQueue performAsync:]_block_invoke + 10
46 CoreFoundation 0x2930960a __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 10
47 CoreFoundation 0x293088cc __CFRunLoopDoBlocks + 212
48 CoreFoundation 0x29307426 __CFRunLoopRun + 1710
49 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
50 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
51 GraphicsServices 0x3060604c GSEventRunModal + 132
52 UIKit 0x2c84697c UIApplicationMain + 1436
53 myapp 0x0009dc66 main (main.m:32)
54 libdyld.dylib 0x37001aac start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x370b32c8 kevent64 + 24
1 libdispatch.dylib 0x36fd5e44 _dispatch_mgr_invoke + 276
2 libdispatch.dylib 0x36fd5b76 _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x370b3518 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x370b330c mach_msg + 36
2 CoreFoundation 0x29308ba6 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2930716c __CFRunLoopRun + 1012
4 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
6 CFNetwork 0x28e099da +[NSURLConnection(Loader) _resourceLoadLoop:] + 482
7 Foundation 0x2a054996 __NSThread__main__ + 1114
8 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
9 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
10 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x370c6ba8 __psynch_mutexwait + 24
1 libsystem_pthread.dylib 0x37144036 _pthread_mutex_lock + 390
2 WebCore 0x3462752c _WebTryThreadLock(bool) + 104
3 WebCore 0x346274aa WebRunLoopLock(__CFRunLoopObserver*, unsigned long, void*) + 42
4 CoreFoundation 0x29309622 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
5 CoreFoundation 0x29306d04 __CFRunLoopDoObservers + 272
6 CoreFoundation 0x2930704e __CFRunLoopRun + 726
7 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
8 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
9 WebCore 0x3462624c RunWebThread(void*) + 412
10 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
11 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
12 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 4 name: JavaScriptCore::BlockFree
Thread 4:
0 libsystem_kernel.dylib 0x370c6b38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x371453dc _pthread_cond_wait + 516
2 libsystem_pthread.dylib 0x371462ac pthread_cond_wait + 36
3 libc++.1.dylib 0x3622efa4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 32
4 JavaScriptCore 0x2a515f96 JSC::BlockAllocator::blockFreeingThreadMain() + 210
5 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
7 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
8 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 5 name: JavaScriptCore::Marking
Thread 5:
0 libsystem_kernel.dylib 0x370c6b38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x371453dc _pthread_cond_wait + 516
2 libsystem_pthread.dylib 0x371462ac pthread_cond_wait + 36
3 libc++.1.dylib 0x3622efa4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 32
4 JavaScriptCore 0x2a6dab60 JSC::GCThread::waitForNextPhase() + 100
5 JavaScriptCore 0x2a6dabc4 JSC::GCThread::gcThreadMain() + 48
6 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
8 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
9 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 6 name: WebCore: CFNetwork Loader
Thread 6:
0 libsystem_kernel.dylib 0x370b3518 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x370b330c mach_msg + 36
2 CoreFoundation 0x29308ba6 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2930716c __CFRunLoopRun + 1012
4 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
6 WebCore 0x3464f558 WebCore::runLoaderThread(void*) + 288
7 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
9 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
10 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 7 name: com.apple.coremedia.player.async
Thread 7:
0 libsystem_kernel.dylib 0x370b3568 semaphore_wait_trap + 8
1 libdispatch.dylib 0x36fd34e6 _dispatch_semaphore_wait_slow + 186
2 MediaToolbox 0x2ad0a43e fpa_AsyncMovieControlThread + 1962
3 CoreMedia 0x29aaee74 figThreadMain + 184
4 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
5 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
6 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 8 name: AVAudioSession Notify Thread
Thread 8:
0 libsystem_kernel.dylib 0x370b3518 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x370b330c mach_msg + 36
2 CoreFoundation 0x29308ba6 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2930716c __CFRunLoopRun + 1012
4 CoreFoundation 0x2925497c CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2925478e CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x27f783e8 GenericRunLoopThread::Entry(void*) + 128
7 libAVFAudio.dylib 0x27f6a8e4 CAPThread::Entry(CAPThread*) + 192
8 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
9 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
10 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 9 name: WebCore: LocalStorage
Thread 9:
0 libsystem_kernel.dylib 0x370c6b38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x371453dc _pthread_cond_wait + 516
2 libsystem_pthread.dylib 0x371462ac pthread_cond_wait + 36
3 JavaScriptCore 0x2a5160da WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 58
4 WebCore 0x34ec1756 std::__1::unique_ptr<WTF::Function<void ()>, std::__1::default_delete<WTF::Function<void ()> > > WTF::MessageQueue<WTF::Function<void ()> >::waitForMessageFilteredWithTimeout<WTF::MessageQueue<WTF::Function<void ()> >::waitForMessage()::'lambda'(WTF::Function<void ()> const&)>(WTF::MessageQueueWaitResult&, WTF::MessageQueue<WTF::Function<void ()> >::waitForMessage()::'lambda'(WTF::Function<void ()> const&)&&, double) + 70
5 WebCore 0x346e4cd2 WebCore::StorageThread::threadEntryPoint() + 150
6 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
8 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
9 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 10 name: com.apple.CFSocket.private
Thread 10:
0 libsystem_kernel.dylib 0x370c708c __select + 20
1 CoreFoundation 0x2930d32e __CFSocketManager + 486
2 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
3 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
4 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 11 name: WebCore: File
Thread 11:
0 libsystem_kernel.dylib 0x370c6b38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x371453dc _pthread_cond_wait + 516
2 libsystem_pthread.dylib 0x371462ac pthread_cond_wait + 36
3 JavaScriptCore 0x2a5160da WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 58
4 WebCore 0x34934394 std::__1::unique_ptr<WebCore::FileThread::Task, std::__1::default_delete<WebCore::FileThread::Task> > WTF::MessageQueue<WebCore::FileThread::Task>::waitForMessageFilteredWithTimeout<WTF::MessageQueue<WebCore::FileThread::Task>::waitForMessage()::'lambda'(WebCore::FileThread::Task const&)>(WTF::MessageQueueWaitResult&, WTF::MessageQueue<WebCore::FileThread::Task>::waitForMessage()::'lambda'(WebCore::FileThread::Task const&)&&, double) + 68
5 WebCore 0x349341b2 WebCore::FileThread::runLoop() + 154
6 JavaScriptCore 0x2a51244c WTF::wtfThreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x37145e64 _pthread_body + 136
8 libsystem_pthread.dylib 0x37145dd6 _pthread_start + 114
9 libsystem_pthread.dylib 0x37143b80 thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x370c79cc __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x37143e9c _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x37143b74 start_wqthread + 4
Thread 13 name: Dispatch queue: com.apple.root.user-interactive-qos
Thread 13:
0 vImage 0x28081960 conv4_8_A + 264
1 vImage 0x2807e6c4 vConvolveCore_Planar8 + 2052
2 vImage 0x2804ed8a __vImageConvolveWithBias_Planar8_block_invoke + 138
3 libdispatch.dylib 0x36fd3b76 _dispatch_apply_invoke$VARIANT$mp + 146
4 libdispatch.dylib 0x36fd22d6 _dispatch_root_queue_drain + 846
5 libdispatch.dylib 0x36fd31f6 _dispatch_worker_thread3 + 102
6 libsystem_pthread.dylib 0x37143e22 _pthread_wqthread + 666
7 libsystem_pthread.dylib 0x37143b74 start_wqthread + 4
No thread state (register information) available
Binary Images:
0x97000 - 0x10afff myapp armv7 <5c3f62bd3a073ae28638f130eb45dee1> /var/mobile/Containers/Bundle/Application/2A3BB04D-C783-432C-81D8-9FD17E3E766C/myapp.app/myapp

App Crash on launch iOS 7 Crash log explain

I couldn't understand where is my problem. My apps crash on launch with this crash log.
iOS 7.0.2 (11A501) Report Version: 104
Exception Type: 00000020 Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information: com.myapps failed
to launch in time
Elapsed total CPU time (seconds): 4.420 (user 4.420, system 0.000),
10% CPU Elapsed application CPU time (seconds): 0.714, 2% CPU
Thread 0: 0 libsystem_kernel.dylib 0x3878ead4
semaphore_wait_trap + 8 1 libdispatch.dylib 0x386dbdec
_dispatch_semaphore_wait_slow + 172 2 CFNetwork 0x2dabab16 CFURLConnectionSendSynchronousRequest + 266 3 Foundation
0x2e883a4e +[NSURLConnection
sendSynchronousRequest:returningResponse:error:] + 110 4 Foundation
0x2e8d8c80 -[NSString initWithContentsOfURL:encoding:error:] + 188 5
QuizPatente! 0x0004d980 0x3e000 + 63872 6
QuizPatente! 0x00048820 0x3e000 + 43040 7
QuizPatente! 0x00048644 0x3e000 + 42564 8 UIKit
0x306fc020 -[UIApplication _stopDeactivatingForReason:] + 376 9
UIKit 0x306e762c -[UIApplication
_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 1092 10 UIKit 0x30681be2 -[UIApplication handleEvent:withNewEvent:] + 3138 11 UIKit
0x30680ed8 -[UIApplication sendEvent:] + 68 12 UIKit
0x306e6c9c _UIApplicationHandleEvent + 660 13 GraphicsServices
0x32b6276a _PurpleEventCallback + 606 14 GraphicsServices
0x32b62352 PurpleEventCallback + 30 15 CoreFoundation
0x2dec177c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION
+ 32 16 CoreFoundation 0x2dec1716 __CFRunLoopDoSource1 + 342 17 CoreFoundation 0x2debfee2 __CFRunLoopRun + 1402 18 CoreFoundation
0x2de2a53c CFRunLoopRunSpecific + 520 19 CoreFoundation
0x2de2a31e CFRunLoopRunInMode + 102 20 UIKit
0x306e5f3e -[UIApplication _run] + 758 21 UIKit
0x306e11e0 UIApplicationMain + 1132 22 QuizPatente!
0x00045a28 0x3e000 + 31272 23 libdyld.dylib
0x386eaab4 start + 0
Thread 1: 0 libsystem_kernel.dylib 0x3878e838 kevent64 + 24
1 libdispatch.dylib 0x386dd0d0 _dispatch_mgr_invoke +
228 2 libdispatch.dylib 0x386d763e _dispatch_mgr_thread
+ 34
Thread 2: 0 libsystem_kernel.dylib 0x3878ead4
semaphore_wait_trap + 8 1 libdispatch.dylib 0x386dbf90
_dispatch_group_wait_slow + 168 2 GameCenterFoundation 0x2ea86dc4 __35-[GKDaemonProxy buildServiceLookup]_block_invoke + 628
3 libdispatch.dylib 0x386d6100
_dispatch_call_block_and_release + 8 4 libdispatch.dylib 0x386dae72 _dispatch_queue_drain + 370 5 libdispatch.dylib
0x386d7f96 _dispatch_queue_invoke + 38 6 libdispatch.dylib
0x386db74e _dispatch_root_queue_drain + 74 7 libdispatch.dylib
0x386db9cc _dispatch_worker_thread2 + 52 8 libsystem_pthread.dylib
0x38805dfc _pthread_wqthread + 296 9 libsystem_pthread.dylib
0x38805cc0 start_wqthread + 4
Thread 3: 0 libsystem_kernel.dylib 0x387a1c7c
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x38805e06 _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x38805cc0 start_wqthread + 4
Thread 4: 0 libsystem_kernel.dylib 0x387a1c7c
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x38805e06 _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x38805cc0 start_wqthread + 4
Thread 5: 0 libsystem_kernel.dylib 0x387a0f38
psynch_cvwait + 24 1 libsystem_pthread.dylib 0x38807262 _pthread_cond_wait + 538 2 libsystem_pthread.dylib 0x3880803c pthread_cond_wait + 36 3 Foundation 0x2e86574a
-[NSCondition wait] + 190 4 QuizPatente! 0x0026c5b0 0x3e000 + 2287024 5 Foundation
0x2e8dadc2 _NSThread_main + 1058 6 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 7 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 8 libsystem_pthread.dylib
0x38805ccc thread_start + 4
Thread 6: 0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap
+ 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c CFRunLoopServiceMachPort +
152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788
4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific +
520 5 CoreFoundation 0x2de6e1a6 CFRunLoopRun + 94 6
QuizPatente! 0x001ec3b4 0x3e000 + 1762228 7
Foundation 0x2e8dadc2 _NSThread_main + 1058 8
libsystem_pthread.dylib 0x38807c5a _pthread_body + 138 9
libsystem_pthread.dylib 0x38807bca _pthread_start + 98 10
libsystem_pthread.dylib 0x38805ccc thread_start + 4
Thread 7 name: com.apple.NSURLConnectionLoader Thread 7: 0
libsystem_kernel.dylib 0x3878ea84 mach_msg_trap + 20 1
libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2
CoreFoundation 0x2dec155c CFRunLoopServiceMachPort +
152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788
4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific +
520 5 CoreFoundation 0x2de2a31e CFRunLoopRunInMode +
102 6 Foundation 0x2e86564c
+[NSURLConnection(Loader) _resourceLoadLoop:] + 316 7 Foundation 0x2e8dadc2 _NSThread_main + 1058 8 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 9 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 10 libsystem_pthread.dylib
0x38805ccc thread_start + 4
Thread 8: 0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap
+ 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c CFRunLoopServiceMachPort +
152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788
4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific +
520 5 CoreFoundation 0x2de2a31e CFRunLoopRunInMode +
102 6 Foundation 0x2e818822
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250 7 Foundation 0x2e869664 -[NSRunLoop(NSRunLoop) run] + 76 8 QuizPatente!
0x000e9fd4 0x3e000 + 704468 9 Foundation
0x2e8dadc2 _NSThread_main + 1058 10 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 11 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 12 libsystem_pthread.dylib
0x38805ccc thread_start + 4
Thread 9: 0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap
+ 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c __CFRunLoopServiceMachPort +
152 3 CoreFoundation 0x2debfc7c _CFRunLoopRun + 788
4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific +
520 5 CoreFoundation 0x2de6e1a6 CFRunLoopRun + 94 6
CoreMotion 0x2e4e2394
__lldb_unnamed_function1407$$CoreMotion + 724 7 libsystem_pthread.dylib 0x38807c5a _pthread_body + 138 8
libsystem_pthread.dylib 0x38807bca _pthread_start + 98 9
libsystem_pthread.dylib 0x38805ccc thread_start + 4
I update my app today. The strange behavior has come only when the app is updated. If users reinstall the app it work fine.
Based on:
Application Specific Information: com.myapps failed to launch in time
Elapsed total CPU time (seconds): 4.420 (user 4.420, system 0.000),
10% CPU Elapsed application CPU time (seconds): 0.714, 2% CPU
it looks like your app is not returning from application:didFinishLaunchingWithOptions: in time.
You are probably doing something in that method that is blocking the thread and preventing it from returning.

Resources