Crash in CFNetwork on iOS 11 - crash

Facing the following crash recently on iOS11. Any known crash in iOS11 ?
Thread 13 crashed:
# 1 0x0000000185e5da70 in TubeManager::_onqueue_newTubeReady(Tube*, CFStreamError) + 992 (CFNetwork + 0x00000000000d6a70) 0x0000000000000000
# 2 0x0000000185e5da70 in TubeManager::_onqueue_newTubeReady(Tube*, CFStreamError) + 992 (CFNetwork + 0x00000000000d6a70) 0x0000000000000000
# 3 0x0000000185e5d438 in invocation function for block in TubeManager::requestNewTube(BaseAwaitingTube*, void (Tube*) block_pointer) + 28 (CFNetwork + 0x00000000000d6438) 0x000000016fe2e5e0
# 4 0x0000000185e8e2f4 in Tube::_onqueue_invokeCB(CFStreamError) + 160 (CFNetwork + 0x00000000001072f4) 0x000000016fe2e600
# 5 0x0000000185e8d04c in Tube::_onqueue_errorHandler(CFStreamError) + 148 (CFNetwork + 0x000000000010604c) 0x000000016fe2e630
# 6 0x0000000185e8e978 in Tube::connectionEstablished(CFStreamError) + 408 (CFNetwork + 0x0000000000107978) 0x000000016fe2e660
# 7 0x0000000185182a4c in _dispatch_call_block_and_release + 16 (libdispatch.dylib + 0x0000000000001a4c) 0x000000016fe2e6a0
# 8 0x0000000185182a0c in _dispatch_client_callout + 8 (libdispatch.dylib + 0x0000000000001a0c) 0x000000016fe2e6c0
# 9 0x000000018518c964 in _dispatch_queue_serial_drain$VARIANT$mp + 520 (libdispatch.dylib + 0x000000000000b964) 0x000000016fe2e6e0
# 10 0x000000018518d2f4 in _dispatch_queue_invoke$VARIANT$mp + 332 (libdispatch.dylib + 0x000000000000c2f4) 0x000000016fe2e780
# 11 0x000000018518c81c in _dispatch_queue_serial_drain$VARIANT$mp + 192 (libdispatch.dylib + 0x000000000000b81c) 0x000000016fe2e810
# 12 0x000000018518d2f4 in _dispatch_queue_invoke$VARIANT$mp + 332 (libdispatch.dylib + 0x000000000000c2f4) 0x000000016fe2e8b0
# 13 0x000000018518dd18 in _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 396 (libdispatch.dylib + 0x000000000000cd18) 0x000000016fe2e940
# 14 0x0000000185196034 in _dispatch_workloop_worker_thread$VARIANT$mp + 636 (libdispatch.dylib + 0x0000000000015034) 0x000000016fe2e9c0
# 15 0x000000018542af14 in _pthread_wqthread + 924 (libsystem_pthread.dylib + 0x0000000000000f14) 0x000000016fe2ea40
# 16 0x000000018542ab64 in pthread_workqueue_addthreads_np + 120 (libsystem_pthread.dylib + 0x0000000000000b64) 0x000000016fe2eae0

Related

React native iOS application crash in production mode

