App crashde when NO Internet connection. Crashed: com.squareup.SocketRocket.NetworkThread - ios

iOS App crashed when the no internet connection available and refresh the app several times.
Crashed: com.squareup.SocketRocket.NetworkThread
0 libobjc.A.dylib 0x18332c910 objc_msgSend + 16
1 CoreFoundation 0x184097b34 _signalEventSync + 212
2 CoreFoundation 0x184097a40 _cfstream_shared_signalEventSync + 460
3 CoreFoundation 0x184107404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
4 CoreFoundation 0x184106c2c __CFRunLoopDoSources0 + 276
5 CoreFoundation 0x18410479c __CFRunLoopRun + 1204
6 CoreFoundation 0x184024da8 CFRunLoopRunSpecific + 552
7 Foundation 0x184a99674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
8 SocketRocket 0x101563560 -[_SRRunLoopThread main] (SRWebSocket.m:1742)
9 Foundation 0x184ba9efc __NSThread__start__ + 1040
10 libsystem_pthread.dylib 0x183d85220 _pthread_body + 272
11 libsystem_pthread.dylib 0x183d85110 _pthread_body + 290
12 libsystem_pthread.dylib 0x183d83b10 thread_start + 4

Related

Unable to reproduce CoreFoundation CFSetRemoveAllValues

I am Getting CoreFoundation CFSetRemoveAllValues and crash report as following on crashlytics. Seems like this crash never appeared before, because could not find any solution. Can anyone help me, please? Thanks in advance!
Crashed: Thread
0 CoreFoundation 0x1b5a16cf8 CFSetRemoveAllValues + 52
1 CoreFoundation 0x1b5a0dff0 __CFRunLoopKillOneTimer + 36
2 CoreFoundation 0x1b59aa1e0 CFArrayApplyFunction + 80
3 CoreFoundation 0x1b5a0dfb0 __CFRunLoopDeallocateTimers + 64
4 CoreFoundation 0x1b5a16888 __CFSetApplyFunction_block_invoke + 24
5 CoreFoundation 0x1b5ab10fc CFBasicHashApply + 132
6 CoreFoundation 0x1b5a16864 CFSetApplyFunction + 172
7 CoreFoundation 0x1b5a07784 __CFRunLoopDeallocate + 212
8 CoreFoundation 0x1b5a10290 _CFRelease + 224
9 CoreFoundation 0x1b59f5a08 __CFTSDFinalize + 124
10 libsystem_pthread.dylib 0x1b57a9f8c _pthread_tsd_cleanup + 580
11 libsystem_pthread.dylib 0x1b57a6df4 _pthread_exit + 80
12 libsystem_pthread.dylib 0x1b57a7e64 _pthread_wqthread_legacy_worker_wrap + 94
13 libsystem_pthread.dylib 0x1b57a7c04 _pthread_wqthread + 416
14 libsystem_pthread.dylib 0x1b57aa740 start_wqthread + 8

IOS app crash with CFNetwork, but can not find the problem

can anyone help me with my app crash, here is the crash log, I can not find the problem, thanks very much.
Thread 8 name:
Thread 8 Crashed:
0 libobjc.A.dylib 0x00000001c852f6f0 objc_retain + 16 (objc-object.h:441)
1 CFNetwork 0x00000001c99594d0 formEventCallback(__CFReadStream*, unsigned long, void*) + 128 (FormDataStream.c:246)
2 CoreFoundation 0x00000001c92bd950 _signalEventSync + 220 (CFStream.c:653)
3 CoreFoundation 0x00000001c92bcf0c _cfstream_shared_signalEventSync + 348 (CFStream.c:784)
4 CoreFoundation 0x00000001c92aa6c4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1980)
5 CoreFoundation 0x00000001c92aa640 __CFRunLoopDoSource0 + 92 (CFRunLoop.c:2015)
6 CoreFoundation 0x00000001c92a9ef8 __CFRunLoopDoSources0 + 180 (CFRunLoop.c:2051)
7 CoreFoundation 0x00000001c92a4bd8 __CFRunLoopRun + 1032 (CFRunLoop.c:2922)
8 CoreFoundation 0x00000001c92a44b8 CFRunLoopRunSpecific + 452 (CFRunLoop.c:3247)
9 CFNetwork 0x00000001c98cd63c -[__CoreSchedulingSetRunnable runForever] + 216 (CoreSchedulingSet.mm:1365)
10 Foundation 0x00000001c9ca5fc0 -[NSThread main] + 72 (NSThread.m:1212)
11 Foundation 0x00000001c9de2c44 __NSThread__start__ + 1044 (NSThread.m:1175)
12 libsystem_pthread.dylib 0x00000001c8f1f974 _pthread_body + 132 (pthread.c:857)
13 libsystem_pthread.dylib 0x00000001c8f1f8d0 _pthread_start + 52 (pthread.c:884)
14 libsystem_pthread.dylib 0x00000001c8f27ddc thread_start + 4
As per your question, you need to install fabric or firebase crashlytics in your app. It will help you to debug the crash issue.
Here is the link for fabric: https://fabric.io/kits/ios/crashlytics/install

