AFNetworking bug

Issue #47 closed
Brendan Dawes repo owner created an issue

Crashlytics - plaintext stacktrace downloaded by Brendan Dawes at Sun, 29 Oct 2017 10:55:29 GMT

URL: https://fabric.io/brendan-dawes/ios/apps/com.brendandawes.kennedy/issues/59f5234c61b02d480d60c55b?time=last-seven-days/sessions/be2e4c0b3185481c9defc249c4fff464_a66f7e1ebc4111e7a1bd56847afe9799_0_v2

Organization: Brendan Dawes

Platform: ios

Application: Kennedy

Version: 1.5.1 (276)

Bundle Identifier: com.brendandawes.Kennedy

Issue #: 24

Issue ID: 59f5234c61b02d480d60c55b

Session ID: be2e4c0b3185481c9defc249c4fff464_a66f7e1ebc4111e7a1bd56847afe9799_0_v2

Date: 2017-10-29T00:39:00Z

OS Version: 11.1.0 (15B93)

Device: iPhone 6s Plus

RAM Free: 6.3%

Disk Free: 22.8%

#1. Crashed: com.apple.NSURLSession-work 0 CoreFoundation 0x182cb5384 CFDictionaryGetValue + 100 1 Foundation 0x1837a96d0 _NSSetLongLongValueAndNotify + 72 2 CFNetwork 0x183398304 -[__NSCFLocalSessionTask _task_onqueue_didFinish] + 776 3 CFNetwork 0x18339ad10 -[__NSCFLocalSessionTask connection:didFinishLoadingWithError:] + 76 4 CFNetwork 0x1834164ec __51-[__NSCFURLLocalSessionConnection _task_sendFinish]_block_invoke + 136 5 CFNetwork 0x183416458 -[__NSCFURLLocalSessionConnection _task_sendFinish] + 92 6 libdispatch.dylib 0x182779088 _dispatch_call_block_and_release + 24 7 libdispatch.dylib 0x182779048 _dispatch_client_callout + 16 8 libdispatch.dylib 0x182782e48 _dispatch_queue_serial_drain$VARIANT$mp + 528 9 libdispatch.dylib 0x1827837d8 _dispatch_queue_invoke$VARIANT$mp + 340 10 libdispatch.dylib 0x182784200 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400 11 libdispatch.dylib 0x18278c4a0 _dispatch_workloop_worker_thread$VARIANT$mp + 644 12 libsystem_pthread.dylib 0x182a1efd0 _pthread_wqthread + 932 13 libsystem_pthread.dylib 0x182a1ec20 start_wqthread + 4

--

