flutter mutex lock failed: Invalid argument - ios

I am getting the following error on the crashanalytics dashboard
Fatal Exception: std::__1::system_error
mutex lock failed: Invalid argument
Crashed: io.flutter.1.ui
0 FirebaseCrashlytics 0x1c9b4 FIRCLSProcessRecordAllThreads + 180
1 FirebaseCrashlytics 0x1cd94 FIRCLSProcessRecordAllThreads + 1172
2 FirebaseCrashlytics 0x15b98 FIRCLSHandler + 48
3 FirebaseCrashlytics 0x10018 __FIRCLSExceptionRecord_block_invoke + 92
4 libdispatch.dylib 0x3950 _dispatch_client_callout + 20
5 libdispatch.dylib 0x12a70 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6 FirebaseCrashlytics 0xf79c FIRCLSExceptionRecord + 212
7 FirebaseCrashlytics 0xf430 FIRCLSTerminateHandler() + 588
8 libc++abi.dylib 0x12f58 std::__terminate(void (*)()) + 20
9 libc++abi.dylib 0x15efc __cxa_rethrow + 148
10 libobjc.A.dylib 0x17e8c objc_exception_rethrow + 44
11 CoreFoundation 0x1f4b4 CFRunLoopRunSpecific + 836
12 Flutter 0x2f0f74 (Missing)
13 Flutter 0x2f0788 (Missing)
14 libsystem_pthread.dylib 0x1a60 _pthread_start + 148
15 libsystem_pthread.dylib 0xf5c thread_start + 8
com.apple.main-thread
0 libdyld.dylib 0x1b76c dyld3::MachOFile::isArch(char const*) const + 72
1 libdyld.dylib 0x1158c dyld3::Reaper::runTerminators(dyld3::LoadedImage const&) + 44
2 libdyld.dylib 0x1158c dyld3::Reaper::runTerminators(dyld3::LoadedImage const&) + 44
3 libdyld.dylib 0x11874 dyld3::AllImages::runAllStaticTerminators() + 168
4 libsystem_c.dylib 0x58270 __cxa_finalize_ranges + 408
5 libsystem_c.dylib 0x585c4 exit + 28
6 UIKitCore 0xbd62f0 -[UIApplication terminateWithSuccess] + 502
7 UIKitCore 0xbe7c98 -[UIApplication _updateStateRestorationArchiveForBackgroundEvent:saveState:exitIfCouldNotRestoreState:updateSnapshot:windowScene:] + 180
8 UIKitCore 0xbe7564 __91-[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:]_block_invoke_2.3212 + 160
9 libdispatch.dylib 0x2a84 _dispatch_call_block_and_release + 32
10 libdispatch.dylib 0x481c _dispatch_client_callout + 20
11 libdispatch.dylib 0x12c70 _dispatch_main_queue_callback_4CF + 884
12 CoreFoundation 0xa3340 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
13 CoreFoundation 0x9d218 __CFRunLoopRun + 2524
14 CoreFoundation 0x9c308 CFRunLoopRunSpecific + 600
15 GraphicsServices 0x3734 GSEventRunModal + 164
16 UIKitCore 0xbca75c -[UIApplication _run] + 1072
17 UIKitCore 0xbcffcc UIApplicationMain + 168
18 Runner 0x712c main + 5 (AppDelegate.swift:5)
19 libdyld.dylib 0x1cf8 start + 4
Thread
0 libsystem_kernel.dylib 0x2a0a4 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x37f0 _pthread_wqthread + 352
2 libsystem_pthread.dylib 0xa74c start_wqthread + 8
Thread
0 libsystem_kernel.dylib 0x2a0a4 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x37f0 _pthread_wqthread + 352
2 libsystem_pthread.dylib 0xa74c start_wqthread + 8
com.apple.mobileassetd.v2.maxpcmanager.state
0 libsystem_kernel.dylib 0x44fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x3884 mach_msg + 76
2 libdispatch.dylib 0x1e280 _dispatch_mach_send_and_wait_for_reply + 520
3 libdispatch.dylib 0x1e64c dispatch_mach_send_with_result_and_wait_for_reply + 56
4 libxpc.dylib 0xde30 xpc_connection_send_message_with_reply_sync + 240
5 MobileAsset 0x10664 __25-[MAXpcManager sendSync:]_block_invoke + 124
6 libdispatch.dylib 0x481c _dispatch_client_callout + 20
7 libdispatch.dylib 0x13910 _dispatch_lane_barrier_sync_invoke_and_complete + 60
8 MobileAsset 0x105a4 -[MAXpcManager sendSync:] + 192
9 MobileAsset 0xd990 -[MAAssetQuery queryMetaDataSync] + 708
10 DataDeliveryServices 0x11cac -[DDSMobileAssetv2Provider performAssetsForQuery:errorPtr:]
11 DataDeliveryServices 0x11a9c -[DDSMobileAssetv2Provider assetsForQuery:errorPtr:]
12 DataDeliveryServices 0x302c -[DDSAssetCenter assetsForQuery:error:]
13 LinguisticData 0x4a28 (Missing)
14 LinguisticData 0x3680 (Missing)
15 LinguisticData 0x5170 LDEnumerateAssetDataItems + 304
16 ProofReader 0x90e4 -[AppleSpell(Lexicon) enumerateAssetDataItemsForLocale:withBlock:] + 104
17 ProofReader 0xa344 -[AppleSpell(LanguageModeling) assetDataBundleURLsForLanguage:] + 184
18 ProofReader 0xd8b4 __37-[AppleSpell dataBundlesForLanguage:]_block_invoke.40 + 52
19 libdispatch.dylib 0x2a84 _dispatch_call_block_and_release + 32
20 libdispatch.dylib 0x481c _dispatch_client_callout + 20
21 libdispatch.dylib 0x1610c _dispatch_root_queue_drain + 688
22 libdispatch.dylib 0x167d8 _dispatch_worker_thread2 + 112
23 libsystem_pthread.dylib 0x3768 _pthread_wqthread + 216
24 libsystem_pthread.dylib 0xa74c start_wqthread + 8
Thread
0 libsystem_pthread.dylib 0xa744 start_wqthread + 6
com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x44fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x3884 mach_msg + 76
2 CoreFoundation 0xa2e58 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x9ccf8 __CFRunLoopRun + 1212
4 CoreFoundation 0x9c308 CFRunLoopRunSpecific + 600
5 Foundation 0x8d8c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232
6 Foundation 0x8c58 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92
7 UIKitCore 0xc7f304 -[UIEventFetcher threadMain] + 516
8 Foundation 0x17a30c __NSThread__start__ + 864
9 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
10 libsystem_pthread.dylib 0xa758 thread_start + 8
io.flutter.1.ui
0 libsystem_kernel.dylib 0x29124 __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x71e4 _pthread_mutex_firstfit_lock_wait + 88
2 libsystem_pthread.dylib 0x7130 _pthread_mutex_firstfit_lock_slow + 232
3 libc++.1.dylib 0x3caf4 std::__1::mutex::lock() + 16
4 Flutter 0x2ee078 (Missing)
5 Flutter 0x2f1098 (Missing)
6 CoreFoundation 0xa41d4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
7 CoreFoundation 0xa3dd0 __CFRunLoopDoTimer + 1076
8 CoreFoundation 0xa3220 __CFRunLoopDoTimers + 328
9 CoreFoundation 0x9cfd4 __CFRunLoopRun + 1944
10 CoreFoundation 0x9c308 CFRunLoopRunSpecific + 600
11 Flutter 0x2f0f74 (Missing)
12 Flutter 0x2f0788 (Missing)
13 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
14 libsystem_pthread.dylib 0xa758 thread_start + 8
io.flutter.1.io
0 libsystem_kernel.dylib 0x44fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x3884 mach_msg + 76
2 CoreFoundation 0xa2e58 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x9ccf8 __CFRunLoopRun + 1212
4 CoreFoundation 0x9c308 CFRunLoopRunSpecific + 600
5 Flutter 0x2f0f74 (Missing)
6 Flutter 0x2f0788 (Missing)
7 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
8 libsystem_pthread.dylib 0xa758 thread_start + 8
io.worker.1
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5434 _pthread_cond_wait + 1248
2 libc++.1.dylib 0x9efc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Flutter 0x2ebb60 (Missing)
4 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
5 libsystem_pthread.dylib 0xa758 thread_start + 8
io.worker.2
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5434 _pthread_cond_wait + 1248
2 libc++.1.dylib 0x9efc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Flutter 0x2ebb60 (Missing)
4 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
5 libsystem_pthread.dylib 0xa758 thread_start + 8
io.worker.3
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5434 _pthread_cond_wait + 1248
2 libc++.1.dylib 0x9efc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Flutter 0x2ebb60 (Missing)
4 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
5 libsystem_pthread.dylib 0xa758 thread_start + 8
io.worker.4
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5434 _pthread_cond_wait + 1248
2 libc++.1.dylib 0x9efc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Flutter 0x2ebb60 (Missing)
4 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
5 libsystem_pthread.dylib 0xa758 thread_start + 8
io.worker.5
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5434 _pthread_cond_wait + 1248
2 libc++.1.dylib 0x9efc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Flutter 0x2ebb60 (Missing)
4 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
5 libsystem_pthread.dylib 0xa758 thread_start + 8
io.worker.6
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5434 _pthread_cond_wait + 1248
2 libc++.1.dylib 0x9efc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Flutter 0x2ebb60 (Missing)
4 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
5 libsystem_pthread.dylib 0xa758 thread_start + 8
dart:io EventHandler
0 libsystem_kernel.dylib 0x2b150 kevent + 8
1 Flutter 0x43b48c (Missing)
2 Flutter 0x468cc4 (Missing)
3 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
4 libsystem_pthread.dylib 0xa758 thread_start + 8
Thread
0 libsystem_pthread.dylib 0xa744 start_wqthread + 6
com.apple.root.background-qos
0 CoreFoundation 0xc9a54 __CFStringAppendFormatCore + 14000
1 CoreFoundation 0xca22c _CFStringCreateWithFormatAndArgumentsReturningMetadata + 164
2 Foundation 0x8454 +[NSString stringWithFormat:] + 76
3 FBSDKCoreKit_Basics 0xe58c +[FBSDKLibAnalyzer _addClass:isClassMethod:] + 184
4 FBSDKCoreKit_Basics 0xda14 +[FBSDKLibAnalyzer getMethodsTable:frameworks:] + 284
5 FBSDKCoreKit_Basics 0xbf2c -[FBSDKCrashHandler _generateMethodMapping:] + 252
6 libdispatch.dylib 0x2a84 _dispatch_call_block_and_release + 32
7 libdispatch.dylib 0x481c _dispatch_client_callout + 20
8 libdispatch.dylib 0x1610c _dispatch_root_queue_drain + 688
9 libdispatch.dylib 0x167d8 _dispatch_worker_thread2 + 112
10 libsystem_pthread.dylib 0x3768 _pthread_wqthread + 216
11 libsystem_pthread.dylib 0xa74c start_wqthread + 8
Thread
0 libsystem_pthread.dylib 0xa744 start_wqthread + 6
com.google.firebase.crashlytics.MachExceptionServer
0 libsystem_kernel.dylib 0x44fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x3884 mach_msg + 76
2 FirebaseCrashlytics 0x184e0 FIRCLSMachExceptionServer + 104
3 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
4 libsystem_pthread.dylib 0xa758 thread_start + 8
Thread
0 libsystem_kernel.dylib 0x2a0a4 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x37f0 _pthread_wqthread + 352
2 libsystem_pthread.dylib 0xa74c start_wqthread + 8
DartWorker
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5460 _pthread_cond_wait + 1292
2 Flutter 0x599374 (Missing)
3 Flutter 0x538f18 (Missing)
4 Flutter 0x5df254 (Missing)
5 Flutter 0x598c9c (Missing)
6 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
7 libsystem_pthread.dylib 0xa758 thread_start + 8
DartWorker
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5460 _pthread_cond_wait + 1292
2 Flutter 0x599374 (Missing)
3 Flutter 0x5df214 (Missing)
4 Flutter 0x598c9c (Missing)
5 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
6 libsystem_pthread.dylib 0xa758 thread_start + 8
DartWorker
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5460 _pthread_cond_wait + 1292
2 Flutter 0x599374 (Missing)
3 Flutter 0x5df214 (Missing)
4 Flutter 0x598c9c (Missing)
5 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
6 libsystem_pthread.dylib 0xa758 thread_start + 8
com.apple.CoreMotion.MotionThread
0 libsystem_kernel.dylib 0x44fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x3884 mach_msg + 76
2 CoreFoundation 0xa2e58 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x9ccf8 __CFRunLoopRun + 1212
4 CoreFoundation 0x9c308 CFRunLoopRunSpecific + 600
5 CoreFoundation 0x9d3f4 CFRunLoopRun + 64
6 CoreMotion 0x14cc78 CLClientCreateIso6709Notation + 196104
7 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
8 libsystem_pthread.dylib 0xa758 thread_start + 8
com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x44fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x3884 mach_msg + 76
2 CoreFoundation 0xa2e58 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x9ccf8 __CFRunLoopRun + 1212
4 CoreFoundation 0x9c308 CFRunLoopRunSpecific + 600
5 CFNetwork 0x24bb38 _CFURLStorageSessionCopyCache + 64268
6 Foundation 0x17a30c __NSThread__start__ + 864
7 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
8 libsystem_pthread.dylib 0xa758 thread_start + 8
JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x290cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x5434 _pthread_cond_wait + 1248
2 libc++.1.dylib 0x9f98 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
3 JavaScriptCore 0xfd8118 bmalloc::Scavenger::threadRunLoop() + 552
4 JavaScriptCore 0xfd7bcc bmalloc::Scavenger::Scavenger(std::__1::scoped_lock<bmalloc::Mutex> const&) + 14
5 JavaScriptCore 0xfd90e4 std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer(std::__1::__thread_struct*) + 46
6 libsystem_pthread.dylib 0x1bfc _pthread_start + 320
7 libsystem_pthread.dylib 0xa758 thread_start + 8
It seems to happen only on iphone. What could this be? Are there ways I could get more info on this error. I don't see any of my code in the stack trace.
EDIT:
Also posted it to the flutter repo
https://github.com/flutter/flutter/issues/94286

