iOS 11崩溃:com.apple.CFNetwork.Connection

我很难找到iOS 11版本的应用程序中发生崩溃的原因。

我试图寻找并探索,但找不到原因,也没有重现它。

以下是Fabric(Crashalytics)提供的堆栈跟踪。

# Crashlytics - plaintext stacktrace downloaded by xxxx Mobile at Tue, 31 Oct 2017 05:39:03 GMT # Organization: xxxxx # Platform: ios # Application: xxxxx # Version: xx (xxx) # Bundle Identifier: com.testApp # Issue #: 2 # Issue ID: xxxxxxxxxxx # Session ID: xxxxxxxxx # Date: xxxxxxxx # OS Version: 11.0.3 (15A432) # Device: iPhone 6s # RAM Free: 3.3% # Disk Free: 21.3% #5. Crashed: com.apple.CFNetwork.Connection 0 VectorKit 0x185199348 (Missing) 1 VectorKit 0x1852ad354 (Missing) 2 VectorKit 0x185108fd8 (Missing) 3 VectorKit 0x1850dcabc (Missing) 4 CFNetwork 0x185d9072c TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer, bool) + 772 5 SystemConfiguration 0x186566964 (Missing) 6 SystemConfiguration 0x1864434a4 (Missing) 7 VectorKit 0x185005088 (Missing) 8 VectorKit 0x185005048 (Missing) 9 VectorKit 0x18500ee48 (Missing) 10 VectorKit 0x18500f7d8 (Missing) 11 VectorKit 0x18500ed00 (Missing) 12 VectorKit 0x18500f7d8 (Missing) 13 VectorKit 0x185010200 (Missing) 14 VectorKit 0x1850184a0 (Missing) 15 VectorKit 0x1852aafe0 (Missing) 16 VectorKit 0x1852aac30 (Missing) -- #0. com.apple.main-thread 0 VectorKit 0x185199294 (Missing) 1 VectorKit 0x1852b0428 (Missing) 2 VectorKit 0x184b9d9f8 (Missing) 3 VectorKit 0x184b979f8 (Missing) 4 TestApp 0x10153cd10 (Missing) 5 TestApp 0x101548098 (Missing) 6 TestApp 0x10153d018 (Missing) 7 TestApp 0x101544124 (Missing) 8 VectorKit 0x18506b4d4 (Missing) 9 VectorKit 0x1855af78c (Missing) 10 VectorKit 0x1855af568 (Missing) 11 Foundation 0x185fc09c4 -[NSBundle loadAndReturnError:] + 432 12 UIAccessibility 0x196832da8 -[NSBundleAccessibility loadAndReturnError:] + 56 13 UIKit 0x18eb122d8 -[UIApplication(UIKitApplicationAccessibility) _accessibilitySetUpQuickSpeak] + 216 14 Foundation 0x1860584c4 __NSFireDelayedPerform + 412 15 VectorKit 0x18562899c (Missing) 16 VectorKit 0x1856286c0 (Missing) 17 VectorKit 0x185627ec0 (Missing) 18 VectorKit 0x185625aa8 (Missing) 19 VectorKit 0x1855462d8 (Missing) 20 GraphicsServices 0x1873d7f84 GSEventRunModal + 100 21 UIKit 0x18eaf3880 UIApplicationMain + 208 22 TestApp 0x1010c5548 main (main.m:12) 23 VectorKit 0x18506a56c (Missing) #1. io.answers.EventQueue (QOS: BACKGROUND) 0 VectorKit 0x185199204 (Missing) 1 VectorKit 0x1852b0420 (Missing) 2 VectorKit 0x184b9d910 (Missing) 3 VectorKit 0x184b9d6b4 (Missing) 4 VectorKit 0x184ba8758 (Missing) 5 Foundation 0x185f84578 __49-[NSFileManager _URLForReplacingItemAtURL:error:]_block_invoke + 36 6 Foundation 0x185f83e44 -[NSFileManager _URLForReplacingItemAtURL:error:] + 1336 7 Foundation 0x18604ee4c _NSCreateTemporaryFile_Protected + 508 8 Foundation 0x185f82c2c _NSWriteDataToFileWithExtendedAttributes + 276 9 TestApp 0x101295f58 +[ANSCrashMetadata writeSerializedDictionary:toURL:] (ANSCrashMetadata.m:32) 10 TestApp 0x101296fd0 -[ANSRotateCrashMetadataOperation main] (ANSRotateCrashMetadataOperation.m:47) 11 TestApp 0x1012a1b18 -[ANSAnswersController replacePreviousExecutionMetadataWithCurrentMetadata:inRootDirectory:] (ANSAnswersController.m:270) 12 TestApp 0x1012a09f4 __56-[ANSAnswersController initWithBetaToken:rootDirectory:]_block_invoke (ANSAnswersController.m:100) 13 Foundation 0x18604a310 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16 14 Foundation 0x185f8a9e4 -[NSBlockOperation main] + 72 15 Foundation 0x185f7a620 -[__NSOperationInternal _start:] + 848 16 VectorKit 0x185005048 (Missing) 17 VectorKit 0x18500c6c8 (Missing) 18 VectorKit 0x185005048 (Missing) 19 VectorKit 0x18500c6c8 (Missing) 20 VectorKit 0x18500c574 (Missing) 21 Foundation 0x18604bfe8 __NSOQSchedule_f + 376 22 VectorKit 0x185005048 (Missing) 23 VectorKit 0x18500d3d4 (Missing) 24 VectorKit 0x18500bcd4 (Missing) 25 VectorKit 0x1850121c8 (Missing) 26 VectorKit 0x185011f10 (Missing) 27 VectorKit 0x1852ab130 (Missing) 28 VectorKit 0x1852aac30 (Missing) #2. Thread 0 VectorKit 0x1852aac2c (Missing) #3. com.twitter.crashlytics.ios.binary-images 0 VectorKit 0x185199198 (Missing) 1 VectorKit 0x1852af6bc (Missing) 2 VectorKit 0x1852af600 (Missing) 3 VectorKit 0x18506a6f4 (Missing) 4 VectorKit 0x18506b378 (Missing) 5 TestApp 0x1012b1b74 CLSMachOSliceGetExecutablePath (CLSMachO.m:264) 6 TestApp 0x101274f8c __CLSBinaryImageChanged_block_invoke (CLSBinaryImage.m:503) 7 VectorKit 0x185005088 (Missing) 8 VectorKit 0x185005048 (Missing) 9 VectorKit 0x18500ee48 (Missing) 10 VectorKit 0x18500f7d8 (Missing) 11 VectorKit 0x185010200 (Missing) 12 VectorKit 0x1850184a0 (Missing) 13 VectorKit 0x1852aafe0 (Missing) 14 VectorKit 0x1852aac30 (Missing) #4. com.apple.uikit.eventfetch-thread 0 VectorKit 0x185178bc4 (Missing) 1 VectorKit 0x185178a3c (Missing) 2 VectorKit 0x185627ce4 (Missing) 3 VectorKit 0x1856258b0 (Missing) 4 VectorKit 0x1855462d8 (Missing) 5 Foundation 0x185f6e6e4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 6 Foundation 0x185f8dafc -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 7 UIKit 0x18f63f02c -[UIEventFetcher threadMain] + 136 8 Foundation 0x18606f860 __NSThread__start__ + 996 9 VectorKit 0x1852ac32c (Missing) 10 VectorKit 0x1852ac1f8 (Missing) 11 VectorKit 0x1852aac38 (Missing) #5. Crashed: com.apple.CFNetwork.Connection 0 VectorKit 0x185199348 (Missing) 1 VectorKit 0x1852ad354 (Missing) 2 VectorKit 0x185108fd8 (Missing) 3 VectorKit 0x1850dcabc (Missing) 4 CFNetwork 0x185d9072c TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer, bool) + 772 5 SystemConfiguration 0x186566964 (Missing) 6 SystemConfiguration 0x1864434a4 (Missing) 7 VectorKit 0x185005088 (Missing) 8 VectorKit 0x185005048 (Missing) 9 VectorKit 0x18500ee48 (Missing) 10 VectorKit 0x18500f7d8 (Missing) 11 VectorKit 0x18500ed00 (Missing) 12 VectorKit 0x18500f7d8 (Missing) 13 VectorKit 0x185010200 (Missing) 14 VectorKit 0x1850184a0 (Missing) 15 VectorKit 0x1852aafe0 (Missing) 16 VectorKit 0x1852aac30 (Missing) #6. FIRAnalyticsQueue 0 VectorKit 0x185199294 (Missing) 1 VectorKit 0x1852b0428 (Missing) 2 VectorKit 0x184b9d9f8 (Missing) 3 VectorKit 0x184b9ff78 (Missing) 4 TestApp 0x1012ba364 +[FIRAAppDelegateProxy createSubclassWithObject:] + 4373160804 5 TestApp 0x1012ba068 +[FIRAAppDelegateProxy proxyOriginalDelegate:] + 4373160040 6 TestApp 0x1012f97a0 __38+[FIRAnalytics createAppDelegateProxy]_block_invoke + 4373419936 7 VectorKit 0x185005048 (Missing) 8 VectorKit 0x185008710 (Missing) 9 TestApp 0x1012f7e38 __47+[FIRAnalytics startWithConfiguration:options:]_block_invoke_2 + 4373413432 10 VectorKit 0x185005088 (Missing) 11 VectorKit 0x185005048 (Missing) 12 VectorKit 0x18500ee48 (Missing) 13 VectorKit 0x18500f7d8 (Missing) 14 VectorKit 0x185010200 (Missing) 15 VectorKit 0x1850184a0 (Missing) 16 VectorKit 0x1852aafe0 (Missing) 17 VectorKit 0x1852aac30 (Missing) #7. GAIThread 0 VectorKit 0x185178bc4 (Missing) 1 VectorKit 0x185178a3c (Missing) 2 VectorKit 0x185627ce4 (Missing) 3 VectorKit 0x1856258b0 (Missing) 4 VectorKit 0x1855462d8 (Missing) 5 Foundation 0x185f6e6e4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 6 Foundation 0x185fc062c -[NSRunLoop(NSRunLoop) run] + 88 7 TestApp 0x101210790 +[GAI threadMain:] (GAI.m:241) 8 Foundation 0x18606f860 __NSThread__start__ + 996 9 VectorKit 0x1852ac32c (Missing) 10 VectorKit 0x1852ac1f8 (Missing) 11 VectorKit 0x1852aac38 (Missing) #8. com.apple.NSURLConnectionLoader 0 VectorKit 0x185178bc4 (Missing) 1 VectorKit 0x185178a3c (Missing) 2 VectorKit 0x185627ce4 (Missing) 3 VectorKit 0x1856258b0 (Missing) 4 VectorKit 0x1855462d8 (Missing) 5 CFNetwork 0x185cafb40 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404 6 Foundation 0x18606f860 __NSThread__start__ + 996 7 VectorKit 0x1852ac32c (Missing) 8 VectorKit 0x1852ac1f8 (Missing) 9 VectorKit 0x1852aac38 (Missing) #9. com.apple.root.user-initiated-qos 0 VectorKit 0x185199150 (Missing) 1 VectorKit 0x1852aed40 (Missing) 2 Foundation 0x186047d20 -[__NSOperationInternal _waitUntilFinished:] + 776 3 TestApp 0x1010d3b6c +[NetworkManager callPOST:parameters:showProgress:success:failure:] (NetworkManager.m:195) 4 TestApp 0x10111bf8c -[SiteManager getSiteList] (SiteManager.m:86) 5 TestApp 0x101095204 -[SplashViewController doSiteAndAllPromo] (SplashViewController.m:591) 6 TestApp 0x101095084 __37-[SplashViewController callServerApi]_block_invoke (SplashViewController.m:583) 7 VectorKit 0x185005088 (Missing) 8 VectorKit 0x185005048 (Missing) 9 VectorKit 0x185012378 (Missing) 10 VectorKit 0x185011f10 (Missing) 11 VectorKit 0x1852ab130 (Missing) 12 VectorKit 0x1852aac30 (Missing) #10. com.twitter.crashlytics.ios.MachExceptionServer 0 VectorKit 0x185178bc4 (Missing) 1 VectorKit 0x185178a3c (Missing) 2 TestApp 0x101278aac CLSMachExceptionServer (CLSMachException.c:179) 3 VectorKit 0x1852ac32c (Missing) 4 VectorKit 0x1852ac1f8 (Missing) 5 VectorKit 0x1852aac38 (Missing) #11. Thread 0 VectorKit 0x1852aac2c (Missing) #12. AFNetworking 0 VectorKit 0x184fd6ee0 (Missing) 1 VectorKit 0x184fb298c (Missing) 2 VectorKit 0x184fb20a0 (Missing) 3 VectorKit 0x184f8d40c (Missing) 4 Foundation 0x1862f445c (Missing) 5 Foundation 0x1862f3f54 (Missing) 6 Foundation 0x1862f3c60 (Missing) 7 Foundation 0x1862f3b30 (Missing) 8 Foundation 0x1862be884 (Missing) 9 TestApp 0x1010d4114 __67+[NetworkManager callPOST:parameters:showProgress:success:failure:]_block_invoke (NetworkManager.m:93) 10 TestApp 0x1011eece8 -[AFURLConnectionOperation connection:willSendRequestForAuthenticationChallenge:] (AFURLConnectionOperation.m:595) 11 CFNetwork 0x185e572b8 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 60 12 CFNetwork 0x185e5725c -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 204 13 CFNetwork 0x185e573d0 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56 14 CFNetwork 0x185e11938 -[NSURLConnectionInternalConnection(Internal) sendCFChallenge:toSelector:] + 80 15 CFNetwork 0x185d60a94 invocation function for block in URLConnectionClient_Classic::_delegate_willSendRequestForAuthenticationChallenge(_CFURLAuthChallenge*) + 120 16 CFNetwork 0x185d5cce4 invocation function for block in URLConnectionClient_Classic::_withDelegateAsync(char const*, void (_CFURLConnection*, CFURLConnectionClientCurrent_VMax const*) block_pointer) + 108 17 VectorKit 0x185005048 (Missing) 18 VectorKit 0x18500c6c8 (Missing) 19 CFNetwork 0x185e2f504 RunloopBlockContext::_invoke_block(void const*, void*) + 36 20 VectorKit 0x185545c20 (Missing) 21 CFNetwork 0x185e2f3c8 RunloopBlockContext::perform() + 128 22 CFNetwork 0x185e30748 MultiplexerSource::perform() + 312 23 CFNetwork 0x185e304a8 MultiplexerSource::_perform(void*) + 60 24 VectorKit 0x185628358 (Missing) 25 VectorKit 0x1856282d8 (Missing) 26 VectorKit 0x185627b60 (Missing) 27 VectorKit 0x185625738 (Missing) 28 VectorKit 0x1855462d8 (Missing) 29 Foundation 0x185f6e6e4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 30 Foundation 0x185fc062c -[NSRunLoop(NSRunLoop) run] + 88 31 TestApp 0x1011ebcd0 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:164) 32 Foundation 0x18606f860 __NSThread__start__ + 996 33 VectorKit 0x1852ac32c (Missing) 34 VectorKit 0x1852ac1f8 (Missing) 35 VectorKit 0x1852aac38 (Missing) #13. Thread 0 VectorKit 0x1852aac2c (Missing) 

一些搜索谷歌指向面料和ios11兼容性问题。 有没有人知道上面的堆栈跟踪。