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.
Related
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
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
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 .
Looks like it's related to the network thread, most other threads are in a "mach_msg_trap" state. The 4th thread on the list is the one that crashed. I'm using AFNetworking on iOS 7.1
I appreciate any idea or thought that might help me investigate this issue.
Threads
_________________________________
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91ccbf __CFRunLoopRun + 863
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 GraphicsServices 0x335c12eb GSEventRunModal + 139
6 UIKit 0x3113c845 UIApplicationMain + 1137
7 Vieu 0x000f4f87 main (main.m:17)
8 libdyld.dylib 0x391a9ab7 start + 3
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924d838 kevent64 + 24
1 libdispatch.dylib 0x39196623 _dispatch_mgr_thread + 39
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e8cb0db CFRunLoopRun + 99
5 CoreMotion 0x2ef3f369 CLSF_thorntonUpdate_6x6 + 57225
6 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
7 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
8 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name (Crashed)
0 libdispatch.dylib 0x39199758 _dispatch_barrier_sync_f_slow + 120
1 libsystem_network.dylib 0x3929c2df tcp_connection_cancel + 107
2 CFNetwork 0x2e54d3d9 _ZN12SocketStreamD2Ev + 89
3 CFNetwork 0x2e54d371 _ZN12SocketStreamD1Ev + 21
4 CoreFoundation 0x2e883e2f CFRelease + 467
5 CFNetwork 0x2e54cd69 _ZN27CoreReadStreamWithCallBacksD2Ev + 45
6 CoreFoundation 0x2e883e2f CFRelease + 467
7 CFNetwork 0x2e56b437 _ZN14HTTPReadFilterD2Ev + 115
8 CoreFoundation 0x2e883e2f CFRelease + 467
9 CFNetwork 0x2e56b2a7 _ZN13NetConnectionD2Ev + 99
10 CFNetwork 0x2e56b23f _ZN17HTTPNetConnectionD2Ev + 79
11 CFNetwork 0x2e56b1a3 _ZN24HTTPNetConnection_NoAuthD0Ev + 11
12 CoreFoundation 0x2e8fcab9 __CFArrayReleaseValues + 197
13 CoreFoundation 0x2e883e2f CFRelease + 467
14 CFNetwork 0x2e5b05af _ZN24HTTPConnectionCacheEntry20purgeIdleConnectionsEdd + 271
15 CFNetwork 0x2e56b9d1 _ZN19HTTPConnectionCache16performIdleSweepEv + 161
16 CFNetwork 0x2e5aea6f _ZN19HTTPConnectionCache26timeoutIdleCellConnectionsEv + 23
17 CFNetwork 0x2e5ee337 ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke + 19
18 CoreFoundation 0x2e886ea1 CFArrayApplyFunction + 37
19 CFNetwork 0x2e554e05 _ZN19RunloopBlockContext7performEv + 165
20 CFNetwork 0x2e554cd5 _ZN17MultiplexerSource7performEv + 221
21 CFNetwork 0x2e554b65 _ZN17MultiplexerSource8_performEPv + 49
22 CoreFoundation 0x2e91ef1f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
23 CoreFoundation 0x2e91e3e7 __CFRunLoopDoSources0 + 207
24 CoreFoundation 0x2e91cbd7 __CFRunLoopRun + 631
25 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
26 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
27 Foundation 0x2f2c24c1 +[NSURLConnection(Loader) _resourceLoadLoop:] + 321
28 Foundation 0x2f337c37 __NSThread__main__ + 1063
29 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
30 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
31 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260440 __select + 20
1 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
2 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
3 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 Foundation 0x2f275697 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 255
6 Foundation 0x2f2c64d9 -[NSRunLoop(NSRunLoop) run] + 81
7 Vieu 0x000c9c9b +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:149)
8 Foundation 0x2f337c37 __NSThread__main__ + 1063
9 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
10 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
11 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924dad4 semaphore_wait_trap + 8
1 MediaToolbox 0x2fd76a0f fpa_AsyncMovieControlThread + 1755
2 CoreMedia 0x2eeb3217 figThreadMain + 195
3 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
4 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
5 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 libAVFAudio.dylib 0x2d8f65b3 _ZN20GenericRunLoopThread5EntryEPv + 131
6 libAVFAudio.dylib 0x2d8eaaff _ZN9CAPThread5EntryEPS_ + 179
7 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
8 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
9 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 MediaToolbox 0x2fd7ce19 FigExpressNotificationThread + 89
2 CoreMedia 0x2eeb3217 figThreadMain + 195
3 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
4 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
5 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 libAVFAudio.dylib 0x2d8f65b3 _ZN20GenericRunLoopThread5EntryEPv + 131
6 libAVFAudio.dylib 0x2d8eaaff _ZN9CAPThread5EntryEPS_ + 179
7 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
8 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
9 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x3924da84 mach_msg_trap + 20
1 CoreFoundation 0x2e91e559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2e91cc79 __CFRunLoopRun + 793
3 CoreFoundation 0x2e887471 CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e887253 CFRunLoopRunInMode + 107
5 AudioToolbox 0x2e25e46b _ZN20GenericRunLoopThread5EntryEPv + 131
6 AudioToolbox 0x2e244773 _ZN9CAPThread5EntryEPS_ + 211
7 libsystem_pthread.dylib 0x392c6c5d _pthread_body + 141
8 libsystem_pthread.dylib 0x392c6bcf _pthread_start + 103
9 libsystem_pthread.dylib 0x392c4cd0 thread_start + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Thread: Unknown Name
0 libsystem_kernel.dylib 0x39260c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x392c4cc4 start_wqthread + 8
Crashed Registers
_________________________________
r12 0x3b0882ec
r10 0x2f1a9ec
r11 0x394687e0
cpsr 0x20000030
r4 0x18832b90
r5 0x6c03
r6 0x1013380
r7 0x2f1a9e0
r0 0x2f1a96c
r1 0x200
r2 0x0
r3 0x200
sp 0x2f1a96c
r8 0x3929c2e9
r9 0x0
pc 0x39199758
lr 0x3929c2df
It seems that you need investigate calls of these functions: mach_msg_trap and semaphore_wait_trap. It is the main reason of crash. Sometimes calls of these methods at the top of stack are indicators of receiving deadlock. Here some links for investigation:
IOS semaphore_wait_trap on main thread causing hang in UI
http://iphonedevsdk.com/forum/iphone-sdk-development/7354-what-means-mach-msg-trap.html
Deadlock using AFIncrementalStore and NSFetchedResultsController
Try to reproduce crash by starting application, open url connections, send application to background, wait few seconds and then bring it to foreground.
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.