Related

AudioToolBox crash report only in iOS 12.3 above OS apple devices

From iOS 12.3 and above iOS versions we are getting AudioToolBox crashes, we do not know why these crashes are happening. We have Crashlytics Crash report but we are not able to debug the issue with the help of Crashlytics crash report.
I have attached the Crashlytics crash report.
Background of our application :
Our application streams the video using RTSP url and VLC mobile kit. even when the application is sent to the background the streaming continues and the stream will try to reconnect when the stream disconnects due to some error.
While streaming the video in the background we show the user a red bar on the user iPhone.
We tried different scenarios to reproduce the issue some of them are
1) we checked if it is happening when we receive a mobile call when the user is streaming
2) We checked if interruptions from other streaming applications are causing the issue
3) We checked if Siri or getting a face time call is creating the crash
We tried all the above mentioned in debugging, as well as release, builds
find the crash report details​ below
Jul 2019 11:18:45 GMT
# Date: 2019-07-04T10:59:00Z
# OS Version: 12.3.1 (16F203)
# Device: iPhone 8
# RAM Free: 9.6%
# Disk Free: 53.9%
#22. Crashed: com.apple.coreaudio.auremoteio
0 AudioToolbox 0x18c489058 SampleRateConverter::SetProperty(unsigned int, unsigned int, void const*) + 192
1 AudioToolbox 0x18c669580 AudioConverterSetProperty + 96
2 AudioToolbox 0x18c51c638 AUConverterBase::SetupConverter(unsigned int, bool) + 1340
3 AudioToolbox 0x18c3fe948 AURemoteIO::SetupConverter(unsigned int, bool) + 224
4 AudioToolbox 0x18c51aed8 AUConverterBase::SetupAllConverters(bool, unsigned int) + 104
5 AudioToolbox 0x18c400a0c AURemoteIO::IOFormatsChanged(int) + 1420
6 AudioToolbox 0x18c402afc __AURIOCallbackReceiver_IOFormatsChanged_block_invoke + 96
7 libdispatch.dylib 0x187f80a38 _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x187f817d4 _dispatch_client_callout + 16
9 libdispatch.dylib 0x187f5cdec _dispatch_lane_serial_drain$VARIANT$armv81 + 548
10 libdispatch.dylib 0x187f5d92c _dispatch_lane_invoke$VARIANT$armv81 + 408
11 libdispatch.dylib 0x187f65e08 _dispatch_workloop_worker_thread + 584
12 libsystem_pthread.dylib 0x188161114 _pthread_wqthread + 304
13 libsystem_pthread.dylib 0x188163cd4 start_wqthread + 4
--
#0. com.apple.main-thread
0 AppName 0x101169978 _gnutls_ext_deinit + 417 (extensions.c:417)
1 AppName 0x10116f750 _gnutls_global_deinit + 416 (global.c:416)
2 (Missing) 0x1032313c0 (Missing)
3 (Missing) 0x10321a7b8 (Missing)
4 libsystem_c.dylib 0x188038bb4 __cxa_finalize_ranges + 384
5 libsystem_c.dylib 0x188038ec4 exit + 24
6 UIKitCore 0x1b4e4ed2c -[UIApplication terminateWithSuccess] + 466
7 UIKitCore 0x1b470adb4 __98-[__UICanvasLifecycleMonitor_Compatability deactivateEventsOnly:withContext:forceExit:completion:]_block_invoke.261 + 344
8 UIKitCore 0x1b4e52dec _runAfterCACommitDeferredBlocks + 296
9 UIKitCore 0x1b4e4193c _cleanUpAfterCAFlushAndRunDeferredBlocks + 352
10 UIKitCore 0x1b4e6e7ac _afterCACommitHandler + 116
11 CoreFoundation 0x1884d25f8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
12 CoreFoundation 0x1884cd320 __CFRunLoopDoObservers + 412
13 CoreFoundation 0x1884cd89c __CFRunLoopRun + 1228
14 CoreFoundation 0x1884cd0b0 CFRunLoopRunSpecific + 436
15 GraphicsServices 0x18a6cd79c GSEventRunModal + 104
16 UIKitCore 0x1b4e47978 UIApplicationMain + 212
17 AppName 0x1007fd1f4 main + 24 (AppDelegate.swift:24)
18 libdyld.dylib 0x187f928e0 start + 4
#1. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x1880d30f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1880d25a0 mach_msg + 72
2 CoreFoundation 0x1884d2a10 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1884cd920 __CFRunLoopRun + 1360
4 CoreFoundation 0x1884cd0b0 CFRunLoopRunSpecific + 436
5 Foundation 0x188e9afac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6 Foundation 0x188e9ae3c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7 UIKitCore 0x1b4f2d494 -[UIEventFetcher threadMain] + 136
8 Foundation 0x188fc76a4 __NSThread__start__ + 984
9 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
10 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
11 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#2. GAIThread
0 libsystem_kernel.dylib 0x1880d30f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1880d25a0 mach_msg + 72
2 CoreFoundation 0x1884d2a10 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1884cd920 __CFRunLoopRun + 1360
4 CoreFoundation 0x1884cd0b0 CFRunLoopRunSpecific + 436
5 Foundation 0x188e9afac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6 Foundation 0x188ed646c -[NSRunLoop(NSRunLoop) run] + 88
7 AppName 0x100bc9d14 +[GAI threadMain:] + 4345896212
8 Foundation 0x188fc76a4 __NSThread__start__ + 984
9 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
10 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
11 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#3. com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x1880de328 __select + 8
1 CoreFoundation 0x1884db6f4 __CFSocketManager + 620
2 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
3 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
4 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#4. com.twitter.crashlytics.ios.MachExceptionServer
0 AppName 0x100aded58 CLSProcessRecordAllThreads + 4344933720
1 AppName 0x100adf140 CLSProcessRecordAllThreads + 4344934720
2 AppName 0x100ace9bc CLSHandler + 4344867260
3 AppName 0x100ac9d9c CLSMachExceptionServer + 4344847772
4 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
5 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
6 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#5. AVAudioSession Notify Thread
0 libsystem_kernel.dylib 0x1880d30f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1880d25a0 mach_msg + 72
2 CoreFoundation 0x1884d2a10 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1884cd920 __CFRunLoopRun + 1360
4 CoreFoundation 0x1884cd0b0 CFRunLoopRunSpecific + 436
5 AVFAudio 0x18e3b5334 GenericRunLoopThread::Entry(void*) + 156
6 AVFAudio 0x18e3dfc60 CAPThread::Entry(CAPThread*) + 88
7 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
8 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
9 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#6. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x1880d30f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1880d25a0 mach_msg + 72
2 CoreFoundation 0x1884d2a10 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1884cd920 __CFRunLoopRun + 1360
4 CoreFoundation 0x1884cd0b0 CFRunLoopRunSpecific + 436
5 CFNetwork 0x188ae674c -[__CoreSchedulingSetRunnable runForever] + 216
6 Foundation 0x188fc76a4 __NSThread__start__ + 984
7 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
8 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
9 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#7. Thread
0 libsystem_kernel.dylib 0x1880dffd8 poll + 8
1 CustomSDK 0x103661de8 _lws_plat_service_tsi + 236
2 CustomSDK 0x1036a3554 websocket_worker + 60
3 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
4 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
5 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#8. Thread
0 libsystem_kernel.dylib 0x1880de9d4 __ulock_wait + 8
1 libdispatch.dylib 0x187f50c20 _dispatch_ulock_wait + 56
2 libdispatch.dylib 0x187f50d58 _dispatch_thread_event_wait_slow$VARIANT$armv81 + 48
3 libdispatch.dylib 0x187f628a8 __DISPATCH_WAIT_FOR_QUEUE__ + 336
4 libdispatch.dylib 0x187f624a8 _dispatch_sync_f_slow + 140
5 AppName 0x100c397e0 -[VLCEventManager startEventLoop] + 220 (VLCEventManager.m:220)
6 AppName 0x100c3916c EventDispatcherMainLoop + 97 (VLCEventManager.m:97)
7 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
8 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
9 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#9. Thread
0 libsystem_kernel.dylib 0x1880d30f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1880d25a0 mach_msg + 72
2 CoreFoundation 0x1884d2a10 __CFRunLoopServiceMachPort + 236
3 CoreFoundation 0x1884cd920 __CFRunLoopRun + 1360
4 CoreFoundation 0x1884cd0b0 CFRunLoopRunSpecific + 436
5 CustomSDK 0x103634e60 -[P2PCamera worker] + 88
6 Foundation 0x188fc76a4 __NSThread__start__ + 984
7 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
8 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
9 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#10. Thread
0 libsystem_kernel.dylib 0x1880de328 __select + 8
1 CustomSDK 0x103776534 pj_sock_select + 84
2 CustomSDK 0x103772340 pj_ioqueue_poll + 196
3 CustomSDK 0x103699bc4 _pjice_worker_thread + 172
4 CustomSDK 0x10377329c thread_main + 84
5 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
6 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
7 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#11. Thread
0 libsystem_kernel.dylib 0x1880de328 __select + 8
1 CustomSDK 0x103776534 pj_sock_select + 84
2 CustomSDK 0x103772340 pj_ioqueue_poll + 196
3 CustomSDK 0x103699bc4 _pjice_worker_thread + 172
4 CustomSDK 0x10377329c thread_main + 84
5 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
6 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
7 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#12. Thread
0 libsystem_kernel.dylib 0x1880de328 __select + 8
1 CustomSDK 0x103776534 pj_sock_select + 84
2 CustomSDK 0x103772340 pj_ioqueue_poll + 196
3 CustomSDK 0x103699bc4 _pjice_worker_thread + 172
4 CustomSDK 0x10377329c thread_main + 84
5 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
6 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
7 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#13. Thread
0 libsystem_kernel.dylib 0x1880de400 __semwait_signal + 8
1 libsystem_c.dylib 0x18805556c nanosleep + 212
2 libsystem_c.dylib 0x18805536c sleep + 44
3 CustomSDK 0x103697a08 _port_forward_conn_thread + 132
4 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
5 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
6 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#14. Thread
0 libsystem_kernel.dylib 0x1880de328 __select + 8
1 CustomSDK 0x103697e88 _port_forward_io_thread + 740
2 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
3 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
4 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#15. Thread
0 libsystem_kernel.dylib 0x1880de328 __select + 8
1 AppName 0x101be7740 BasicTaskScheduler::SingleStep(unsigned int) + 91 (BasicTaskScheduler.cpp:91)
2 AppName 0x101be70d0 BasicTaskScheduler0::doEventLoop(char volatile*) + 79 (BasicTaskScheduler0.cpp:79)
3 AppName 0x101d6086c Demux(demux_t*) + 1420 (live555.cpp:1420)
4 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
5 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#16. Thread
0 libsystem_kernel.dylib 0x1880ddee4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18815d4d8 _pthread_cond_wait$VARIANT$armv81 + 680
2 AppName 0x100cc08a8 vlc_cond_timedwait + 263 (thread.c:263)
3 AppName 0x100cbff40 vlc_timer_thread + 85 (timer.c:85)
4 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
5 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
6 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#17. Thread
0 libsystem_kernel.dylib 0x1880d3130 semaphore_wait_trap + 8
1 AppName 0x100c93ad4 aout_DecPlay + 212 (dec.c:212)
2 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
3 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#18. Thread
0 libsystem_kernel.dylib 0x1880ddee4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18815d4a4 _pthread_cond_wait$VARIANT$armv81 + 628
2 AppName 0x100c78220 DecoderThread + 1596 (decoder.c:1596)
3 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
4 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#19. AURemoteIO::IOThread
0 libsystem_kernel.dylib 0x1880d30f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1880d25a0 mach_msg + 72
2 AudioToolbox 0x18c401890 AURemoteIO::IOThread::Run() + 256
3 AudioToolbox 0x18c406800 AURemoteIO::IOThread::Entry(void*) + 76
4 AudioToolbox 0x18c7d94f8 CAPThread::Entry(CAPThread*) + 88
5 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
6 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
7 libsystem_pthread.dylib 0x188163cdc thread_start + 4
#20. Thread
0 libsystem_kernel.dylib 0x1880deb74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1881611f8 _pthread_wqthread + 532
2 libsystem_pthread.dylib 0x188163cd4 start_wqthread + 4
#21. Thread
0 libsystem_kernel.dylib 0x1880deb74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x188161138 _pthread_wqthread + 340
2 libsystem_pthread.dylib 0x188163cd4 start_wqthread + 4
#22. Crashed: com.apple.coreaudio.auremoteio
0 AudioToolbox 0x18c489058 SampleRateConverter::SetProperty(unsigned int, unsigned int, void const*) + 192
1 AudioToolbox 0x18c669580 AudioConverterSetProperty + 96
2 AudioToolbox 0x18c51c638 AUConverterBase::SetupConverter(unsigned int, bool) + 1340
3 AudioToolbox 0x18c3fe948 AURemoteIO::SetupConverter(unsigned int, bool) + 224
4 AudioToolbox 0x18c51aed8 AUConverterBase::SetupAllConverters(bool, unsigned int) + 104
5 AudioToolbox 0x18c400a0c AURemoteIO::IOFormatsChanged(int) + 1420
6 AudioToolbox 0x18c402afc __AURIOCallbackReceiver_IOFormatsChanged_block_invoke + 96
7 libdispatch.dylib 0x187f80a38 _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x187f817d4 _dispatch_client_callout + 16
9 libdispatch.dylib 0x187f5cdec _dispatch_lane_serial_drain$VARIANT$armv81 + 548
10 libdispatch.dylib 0x187f5d92c _dispatch_lane_invoke$VARIANT$armv81 + 408
11 libdispatch.dylib 0x187f65e08 _dispatch_workloop_worker_thread + 584
12 libsystem_pthread.dylib 0x188161114 _pthread_wqthread + 304
13 libsystem_pthread.dylib 0x188163cd4 start_wqthread + 4
#23. Thread
0 libsystem_kernel.dylib 0x1880deb74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x188161138 _pthread_wqthread + 340
2 libsystem_pthread.dylib 0x188163cd4 start_wqthread + 4
#24. Thread
0 libsystem_kernel.dylib 0x1880deb74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1881611f8 _pthread_wqthread + 532
2 libsystem_pthread.dylib 0x188163cd4 start_wqthread + 4
#25. Thread
0 libsystem_kernel.dylib 0x1880deb74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1881611f8 _pthread_wqthread + 532
2 libsystem_pthread.dylib 0x188163cd4 start_wqthread + 4
#26. AURemoteIO::IOThread
0 libsystem_kernel.dylib 0x1880d30f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1880d25a0 mach_msg + 72
2 AudioToolbox 0x18c401890 AURemoteIO::IOThread::Run() + 256
3 AudioToolbox 0x18c406800 AURemoteIO::IOThread::Entry(void*) + 76
4 AudioToolbox 0x18c7d94f8 CAPThread::Entry(CAPThread*) + 88
5 libsystem_pthread.dylib 0x1881602c0 _pthread_body + 128
6 libsystem_pthread.dylib 0x188160220 _pthread_start + 44
7 libsystem_pthread.dylib 0x188163cdc thread_start + 4