My application developed in react native and last version deployed on app store crashing with below given crash logs.
Last Exception Backtrace:
0 CoreFoundation 0x1a66a927c __exceptionPreprocess + 228 (NSException.m:172)
1 libobjc.A.dylib 0x1a58839f8 objc_exception_throw + 56 (objc-exception.mm:557)
2 CoreFoundation 0x1a65b34b0 +[NSException raise:format:] + 116 (NSException.m:145)
3 Passport 0x100cf4788 RCTFatal + 400
4 Passport 0x100cf24a4 -[RCTExceptionsManager reportFatalException:stack:exceptionId:] + 491
5 CoreFoundation 0x1a66b0900 __invoking___ + 144
6 CoreFoundation 0x1a65924d0 -[NSInvocation invoke] + 292 (NSForwarding.m:3052)
7 CoreFoundation 0x1a6593104 -[NSInvocation invokeWithTarget:] + 60 (NSForwarding.m:3123)
8 Passport 0x100d056c8 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 491
9 Passport 0x100d4514c facebook::react::invokeInner+ 495948 (RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 247
10 Passport 0x100d44eac invocation function for block in facebook::react::RCTNativeModule::invoke+ 495276 (unsigned int, folly::dynamic&&, int) + 87
11 libdispatch.dylib 0x1a60e8a38 _dispatch_call_block_and_release + 24 (init.c:1372)
12 libdispatch.dylib 0x1a60e97d4 _dispatch_client_callout + 16 (object.m:511)
13 libdispatch.dylib 0x1a6092320 _dispatch_lane_serial_drain$VARIANT$mp + 592 (inline_internal.h:2441)
14 libdispatch.dylib 0x1a6092e3c _dispatch_lane_invoke$VARIANT$mp + 428 (queue.c:3805)
15 libdispatch.dylib 0x1a609b4a8 _dispatch_workloop_worker_thread + 596 (queue.c:5889)
16 libsystem_pthread.dylib 0x1a62c9114 _pthread_wqthread + 304 (pthread.c:2371)
17 libsystem_pthread.dylib 0x1a62cbcd4 start_wqthread + 4
Same code working fine in development mode in application. I am not able to derive any meaningful information from crash report. Any help should be appreciated.

Crashing on iOS 11 inside of CFNetwork

I'm seeing dozens of crashes every few hours for an app, solely in iOS 11. The stack trace doesn't help and I've got no clue since the rest of the threads are doing something completely different in each of the crash logs. Thus I'm unable to figure out what exactly is triggering it. Anyone else seeing this?
It always seems to be this line:
TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer, bool) + 640
Crashed: com.apple.CFNetwork.Connection
0 libsystem_kernel.dylib 0x184f05338 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1850194d4 pthread_kill$VARIANT$mp + 360
2 libsystem_c.dylib 0x184e74b0c abort + 140
3 libsystem_c.dylib 0x184e485f0 basename_r + 314
4 CFNetwork 0x185aeca34 TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer, bool) + 640
5 libnetwork.dylib 0x1862a88c0 __tcp_connection_set_tls_message_handler_on_nw_connection_block_invoke + 168
6 libboringssl.dylib 0x1861862c0 __boringssl_context_handshake_message_handler_block_invoke + 160
7 libdispatch.dylib 0x184d69e04 _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x184d69dc4 _dispatch_client_callout + 16
9 libdispatch.dylib 0x184d73ef4 _dispatch_queue_serial_drain$VARIANT$mp + 532
10 libdispatch.dylib 0x184d74944 _dispatch_queue_invoke$VARIANT$mp + 340
11 libdispatch.dylib 0x184d73da8 _dispatch_queue_serial_drain$VARIANT$mp + 200
12 libdispatch.dylib 0x184d74944 _dispatch_queue_invoke$VARIANT$mp + 340
13 libdispatch.dylib 0x184d75510 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 428
14 libdispatch.dylib 0x184d7e0a8 _dispatch_workloop_worker_thread$VARIANT$mp + 620
15 libsystem_pthread.dylib 0x1850171e8 _pthread_wqthread + 924
16 libsystem_pthread.dylib 0x185016e40 start_wqthread + 4
There does seem to be one more thread common between all these crashlogs and I suspect it's from Fabric itself. Anyone else seeing this as well?
trust
0 libsystem_kernel.dylib 0x182550a24 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18255089c mach_msg + 72
2 libdispatch.dylib 0x1823ece00 _dispatch_mach_send_and_wait_for_reply + 656
3 libdispatch.dylib 0x1823ed2d0 dispatch_mach_send_with_result_and_wait_for_reply$VARIANT$mp + 64
4 libxpc.dylib 0x1826bf9b4 xpc_connection_send_message_with_reply_sync + 196
5 Security 0x1836235bc securityd_message_with_reply_sync + 176
6 Security 0x1836238fc securityd_send_sync_and_do + 80
7 Security 0x1836a5a30 __SecTrustEvaluateIfNecessary_block_invoke_3 + 432
8 Security 0x183674494 SecOSStatusWith + 52
9 Security 0x1836a5864 __SecTrustEvaluateIfNecessary_block_invoke_2 + 96
10 libsystem_trace.dylib 0x1826a0b68 _os_activity_initiate_impl + 60
11 Security 0x1836a57f4 __SecTrustEvaluateIfNecessary_block_invoke + 260
12 libdispatch.dylib 0x1823d5dc4 _dispatch_client_callout + 16
13 libdispatch.dylib 0x1823deb94 _dispatch_queue_barrier_sync_invoke_and_complete + 56
14 Security 0x1836a28e8 SecTrustEvaluateIfNecessary + 520
15 Security 0x1836a2c10 SecTrustEvaluate + 64
16 MyApp 0x10359c6e0 -[FABCertificatePinner evaluateTrust:result:] (FABCertificatePinner.m:52)
17 MyApp 0x10359c784 -[FABCertificatePinner handleChallenge:fromURLSession:completionHandler:] (FABCertificatePinner.m:76)
18 MyApp 0x10358dfc8 -[ANSNetworkRetryHandler handleChallenge:fromURLSession:completionHandler:] (ANSNetworkRetryHandler.m:55)
19 MyApp 0x103596ff4 -[ANSAnswersController uploader:session:didReceiveChallenge:completionHandler:] (ANSAnswersController.m:528)
20 MyApp 0x103591ac4 -[ANSUploader URLSession:didReceiveChallenge:completionHandler:] (ANSUploader.m:347)
21 Foundation 0x1834116f8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
22 Foundation 0x1833516f4 -[NSBlockOperation main] + 72
23 Foundation 0x1833412d4 -[__NSOperationInternal _start:] + 868
24 libdispatch.dylib 0x1823d5dc4 _dispatch_client_callout + 16
25 libdispatch.dylib 0x1823dd5e8 _dispatch_block_invoke_direct$VARIANT$mp + 260
26 libdispatch.dylib 0x1823d5dc4 _dispatch_client_callout + 16
27 libdispatch.dylib 0x1823dd5e8 _dispatch_block_invoke_direct$VARIANT$mp + 260
28 libdispatch.dylib 0x1823dd4b0 dispatch_block_perform$VARIANT$mp + 104
29 Foundation 0x1834133d0 __NSOQSchedule_f + 376
30 libdispatch.dylib 0x1823d5dc4 _dispatch_client_callout + 16
31 libdispatch.dylib 0x1823de454 _dispatch_continuation_pop$VARIANT$mp + 456
32 libdispatch.dylib 0x1823dcb94 _dispatch_async_redirect_invoke$VARIANT$mp + 648
33 libdispatch.dylib 0x1823e36d0 _dispatch_root_queue_drain + 596
34 libdispatch.dylib 0x1823e341c _dispatch_worker_thread4 + 56
35 libsystem_pthread.dylib 0x182683338 _pthread_wqthread + 1260
36 libsystem_pthread.dylib 0x182682e40 start_wqthread + 4

App crashes on OS X Yosemite due to NSOperation (QOS, Quality Of Service)

My application keeps crashing on OS X Yosemite for the following reason:
Crashed Thread: 7 Dispatch queue: NSOperationQueue 0x608000239d80 :: NSOperation 0x60000013b3a0 (QOS: UTILITY)
Changed my NSOperation to this:
if ([self respondsToSelector:#selector(qualityOfService)]) {
self.qualityOfService = NSQualityOfServiceUtility;
}
But application keeps crashing.
Stack trace of crashing thread:
Thread 7 Crashed:: Dispatch queue: NSOperationQueue 0x608000239d80 ::
NSOperation 0x60000013b3a0 (QOS: UTILITY)
0 libobjc.A.dylib 0x00007fff8af4f0dd objc_msgSend +
29
1 com.apple.CoreText 0x00007fff882d0ce7
TAttributes::ParseAttributes(__CFDictionary const*, void const*&,
TInlineVector, 30ul>&) + 521
2 com.apple.CoreText 0x00007fff882d06f9
TAttributes::TAttributes(__CFDictionary const*) + 257
3 com.apple.CoreText 0x00007fff882e8295
TRunEncoder::Encode(_CTGlyphStorage*, CFRange, unsigned int,
__CFDictionary const*) + 85
4 com.apple.CoreText 0x00007fff882e8231
CTRunCreateMutableRunsWithStorageAndOptions + 191
5 com.apple.UIFoundation 0x00007fff8f0f329e
-[NSATSGlyphStorage createCTTypesetter] + 705
6 com.apple.UIFoundation 0x00007fff8f0ecf0c
-[NSATSTypesetter _ctTypesetter] + 324
7 com.apple.UIFoundation 0x00007fff8f0f78b5
-[NSATSLineFragment layoutForStartingGlyphAtIndex:characterIndex:minPosition:maxPosition:lineFragmentRect:]
+ 89
8 com.apple.UIFoundation 0x00007fff8f0edd43
-[NSATSTypesetter _layoutLineFragmentStartingWithGlyphAtIndex:characterIndex:atPoint:renderingContext:]
+ 2901 9 com.apple.UIFoundation 0x00007fff8f0efa08 -[NSATSTypesetter layoutParagraphAtPoint:] + 156
10 com.apple.UIFoundation 0x00007fff8f040356 -[NSTypesetter
_layoutGlyphsInLayoutManager:startingAtGlyphIndex:maxNumberOfLineFragments:maxCharacterIndex:nextGlyphIndex:nextCharacterIndex:]
+ 4713
11 com.apple.UIFoundation 0x00007fff8f041ae5 -[NSTypesetter
layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:]
+ 246
12 com.apple.UIFoundation 0x00007fff8f0f0743
-[NSATSTypesetter layoutCharactersInRange:forLayoutManager:maximumNumberOfLineFragments:]
+ 967
13 com.apple.UIFoundation 0x00007fff8f0b9e76
-[NSLayoutManager(NSPrivate) _fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] + 1334
14 com.apple.UIFoundation 0x00007fff8f0c370c
_NSFastFillAllLayoutHolesForGlyphRange + 1493
15 com.apple.UIFoundation 0x00007fff8f0c8e54
-[NSLayoutManager(NSPrivate) _drawBackgroundForGlyphRange:atPoint:] + 542
16 com.apple.AppKit 0x00007fff8f37fc15 -[NSTextView
drawRect:] + 1878
17 com.apple.AppKit 0x00007fff8f37f409
-[NSTextView(NSTextView_LayerBacking) drawLayer:inGraphicsContext:] + 493
18 com.apple.AppKit 0x00007fff8f332980
+[NSGraphicsContext configureGraphicsContextForCALayer:withCGContext:andRenderWithHandler:]
+ 97
19 com.apple.QuartzCore 0x00007fff92e70153
CABackingStoreUpdate_ + 3306
20 com.apple.QuartzCore 0x00007fff92e6f463
___ZN2CA5Layer8display_Ev_block_invoke + 59
21 com.apple.QuartzCore 0x00007fff92e6f41f
x_blame_allocations + 81
22 com.apple.QuartzCore 0x00007fff92e6ef1c
CA::Layer::display_() + 1546
23 com.apple.AppKit 0x00007fff8f31c89f
_NSBackingLayerDisplay + 617
24 com.apple.QuartzCore 0x00007fff92e6e641
CA::Layer::display_if_needed(CA::Transaction*) + 603
25 com.apple.QuartzCore 0x00007fff92e6dd7d
CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35
26 com.apple.QuartzCore 0x00007fff92e6d50e
CA::Context::commit_transaction(CA::Transaction*) + 242
27 com.apple.QuartzCore 0x00007fff92e6d164
CA::Transaction::commit() + 390
28 com.apple.QuartzCore 0x00007fff92e7df55
CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned
long, void*) + 71
29 com.apple.CoreFoundation 0x00007fff902bdd87
CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23
30 com.apple.CoreFoundation 0x00007fff902bdce0
__CFRunLoopDoObservers + 368
31 com.apple.CoreFoundation 0x00007fff902af858
CFRunLoopRunSpecific + 328
32 com.apple.Foundation 0x00007fff8d04bab9
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
33 com.pack.MyApp 0x000000010ab54d5b -[SyncOperation
start] + 886
34 com.apple.Foundation 0x00007fff8cfe91a3 __NSOQSchedule_f
+ 184
35 libdispatch.dylib 0x00007fff925e9c13
_dispatch_client_callout + 8
36 libdispatch.dylib 0x00007fff925ed365
_dispatch_queue_drain + 1100
37 libdispatch.dylib 0x00007fff925eeecc
_dispatch_queue_invoke + 202
38 libdispatch.dylib 0x00007fff925ec6b7
_dispatch_root_queue_drain + 463
39 libdispatch.dylib 0x00007fff925fafe4
_dispatch_worker_thread3 + 91
40 libsystem_pthread.dylib 0x00007fff8596d6cb
_pthread_wqthread + 729
41 libsystem_pthread.dylib 0x00007fff8596b4a1 start_wqthread +
13
Thank you!

Diagnosing run loop issue (partially frozen UI) in Cocoa application

Our application has a fairly standard layout - a main window with a toolbar, source list on the left hand side, and a tab control. The contents of the tabs is drawn by a third party component that is open source and very complex. It makes extensive use of threads, etc.
Some users can reliably reproduce a situation where the whole application 'freezes' - which is to say, the main window stops redrawing. The cursor does not beachball, and the user can still click around, but the window simply does not update.
There is no specific repro steps other than starting to use the application, open one or more tabs and within a few minutes the problem occurs.
They are able to open the application menus at the top of the screen. One of the menu items - "Check for updates" - starts a modal session (a sheet with a progress indicator) while checking for updates on a background thread.
When the application is in this 'frozen' state, choosing 'Check for updates' seems to unfreeze the application for the duration of the modal session. Clicks and button presses that were made while frozen are suddenly registered as the UI redraws.
Then, the 'Check for updates' finishes, the modal session ends and the application is frozen again.
It seems to me to be a problem with the run loop. It's an open-ended question but I honestly don't know where to look - what can cause these kind of symptoms? I am unable to see any correlation between the hardware/software of the users that experience this issue.
EDIT
After freezing, the only thing I see on the console that I can't explain is
12/18/2013 10:39:29.000 AM kernel[0]: Network delay is not specified! Defaulting to 0x384
But I think this is a red herring.
A sample of the process when it's frozen shows this for the UI thread:
+ 2327 -[NSApplication run] (in AppKit) + 727 [0x9392e35c]
+ 2327 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 119 [0x9393bad0]
+ 2327 _DPSNextEvent (in AppKit) + 1602 [0x9393c5a9]
+ 2327 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox) + 92 [0x9b2ea98d]
+ 2327 ReceiveNextEventCommon (in HIToolbox) + 526 [0x9b2eabb2]
+ 2327 RunCurrentEventLoopInMode (in HIToolbox) + 259 [0x9b2eae2d]
+ 2327 CFRunLoopRunInMode (in CoreFoundation) + 123 [0x95467bbb]
+ 2327 CFRunLoopRunSpecific (in CoreFoundation) + 394 [0x95467d5a]
+ 2324 __CFRunLoopRun (in CoreFoundation) + 1393 [0x95468541]
+ ! 2324 __CFRunLoopServiceMachPort (in CoreFoundation) + 169 [0x95468f69]
+ ! 2324 mach_msg (in libsystem_kernel.dylib) + 68 [0x99c0616c]
+ ! 2324 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x99c06f7a]
+ 3 __CFRunLoopRun (in CoreFoundation) + 1779 [0x954686c3]
+ 1 __CFRunLoopDoTimers (in CoreFoundation) + 222 [0x9552b22e]
+ : 1 CFArrayCreateMutable (in CoreFoundation) + 138 [0x9540a02a]
+ : 1 -[__NSPlaceholderArray initWithCapacity:] (in CoreFoundation) + 136 [0x954005a8]
+ : 1 +[__NSArrayM __new:::::] (in CoreFoundation) + 798 [0x9540096e]
+ 1 __CFRunLoopDoTimers (in CoreFoundation) + 237 [0x9552b23d]
+ : 1 CFArrayAppendValue (in CoreFoundation) + 157 [0x9541fa9d]
+ : 1 -[__NSArrayM addObject:] (in CoreFoundation) + 64 [0x954009e0]
+ : 1 -[__NSArrayM insertObject:atIndex:] (in CoreFoundation) + 400 [0x95400b90]
+ : 1 _platform_bzero$VARIANT$sse42 (in libsystem_platform.dylib) + 51 [0x9660c233]
+ 1 __CFRunLoopDoTimers (in CoreFoundation) + 349 [0x9552b2ad]
+ 1 __CFRunLoopDoTimer (in CoreFoundation) + 1395 [0x954b0b43]
+ 1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation) + 22 [0x954b1186]
+ 1 WebCore::timerFired(__CFRunLoopTimer*, void*) (in WebCore) + 64 [0x9285bff0]
+ 1 WebCore::ThreadTimers::sharedTimerFired() (in WebCore) + 84 [0x9285c064]
+ 1 WebCore::ThreadTimers::sharedTimerFiredInternal() (in WebCore) + 330 [0x9285c1ca]
+ 1 WebCore::MainThreadSharedTimer::setFireInterval(double) (in WebCore) + 21 [0x9285ba65]
+ 1 WebCore::setSharedTimerFireInterval(double) (in WebCore) + 173 [0x9285bb1d]
+ 1 CFRunLoopAddTimer (in CoreFoundation) + 453 [0x9546fed5]
+ 1 CFSetApplyFunction (in CoreFoundation) + 147 [0x954554d3]
+ 1 CFBasicHashApply (in CoreFoundation) + 122 [0x95437b4a]
+ 1 __CFSetApplyFunction_block_invoke (in CoreFoundation) + 25 [0x95455519]
+ 1 __CFRunLoopAddItemToCommonModes (in CoreFoundation) + 60 [0x9545556c]
But I am not able to interpret that information...
EDIT 2
An additional sample; clearly different to the first:
+ 2352 -[NSApplication run] (in AppKit) + 727 [0x9887035c]
+ 2352 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 119 [0x9887dad0]
+ 2352 _DPSNextEvent (in AppKit) + 1602 [0x9887e5a9]
+ 2352 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox) + 92 [0x9428298d]
+ 2352 ReceiveNextEventCommon (in HIToolbox) + 526 [0x94282bb2]
+ 2352 RunCurrentEventLoopInMode (in HIToolbox) + 259 [0x94282e2d]
+ 2352 CFRunLoopRunInMode (in CoreFoundation) + 123 [0x930d6bbb]
+ 2352 CFRunLoopRunSpecific (in CoreFoundation) + 394 [0x930d6d5a]
+ 2332 __CFRunLoopRun (in CoreFoundation) + 1393 [0x930d7541]
+ ! 2332 __CFRunLoopServiceMachPort (in CoreFoundation) + 169 [0x930d7f69]
+ ! 2332 mach_msg (in libsystem_kernel.dylib) + 68 [0x91bc316c]
+ ! 2332 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x91bc3f7a]
+ 17 __CFRunLoopRun (in CoreFoundation) + 1779 [0x930d76c3]
+ ! 16 __CFRunLoopDoTimers (in CoreFoundation) + 349 [0x9319a2ad]
+ ! : 10 __CFRunLoopDoTimer (in CoreFoundation) + 1395 [0x9311fb43]
+ ! : | 10 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation) + 22 [0x93120186]
+ ! : | 4 __NSFireTimer (in Foundation) + 117 [0x96cac78b]
+ ! : | + 4 -[ThirdPartyView nsTimerCallBack:] (in ThirdPartyLib) + 61 [0x24958bd]
+ ! : | + 1 -[NSPasteboard changeCount] (in AppKit) + 19 [0x98a44fc6]
+ ! : | + ! 1 CFPasteboardGetGenerationCount (in CoreFoundation) + 0 [0x930e3470]
+ ! : | + 1 -[NSPasteboard changeCount] (in AppKit) + 0 [0x98a44fb3]
+ ! : | + 1 DYLD-STUB$$CFPasteboardGetGenerationCount (in AppKit) + 0 [0x992f994c]
+ ! : | + 1 objc_msgSend (in libobjc.A.dylib) + 26 [0x9b1094aa]
+ ! : | 3 __NSFireTimer (in Foundation) + 164 [0x96cac7ba]
+ ! : | + 3 _CFAutoreleasePoolPop (in CoreFoundation) + 47 [0x9309bcdf]
+ ! : | + 3 (anonymous namespace)::AutoreleasePoolPage::pop(void*) (in libobjc.A.dylib) + 559 [0x9b10b4b7]
+ ! : | 2 __NSFireTimer (in Foundation) + 98 [0x96cac778]
+ ! : | + 2 ??? (in <unknown binary>) [0x3589ca0]
+ ! : | + 2 ??? (in <unknown binary>) [0x99575bc]
+ ! : | + 2 ??? (in <unknown binary>) [0x9957668]
+ ! : | + 1 _objc_rootRetainCount (in libobjc.A.dylib) + 88 [0x9b10bdd0]
+ ! : | + ! 1 objc::DenseMapBase<objc::DenseMap<objc_object*, unsigned long, true, objc::DenseMapInfo<objc_object*> >, objc_object*, unsigned long, objc::DenseMapInfo<objc_object*>, true>::find(objc_object* const&) (in libobjc.A.dylib) + 32 [0x9b11f820]
+ ! : | + ! 1 bool objc::DenseMapBase<objc::DenseMap<objc_object*, unsigned long, true, objc::DenseMapInfo<objc_object*> >, objc_object*, unsigned long, objc::DenseMapInfo<objc_object*>, true>::LookupBucketFor<objc_object*>(objc_object* const&, std::__1::pair<objc_object*, unsigned long> const*&) const (in libobjc.A.dylib) + 73 [0x9b11f9ff]
+ ! : | + 1 objc_msgSend (in libobjc.A.dylib) + 64 [0x9b1094d0]
+ ! : | 1 __NSFireTimer (in Foundation) + 53 [0x96cac74b]
+ ! : | 1 NSPushAutoreleasePool (in Foundation) + 0 [0x96c4a188]
+ ! : 4 __CFRunLoopDoTimer (in CoreFoundation) + 557 [0x9311f7fd]
+ ! : | 3 __CFArmNextTimerInMode (in CoreFoundation) + 773 [0x930df535]
+ ! : | + 3 mk_timer_arm (in libsystem_kernel.dylib) + 10 [0x91bc40ca]
+ ! : | 1 __CFArmNextTimerInMode (in CoreFoundation) + 554 [0x930df45a]
+ ! : | 1 __CFTSRToNanoseconds (in CoreFoundation) + 25 [0x931bedb9]
+ ! : 1 __CFRunLoopDoTimer (in CoreFoundation) + 1556 [0x9311fbe4]
+ ! : | 1 pthread_mutex_lock (in libsystem_pthread.dylib) + 16 [0x911ca7ac]
+ ! : | 1 _pthread_mutex_lock (in libsystem_pthread.dylib) + 181 [0x911ca866]
+ ! : 1 __CFRunLoopDoTimer (in CoreFoundation) + 2093 [0x9311fdfd]
+ ! : 1 __CFRunLoopFindMode (in CoreFoundation) + 174 [0x930b1b5e]
+ ! : 1 _CFRuntimeSetInstanceTypeIDAndIsa (in CoreFoundation) + 33 [0x93065711]
+ ! : 1 _CFRuntimeSetInstanceTypeID (in CoreFoundation) + 0 [0x93063f50]
+ ! 1 __CFRunLoopDoTimers (in CoreFoundation) + 237 [0x9319a23d]
+ ! 1 CFArrayAppendValue (in CoreFoundation) + 157 [0x9308ea9d]
+ ! 1 -[__NSArrayM addObject:] (in CoreFoundation) + 64 [0x9306f9e0]
+ ! 1 -[__NSArrayM insertObject:atIndex:] (in CoreFoundation) + 400 [0x9306fb90]
+ ! 1 _platform_bzero$VARIANT$sse42 (in libsystem_platform.dylib) + 0 [0x94d2d200]
+ 2 __CFRunLoopRun (in CoreFoundation) + 1601 [0x930d7611]
+ ! 1 __CFRunLoopDoObservers (in CoreFoundation) + 81 [0x930e63b1]
+ ! : 1 CFArrayGetCount (in CoreFoundation) + 20 [0x930797f4]
+ ! 1 __CFRunLoopDoObservers (in CoreFoundation) + 194 [0x930e6422]
+ ! 1 CFArrayGetValueAtIndex (in CoreFoundation) + 0 [0x9308ef80]
+ 1 __CFRunLoopRun (in CoreFoundation) + 1550 [0x930d75de]
+ 1 mach_port_extract_member (in libsystem_kernel.dylib) + 31 [0x91bc7363]
+ 1 _kernelrpc_mach_port_extract_member_trap (in libsystem_kernel.dylib) + 10 [0x91bc3f26]

HockeyApp crash report

I have an app with HockeyApp integrated for crash reporting.
yesterday i have recieved a crash report stated below.
Incident Identifier: B797B4D3-EA8D-4226-8B0E-11149ADC20B7
CrashReporter Key: 55E9EBD1-9990-44EF-98E8-C0A000955CED
Hardware Model: iPhone5,2
Process: AppName [1375]
Path: /Users/USER/AppName.app/AppName
Identifier: ----------------------------
Version: 1.0.0
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2013-10-21T18:04:47Z
OS Version: iPhone OS 7.0.2 (11A501)
Report Version: 104
Exception Type: SIGABRT
Exception Codes: #0 at 0x38f341fc
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
Last Exception Backtrace:
0 CoreFoundation 0x2e689e8b <redacted> + 131
1 libobjc.A.dylib 0x389846c7 _objc_exception_throw + 39
2 CoreFoundation 0x2e5bfe65 <redacted> + 233
3 AppName 0x000ac04d 0x66000 + 286797
4 AppName 0x000abf17 0x66000 + 286487
5 Foundation 0x2f06ee6d ___NSFireTimer + 65
6 CoreFoundation 0x2e654e87 <redacted> + 15
7 CoreFoundation 0x2e654aa3 <redacted> + 795
8 CoreFoundation 0x2e652e2b <redacted> + 1219
9 CoreFoundation 0x2e5bd541 _CFRunLoopRunSpecific + 525
10 CoreFoundation 0x2e5bd323 _CFRunLoopRunInMode + 107
11 GraphicsServices 0x332f42eb _GSEventRunModal + 139
12 UIKit 0x30e741e5 _UIApplicationMain + 1137
13 AppName 0x000b6cd7 0x66000 + 330967
14 libdyld.dylib 0x38e7dab7 <redacted> + 3
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x38f341fc ___pthread_kill + 8
1 libsystem_c.dylib 0x38ee502d _abort + 77
2 AppName 0x000e41ff 0x66000 + 516607
3 CoreFoundation 0x2e68a18d <redacted> + 581
4 libobjc.A.dylib 0x38984927 <redacted> + 175
5 libc++abi.dylib 0x3834a1b3 <redacted> + 79
6 libc++abi.dylib 0x38349d17 ___cxa_rethrow + 103
7 libobjc.A.dylib 0x3898480f _objc_exception_rethrow + 43
8 CoreFoundation 0x2e5bd5b7 _CFRunLoopRunSpecific + 643
9 CoreFoundation 0x2e5bd323 _CFRunLoopRunInMode + 107
10 GraphicsServices 0x332f42eb _GSEventRunModal + 139
11 UIKit 0x30e741e5 _UIApplicationMain + 1137
12 AppName 0x000b6cd7 0x66000 + 330967
Thread 1:
0 libsystem_kernel.dylib 0x38f21838 _kevent64 + 24
1 libdispatch.dylib 0x38e6a643 <redacted> + 39
Thread 2:
0 libsystem_kernel.dylib 0x38f33f38 ___psynch_cvwait + 24
1 libsystem_pthread.dylib 0x38f9b041 _pthread_cond_wait + 41
2 Foundation 0x2eff874f <redacted> + 195
3 AppName 0x0011a5a1 0x66000 + 738721
4 Foundation 0x2f06ddc7 <redacted> + 1063
5 libsystem_pthread.dylib 0x38f9ac5d <redacted> + 141
6 libsystem_pthread.dylib 0x38f9abcf __pthread_start + 103
Thread 3:
0 libsystem_kernel.dylib 0x38f21a84 _mach_msg_trap + 20
1 CoreFoundation 0x2e654561 <redacted> + 157
2 CoreFoundation 0x2e652c81 <redacted> + 793
3 CoreFoundation 0x2e5bd541 _CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e5bd323 _CFRunLoopRunInMode + 107
5 Foundation 0x2efab827 <redacted> + 255
6 Foundation 0x2effc669 <redacted> + 81
7 AppName 0x00138e95 0x66000 + 863893
8 Foundation 0x2f06ddc7 <redacted> + 1063
9 libsystem_pthread.dylib 0x38f9ac5d <redacted> + 141
10 libsystem_pthread.dylib 0x38f9abcf __pthread_start + 103
Thread 4:
0 libsystem_kernel.dylib 0x38f21a84 _mach_msg_trap + 20
1 CoreFoundation 0x2e654561 <redacted> + 157
2 CoreFoundation 0x2e652c81 <redacted> + 793
3 CoreFoundation 0x2e5bd541 _CFRunLoopRunSpecific + 525
4 CoreFoundation 0x2e5bd323 _CFRunLoopRunInMode + 107
5 Foundation 0x2eff8651 <redacted> + 321
6 Foundation 0x2f06ddc7 <redacted> + 1063
7 libsystem_pthread.dylib 0x38f9ac5d <redacted> + 141
8 libsystem_pthread.dylib 0x38f9abcf __pthread_start + 103
Thread 5:
0 libsystem_kernel.dylib 0x38f34440 ___select + 20
1 libsystem_pthread.dylib 0x38f9ac5d <redacted> + 141
2 libsystem_pthread.dylib 0x38f9abcf __pthread_start + 103
Thread 6:
0 libsystem_kernel.dylib 0x38f34c7c ___workq_kernreturn + 8
Thread 7:
0 libsystem_kernel.dylib 0x38f34c7c ___workq_kernreturn + 8
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0xffffffff
r4: 0x00000006 r5: 0x3ad6118c r6: 0x17e19650 r7: 0x27d9d924
r8: 0x3140f0da r9: 0x3ad61e30 r10: 0x313f4457 r11: 0x0000000f
ip: 0x00000148 sp: 0x27d9d918 lr: 0x38f9ba53 pc: 0x38f341fc
cpsr: 0x00000010
It's saying that crash is occured on Thread 0 but when i run the app from Xcode, debugger does not show any thread 0 and starts threds from 1 and so on. I am unable to produce this crash.
How can i demystify the crash and where it is heppeing.
you got a reason:
* Terminating app due to uncaught exception 'NSRangeException', reason: '* -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for
empty array'
You are somewhere trying to access the first element of an empty array.
Doesn't really matter which thread crashed