#0. com.apple.main-thread 0 libsystem_kernel.dylib 0x18290d294 psynch_rw_wrlock + 8 1 libsystem_pthread.dylib 0x182a24418 _pthread_rwlock_lock_wait + 80 2 libobjc.A.dylib 0x18204d9f8 rwlock_tt<false>::write() + 104 3 libobjc.A.dylib 0x182046e38 _class_getNonMetaClass + 40 4 libobjc.A.dylib 0x18204d740 lookUpImpOrForward + 224 5 libobjc.A.dylib 0x182058758 _objc_msgSend_uncached + 56 6 UIKit 0x18cd13974 __60-[_UIAssetManager _assetForName:shouldCreateWhenNotPresent:]_block_invoke + 92 7 UIKit 0x18cd13408 -[_UIAssetManager _performBlockWithAssetLock:] + 48 8 UIKit 0x18cd138d8 -[_UIAssetManager _assetForName:shouldCreateWhenNotPresent:] + 132 9 UIKit 0x18cd126e8 __139-[_UIAssetManager imageNamed:scale:gamut:layoutDirection:idiom:userInterfaceStyle:subtype:cachingOptions:sizeClassPair:attachCatalogImage:]_block_invoke + 856 10 UIKit 0x18cd122d4 -[_UIAssetManager imageNamed:scale:gamut:layoutDirection:idiom:userInterfaceStyle:subtype:cachingOptions:sizeClassPair:attachCatalogImage:] + 224 11 UIKit 0x18cd12b00 -[_UIAssetManager imageNamed:withTrait:] + 576 12 UIKit 0x18c6652c8 _UIImageWithNameAndTraitCollection + 96 13 UIKit 0x18c2472ec _UIImageWithName + 48 14 UIKit 0x18c37f700 +[UIActivityIndicatorView _loadResourcesForStyle:] + 400 15 UIKit 0x18c281b94 -[UIActivityIndicatorView _feedTheGear] + 1104 16 UIKit 0x18c283b60 -[UIActivityIndicatorView initWithActivityIndicatorStyle:] + 180 17 UIKit 0x18c283890 -[UIStatusBarActivityItemView updateContentsAndWidth] + 148 18 UIKit 0x18c283740 -[UIStatusBarItemView initWithItem:data:actions:style:] + 432 19 UIKit 0x18c2834f8 +[UIStatusBarItemView createViewForItem:withData:actions:foregroundStyle:] + 132 20 UIKit 0x18c28337c -[UIStatusBarLayoutManager _createViewForItem:withData:actions:] + 172 21 UIKit 0x18c2228bc -[UIStatusBarLayoutManager _prepareEnabledItemType:withEnabledItems:withData:actions:itemAppearing:itemDisappearing:] + 332 22 UIKit 0x18c2226f8 -[UIStatusBarLayoutManager prepareEnabledItems:withData:actions:] + 108 23 UIKit 0x18c2223b0 -[UIStatusBarForegroundView _setStatusBarData:actions:animated:] + 544 24 UIKit 0x18c222074 -[UIStatusBarForegroundView setStatusBarData:actions:animated:] + 1196 25 UIKit 0x18c220c88 -[UIStatusBar statusBarServer:didReceiveStatusBarData:withActions:] + 704 26 UIKit 0x18c9fb4d0 -[UIStatusBarServer _receivedStatusBarData:actions:animated:] + 136 27 UIKit 0x18c2209a8 _UIStatusBarReceivedStatusBarDataAndActions + 92 28 UIKit 0x18c220904 _XReceivedStatusBarDataAndActions + 96 29 AppSupport 0x1853313a4 migHelperRecievePortCallout + 200 30 CoreFoundation 0x182d9e96c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 56 31 CoreFoundation 0x182d9e070 __CFRunLoopDoSource1 + 440 32 CoreFoundation 0x182d9bb44 __CFRunLoopRun + 2196 33 CoreFoundation 0x182cbbfb8 CFRunLoopRunSpecific + 436 34 GraphicsServices 0x184b53f84 GSEventRunModal + 100 35 UIKit 0x18c2902f4 UIApplicationMain + 208 36 Kennedy 0x102c62efc main (main.m:16) 37 libdyld.dylib 0x1827de56c start + 4

#1. Crashed: com.apple.NSURLSession-work 0 CoreFoundation 0x182cb5384 CFDictionaryGetValue + 100 1 Foundation 0x1837a96d0 _NSSetLongLongValueAndNotify + 72 2 CFNetwork 0x183398304 -[__NSCFLocalSessionTask _task_onqueue_didFinish] + 776 3 CFNetwork 0x18339ad10 -[__NSCFLocalSessionTask connection:didFinishLoadingWithError:] + 76 4 CFNetwork 0x1834164ec __51-[__NSCFURLLocalSessionConnection _task_sendFinish]_block_invoke + 136 5 CFNetwork 0x183416458 -[__NSCFURLLocalSessionConnection _task_sendFinish] + 92 6 libdispatch.dylib 0x182779088 _dispatch_call_block_and_release + 24 7 libdispatch.dylib 0x182779048 _dispatch_client_callout + 16 8 libdispatch.dylib 0x182782e48 _dispatch_queue_serial_drain$VARIANT$mp + 528 9 libdispatch.dylib 0x1827837d8 _dispatch_queue_invoke$VARIANT$mp + 340 10 libdispatch.dylib 0x182784200 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400 11 libdispatch.dylib 0x18278c4a0 _dispatch_workloop_worker_thread$VARIANT$mp + 644 12 libsystem_pthread.dylib 0x182a1efd0 _pthread_wqthread + 932 13 libsystem_pthread.dylib 0x182a1ec20 start_wqthread + 4

#2. Thread 0 libsystem_pthread.dylib 0x182a1ec1c start_wqthread + 122