Crash ERROR_CGDataProvider_BufferIsNotReadable + 12, CGDataProviderRetainBytePtr + 216

I have a crash once in every 1000 to 2000 sessions in our app and I can't figure out what to do about it.
Is that an Apple iOS crash where I cant do anything about it?
I am using SDWebImage pod in my project, maybe it is that?
here is the crash log:
Thread 0 Crashed:
0 CoreGraphics 0x182cfa59c ERROR_CGDataProvider_BufferIsNotReadable + 12
1 CoreGraphics 0x000000018582e2c0 CGDataProviderRetainBytePtr + 216
2 QuartzCore 0x0000000187f00048 CA::Render::(anonymous namespace)::create_image_from_image_data() + 196
3 QuartzCore 0x0000000187efe1a0 CA::Render::create_image() + 900
4 QuartzCore 0x0000000187f00e60 CA::Render::copy_image() + 472
5 QuartzCore 0x0000000187f01228 CA::Render::prepare_image() + 20
6 QuartzCore 0x00000001880101a8 CA::Layer::prepare_commit() + 332
7 QuartzCore 0x0000000187f7245c CA::Context::commit_transaction() + 576
8 QuartzCore 0x0000000187f99b90 CA::Transaction::commit() + 540
9 QuartzCore 0x0000000187f9a9d0 CA::Transaction::observer_callback() + 92
9
10 CoreFoundation 0x0000000183f65edc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
11 CoreFoundation 0x0000000183f63894 __CFRunLoopDoObservers + 412
12 CoreFoundation 0x0000000183e83e78 CFRunLoopRunSpecific + 468
13 GraphicsServices 0x0000000185d30f84 GSEventRunModal + 100
14 UIKit 0x000000018d50367c UIApplicationMain + 236
15 GOTit 0x0000000100bb8e10 main (main.m:18)
16 libdyld.dylib 0x00000001839a056c start + 4
- Full crash report:
Thread 1 name: gputools.smt_poll.0x1c003bba0
Thread 1:
0 libsystem_kernel.dylib 0x00000001826c460c __semwait_signal + 8
1 libsystem_c.dylib 0x00000001825dce90 usleep + 64
2 GPUToolsCore 0x0000000104b75f0c
3 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
4 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
5 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 2 name: gputools.smt_poll.0x1c003fa20
Thread 2:
0 libsystem_kernel.dylib 0x00000001826c460c __semwait_signal + 8
1 libsystem_c.dylib 0x00000001825dce90 usleep + 64
2 GPUToolsCore 0x0000000104b75f0c
3 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
4 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
5 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 3 name: com.apple.uikit.eventfetch-thread
Thread 3:
0 libsystem_kernel.dylib 0x00000001826a3568 mach_msg_trap + 8
1 CoreFoundation 0x0000000182b5a308 __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x0000000182b57ed4 __CFRunLoopRun + 1424
3 CoreFoundation 0x0000000182a77e58 CFRunLoopRunSpecific + 436
4 Foundation 0x00000001834ad594 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
5 Foundation 0x00000001834cc9ac -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
6 UIKit 0x000000018cd367b8 -[UIEventFetcher threadMain] + 136
7 Foundation 0x00000001835af0f4 __NSThread__start__ + 996
8 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
9 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
10 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 4 name: GAIThread
Thread 4:
0 libsystem_kernel.dylib 0x00000001826a3568 mach_msg_trap + 8
1 CoreFoundation 0x0000000182b5a308 __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x0000000182b57ed4 __CFRunLoopRun + 1424
3 CoreFoundation 0x0000000182a77e58 CFRunLoopRunSpecific + 436
4 Foundation 0x00000001834ad594 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
5 Foundation 0x00000001834ff56c -[NSRunLoop(NSRunLoop) run] + 88
6 GOTit 0x00000001033626fc
7 Foundation 0x00000001835af0f4 __NSThread__start__ + 996
8 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
9 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
10 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x00000001826a3568 mach_msg_trap + 8
1 CoreFoundation 0x0000000182b5a308 __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x0000000182b57ed4 __CFRunLoopRun + 1424
3 CoreFoundation 0x0000000182a77e58 CFRunLoopRunSpecific + 436
4 CFNetwork 0x0000000183367128 -[__CoreSchedulingSetRunnable runForever] + 780
5 Foundation 0x00000001835af0f4 __NSThread__start__ + 996
6 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
7 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
8 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 6:
0 libsystem_kernel.dylib 0x00000001826a3568 mach_msg_trap + 8
1 CoreFoundation 0x0000000182b5a308 __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x0000000182b57ed4 __CFRunLoopRun + 1424
3 CoreFoundation 0x0000000182a77e58 CFRunLoopRunSpecific + 436
4 GOTit 0x00000001031af888
5 Foundation 0x00000001835af0f4 __NSThread__start__ + 996
6 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
7 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
8 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x00000001826c40f0 __psynch_cvwait + 8
1 libc++.1.dylib 0x0000000181d7bea4 std::__1::condition_variable::wait() + 24
2 JavaScriptCore 0x0000000189f1bf2c std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >() + 96
3 JavaScriptCore 0x0000000189f1be54 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 172
4 JavaScriptCore 0x0000000189f1c1b8 std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >() + 44
5 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
6 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
7 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 8 name: WebThread
Thread 8:
0 libsystem_kernel.dylib 0x00000001826a3568 mach_msg_trap + 8
1 CoreFoundation 0x0000000182b5a308 __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x0000000182b57ed4 __CFRunLoopRun + 1424
3 CoreFoundation 0x0000000182a77e58 CFRunLoopRunSpecific + 436
4 WebCore 0x000000018a9e8a34 RunWebThread() + 560
5 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
6 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
7 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 9:
0 libsystem_kernel.dylib 0x00000001826c460c __semwait_signal + 8
1 Foundation 0x00000001835ae2a8 +[NSThread sleepForTimeInterval:] + 136
2 GOTit 0x000000010316dd2c
3 Foundation 0x00000001835af0f4 __NSThread__start__ + 996
4 libsystem_pthread.dylib 0x00000001827d82b4 _pthread_body + 308
5 libsystem_pthread.dylib 0x00000001827d8180 _pthread_body + 0
6 libsystem_pthread.dylib 0x00000001827d6b74 thread_start + 4
Thread 10:
0 libsystem_kernel.dylib 0x00000001826a35a4 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000104a9dc0c
2 GOTit 0x0000000102ba8290
3 GOTit 0x0000000102ba8810
4 GOTit 0x0000000102b135c8
5 GOTit 0x00000001028c4888
6 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
7 GOTit 0x0000000102b13b8c
8 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
9 GOTit 0x0000000102b14be8
10 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
11 GOTit 0x0000000102a785c8
12 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
13 GOTit 0x0000000102a7cdbc
14 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
15 GOTit 0x0000000102b81444
16 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
17 GOTit 0x0000000102ba5354
18 libobjc.A.dylib 0x0000000181df6ef4 object_cxxDestructFromClass() + 148
19 libobjc.A.dylib 0x0000000181e04638 objc_destructInstance + 88
20 libobjc.A.dylib 0x0000000181e04690 object_dispose + 16
21 GOTit 0x0000000102bac7e8
22 CFNetwork 0x00000001832edff4 __51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.207 + 76
23 Foundation 0x0000000183589ba0 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
24 Foundation 0x00000001834c9894 -[NSBlockOperation main] + 72
25 Foundation 0x00000001834b94c4 -[__NSOperationInternal _start:] + 848
26 libdispatch.dylib 0x0000000104a9528c
27 libdispatch.dylib 0x0000000104aa19e4
28 libdispatch.dylib 0x0000000104a9528c
29 libdispatch.dylib 0x0000000104aa19e4
30 libdispatch.dylib 0x0000000104aa18a4
31 Foundation 0x000000018358b878 __NSOQSchedule_f + 376
32 libdispatch.dylib 0x0000000104a9528c
33 libdispatch.dylib 0x0000000104aa2678
34 libdispatch.dylib 0x0000000104aa0f08
35 libdispatch.dylib 0x0000000104aa69d0
36 libdispatch.dylib 0x0000000104aa66f4
37 libsystem_pthread.dylib 0x00000001827d706c _pthread_wqthread + 1268
38 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 11:
0 libsystem_kernel.dylib 0x00000001826a35a4 semaphore_wait_trap + 8
1 libdispatch.dylib 0x0000000104a9dc0c
2 GOTit 0x0000000102ba8290
3 GOTit 0x0000000102ba8810
4 GOTit 0x0000000102b135c8
5 GOTit 0x00000001028c4888
6 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
7 GOTit 0x0000000102b13b8c
8 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
9 GOTit 0x0000000102b14be8
10 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
11 GOTit 0x0000000102a785c8
12 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
13 GOTit 0x0000000102a7cdbc
14 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
15 GOTit 0x0000000102b81444
16 libsystem_blocks.dylib 0x00000001825cfa60 _Block_release + 160
17 GOTit 0x0000000102ba5354
18 libobjc.A.dylib 0x0000000181df6ef4 object_cxxDestructFromClass() + 148
19 libobjc.A.dylib 0x0000000181e04638 objc_destructInstance + 88
20 libobjc.A.dylib 0x0000000181e04690 object_dispose + 16
21 GOTit 0x0000000102bac7e8
22 CFNetwork 0x00000001832edff4 __51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.207 + 76
23 Foundation 0x0000000183589ba0 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
24 Foundation 0x00000001834c9894 -[NSBlockOperation main] + 72
25 Foundation 0x00000001834b94c4 -[__NSOperationInternal _start:] + 848
26 libdispatch.dylib 0x0000000104a9528c
27 libdispatch.dylib 0x0000000104aa19e4
28 libdispatch.dylib 0x0000000104a9528c
29 libdispatch.dylib 0x0000000104aa19e4
30 libdispatch.dylib 0x0000000104aa18a4
31 Foundation 0x000000018358b878 __NSOQSchedule_f + 376
32 libdispatch.dylib 0x0000000104a9528c
33 libdispatch.dylib 0x0000000104aa2678
34 libdispatch.dylib 0x0000000104aa0f08
35 libdispatch.dylib 0x0000000104aa69d0
36 libdispatch.dylib 0x0000000104aa66f4
37 libsystem_pthread.dylib 0x00000001827d706c _pthread_wqthread + 1268
38 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 12:
0 libsystem_pthread.dylib 0x00000001827d6b68 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x00000001827d6b68 start_wqthread + 0
Thread 14:
0 libobjc.A.dylib 0x0000000181e04614 objc_destructInstance + 52
1 libdispatch.dylib 0x0000000104a98f04
2 libdispatch.dylib 0x0000000104a972a0
3 libdispatch.dylib 0x0000000104aa3d9c
4 libdispatch.dylib 0x0000000104a987ec
5 libdispatch.dylib 0x0000000104aa4f6c
6 libdispatch.dylib 0x0000000104aac020
7 libsystem_pthread.dylib 0x00000001827d6f1c _pthread_wqthread + 932
8 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 15:
0 libsystem_kernel.dylib 0x00000001826c4d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 16:
0 libsystem_kernel.dylib 0x00000001826c460c __semwait_signal + 8
1 libsystem_c.dylib 0x0000000182645f34 sleep + 44
2 GOTit 0x00000001028c21f4
3 libdispatch.dylib 0x0000000104a952cc
4 libdispatch.dylib 0x0000000104a9528c
5 libdispatch.dylib 0x0000000104aa3f80
6 libdispatch.dylib 0x0000000104a987ec
7 libdispatch.dylib 0x0000000104aa4f6c
8 libdispatch.dylib 0x0000000104aac020
9 libsystem_pthread.dylib 0x00000001827d6f1c _pthread_wqthread + 932
10 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 17:
0 libsystem_kernel.dylib 0x00000001826c4d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 18:
0 libsystem_kernel.dylib 0x00000001826c460c __semwait_signal + 8
1 libsystem_c.dylib 0x0000000182645f34 sleep + 44
2 GOTit 0x00000001028c21f4
3 libdispatch.dylib 0x0000000104a952cc
4 libdispatch.dylib 0x0000000104a9528c
5 libdispatch.dylib 0x0000000104aa3f80
6 libdispatch.dylib 0x0000000104a987ec
7 libdispatch.dylib 0x0000000104aa4f6c
8 libdispatch.dylib 0x0000000104aac020
9 libsystem_pthread.dylib 0x00000001827d6f1c _pthread_wqthread + 932
10 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 19:
0 libsystem_pthread.dylib 0x00000001827d6b68 start_wqthread + 0
Thread 20:
0 libsystem_kernel.dylib 0x00000001826c460c __semwait_signal + 8
1 libsystem_c.dylib 0x0000000182645f34 sleep + 44
2 GOTit 0x00000001028c21f4
3 libdispatch.dylib 0x0000000104a952cc
4 libdispatch.dylib 0x0000000104a9528c
5 libdispatch.dylib 0x0000000104aa3f80
6 libdispatch.dylib 0x0000000104a987ec
7 libdispatch.dylib 0x0000000104aa4f6c
8 libdispatch.dylib 0x0000000104aac020
9 libsystem_pthread.dylib 0x00000001827d6f1c _pthread_wqthread + 932
10 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 21:
0 libsystem_kernel.dylib 0x00000001826c4d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 22:
0 libsystem_kernel.dylib 0x00000001826c3e5c __open + 8
1 Foundation 0x00000001834c6be8 _NSReadBytesFromFileWithExtendedAttributes + 132
2 Foundation 0x00000001835405a8 -[NSData(NSData) initWithContentsOfFile:options:maxLength:error:] + 184
3 Foundation 0x00000001834cb6ec +[NSData(NSData) dataWithContentsOfFile:options:error:] + 68
4 GOTit 0x0000000102f181dc
5 GOTit 0x0000000102f18780
6 GOTit 0x0000000102f18eb0
7 libdispatch.dylib 0x0000000104a952cc
8 libdispatch.dylib 0x0000000104a9528c
9 libdispatch.dylib 0x0000000104aa3f80
10 libdispatch.dylib 0x0000000104a987ec
11 libdispatch.dylib 0x0000000104aa4f6c
12 libdispatch.dylib 0x0000000104aac020
13 libsystem_pthread.dylib 0x00000001827d6f1c _pthread_wqthread + 932
14 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 23:
0 libsystem_kernel.dylib 0x00000001826c4d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 24:
0 libsystem_pthread.dylib 0x00000001827d6b68 start_wqthread + 0
Thread 25:
0 libsystem_kernel.dylib 0x00000001826c4d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 26:
0 libsystem_kernel.dylib 0x00000001826c4d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 27:
0 libsystem_pthread.dylib 0x00000001827d6b68 start_wqthread + 0
Thread 28:
0 libsystem_pthread.dylib 0x00000001827d6b68 start_wqthread + 0
Thread 29:
0 libsystem_kernel.dylib 0x00000001826c4d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
Thread 30:
0 libsystem_kernel.dylib 0x00000001826c4d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001827d6b6c start_wqthread + 4
I'm getting the same thing. Here's some additional info.
This crash happens after my app captures an image, crops it, and rescales it.
The crash info showed that the user only had 6% memory available.
I suspect that something in my image processing pipeline fails silently, possibly due to running out of memory, and then produces a corrupt UIImage. Then when I try to draw it it crashes.
In my case I added a bunch of guards and logging statements so that when the crash happens again I'll hopefully get more info and be able to post a workaround.
#chris-garrett pointed me in the right direction and I was able to greatly mitigate the issue by fixing memory leaks.
Users who are now getting this error are people who spend at least 30 minutes on the app, which is pretty uncommon. Also, the fact that it affects mostly big screens like iPhone 7/6s/8 Plus, iPhone X, where more memory is needed to render images would corroborate that theory
What you should do to solve this, is to check the memory while debugging. If it increases gradually when repeating the same actions, there's certainly something for you to fix.
There are many ways to find leaks in your app, I'm not a big fan of Instruments, but you can find many tutorials online if needed. Another option is to use memory graph. I wrote previously an article on how to use memory graph here.

iOS 10 User Defaults Crash - Crashed: com.apple.root.user-initiated-qos SIGABRT

I'm getting some interesting crashes on iOS 10 only when saving into user defaults. Has anyone else seen a similar crash? Is this an iOS 10 bug or a change to the SDK we should prepare for?
+ (BOOL) saveObject:(NSObject<NSCoding>*)obj forKey:(NSString*)key{
if(key == nil || [key length] == 0) {
return NO;
}
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if(obj == nil) {
[defaults setObject:nil forKey:key];
} else {
NSData *myEncodedObject = [NSKeyedArchiver archivedDataWithRootObject:obj];
[defaults setObject:myEncodedObject forKey:key];
}
[defaults synchronize];
return YES;
}
#-1. com.apple.main-thread
0 libsystem_kernel.dylib 0x18407334c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1840731bc mach_msg + 72
2 CoreFoundation 0x1844ade64 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x1844aba80 __CFRunLoopRun + 1132
4 CoreFoundation 0x1843de2e4 CFRunLoopRunSpecific + 292
5 GraphicsServices 0x185db715c GSEventRunModal + 180
6 UIKit 0x18a2f26fc -[UIApplication _run] + 692
7 UIKit 0x18a2ed438 UIApplicationMain + 208
8 MyApp 0x1000c1db4 main (main.m:16)
9 libdispatch.dylib 0x183f80600 (Missing)
#0. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x18407334c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1840731bc mach_msg + 72
2 CoreFoundation 0x1844ade64 <redacted> + 192
3 CoreFoundation 0x1844aba80 <redacted> + 1132
4 CoreFoundation 0x1843de2e4 CFRunLoopRunSpecific + 292
5 Foundation 0x184e8893c <redacted> + 304
6 Foundation 0x184ea9460 <redacted> + 96
7 UIKit 0x18ac28134 <redacted> + 136
8 Foundation 0x184f73b9c <redacted> + 1052
9 libsystem_pthread.dylib 0x1841549bc <redacted> + 240
10 libsystem_pthread.dylib 0x1841548cc _pthread_start + 274
11 libsystem_pthread.dylib 0x184151ed8 thread_start + 4
#1. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x18407334c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1840731bc mach_msg + 72
2 CoreFoundation 0x1844ade64 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x1844aba80 __CFRunLoopRun + 1132
4 CoreFoundation 0x1843de2e4 CFRunLoopRunSpecific + 292
5 CFNetwork 0x184b87a18 +[NSURLConnection(Loader) _resourceLoadLoop:] + 336
6 Foundation 0x184f73b9c __NSThread__start__ + 1052
7 libsystem_pthread.dylib 0x1841549bc _pthread_body + 240
8 libsystem_pthread.dylib 0x1841548cc _pthread_body + 274
9 libsystem_pthread.dylib 0x184151ed8 thread_start + 4
#2. com.twitter.crashlytics.ios.MachExceptionServer
0 libsystem_kernel.dylib 0x18407334c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1840731bc mach_msg + 72
2 MyApp 0x10027c4e0 CLSMachExceptionServer + 4298097888
3 libsystem_pthread.dylib 0x1841549bc _pthread_body + 240
4 libsystem_pthread.dylib 0x1841548cc _pthread_body + 274
5 libsystem_pthread.dylib 0x184151ed8 thread_start + 4
#3. GAIThread
0 libsystem_kernel.dylib 0x18407334c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1840731bc mach_msg + 72
2 CoreFoundation 0x1844ade64 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x1844aba80 __CFRunLoopRun + 1132
4 CoreFoundation 0x1843de2e4 CFRunLoopRunSpecific + 292
5 Foundation 0x184e8893c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x184edd214 -[NSRunLoop(NSRunLoop) run] + 88
7 MyApp 0x100104964 +[GAI threadMain:] + 4296558948
8 Foundation 0x184f73b9c __NSThread__start__ + 1052
9 libsystem_pthread.dylib 0x1841549bc _pthread_body + 240
10 libsystem_pthread.dylib 0x1841548cc _pthread_body + 274
11 libsystem_pthread.dylib 0x184151ed8 thread_start + 4
#4. AVAudioSession Notify Thread
0 libsystem_kernel.dylib 0x18407334c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1840731bc mach_msg + 72
2 CoreFoundation 0x1844ade64 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x1844aba80 __CFRunLoopRun + 1132
4 CoreFoundation 0x1843de2e4 CFRunLoopRunSpecific + 292
5 AVFAudio 0x19d7a8e60 GenericRunLoopThread::Entry(void*) + 164
6 AVFAudio 0x19d7c6804 CAPThread::Entry(CAPThread*) + 84
7 libsystem_pthread.dylib 0x1841549bc _pthread_body + 240
8 libsystem_pthread.dylib 0x1841548cc _pthread_body + 274
9 libsystem_pthread.dylib 0x184151ed8 thread_start + 4
#5. Thread
0 libsystem_kernel.dylib 0x184090df8 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x184153b78 _pthread_cond_wait + 692
2 Foundation 0x184e93668 -[NSCondition waitUntilDate:] + 340
3 MyApp 0x10008e5e0 -[VideoRepository queueThreadStart] (VideoRepository.m:145)
4 Foundation 0x184f73b9c __NSThread__start__ + 1052
5 libsystem_pthread.dylib 0x1841549bc _pthread_body + 240
6 libsystem_pthread.dylib 0x1841548cc _pthread_body + 274
7 libsystem_pthread.dylib 0x184151ed8 thread_start + 4
#6. com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x184091218 __select + 8
1 CoreFoundation 0x1844b4d08 <redacted> + 640
2 libsystem_pthread.dylib 0x1841549bc <redacted> + 240
3 libsystem_pthread.dylib 0x1841548cc _pthread_start + 274
4 libsystem_pthread.dylib 0x184151ed8 thread_start + 4
Crashed: com.apple.root.user-initiated-qos
0 libsystem_kernel.dylib 0x184090ff0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1841564c0 pthread_kill + 112
2 libsystem_c.dylib 0x184006448 abort + 140
3 libsystem_malloc.dylib 0x1840d4eec _nano_vet_and_size_of_live + 330
4 libsystem_malloc.dylib 0x1840d62d4 nano_free + 220
5 CoreFoundation 0x1845338c4 __CFBasicHashDrain + 380
6 CoreFoundation 0x1844afbec _CFRelease + 216
7 CoreFoundation 0x184475ba8 __CFBinaryPlistWriteOrPresize + 556
8 Foundation 0x184ee7428 -[NSKeyedArchiver finishEncoding] + 588
9 Foundation 0x184eecb14 +[NSKeyedArchiver archivedDataWithRootObject:] + 184
10 MyApp 0x10009f620 +[Settings saveObject:forKey:] (Settings.m:141)
11 MyApp 0x100091aa8 +[AuxCaster indexCategoriesArray:] (AuxCaster.m:428)
12 MyApp 0x1000c9084 -[ChannelPage addRemoveSpolightIndexes] (ChannelPage.m:265)
13 MyApp 0x1000c9710 __47-[ChannelPage preloadCategoriesMultipleThreads]_block_invoke.241 (ChannelPage.m:307)
14 libdispatch.dylib 0x183f49134 _dispatch_call_block_and_release + 24
15 libdispatch.dylib 0x183f490f4 _dispatch_client_callout + 16
16 libdispatch.dylib 0x183f5d07c _dispatch_root_queue_drain + 1032
17 libdispatch.dylib 0x183f5cc14 _dispatch_worker_thread3 + 124
18 libsystem_pthread.dylib 0x1841523d8 _pthread_wqthread + 1276
19 libsystem_pthread.dylib 0x184151ed0 start_wqthread + 4
#8. Thread
0 libsystem_kernel.dylib 0x184091a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18415247c _pthread_wqthread + 1440
2 libsystem_pthread.dylib 0x184151ed0 start_wqthread + 4
#9. Thread
0 libsystem_kernel.dylib 0x184091a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18415247c _pthread_wqthread + 1440
2 libsystem_pthread.dylib 0x184151ed0 start_wqthread + 4
#10. Thread
0 libsystem_pthread.dylib 0x184151ecc pthread_workqueue_addthreads_np + 126
#11. Thread
0 libsystem_kernel.dylib 0x184091a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18415247c _pthread_wqthread + 1440
2 libsystem_pthread.dylib 0x184151ed0 start_wqthread + 4
#12. Thread
0 libsystem_kernel.dylib 0x184091a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184152298 _pthread_wqthread + 956
2 libsystem_pthread.dylib 0x184151ed0 start_wqthread + 4
#13. Thread
0 libsystem_kernel.dylib 0x184091a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18415247c _pthread_wqthread + 1440
2 libsystem_pthread.dylib 0x184151ed0 start_wqthread + 4
#14. Thread
0 libsystem_kernel.dylib 0x184091a88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18415247c _pthread_wqthread + 1440
2 libsystem_pthread.dylib 0x184151ed0 start_wqthread + 4