ZDCChatView scrollToLast iOS app crash

My application getting crash with zendesk. I am getting crashes on daily basis. I did not find an solution over the github of Zendesk itself.
Zendesk SDK for mobile is a quick, convenient way to get customer support into your mobile apps. With just a few lines of code, you can provide your end users with an easy way to get in touch from any mobile app.
Error: Fatal Exception: NSRangeException-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:]: row (12) beyond bounds (12) for section (0).
# Crashlytics - plaintext stacktrace downloaded by pankaj bhardwaj at Tue, 08 May 2018 07:32:39 GMT
# Organization: ******** India
# Platform: ios
# Application: *********
# Version: 2.1.3 (1)
# Bundle Identifier:
# Issue #: 331
# Issue ID: 5a0f0cfc61b02d480da67f98
# Session ID: 4c850433743442f89d7c9f7cef51f414_DNE_0_v2
# Date: 2018-05-08T07:28:00Z
# OS Version: 11.3.1 (15E302)
# Device: iPhone 6s
# RAM Free: 2.4%
# Disk Free: 36.9%
#0. Crashed: com.twitter.crashlytics.ios.exception
0 myApp 0x105121578 CLSProcessRecordAllThreads + 4377040248
1 myApp 0x105121578 CLSProcessRecordAllThreads + 4377040248
2 myApp 0x105121434 CLSProcessRecordAllThreads + 4377039924
3 myApp 0x105111174 CLSHandler + 4376973684
4 myApp 0x10511f580 __CLSExceptionRecord_block_invoke + 4377032064
5 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout + 16
6 libdispatch.dylib 0x184bcd640 _dispatch_queue_barrier_sync_invoke_and_complete + 56
7 myApp 0x10511f014 CLSExceptionRecord + 4377030676
8 myApp 0x10511ee3c CLSExceptionRecordNSException + 4377030204
9 myApp 0x10511ea50 CLSTerminateHandler() + 4377029200
10 libc++abi.dylib 0x18447d37c std::__terminate(void (*)()) + 16
11 libc++abi.dylib 0x18447cccc __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 130
12 libobjc.A.dylib 0x18448c720 _objc_exception_destructor(void*) + 362
13 CoreFoundation 0x1852d2c6c -[NSException initWithCoder:] + 114
14 UIKit 0x18f30e364 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:] + 1856
15 UIKit 0x18f30e98c -[UITableView _scrollToRowAtIndexPath:atScrollPosition:animated:usingPresentationValues:] + 152
16 UIKit 0x18f22412c -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 148
17 myApp 0x10527d368 -[ZDCChatView scrollToLast:] (ZDCChatView.m:640)
18 myApp 0x105260880 __41-[ZDCChatViewController keyboardDidShow:]_block_invoke (ZDCChatViewController.m:337)
19 UIKit 0x18ee9b3d4 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 608
20 UIKit 0x18ee9b158 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 108
21 myApp 0x1052607bc -[ZDCChatViewController keyboardDidShow:] (ZDCChatViewController.m:340)
22 CoreFoundation 0x185264c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
23 CoreFoundation 0x1852641b8 _CFXRegistrationPost + 428
24 CoreFoundation 0x185263f14 ___CFXNotificationPost_block_invoke + 216
25 CoreFoundation 0x1852e184c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408
26 CoreFoundation 0x18519af38 _CFXNotificationPost + 384
27 Foundation 0x185c0bbbc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
28 UIKit 0x18f06a90c -[UIInputWindowController postEndNotifications:withInfo:] + 1628
29 UIKit 0x18f0638e4 -[UIInputWindowController mergeTransitionIfNecessaryWithTransition:] + 280
30 UIKit 0x18f063174 -[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:] + 372
31 UIKit 0x18f0589c8 -[UIInputWindowController setInputViewSet:] + 1104
32 UIKit 0x18f0528a4 -[UIInputWindowController performOperations:withAnimationStyle:] + 56
33 UIKit 0x18f04efe8 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 1716
34 UIKit 0x1a52d4e9c -[UIPeripheralHostAccessibility setInputViews:animationStyle:] + 76
35 UIKit 0x18eeab6ac -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 2472
36 UIKit 0x18f066d68 -[UIResponder _finishResignFirstResponder] + 276
37 UIKit 0x18f066a18 -[UIResponder resignFirstResponder] + 312
38 UIKit 0x18f103fb0 -[UITextView resignFirstResponder] + 96
39 UIKit 0x1a5285ee0 -[UITextViewAccessibility resignFirstResponder] + 48
40 UIKit 0x18f103e9c -[UITextView setEditable:] + 80
41 Apptimize 0x105842ecc __ABTSwizzleDynamicSelectorProperty_block_invoke_5 + 520
42 myApp 0x10527d0d4 -[ZDCChatView setTimedOut:] (ZDCChatView.m:587)
43 libdispatch.dylib 0x184bc4b24 _dispatch_call_block_and_release + 24
44 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout + 16
45 libdispatch.dylib 0x184bd16e0 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1012
46 CoreFoundation 0x18527b070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
47 CoreFoundation 0x185278bc8 __CFRunLoopRun + 2272
48 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
49 GraphicsServices 0x18717b020 GSEventRunModal + 100
50 UIKit 0x18f17978c UIApplicationMain + 236
51 myApp 0x104d65520 main (main.m:16)
52 libdyld.dylib 0x184c29fc0 start + 4
--
Fatal Exception: NSRangeException
0 CoreFoundation 0x1852d2d8c __exceptionPreprocess
1 libobjc.A.dylib 0x18448c5ec objc_exception_throw
2 CoreFoundation 0x1852d2c6c -[NSException initWithCoder:]
3 UIKit 0x18f30e364 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:]
4 UIKit 0x18f30e98c -[UITableView _scrollToRowAtIndexPath:atScrollPosition:animated:usingPresentationValues:]
5 UIKit 0x18f22412c -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:]
6 myApp 0x10527d368 -[ZDCChatView scrollToLast:] (ZDCChatView.m:640)
7 myApp 0x105260880 __41-[ZDCChatViewController keyboardDidShow:]_block_invoke (ZDCChatViewController.m:337)
8 UIKit 0x18ee9b3d4 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:]
9 UIKit 0x18ee9b158 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:]
10 myApp 0x1052607bc -[ZDCChatViewController keyboardDidShow:] (ZDCChatViewController.m:340)
11 CoreFoundation 0x185264c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
12 CoreFoundation 0x1852641b8 _CFXRegistrationPost
13 CoreFoundation 0x185263f14 ___CFXNotificationPost_block_invoke
14 CoreFoundation 0x1852e184c -[_CFXNotificationRegistrar find:object:observer:enumerator:]
15 CoreFoundation 0x18519af38 _CFXNotificationPost
16 Foundation 0x185c0bbbc -[NSNotificationCenter postNotificationName:object:userInfo:]
17 UIKit 0x18f06a90c -[UIInputWindowController postEndNotifications:withInfo:]
18 UIKit 0x18f0638e4 -[UIInputWindowController mergeTransitionIfNecessaryWithTransition:]
19 UIKit 0x18f063174 -[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]
20 UIKit 0x18f0589c8 -[UIInputWindowController setInputViewSet:]
21 UIKit 0x18f0528a4 -[UIInputWindowController performOperations:withAnimationStyle:]
22 UIKit 0x18f04efe8 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:]
23 UIKit 0x1a52d4e9c -[UIPeripheralHostAccessibility setInputViews:animationStyle:]
24 UIKit 0x18eeab6ac -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:]
25 UIKit 0x18f066d68 -[UIResponder _finishResignFirstResponder]
26 UIKit 0x18f066a18 -[UIResponder resignFirstResponder]
27 UIKit 0x18f103fb0 -[UITextView resignFirstResponder]
28 UIKit 0x1a5285ee0 -[UITextViewAccessibility resignFirstResponder]
29 UIKit 0x18f103e9c -[UITextView setEditable:]
30 Apptimize 0x105842ecc (Missing)
31 myApp 0x10527d0d4 -[ZDCChatView setTimedOut:] (ZDCChatView.m:587)
32 libdispatch.dylib 0x184bc4b24 _dispatch_call_block_and_release
33 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout
34 libdispatch.dylib 0x184bd16e0 _dispatch_main_queue_callback_4CF$VARIANT$mp
35 CoreFoundation 0x18527b070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
36 CoreFoundation 0x185278bc8 __CFRunLoopRun
37 CoreFoundation 0x185198da8 CFRunLoopRunSpecific
38 GraphicsServices 0x18717b020 GSEventRunModal
39 UIKit 0x18f17978c UIApplicationMain
40 myApp 0x104d65520 main (main.m:16)
41 libdyld.dylib 0x184c29fc0 start
#0. Crashed: com.twitter.crashlytics.ios.exception
0 myApp 0x105121578 CLSProcessRecordAllThreads + 4377040248
1 myApp 0x105121578 CLSProcessRecordAllThreads + 4377040248
2 myApp 0x105121434 CLSProcessRecordAllThreads + 4377039924
3 myApp 0x105111174 CLSHandler + 4376973684
4 myApp 0x10511f580 __CLSExceptionRecord_block_invoke + 4377032064
5 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout + 16
6 libdispatch.dylib 0x184bcd640 _dispatch_queue_barrier_sync_invoke_and_complete + 56
7 myApp 0x10511f014 CLSExceptionRecord + 4377030676
8 myApp 0x10511ee3c CLSExceptionRecordNSException + 4377030204
9 myApp 0x10511ea50 CLSTerminateHandler() + 4377029200
10 libc++abi.dylib 0x18447d37c std::__terminate(void (*)()) + 16
11 libc++abi.dylib 0x18447cccc __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 130
12 libobjc.A.dylib 0x18448c720 _objc_exception_destructor(void*) + 362
13 CoreFoundation 0x1852d2c6c -[NSException initWithCoder:] + 114
14 UIKit 0x18f30e364 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:] + 1856
15 UIKit 0x18f30e98c -[UITableView _scrollToRowAtIndexPath:atScrollPosition:animated:usingPresentationValues:] + 152
16 UIKit 0x18f22412c -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 148
17 myApp 0x10527d368 -[ZDCChatView scrollToLast:] (ZDCChatView.m:640)
18 myApp 0x105260880 __41-[ZDCChatViewController keyboardDidShow:]_block_invoke (ZDCChatViewController.m:337)
19 UIKit 0x18ee9b3d4 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 608
20 UIKit 0x18ee9b158 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] + 108
21 myApp 0x1052607bc -[ZDCChatViewController keyboardDidShow:] (ZDCChatViewController.m:340)
22 CoreFoundation 0x185264c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
23 CoreFoundation 0x1852641b8 _CFXRegistrationPost + 428
24 CoreFoundation 0x185263f14 ___CFXNotificationPost_block_invoke + 216
25 CoreFoundation 0x1852e184c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408
26 CoreFoundation 0x18519af38 _CFXNotificationPost + 384
27 Foundation 0x185c0bbbc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
28 UIKit 0x18f06a90c -[UIInputWindowController postEndNotifications:withInfo:] + 1628
29 UIKit 0x18f0638e4 -[UIInputWindowController mergeTransitionIfNecessaryWithTransition:] + 280
30 UIKit 0x18f063174 -[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:] + 372
31 UIKit 0x18f0589c8 -[UIInputWindowController setInputViewSet:] + 1104
32 UIKit 0x18f0528a4 -[UIInputWindowController performOperations:withAnimationStyle:] + 56
33 UIKit 0x18f04efe8 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 1716
34 UIKit 0x1a52d4e9c -[UIPeripheralHostAccessibility setInputViews:animationStyle:] + 76
35 UIKit 0x18eeab6ac -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 2472
36 UIKit 0x18f066d68 -[UIResponder _finishResignFirstResponder] + 276
37 UIKit 0x18f066a18 -[UIResponder resignFirstResponder] + 312
38 UIKit 0x18f103fb0 -[UITextView resignFirstResponder] + 96
39 UIKit 0x1a5285ee0 -[UITextViewAccessibility resignFirstResponder] + 48
40 UIKit 0x18f103e9c -[UITextView setEditable:] + 80
41 Apptimize 0x105842ecc __ABTSwizzleDynamicSelectorProperty_block_invoke_5 + 520
42 myApp 0x10527d0d4 -[ZDCChatView setTimedOut:] (ZDCChatView.m:587)
43 libdispatch.dylib 0x184bc4b24 _dispatch_call_block_and_release + 24
44 libdispatch.dylib 0x184bc4ae4 _dispatch_client_callout + 16
45 libdispatch.dylib 0x184bd16e0 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1012
46 CoreFoundation 0x18527b070 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
47 CoreFoundation 0x185278bc8 __CFRunLoopRun + 2272
48 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
49 GraphicsServices 0x18717b020 GSEventRunModal + 100
50 UIKit 0x18f17978c UIApplicationMain + 236
51 myApp 0x104d65520 main (main.m:16)
52 libdyld.dylib 0x184c29fc0 start + 4
#1. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 Foundation 0x185c0d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x185c0d51c -[NSRunLoop(NSRunLoop) runUntilDate:] + 148
7 UIKit 0x18ee5e7e4 -[UIEventFetcher threadMain] + 136
8 Foundation 0x185d1defc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
10 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
11 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#2. GAIThread
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 Foundation 0x185c0d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x185c821a8 -[NSRunLoop(NSRunLoop) run] + 88
7 myApp 0x105078980 +[GAI threadMain:] + 4376349056
8 Foundation 0x185d1defc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
10 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
11 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#3. Thread
0 libsystem_kernel.dylib 0x184d590f4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x184efbc90 _pthread_cond_wait$VARIANT$mp + 644
2 libc++.1.dylib 0x18441025c std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3 JavaScriptCore 0x18c8ef1a4 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 104
4 JavaScriptCore 0x18c8eedb8 bmalloc::Scavenger::threadRunLoop() + 164
5 JavaScriptCore 0x18c8eeb60 bmalloc::Scavenger::Scavenger(std::__1::lock_guard<bmalloc::StaticMutex>&) + 10
6 JavaScriptCore 0x18c8eef7c void* 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::Scavenger*), bmalloc::Scavenger*> >(void*) + 44
7 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
8 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
9 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#4. WebThread
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 WebCore 0x18d425d9c RunWebThread(void*) + 592
6 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
7 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
8 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#5. com.twitter.crashlytics.ios.MachExceptionServer
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 myApp 0x10510c044 CLSMachExceptionServer + 4376952900
3 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
4 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
5 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#6. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 CFNetwork 0x185aa64b0 -[__CoreSchedulingSetRunnable runForever] + 220
6 Foundation 0x185d1defc __NSThread__start__ + 1040
7 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
8 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
9 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#7. TAGThread
0 libsystem_kernel.dylib 0x184d37e08 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x184d37c80 mach_msg + 72
2 CoreFoundation 0x18527ae40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x185278908 __CFRunLoopRun + 1568
4 CoreFoundation 0x185198da8 CFRunLoopRunSpecific + 552
5 Foundation 0x185c0d674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x185c821a8 -[NSRunLoop(NSRunLoop) run] + 88
7 myApp 0x1050af794 +[TAGDispatchUtil threadMain:] + 4376573844
8 Foundation 0x185d1defc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
10 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
11 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#8. com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x184d59538 __select + 8
1 CoreFoundation 0x185283378 __CFSocketManager + 644
2 libsystem_pthread.dylib 0x184ef9220 _pthread_body + 272
3 libsystem_pthread.dylib 0x184ef9110 _pthread_body + 290
4 libsystem_pthread.dylib 0x184ef7b10 thread_start + 4
#9. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef7eb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#10. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef80a0 _pthread_wqthread + 1420
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#11. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef7eb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#12. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef80a0 _pthread_wqthread + 1420
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#13. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef7eb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
#14. Thread
0 libsystem_pthread.dylib 0x184ef7b04 start_wqthread + 122
#15. Thread
0 libsystem_kernel.dylib 0x184d59d84 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x184ef80a0 _pthread_wqthread + 1420
2 libsystem_pthread.dylib 0x184ef7b08 start_wqthread + 4
Any solution would be help full to remove this crash. Thanks in advance.