#3. com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x1828ecbc4 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1828eca3c mach_msg + 72 2 CoreFoundation 0x182d9dc74 CFRunLoopServiceMachPort + 196 3 CoreFoundation 0x182d9b840 __CFRunLoopRun + 1424 4 CoreFoundation 0x182cbbfb8 CFRunLoopRunSpecific + 436 5 Foundation 0x1836e56e4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 6 Foundation 0x183704afc -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 7 UIKit 0x18cdef2f4 -[UIEventFetcher threadMain] + 136 8 Foundation 0x1837e6860 __NSThread__start + 996 9 libsystem_pthread.dylib 0x182a2031c _pthread_body + 308 10 libsystem_pthread.dylib 0x182a201e8 _pthread_body + 310 11 libsystem_pthread.dylib 0x182a1ec28 thread_start + 4

#4. NSOperationQueue 0x1c0228e40 (QOS: UNSPECIFIED) 0 libsystem_kernel.dylib 0x1828ecc00 semaphore_wait_trap + 8 1 libdispatch.dylib 0x18277b3d4 _dispatch_sema4_wait$VARIANT$mp + 24 2 libdispatch.dylib 0x18277bd84 _dispatch_semaphore_wait_slow + 140 3 Foundation 0x1838c2a14 -[NSFileCoordinator(NSPrivate) _blockOnAccessClaim:withAccessArbiter:] + 348 4 Foundation 0x1838c3760 -[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:error:byAccessor:] + 740 5 Foundation 0x1838c1084 -[NSFileCoordinator coordinateReadingItemAtURL:options:error:byAccessor:] + 76 6 Kennedy 0x1031807e4 42-[CDEICloudFileSystem setupRootDirectory:]_block_invoke (CDEICloudFileSystem.m:190) 7 Foundation 0x1837c1310 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 16 8 Foundation 0x1837019e4 -[NSBlockOperation main] + 72 9 Foundation 0x1836f1620 -[__NSOperationInternal _start:] + 848 10 libdispatch.dylib 0x182779048 _dispatch_client_callout + 16 11 libdispatch.dylib 0x1827806c8 _dispatch_block_invoke_direct$VARIANT$mp + 288 12 libdispatch.dylib 0x182779048 _dispatch_client_callout + 16 13 libdispatch.dylib 0x1827806c8 _dispatch_block_invoke_direct$VARIANT$mp + 288 14 libdispatch.dylib 0x182780574 dispatch_block_perform$VARIANT$mp + 104 15 Foundation 0x1837c2fe8 __NSOQSchedule_f + 376 16 libdispatch.dylib 0x182779048 _dispatch_client_callout + 16 17 libdispatch.dylib 0x1827813d4 _dispatch_continuation_pop$VARIANT$mp + 428 18 libdispatch.dylib 0x18277fcd4 _dispatch_async_redirect_invoke$VARIANT$mp + 604 19 libdispatch.dylib 0x1827861c8 _dispatch_root_queue_drain + 596 20 libdispatch.dylib 0x182785f10 _dispatch_worker_thread3 + 120 21 libsystem_pthread.dylib 0x182a1f120 _pthread_wqthread + 1268 22 libsystem_pthread.dylib 0x182a1ec20 start_wqthread + 4

#5. Thread 0 libsystem_kernel.dylib 0x18290ddbc __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x182a1f134 _pthread_wqthread + 1288 2 libsystem_pthread.dylib 0x182a1ec20 start_wqthread + 4

#6. Thread 0 libsystem_pthread.dylib 0x182a1ec1c start_wqthread + 122

#7. com.twitter.crashlytics.ios.MachExceptionServer 0 Kennedy 0x103028c28 CLSProcessRecordAllThreads + 2902892 1 Kennedy 0x103028c28 CLSProcessRecordAllThreads + 2902892 2 Kennedy 0x103028ae4 CLSProcessRecordAllThreads + 2902568 3 Kennedy 0x1030188c0 CLSHandler + 2836484 4 Kennedy 0x1030138d4 CLSMachExceptionServer + 2816024 5 libsystem_pthread.dylib 0x182a2031c _pthread_body + 308 6 libsystem_pthread.dylib 0x182a201e8 _pthread_body + 310 7 libsystem_pthread.dylib 0x182a1ec28 thread_start + 4

#8. Thread 0 libsystem_pthread.dylib 0x182a1ec1c start_wqthread + 122

#9. com.apple.FileCoordination.3 0 libsystem_kernel.dylib 0x18290d204 __psynch_rw_rdlock + 8 1 libsystem_pthread.dylib 0x182a24410 _pthread_rwlock_lock_wait + 72 2 libobjc.A.dylib 0x18204d910 rwlock_tt<false>::read() + 104 3 libobjc.A.dylib 0x18204d6b4 lookUpImpOrForward + 84 4 libobjc.A.dylib 0x18204d62c lookUpImpOrNil + 12 5 libobjc.A.dylib 0x1820428c8 class_getMethodImplementation + 40 6 Foundation 0x18390ee20 _classOverridesSelector + 56 7 Foundation 0x1836f06c4 -[NSXPCDecoder _validateAllowedClass:forKey:allowingInvocations:] + 772 8 Foundation 0x18390f460 _decodeObject + 972 9 Foundation 0x18390efe8 -[NSXPCDecoder _decodeObjectOfClasses:atObject:] + 148 10 Foundation 0x18394069c _NSXPCSerializationDecodeTypedObjCValuesFromArray + 804 11 Foundation 0x183941028 _NSXPCSerializationDecodeInvocationArgumentArray + 548 12 Foundation 0x18390fce8 -[NSXPCDecoder __decodeXPCObject:allowingSimpleMessageSend:outInvocation:outArguments:outArgumentsMaxCount:outMethodSignature:outSelector:isReply:replySelector:interface:] + 1412 13 Foundation 0x18390f754 -[NSXPCDecoder _decodeReplyFromXPCObject:forSelector:interface:] + 64 14 Foundation 0x183908a1c -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 220 15 Foundation 0x18390d0d4 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke.346 + 520 16 libxpc.dylib 0x182a59ee0 _xpc_connection_reply_callout + 60 17 libxpc.dylib 0x182a59e1c _xpc_connection_call_reply_async + 88 18 libdispatch.dylib 0x182779758 _dispatch_client_callout3 + 16 19 libdispatch.dylib 0x182791060 _dispatch_mach_msg_async_reply_invoke$VARIANT$mp + 324 20 libdispatch.dylib 0x182782d00 _dispatch_queue_serial_drain$VARIANT$mp + 200 21 libdispatch.dylib 0x1827837d8 _dispatch_queue_invoke$VARIANT$mp + 340 22 libdispatch.dylib 0x182784200 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400 23 libdispatch.dylib 0x18278c4a0 _dispatch_workloop_worker_thread$VARIANT$mp + 644 24 libsystem_pthread.dylib 0x182a1efd0 _pthread_wqthread + 932 25 libsystem_pthread.dylib 0x182a1ec20 start_wqthread + 4

#10. Thread 0 libsystem_kernel.dylib 0x18290ddbc __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x182a1efa0 _pthread_wqthread + 884 2 libsystem_pthread.dylib 0x182a1ec20 start_wqthread + 4

#11. com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x1828ecbc4 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1828eca3c mach_msg + 72 2 CoreFoundation 0x182d9dc74 CFRunLoopServiceMachPort + 196 3 CoreFoundation 0x182d9b840 __CFRunLoopRun + 1424 4 CoreFoundation 0x182cbbfb8 CFRunLoopRunSpecific + 436 5 CFNetwork 0x183426264 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404 6 Foundation 0x1837e6860 __NSThread__start + 996 7 libsystem_pthread.dylib 0x182a2031c _pthread_body + 308 8 libsystem_pthread.dylib 0x182a201e8 _pthread_body + 310 9 libsystem_pthread.dylib 0x182a1ec28 thread_start + 4

#12. Dropbox log upload 0 libsystem_kernel.dylib 0x18290d150 psynch_cvwait + 8 1 libsystem_pthread.dylib 0x182a22d30 _pthread_cond_wait$VARIANT$mp + 640 2 libc++.1.dylib 0x181fc7ea4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24 3 Kennedy 0x103250434 dropbox::LogUploader::log_upload_thread() + 5161848 4 Kennedy 0x1032c7558 -[DBThreadRunner runThread:] + 5649564 5 Foundation 0x1837e6860 __NSThread__start + 996 6 libsystem_pthread.dylib 0x182a2031c _pthread_body + 308 7 libsystem_pthread.dylib 0x182a201e8 _pthread_body + 310 8 libsystem_pthread.dylib 0x182a1ec28 thread_start + 4

#13. Dropbox unlinker 0 libsystem_kernel.dylib 0x18290d150 psynch_cvwait + 8 1 libsystem_pthread.dylib 0x182a22d30 _pthread_cond_wait$VARIANT$mp + 640 2 libc++.1.dylib 0x181fc7ea4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24 3 Kennedy 0x103371ce4 DbxUnlinker::run() + 6347816 4 Kennedy 0x1032c7558 -[DBThreadRunner runThread:] + 5649564 5 Foundation 0x1837e6860 __NSThread__start + 996 6 libsystem_pthread.dylib 0x182a2031c _pthread_body + 308 7 libsystem_pthread.dylib 0x182a201e8 _pthread_body + 310 8 libsystem_pthread.dylib 0x182a1ec28 thread_start + 4

#14. LS bundle proxy for current process 0 libsystem_kernel.dylib 0x18290d204 psynch_rw_rdlock + 8 1 libsystem_pthread.dylib 0x182a24410 pthread_rwlock_lock_wait + 72 2 libobjc.A.dylib 0x18204d910 rwlock_tt<false>::read() + 104 3 libobjc.A.dylib 0x18204d6b4 lookUpImpOrForward + 84 4 libobjc.A.dylib 0x182058758 _objc_msgSend_uncached + 56 5 MobileCoreServices 0x184b78654 _LSDServiceReplaceObject(objc_object*) + 64 6 Foundation 0x1836de510 -[NSXPCEncoder _replaceObject:] + 196 7 Foundation 0x18390e484 -[NSXPCEncoder _encodeUnkeyedObject:] + 28 8 Foundation 0x1837445e0 -[NSXPCEncoder _encodeArrayOfObjects:forKey:] + 212 9 Foundation 0x18371fbd4 -[NSSet(NSSet) encodeWithCoder:] + 676 10 Foundation 0x1836dedd8 -[NSXPCEncoder _encodeObject:] + 656 11 Foundation 0x18393ff08 _NSXPCSerializationAddInvocationArgumentsArray + 260 12 Foundation 0x18390e6c0 -[NSXPCEncoder _encodeInvocation:isReply:into:] + 268 13 Foundation 0x18390c6f4 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 2520 14 CoreFoundation 0x182dfb368 ___forwarding + 540 15 CoreFoundation 0x182ce101c _CF_forwarding_prep_0 + 92 16 MobileCoreServices 0x184bf3e94 59-[_LSXPCQueryResolver _resolveQueries:XPCConnection:error:]_block_invoke + 176 17 MobileCoreServices 0x184bf3c20 -[_LSXPCQueryResolver _resolveQueries:XPCConnection:error:] + 872 18 MobileCoreServices 0x184bf298c -[_LSQueryContext(Internal) _resolveQueries:cachingStrategy:XPCConnection:error:] + 444 19 MobileCoreServices 0x184bf2698 -[_LSQueryContext(QueryResolution) resolveQueries:cachingStrategy:error:] + 84 20 MobileCoreServices 0x184c3fd4c __45+[LSBundleProxy bundleProxyForCurrentProcess]_block_invoke_2 + 276 21 libdispatch.dylib 0x182779048 _dispatch_client_callout + 16 22 libdispatch.dylib 0x182781ae8 _dispatch_queue_barrier_sync_invoke_and_complete + 56 23 MobileCoreServices 0x184c3fb64 +[LSBundleProxy bundleProxyForCurrentProcess] + 152 24 UserNotifications 0x18c11ab7c +[UNLocalizedStringFactory localizedUserNotificationStringForKey:arguments:] + 80 25 UserNotifications 0x18c124414 +[NSString(UNUserNotificationCenterSupport) localizedUserNotificationStringForKey:arguments:] + 56 26 UIKit 0x18c7722e8 UILocalNotificationToUNNotificationRequest_block_invoke + 724 27 UIKit 0x18c4ac2b0 -[UIApplication _scheduleLocalNotification:] + 228 28 UIKit 0x18c4ac1bc -[UIApplication scheduleLocalNotification:] + 56 29 Kennedy 0x102c671b8 -[ViewController setupLocalNotifications] (ViewController.m:232) 30 Foundation 0x1837e6860 __NSThread__start + 996 31 libsystem_pthread.dylib 0x182a2031c _pthread_body + 308 32 libsystem_pthread.dylib 0x182a201e8 _pthread_body + 310 33 libsystem_pthread.dylib 0x182a1ec28 thread_start + 4

Comments (2)

  1. Log in to comment