How to find the crash with crash log in crittercism?

The crash log in crittersicm is as mentioned below:
Exception Type: SIGSEGV
Exception Reason: SEGV_ACCERR
0 libobjc.A.dylib 0x38a33b36 objc_msgSend + 22
1 UIKit 0x30937739 _UIApplicationHandleEventQueue + 4945
2 CoreFoundation 0x2e18d183 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
3 CoreFoundation 0x2e18c653 __CFRunLoopDoSources0 + 207
4 CoreFoundation 0x2e18ae47 __CFRunLoopRun + 623
5 CoreFoundation 0x2e0f5c27 CFRunLoopRunSpecific + 523
6 CoreFoundation 0x2e0f5a0b CFRunLoopRunInMode + 107
7 GraphicsServices 0x32df6283 GSEventRunModal + 139
8 UIKit 0x30999049 UIApplicationMain + 1137
9 xyzApp 0x0002f22f 0x0001e000 + 70191
10 xyzApp 0x000256c8 0x0001e000 + 30408
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe483c kevent64 + 24
1 libdispatch.dylib 0x38f24f9b _dispatch_mgr_thread$VARIANT$mp + 39
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4a8c mach_msg_trap + 20
1 CoreFoundation 0x2e18c7c3 __CFRunLoopServiceMachPort + 155
2 CoreFoundation 0x2e18aee9 __CFRunLoopRun + 785
3 CoreFoundation 0x2e0f5c27 CFRunLoopRunSpecific + 523
4 CoreFoundation 0x2e0f5a0b CFRunLoopRunInMode + 107
5 Foundation 0x2eb302f7 +[NSURLConnection(Loader) _resourceLoadLoop:] + 319
6 Foundation 0x2eba5c87 __NSThread__main__ + 1063
7 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
8 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
9 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38ff7440 __select + 20
1 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
2 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
3 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4a8c mach_msg_trap + 20
1 CoreFoundation 0x2e18c7c3 __CFRunLoopServiceMachPort + 155
2 CoreFoundation 0x2e18aee9 __CFRunLoopRun + 785
3 CoreFoundation 0x2e0f5c27 CFRunLoopRunSpecific + 523
4 CoreFoundation 0x2e0f5a0b CFRunLoopRunInMode + 107
5 WebCore 0x362e526b _ZL12RunWebThreadPv + 419
6 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
7 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
8 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4a8c mach_msg_trap + 20
1 CoreFoundation 0x2e18c7c3 __CFRunLoopServiceMachPort + 155
2 CoreFoundation 0x2e18aee9 __CFRunLoopRun + 785
3 CoreFoundation 0x2e0f5c27 CFRunLoopRunSpecific + 523
4 CoreFoundation 0x2e0f5a0b CFRunLoopRunInMode + 107
5 libAVFAudio.dylib 0x2d178589 _ZN20GenericRunLoopThread5EntryEPv + 129
6 libAVFAudio.dylib 0x2d16c99f _ZN9CAPThread5EntryEPS_ + 179
7 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
8 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
9 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4a8c mach_msg_trap + 20
1 CoreFoundation 0x2e18c7c3 __CFRunLoopServiceMachPort + 155
2 CoreFoundation 0x2e18aee9 __CFRunLoopRun + 785
3 CoreFoundation 0x2e0f5c27 CFRunLoopRunSpecific + 523
4 CoreFoundation 0x2e0f5a0b CFRunLoopRunInMode + 107
5 xyzApp 0x000a1693 0x0001e000 + 538259
6 Foundation 0x2eba5c87 __NSThread__main__ + 1063
7 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
8 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
9 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38ff6f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x39060005 pthread_cond_wait + 41
2 JavaScriptCore 0x2f11ad55 _ZN3JSC14BlockAllocator22blockFreeingThreadMainEv + 209
3 JavaScriptCore 0x2f1183a3 _ZN3WTFL19wtfThreadEntryPointEPv + 15
4 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
5 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
6 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38ff6f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x39060005 pthread_cond_wait + 41
2 JavaScriptCore 0x2f2b623b _ZN3JSC8GCThread16waitForNextPhaseEv + 79
3 JavaScriptCore 0x2f2b6295 _ZN3JSC8GCThread12gcThreadMainEv + 53
4 JavaScriptCore 0x2f1183a3 _ZN3WTFL19wtfThreadEntryPointEPv + 15
5 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
6 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
7 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4a8c mach_msg_trap + 20
1 CoreFoundation 0x2e18c7c3 __CFRunLoopServiceMachPort + 155
2 CoreFoundation 0x2e18aee9 __CFRunLoopRun + 785
3 CoreFoundation 0x2e0f5c27 CFRunLoopRunSpecific + 523
4 CoreFoundation 0x2e0f5a0b CFRunLoopRunInMode + 107
5 WebCore 0x3632dd5f _ZN7WebCoreL15runLoaderThreadEPv + 255
6 JavaScriptCore 0x2f1183a3 _ZN3WTFL19wtfThreadEntryPointEPv + 15
7 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
8 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
9 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38ff6f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x39060005 pthread_cond_wait + 41
2 JavaScriptCore 0x2f11ae87 _ZN3WTF15ThreadCondition9timedWaitERNS_5MutexEd + 63
3 WebCore 0x364183ad _ZN3WTF12MessageQueueINS_8FunctionIFvvEEEE33waitForMessageFilteredWithTimeoutIFbPS3_EEENS_10PassOwnPtrIS3_EERNS_22MessageQueueWaitResultERT_d + 109
4 WebCore 0x36418333 _ZN7WebCore13StorageThread16threadEntryPointEv + 167
5 JavaScriptCore 0x2f1183a3 _ZN3WTFL19wtfThreadEntryPointEPv + 15
6 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
7 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
8 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4a8c mach_msg_trap + 20
1 CoreFoundation 0x2e18c7c3 __CFRunLoopServiceMachPort + 155
2 CoreFoundation 0x2e18aee9 __CFRunLoopRun + 785
3 CoreFoundation 0x2e0f5c27 CFRunLoopRunSpecific + 523
4 CoreFoundation 0x2e13973b CFRunLoopRun + 99
5 CoreMotion 0x2e7ac235 CLSF_thorntonUpdate_6x6 + 57045
6 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
7 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
8 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4adc semaphore_wait_trap + 8
1 MediaToolbox 0x2f5e1841 fpa_AsyncMovieControlThread + 1757
2 CoreMedia 0x2e720237 figThreadMain + 195
3 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
4 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
5 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4a8c mach_msg_trap + 20
1 MediaToolbox 0x2f5e7c5d FigExpressNotificationThread + 89
2 CoreMedia 0x2e720237 figThreadMain + 195
3 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
4 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
5 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38ff7c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3905dc84 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38ff7c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3905dc84 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x38fe4adc semaphore_wait_trap + 8
1 MediaToolbox 0x2f5e1841 fpa_AsyncMovieControlThread + 1757
2 CoreMedia 0x2e720237 figThreadMain + 195
3 libsystem_pthread.dylib 0x3905fc1d _pthread_body + 141
4 libsystem_pthread.dylib 0x3905fb8f _pthread_start + 103
5 libsystem_pthread.dylib 0x3905dc90 thread_start + 8
xyzApp is the placeholder for the app name. I m unable to replicate the crash .
Please help me out. This crash is present in the ipa that is uploaded to App Store with live url(production url). It is a universal app.
Just for reference:
Device details for which the crsh has occurred:
DEVICE
3rd Gen iPad, CDMA
OS
iOS7.0.3
Thanks in advance.
Looks like you haven't symbolicated. That helps a lot when debugging with Crittercism. Here's the documentation Crittercism provides around getting the symbols onto the server for iOS:
http://docs.crittercism.com/ios/ios.html#configuring-ios-symbolication
If you're having trouble uploading symbols to Crittercism, then contacting there support might be your best bet.

Phonegap On Resume App Crash

Whenever my app is resuming from lock screen in iOS7, it is getting crashed. The problem is coming mostly in iOS7 devices and it is happening only when the screen is getting locked out automatically. When the I unlock the screen and press any html div or button in the app, the app crashes.
I already tried the solution posted here -
Workaround for PhoneGap, EXC_BAD_ACCESS on getDeviceInfo . It doesn't work.
The Crash log is below -
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0xbe4008d4
Triggered by Thread: 3
Thread 0:
0 libsystem_kernel.dylib 0x38590a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3859087c mach_msg + 36
2 CoreFoundation 0x2dc61554 __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dc5fcba __CFRunLoopRun + 858
4 CoreFoundation 0x2dbca46c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dbca24e CFRunLoopRunInMode + 102
6 GraphicsServices 0x329042e6 GSEventRunModal + 134
7 UIKit 0x3047f840 UIApplicationMain + 1132
8 SkiWithMe 0x0005f646 0x3f000 + 132678
9 libdyld.dylib 0x384ecab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x38590838 kevent64 + 24
1 libdispatch.dylib 0x384df0d0 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x384d961e _dispatch_mgr_thread + 34
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x38590a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3859087c mach_msg + 36
2 CoreFoundation 0x2dc61554 __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dc5fc74 __CFRunLoopRun + 788
4 CoreFoundation 0x2dbca46c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dbca24e CFRunLoopRunInMode + 102
6 Foundation 0x2e6054bc +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7 Foundation 0x2e67ac32 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
9 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
10 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 3 name: WebThread
Thread 3 Crashed:
0 WebCore 0x35b08dba WebCore::TimerBase::heapDeleteMin() + 30
1 WebCore 0x35b08ca2 WebCore::ThreadTimers::sharedTimerFiredInternal() + 90
2 WebCore 0x35b08c1e WebCore::timerFired(__CFRunLoopTimer*, void*) + 22
3 CoreFoundation 0x2dc61e7c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 12
4 CoreFoundation 0x2dc61a96 __CFRunLoopDoTimer + 790
5 CoreFoundation 0x2dc5fe1e __CFRunLoopRun + 1214
6 CoreFoundation 0x2dbca46c CFRunLoopRunSpecific + 520
7 CoreFoundation 0x2dbca24e CFRunLoopRunInMode + 102
8 WebCore 0x35b970c0 RunWebThread(void*) + 416
9 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
10 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
11 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x38590a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3859087c mach_msg + 36
2 CoreFoundation 0x2dc61554 __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dc5fc74 __CFRunLoopRun + 788
4 CoreFoundation 0x2dbca46c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dbca24e CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2cc395ae GenericRunLoopThread::Entry(void*) + 126
7 libAVFAudio.dylib 0x2cc2dafc CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
9 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
10 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 5 name: JavaScriptCore::BlockFree
Thread 5:
0 libsystem_kernel.dylib 0x385a2f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38609262 _pthread_cond_wait + 538
2 libsystem_pthread.dylib 0x3860a07c pthread_cond_timedwait + 40
3 JavaScriptCore 0x2ebee55e WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 102
4 JavaScriptCore 0x2ebee38c JSC::BlockAllocator::blockFreeingThreadMain() + 88
5 JavaScriptCore 0x2ebeba68 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
7 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
8 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 6 name: JavaScriptCore::Marking
Thread 6:
0 libsystem_kernel.dylib 0x385a2f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38609262 _pthread_cond_wait + 538
2 libsystem_pthread.dylib 0x3860a03c pthread_cond_wait + 36
3 JavaScriptCore 0x2ed8caea JSC::GCThread::waitForNextPhase() + 74
4 JavaScriptCore 0x2ed8cb44 JSC::GCThread::gcThreadMain() + 48
5 JavaScriptCore 0x2ebeba68 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
7 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
8 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x385a2f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38609262 _pthread_cond_wait + 538
2 libsystem_pthread.dylib 0x3860a03c pthread_cond_wait + 36
3 Foundation 0x2e6055ba -[NSCondition wait] + 190
4 SkiWithMe 0x000f3564 0x3f000 + 738660
5 Foundation 0x2e67ac32 __NSThread__main__ + 1058
6 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
7 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
8 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x38590a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3859087c mach_msg + 36
2 CoreFoundation 0x2dc61554 __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dc5fc74 __CFRunLoopRun + 788
4 CoreFoundation 0x2dbca46c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dbca24e CFRunLoopRunInMode + 102
6 Foundation 0x2e5b8692 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x2e6094d4 -[NSRunLoop(NSRunLoop) run] + 76
8 SkiWithMe 0x0011b610 0x3f000 + 902672
9 Foundation 0x2e67ac32 __NSThread__main__ + 1058
10 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
11 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
12 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 9 name: WebCore: CFNetwork Loader
Thread 9:
0 libsystem_kernel.dylib 0x38590a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3859087c mach_msg + 36
2 CoreFoundation 0x2dc61554 __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dc5fc74 __CFRunLoopRun + 788
4 CoreFoundation 0x2dbca46c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dbca24e CFRunLoopRunInMode + 102
6 WebCore 0x35be00a2 WebCore::runLoaderThread(void*) + 250
7 JavaScriptCore 0x2ebeba68 WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
9 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
10 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 10 name: com.apple.CFSocket.private
Thread 10:
0 libsystem_kernel.dylib 0x385a3440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2dc65456 __CFSocketManager + 482
2 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
3 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
4 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 11 name: WebCore: LocalStorage
Thread 11:
0 libsystem_kernel.dylib 0x385a2f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38609262 _pthread_cond_wait + 538
2 libsystem_pthread.dylib 0x3860a03c pthread_cond_wait + 36
3 JavaScriptCore 0x2ebee530 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 56
4 WebCore 0x35ccb344 WTF::PassOwnPtr<WTF::Function<void ()> > WTF::MessageQueue<WTF::Function<void ()> >::waitForMessageFilteredWithTimeout<bool (WTF::Function<void ()>*)>(WTF::MessageQueueWaitResult&, bool (&)(WTF::Function<void ()>*), double) + 104
5 WebCore 0x35ccb2ca WebCore::StorageThread::threadEntryPoint() + 162
6 JavaScriptCore 0x2ebeba68 WTF::wtfThreadEntryPoint(void*) + 12
7 libsystem_pthread.dylib 0x38609c5a _pthread_body + 138
8 libsystem_pthread.dylib 0x38609bca _pthread_start + 98
9 libsystem_pthread.dylib 0x38607ccc thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x385a3c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38607e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38607cc0 start_wqthread + 4
Thread 13:
0 libsystem_kernel.dylib 0x385a3c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38607e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38607cc0 start_wqthread + 4
Thread 14:
0 libsystem_kernel.dylib 0x385a3c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38607e06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38607cc0 start_wqthread + 4
Thread 3 crashed with ARM Thread State (32-bit):
r0: 0x800004f8 r1: 0x3e4003e0 r2: 0xbe4008d8 r3: 0x00000040
r4: 0x02b1c3c0 r5: 0x04602e74 r6: 0x04602e74 r7: 0x02d0308c
r8: 0x16dc6528 r9: 0x0f9000f8 r10: 0x00000000 r11: 0x16dc64d0
ip: 0x38940808 sp: 0x02d0307c lr: 0x35b08ca7 pc: 0x35b08dba
cpsr: 0x20000030
i think u have a issue when ur app back in foreground from the background ,so it's happens due to when u r trying to access some data or array on background to foreground.that var or array wont accessible or u defined dynamic value thats why it's cause crashed .

Resources