I get a crash when i use my app. And i can't make it to reproduce. It is a SEGV_ACCERR error

There is my crash descripiton:
#0 Thread
SIGSEGV
SEGV_ACCERR
0 libobjc.A.dylib objc_msgSend + 28
1 CoreLocation CLClientGetCapabilities + 35548
2 CoreLocation CLClientGetCapabilities + 33812
3 CoreLocation CLClientInvalidate + 1000
4 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 20
5 CoreFoundation ___CFRunLoopDoBlocks + 288
6 CoreFoundation ___CFRunLoopRun + 728
7 CoreFoundation CFRunLoopRunSpecific + 424
8 GraphicsServices GSEventRunModal + 100
9 UIKit UIApplicationMain + 208
10 iSmartLBS main (main.m:15)
11 libdyld.dylib _start + 4
I open the organizer on Xcode just now, and i find more information:
{
"SourceLine" : 1865,
"SourceFile" : "CLLocationManager.m",
"UserData" : {
"Resolved" : false,
"Name" : "CoreLocation: -[CLLocationManager onClientEventLocation:forceMapMatching:type:] + 1060",
"Description" : ""
},
"DefaultName" : "CoreLocation: -[CLLocationManager onClientEventLocation:forceMapMatching:type:] + 1060"
}
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000010
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libobjc.A.dylib 0x0000000183a98150 objc_msgSend + 16
1 CoreLocation 0x000000018d2a6734 -[CLLocationManager onClientEventLocation:forceMapMatching:type:] + 1060 (CLLocationManager.m:1865)
2 CoreLocation 0x000000018d2a606c -[CLLocationManager onClientEvent:supportInfo:] + 1000 (CLLocationManager.m:1660)
3 CoreLocation 0x000000018d299278 ___Z22CLClientInvokeCallbackP10__CLClient13CLClientEventP11objc_object_block_invoke + 140 (CLClient.mm:763)
4 CoreFoundation 0x0000000184fd130c CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 20 (CFRunLoop.c:1818)
5 CoreFoundation 0x0000000184fd0b28 __CFRunLoopDoBlocks + 288 (CFRunLoop.c:1855)
6 CoreFoundation 0x0000000184fce9bc __CFRunLoopRun + 764 (CFRunLoop.c:2823)
7 CoreFoundation 0x0000000184efeda4 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
8 GraphicsServices 0x0000000186968074 GSEventRunModal + 100 (GSEvent.c:2245)
9 UIKit 0x000000018b1b9058 UIApplicationMain + 208 (UIApplication.m:4089)
10 iSmartLBS 0x0000000100c3432c 0x10008c000 + 12223276
11 libdyld.dylib 0x0000000183f0d59c start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x0000000183fff224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183fff09c mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x0000000184fd0e90 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3 CoreFoundation 0x0000000184fceae4 __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4 CoreFoundation 0x0000000184efeda4 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5 Foundation 0x0000000185a18d74 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (NSRunLoop.m:367)
6 Foundation 0x0000000185a39b44 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 (NSRunLoop.m:411)
7 UIKit 0x000000018bb436a8 -[UIEventFetcher threadMain] + 136 (UIEventFetcher.m:313)
8 Foundation 0x0000000185b162d8 NSThread__start + 996 (NSThread.m:1163)
9 libsystem_pthread.dylib 0x00000001840e568c _pthread_body + 240 (pthread.c:697)
10 libsystem_pthread.dylib 0x00000001840e559c _pthread_start + 284 (pthread.c:744)
11 libsystem_pthread.dylib 0x00000001840e2cb4 thread_start + 4
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x0000000183fff224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000183fff09c mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x0000000184fd0e90 __CFRunLoopServiceMachPort + 192 (CFRunLoop.c:2527)
3 CoreFoundation 0x0000000184fceae4 __CFRunLoopRun + 1060 (CFRunLoop.c:2870)
4 CoreFoundation 0x0000000184efeda4 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
5 AVFAudio 0x000000019f242540 GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:106)
6 AVFAudio 0x000000019f268814 CAPThread::Entry(CAPThread*) + 84
7 libsystem_pthread.dylib 0x00000001840e568c _pthread_body + 240 (pthread.c:697)
8 libsystem_pthread.dylib 0x00000001840e559c _pthread_start + 284 (pthread.c:744)
9 libsystem_pthread.dylib 0x00000001840e2cb4 thread_start + 4
The crash is caused SIGSEGV in objc_msgSend. This means you have tried to access invalid object address. This means there a some issue related to memory in app.
This problem mostly faced while you do delete or any operation on UITableView
Solution
You can find using your Analyze of xcode and fix all warning that they displayed to you.
Also You can track this using enable zoombie and Instrument tool in xcode .

Strange CFNetwork crash in iOS7.1 - possibly AFNetworking Related

I have started receiving details of a crash that I have not seen before, and it only appears to have started happening since the 7.1 update.
The exact line from the stack is :
CFNetwork
___ZN14CoreStreamBase34_streamSetEventAndScheduleDeliveryEmh_block_invoke + 30
and the entire trace is here:
Thread : Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x3a1b81f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x3a222797 pthread_kill + 58
2 libsystem_c.dylib 0x3a168fdd abort + 76
3 libc++abi.dylib 0x39497cd7 abort_message + 74
4 libc++abi.dylib 0x394af6f3 __cxa_pure_virtual + 18
5 CFNetwork 0x2ec994bf ___ZN14CoreStreamBase34_streamSetEventAndScheduleDeliveryEmh_block_invoke + 30
6 CoreFoundation 0x2ef37981 CFArrayApplyFunction + 36
7 CFNetwork 0x2ec007fb RunloopBlockContext::perform() + 182
8 CFNetwork 0x2ec006b9 MultiplexerSource::perform() + 220
9 CFNetwork 0x2ec0054d MultiplexerSource::_perform(void*) + 48
10 CoreFoundation 0x2efcf25b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
11 CoreFoundation 0x2efce72b __CFRunLoopDoSources0 + 206
12 CoreFoundation 0x2efccf1f __CFRunLoopRun + 622
13 CoreFoundation 0x2ef37f4f CFRunLoopRunSpecific + 522
14 CoreFoundation 0x2ef37d33 CFRunLoopRunInMode + 106
15 GraphicsServices 0x33e3e663 GSEventRunModal + 138
16 UIKit 0x3188316d UIApplicationMain + 1136
The only other thread i can see that is running is from AFNetworking, as this would be the only thing I would imagine is using CFNetworking:
Thread : AFNetworking (com.apple.main-thread)
0 libsystem_kernel.dylib 0x3a1a5a58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3a1a5859 mach_msg + 48
2 CoreFoundation 0x2efce89b __CFRunLoopServiceMachPort + 154
3 CoreFoundation 0x2efccfc1 __CFRunLoopRun + 784
4 CoreFoundation 0x2ef37f4f CFRunLoopRunSpecific + 522
5 CoreFoundation 0x2ef37d33 CFRunLoopRunInMode + 106
6 Foundation 0x2f92a1eb -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 254
7 Foundation 0x2f97b0a1 -[NSRunLoop(NSRunLoop) run] + 80
8 **** 0x0011d35f +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:148)
9 Foundation 0x2f9eca5f __NSThread__main__ + 1062
10 libsystem_pthread.dylib 0x3a221919 _pthread_body + 140
11 libsystem_pthread.dylib 0x3a22188b _pthread_start + 102
Has anyone else experienced issues with this? I have been over to the AFN github but cant see anyone else reporting this issue.
Thanks

Resources