Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.85 KB | None | 0 0
  1. Thread 11 Crashed:
  2. 0 libsystem_kernel.dylib 0x00007fffab4d1dda __pthread_kill + 10
  3. 1 libsystem_c.dylib 0x00007fffab437440 abort + 129
  4. 2 CrashReporter 0x000000010f28d851 uncaught_exception_handler (PLCrashReporter.m:365)
  5. 3 CoreFoundation 0x00007fff963d7e29 __handleUncaughtException + 745
  6. 4 libobjc.A.dylib 0x00007fffaaac9b85 _ZL15_objc_terminatev + 94
  7. 5 libc++abi.dylib 0x00007fffa9fbdd69 _ZSt11__terminatePFvvE + 8
  8. 6 libc++abi.dylib 0x00007fffa9fbdde3 _ZSt9terminatev + 51
  9. 7 libobjc.A.dylib 0x00007fffaaac998e objc_terminate + 9
  10. 8 libdispatch.dylib 0x00007fffab36d13c _dispatch_client_callout + 28
  11. 9 libdispatch.dylib --->0x00007fffab36dd62 _dispatch_barrier_sync_f_invoke + 83
  12. 10 Snagit 0x000000010e1a5d68 -[AFURLSessionManager dataTaskWithRequest:completionHandler:] (AFURLSessionManager.m:664)
  13. 11 Snagit 0x000000010e19083e -[AFHTTPSessionManager dataTaskWithHTTPMethod:URLString:parameters:success:failure:] (AFHTTPSessionManager.m:243)
  14. 12 Snagit 0x000000010e18fb0d -[AFHTTPSessionManager GET:parameters:success:failure:] (AFHTTPSessionManager.m:112)
  15. 13 Snagit 0x000000010e1d2f29 __51-[TSCAccountHTTPSession GET:parameters:completion:]_block_invoke (TSCAccountHTTPSession.m:317)
  16. 14 Snagit 0x000000010e1d464f __58-[TSCAccountHTTPSession performNetworkRequest:completion:]_block_invoke_2 (TSCAccountHTTPSession.m:495)
  17. 15 libdispatch.dylib 0x00007fffab375f5f _dispatch_call_block_and_release + 12
  18. 16 libdispatch.dylib 0x00007fffab36d128 _dispatch_client_callout + 8
  19. 17 libdispatch.dylib 0x00007fffab37c2ce _dispatch_queue_override_invoke + 743
  20. 18 libdispatch.dylib 0x00007fffab36eee0 _dispatch_root_queue_drain + 476
  21. 19 libdispatch.dylib 0x00007fffab36ecb7 _dispatch_worker_thread3 + 99
  22. 20 libsystem_pthread.dylib 0x00007fffab5b9746 _pthread_wqthread + 1299
  23. 21 libsystem_pthread.dylib 0x00007fffab5b9221 start_wqthread + 13
  24.  
  25.  
  26.  
  27.  
  28. Thread 13:
  29. 0 libsystem_kernel.dylib 0x00007fffab4d23b6 __ulock_wait + 10
  30. 1 libdispatch.dylib 0x00007fffab385c6e _dispatch_thread_event_wait_slow + 85
  31. 2 libdispatch.dylib --->0x00007fffab3785ea _dispatch_barrier_sync_f_slow + 402
  32. 3 Snagit 0x000000010e1a5d68 -[AFURLSessionManager dataTaskWithRequest:completionHandler:] (AFURLSessionManager.m:664)
  33. 4 Snagit 0x000000010e19083e -[AFHTTPSessionManager dataTaskWithHTTPMethod:URLString:parameters:success:failure:] (AFHTTPSessionManager.m:243)
  34. 5 Snagit 0x000000010e18fb0d -[AFHTTPSessionManager GET:parameters:success:failure:] (AFHTTPSessionManager.m:112)
  35. 6 Snagit 0x000000010e1d2f29 __51-[TSCAccountHTTPSession GET:parameters:completion:]_block_invoke (TSCAccountHTTPSession.m:317)
  36. 7 Snagit 0x000000010e1d464f __58-[TSCAccountHTTPSession performNetworkRequest:completion:]_block_invoke_2 (TSCAccountHTTPSession.m:495)
  37. 8 libdispatch.dylib 0x00007fffab375f5f _dispatch_call_block_and_release + 12
  38. 9 libdispatch.dylib 0x00007fffab36d128 _dispatch_client_callout + 8
  39. 10 libdispatch.dylib 0x00007fffab37c2ce _dispatch_queue_override_invoke + 743
  40. 11 libdispatch.dylib 0x00007fffab36eee0 _dispatch_root_queue_drain + 476
  41. 12 libdispatch.dylib 0x00007fffab36ecb7 _dispatch_worker_thread3 + 99
  42. 13 libsystem_pthread.dylib 0x00007fffab5b9746 _pthread_wqthread + 1299
  43. 14 libsystem_pthread.dylib 0x00007fffab5b9221 start_wqthread + 13
  44.  
  45. - (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request
  46. completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
  47. {
  48. __block NSURLSessionDataTask *dataTask = nil;
  49. dispatch_sync(
  50. url_session_manager_creation_queue(), ^{
  51. dataTask = [self.session dataTaskWithRequest:request];
  52. }
  53. );
  54.  
  55. [self addDelegateForDataTask:dataTask completionHandler:completionHandler];
  56.  
  57. return dataTask;
  58. }
  59.  
  60. static dispatch_queue_t url_session_manager_creation_queue() {
  61. static dispatch_queue_t af_url_session_manager_creation_queue;
  62. static dispatch_once_t onceToken;
  63. dispatch_once(&onceToken, ^{
  64. af_url_session_manager_creation_queue = dispatch_queue_create("com.alamofire.networking.session.manager.creation", DISPATCH_QUEUE_SERIAL);
  65. });
  66.  
  67. return af_url_session_manager_creation_queue;
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement