11 Replies
      Latest reply on Jun 14, 2019 1:16 AM by eskimo
      Smithers Level 1 Level 1 (5 points)

        Crashlytics is reporting dozens of crashes every hour from `CFNetwork`. I have no idea what's causing it since this crash is on its own thread and the rest of the threads are doing something else in each crash log. The app seems to always be in 'Foreground' when this happens, so I'm certain it's nothing to do with background activity, but I can't rule this out. Any idea what's changed in iOS 11 that's causing the app to crash so often?

         

        ```

        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

        ```

        • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
          eskimo Apple Staff Apple Staff (11,495 points)

          There have been major changes to the TLS subsystem in iOS 11.  Given that iOS 11 is still in beta, your best option here is to file a compatibility bug about this issue.

          Please post your bug number, just for the record.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"

          • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
            ffrancis.c Level 1 Level 1 (0 points)

            I'm seeing the same crash on iOS 11.1.0. Is there a workaround for this? Has it been resolved in the latest release?

            ```

            Crashed: com.apple.CFNetwork.Connection

            0  libsystem_kernel.dylib        0x1828d5348 __pthread_kill + 8

            1  libsystem_pthread.dylib        0x1829e9344 pthread_kill$VARIANT$mp + 396

            2  libsystem_c.dylib              0x182844fb8 abort + 140

            3  libsystem_c.dylib              0x182818a9c basename_r + 314

            4  CFNetwork                      0x1834cf8cc TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer, bool) + 772

            5  libnetwork.dylib              0x183caa964 __tcp_connection_set_tls_message_handler_on_nw_connection_block_invoke + 168

            6  libboringssl.dylib            0x183b82cf4 ___boringssl_context_certificate_request_callback_block_invoke + 160

            7  libdispatch.dylib              0x182741088 _dispatch_call_block_and_release + 24

            8  libdispatch.dylib              0x182741048 _dispatch_client_callout + 16

            9  libdispatch.dylib              0x18274ae48 _dispatch_queue_serial_drain$VARIANT$mp + 528

            10 libdispatch.dylib              0x18274b7d8 _dispatch_queue_invoke$VARIANT$mp + 340

            11 libdispatch.dylib              0x18274ad00 _dispatch_queue_serial_drain$VARIANT$mp + 200

            12 libdispatch.dylib              0x18274b7d8 _dispatch_queue_invoke$VARIANT$mp + 340

            13 libdispatch.dylib              0x18274c200 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400

            14 libdispatch.dylib              0x1827544a0 _dispatch_workloop_worker_thread$VARIANT$mp + 644

            15 libsystem_pthread.dylib        0x1829e6fd0 _pthread_wqthread + 932

            16 libsystem_pthread.dylib        0x1829e6c20 start_wqthread + 4

            ```

              • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
                eskimo Apple Staff Apple Staff (11,495 points)

                The only bug referenced by this thread (r. 33634285) was closed as a duplicate of a bug that’s reported fixed in iOS 11.0 (r. 33077378).  If you’re still seeing problems then there’s clearly something else going on.

                Do you have an Apple crash report for this problem?  If so, please post it here.

                Share and Enjoy

                Quinn “The Eskimo!”
                Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                let myEmail = "eskimo" + "1" + "@apple.com"

                  • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
                    ffrancis.c Level 1 Level 1 (0 points)

                    Below is a log that I got from Xcode for the app that I've put up on iTunes account

                     

                    Date/Time:           2017-11-16 16:30:22.8594 -0500
                    Launch Time:         2017-11-16 16:20:09.1804 -0500
                    OS Version:          iPhone OS 11.1 (15B93)
                    Baseband Version:    n/a
                    Report Version:      104
                    Exception Type:  EXC_CRASH (SIGABRT)
                    Exception Codes: 0x0000000000000000, 0x0000000000000000
                    Exception Note:  EXC_CORPSE_NOTIFY
                    Triggered by Thread:  8
                    Thread 0 name:
                    Thread 0:
                    0   CoreFoundation                0x0000000182ca0a60 CFRunLoopTimerSetNextFireDate + 120 (CFRunLoop.c:0)
                    1   QuartzCore                    0x0000000186d45f18 CA::timer_callback(__CFRunLoopTimer*, void*) + 140 (CATransactionInternal.mm:1654)
                    2   QuartzCore                    0x0000000186d45f18 CA::timer_callback(__CFRunLoopTimer*, void*) + 140 (CATransactionInternal.mm:1654)
                    3   CoreFoundation                0x0000000182d6692c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28 (CFRunLoop.c:1832)
                    4   CoreFoundation                0x0000000182d66650 __CFRunLoopDoTimer + 864 (CFRunLoop.c:2415)
                    5   CoreFoundation                0x0000000182d65e50 __CFRunLoopDoTimers + 248 (CFRunLoop.c:2562)
                    6   CoreFoundation                0x0000000182d63a38 __CFRunLoopRun + 1928 (CFRunLoop.c:3083)
                    7   CoreFoundation                0x0000000182c83fb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
                    8   GraphicsServices              0x0000000184b1bf84 GSEventRunModal + 100 (GSEvent.c:2245)
                    9   UIKit                         0x000000018c2582f4 UIApplicationMain + 208 (UIApplication.m:3949)
                    10  eCube Rounder                 0x0000000100783514 main + 92 (main.m:14)
                    11  libdyld.dylib                 0x00000001827a656c start + 4
                    Thread 1 name:
                    Thread 1:
                    0   libsystem_kernel.dylib        0x00000001828b4bc4 mach_msg_trap + 8
                    1   libsystem_kernel.dylib        0x00000001828b4a3c mach_msg + 72 (mach_msg.c:103)
                    2   CoreFoundation                0x0000000182d65c74 __CFRunLoopServiceMachPort + 196 (CFRunLoop.c:2613)
                    3   CoreFoundation                0x0000000182d63840 __CFRunLoopRun + 1424 (CFRunLoop.c:2969)
                    4   CoreFoundation                0x0000000182c83fb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
                    5   Foundation                    0x00000001836ad6e4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (NSRunLoop.m:367)
                    6   Foundation                    0x00000001836ccafc -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 (NSRunLoop.m:411)
                    7   UIKit                         0x000000018cdb72f4 -[UIEventFetcher threadMain] + 136 (UIEventFetcher.m:436)
                    8   Foundation                    0x00000001837ae860 __NSThread__start__ + 996 (NSThread.m:1181)
                    9   libsystem_pthread.dylib       0x00000001829e831c _pthread_body + 308 (pthread.c:740)
                    10  libsystem_pthread.dylib       0x00000001829e81e8 _pthread_start + 312 (pthread.c:799)
                    11  libsystem_pthread.dylib       0x00000001829e6c28 thread_start + 4
                    Thread 2 name:
                    Thread 2:
                    0   libsystem_kernel.dylib        0x00000001828b4bc4 mach_msg_trap + 8
                    1   libsystem_kernel.dylib        0x00000001828b4a3c mach_msg + 72 (mach_msg.c:103)
                    2   eCube Rounder                 0x00000001008d3f20 CLSMachExceptionServer + 100
                    3   libsystem_pthread.dylib       0x00000001829e831c _pthread_body + 308 (pthread.c:740)
                    4   libsystem_pthread.dylib       0x00000001829e81e8 _pthread_start + 312 (pthread.c:799)
                    5   libsystem_pthread.dylib       0x00000001829e6c28 thread_start + 4
                    Thread 3 name:
                    Thread 3:
                    0   libsystem_kernel.dylib        0x00000001828b4bc4 mach_msg_trap + 8
                    1   libsystem_kernel.dylib        0x00000001828b4a3c mach_msg + 72 (mach_msg.c:103)
                    2   CoreFoundation                0x0000000182d65c74 __CFRunLoopServiceMachPort + 196 (CFRunLoop.c:2613)
                    3   CoreFoundation                0x0000000182d63840 __CFRunLoopRun + 1424 (CFRunLoop.c:2969)
                    4   CoreFoundation                0x0000000182c83fb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
                    5   CFNetwork                     0x00000001833ee264 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404 (NSURLConnection.mm:367)
                    6   Foundation                    0x00000001837ae860 __NSThread__start__ + 996 (NSThread.m:1181)
                    7   libsystem_pthread.dylib       0x00000001829e831c _pthread_body + 308 (pthread.c:740)
                    8   libsystem_pthread.dylib       0x00000001829e81e8 _pthread_start + 312 (pthread.c:799)
                    9   libsystem_pthread.dylib       0x00000001829e6c28 thread_start + 4
                    Thread 4:
                    0   libsystem_kernel.dylib        0x00000001828d5150 __psynch_cvwait + 8
                    1   libsystem_pthread.dylib       0x00000001829ead30 _pthread_cond_wait$VARIANT$mp + 640 (pthread_cond.c:579)
                    2   libc++.1.dylib                0x0000000181f8ef34 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 96 (__threading_support:284)
                    3   JavaScriptCore                0x000000018a031dd0 std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 124 (__mutex_base:0)
                    4   JavaScriptCore                0x000000018a031ca4 std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 108 (condition_variable:224)
                    5   JavaScriptCore                0x000000018a031b28 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 280 (condition_variable:235)
                    6   JavaScriptCore                0x000000018a031e20 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::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 44 (type_traits:4291)
                    7   libsystem_pthread.dylib       0x00000001829e831c _pthread_body + 308 (pthread.c:740)
                    8   libsystem_pthread.dylib       0x00000001829e81e8 _pthread_start + 312 (pthread.c:799)
                    9   libsystem_pthread.dylib       0x00000001829e6c28 thread_start + 4
                    Thread 5 name:
                    Thread 5:
                    0   libsystem_kernel.dylib        0x00000001828d5150 __psynch_cvwait + 8
                    1   libsystem_pthread.dylib       0x00000001829ead30 _pthread_cond_wait$VARIANT$mp + 640 (pthread_cond.c:579)
                    2   WebCore                       0x000000018ab0d690 SendDelegateMessage(NSInvocation*) + 588 (WebCoreThread.mm:782)
                    3   CoreFoundation                0x0000000182dc33bc ___forwarding___ + 624 (NSForwarding.m:3259)
                    4   CoreFoundation                0x0000000182ca901c _CF_forwarding_prep_0 + 92
                    5   WebCore                       0x000000018ab00890 WebCore::FrameLoader::closeOldDataSources() + 68 (FrameLoader.cpp:2071)
                    6   WebCore                       0x000000018ab00244 WebCore::FrameLoader::commitProvisionalLoad() + 312 (FrameLoader.cpp:1819)
                    7   WebCore                       0x000000018ab20cfc WebCore::DocumentLoader::commitLoad(char const*, int) + 112 (DocumentLoader.cpp:348)
                    8   WebCore                       0x000000018ab20c44 WebCore::CachedRawResource::notifyClientsDataWasReceived(char const*, unsigned int) + 312 (CachedRawResource.cpp:115)
                    9   WebCore                       0x000000018acbdcf8 WebCore::CachedRawResource::addDataBuffer(WebCore::SharedBuffer&) + 168 (CachedRawResource.cpp:64)
                    10  WebCore                       0x000000018ba858c4 WebCore::SubresourceLoader::didReceiveDataOrBuffer(char const*, int, ***::RefPtr<WebCore::SharedBuffer>&&, long long, WebCore::DataPayloadType) + 380 (SubresourceLoader.cpp:405)
                    11  WebCore                       0x000000018ba859ac WebCore::SubresourceLoader::didReceiveBuffer(***::Ref<WebCore::SharedBuffer>&&, long long, WebCore::DataPayloadType) + 100 (SubresourceLoader.cpp:385)
                    12  WebCore                       0x000000018bc2de28 -[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:] + 136 (WebCoreResourceHandleAsDelegate.mm:177)
                    13  CFNetwork                     0x0000000183595d48 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 60 (NSURLConnectionInternal.mm:124)
                    14  CFNetwork                     0x0000000183595cec -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 204 (NSURLConnectionInternal.mm:121)
                    15  CFNetwork                     0x0000000183595e60 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56 (NSURLConnectionInternal.mm:139)
                    16  CFNetwork                     0x0000000183551020 _NSURLConnectionDidReceiveData_LengthReceived(_CFURLConnection*, __CFData const*, long, void const*) + 80 (NSURLConnectionInternalConnection.mm:161)
                    17  CFNetwork                     0x000000018349c89c ___ZN27URLConnectionClient_Classic29_delegate_didReceiveDataArrayEv_block_invoke + 256 (URLConnectionClient.cpp:2020)
                    18  CFNetwork                     0x000000018349b9d0 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 108 (URLConnectionClient.cpp:0)
                    19  libdispatch.dylib             0x0000000182741048 _dispatch_client_callout + 16 (object.m:502)
                    20  libdispatch.dylib             0x00000001827486c8 _dispatch_block_invoke_direct$VARIANT$mp + 288 (queue.c:3025)
                    21  CFNetwork                     0x000000018356df94 RunloopBlockContext::_invoke_block(void const*, void*) + 36 (CoreSchedulingSet.mm:368)
                    22  CoreFoundation                0x0000000182c83900 CFArrayApplyFunction + 80 (CFArray.c:684)
                    23  CFNetwork                     0x000000018356de58 RunloopBlockContext::perform() + 128 (CoreSchedulingSet.mm:322)
                    24  CFNetwork                     0x000000018356f1d8 MultiplexerSource::perform() + 312 (CFNRunLoopMultiplexer.c:282)
                    25  CFNetwork                     0x000000018356ef38 MultiplexerSource::_perform(void*) + 60 (CFNRunLoopMultiplexer.c:47)
                    26  CoreFoundation                0x0000000182d662e8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1982)
                    27  CoreFoundation                0x0000000182d66268 __CFRunLoopDoSource0 + 88 (CFRunLoop.c:2017)
                    28  CoreFoundation                0x0000000182d65af0 __CFRunLoopDoSources0 + 204 (CFRunLoop.c:2053)
                    29  CoreFoundation                0x0000000182d636c8 __CFRunLoopRun + 1048 (CFRunLoop.c:2920)
                    30  CoreFoundation                0x0000000182c83fb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
                    31  WebCore                       0x000000018aaf7e04 RunWebThread(void*) + 456 (WebCoreThread.mm:694)
                    32  libsystem_pthread.dylib       0x00000001829e831c _pthread_body + 308 (pthread.c:740)
                    33  libsystem_pthread.dylib       0x00000001829e81e8 _pthread_start + 312 (pthread.c:799)
                    34  libsystem_pthread.dylib       0x00000001829e6c28 thread_start + 4
                    Thread 6:
                    0   libsystem_kernel.dylib        0x00000001828d5dbc __workq_kernreturn + 8
                    1   libsystem_pthread.dylib       0x00000001829e6fa0 _pthread_wqthread + 884 (pthread.c:0)
                    2   libsystem_pthread.dylib       0x00000001829e6c20 start_wqthread + 4
                    Thread 7:
                    0   libsystem_pthread.dylib       0x00000001829e6c1c start_wqthread + 0
                    Thread 8 name:
                    Thread 8 Crashed:
                    0   libsystem_kernel.dylib        0x00000001828d5348 __pthread_kill + 8
                    1   libsystem_pthread.dylib       0x00000001829e9344 pthread_kill$VARIANT$mp + 396 (pthread.c:1484)
                    2   libsystem_c.dylib             0x000000018284505c __abort + 152 (abort.c:128)
                    3   libsystem_c.dylib             0x0000000182844fc4 abort + 152 (abort.c:99)
                    4   libsystem_c.dylib             0x0000000182818a9c __assert_rtn + 316 (assert.c:91)
                    5   CFNetwork                     0x00000001834cf8cc TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer, bool) + 772 (TCPIOConnection.cpp:4628)
                    6   libnetwork.dylib              0x0000000183caa964 __tcp_connection_set_tls_message_handler_on_nw_connection_block_invoke + 168 (tcp_connection.m:1799)
                    7   libboringssl.dylib            0x0000000183b82cf4 ___boringssl_context_certificate_request_callback_block_invoke + 160 (boringssl_session.c:2451)
                    8   libdispatch.dylib             0x0000000182741088 _dispatch_call_block_and_release + 24 (init.c:994)
                    9   libdispatch.dylib             0x0000000182741048 _dispatch_client_callout + 16 (object.m:502)
                    10  libdispatch.dylib             0x000000018274ae48 _dispatch_queue_serial_drain$VARIANT$mp + 528 (inline_internal.h:2500)
                    11  libdispatch.dylib             0x000000018274b7d8 _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
                    12  libdispatch.dylib             0x000000018274ad00 _dispatch_queue_serial_drain$VARIANT$mp + 200 (inline_internal.h:2539)
                    13  libdispatch.dylib             0x000000018274b7d8 _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
                    14  libdispatch.dylib             0x000000018274c200 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400 (queue.c:5920)
                    15  libdispatch.dylib             0x00000001827544a0 _dispatch_workloop_worker_thread$VARIANT$mp + 644 (source.c:2515)
                    16  libsystem_pthread.dylib       0x00000001829e6fd0 _pthread_wqthread + 932 (pthread.c:2207)
                    17  libsystem_pthread.dylib       0x00000001829e6c20 start_wqthread + 4
                    Thread 9:
                    0   libsystem_kernel.dylib        0x00000001828b4c18 semaphore_timedwait_trap + 8
                    1   libdispatch.dylib             0x00000001827434d0 _dispatch_sema4_timedwait$VARIANT$mp + 84 (lock.c:149)
                    2   libdispatch.dylib             0x0000000182743d40 _dispatch_semaphore_wait_slow + 72 (semaphore.c:127)
                    3   libdispatch.dylib             0x000000018274f6ac _dispatch_worker_thread + 256 (queue.c:6179)
                    4   libsystem_pthread.dylib       0x00000001829e831c _pthread_body + 308 (pthread.c:740)
                    5   libsystem_pthread.dylib       0x00000001829e81e8 _pthread_start + 312 (pthread.c:799)
                    6   libsystem_pthread.dylib       0x00000001829e6c28 thread_start + 4
                    Thread 10:
                    0   libsystem_kernel.dylib        0x00000001828b4c18 semaphore_timedwait_trap + 8
                    1   libdispatch.dylib             0x00000001827434d0 _dispatch_sema4_timedwait$VARIANT$mp + 84 (lock.c:149)
                    2   libdispatch.dylib             0x0000000182743d40 _dispatch_semaphore_wait_slow + 72 (semaphore.c:127)
                    3   libdispatch.dylib             0x000000018274f6ac _dispatch_worker_thread + 256 (queue.c:6179)
                    4   libsystem_pthread.dylib       0x00000001829e831c _pthread_body + 308 (pthread.c:740)
                    5   libsystem_pthread.dylib       0x00000001829e81e8 _pthread_start + 312 (pthread.c:799)
                    6   libsystem_pthread.dylib       0x00000001829e6c28 thread_start + 4
                    Thread 11:
                    0   libsystem_kernel.dylib        0x00000001828b4c18 semaphore_timedwait_trap + 8
                    1   libdispatch.dylib             0x00000001827434d0 _dispatch_sema4_timedwait$VARIANT$mp + 84 (lock.c:149)
                    2   libdispatch.dylib             0x0000000182743d40 _dispatch_semaphore_wait_slow + 72 (semaphore.c:127)
                    3   libdispatch.dylib             0x000000018274f6ac _dispatch_worker_thread + 256 (queue.c:6179)
                    4   libsystem_pthread.dylib       0x00000001829e831c _pthread_body + 308 (pthread.c:740)
                    5   libsystem_pthread.dylib       0x00000001829e81e8 _pthread_start + 312 (pthread.c:799)
                    6   libsystem_pthread.dylib       0x00000001829e6c28 thread_start + 4
                    Thread 12:
                    0   libsystem_kernel.dylib        0x00000001828d5dbc __workq_kernreturn + 8
                    1   libsystem_pthread.dylib       0x00000001829e6fa0 _pthread_wqthread + 884 (pthread.c:0)
                    2   libsystem_pthread.dylib       0x00000001829e6c20 start_wqthread + 4
                    Thread 13:
                    0   libsystem_kernel.dylib        0x00000001828d5dbc __workq_kernreturn + 8
                    1   libsystem_pthread.dylib       0x00000001829e6fa0 _pthread_wqthread + 884 (pthread.c:0)
                    2   libsystem_pthread.dylib       0x00000001829e6c20 start_wqthread + 4
                    Thread 8 crashed with ARM Thread State (64-bit):
                        x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000001
                        x4: 0x0000000000000000   x5: 0x0000000000989680   x6: 0x0000000000000000   x7: 0x0000000000000403
                        x8: 0x000000000c000000   x9: 0x0000000004000000  x10: 0x00000000000003e8  x11: 0x000000000000000a
                       x12: 0x0000000000000000  x13: 0x0000000000000034  x14: 0x00000010bbb880da  x15: 0x0000000000000000
                       x16: 0x0000000000000148  x17: 0x000000018276eebc  x18: 0x0000000000000000  x19: 0x0000000000000006
                       x20: 0x000000016f967000  x21: 0x0000000000001214  x22: 0x000000000000b25f  x23: 0x000000016f9670e0
                       x24: 0x00000001b1b76000  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x0000000000000000
                       x28: 0x00000001c5efd900   fp: 0x000000016f9664c0   lr: 0x00000001829e9344
                        sp: 0x000000016f966490   pc: 0x00000001828d5348 cpsr: 0x00000000
                    
                      • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
                        eskimo Apple Staff Apple Staff (11,495 points)

                        Alas, DevForums has munged your crash report.  Please edit your post to put the crash report in a code block (you can create such a block using the <> icon).

                        Share and Enjoy

                        Quinn “The Eskimo!”
                        Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                        let myEmail = "eskimo" + "1" + "@apple.com"

                          • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
                            ffrancis.c Level 1 Level 1 (0 points)

                            I've editted the crash report. Also, I've got another crash report related to CFNetwork which says CFNetwork:TubeManager::requestNewTube(BaseAwaitingTube*, void (Tube*) block_pointer) + 340. Not sure if its related, below is the crash report. Any advice is appreciated

                             

                             

                            Date/Time:           2017-11-25 07:40:14.0622 -0500
                            Launch Time:         2017-11-20 13:28:52.3767 -0500
                            OS Version:          iPhone OS 11.1 (15B93)
                            Baseband Version:    n/a
                            Report Version:      104
                            Exception Type:  EXC_CRASH (SIGABRT)
                            Exception Codes: 0x0000000000000000, 0x0000000000000000
                            Exception Note:  EXC_CORPSE_NOTIFY
                            Triggered by Thread:  8
                            Thread 0 name:
                            Thread 0:
                            0   libsystem_kernel.dylib        0x0000000180b08bc4 mach_msg_trap + 8
                            1   libsystem_kernel.dylib        0x0000000180b08a3c mach_msg + 72 (mach_msg.c:103)
                            2   IOKit                         0x00000001812e0e84 io_connect_method + 416
                            3   IOKit                         0x000000018127cdc4 IOConnectCallMethod + 232 (IOKitLib.c:1809)
                            4   MobileKeyBag                  0x000000018366bf5c _get_device_state + 128 (libaks_client.c:1632)
                            5   MobileKeyBag                  0x0000000183653e48 _get_device_lock_state + 248 (MobileKeyBagClientLib.m:354)
                            6   MobileKeyBag                  0x0000000183653fbc MKBGetDeviceLockState + 36 (MobileKeyBagClientLib.m:393)
                            7   UIKit                         0x000000018ad1b290 -[UIKeyboardInputModeController deviceStateIsLocked] + 16 (UIKeyboardInputModeController.m:998)
                            8   UIKit                         0x000000018a48a034 -[UIKeyboardImpl refreshKeyboardState] + 756 (UIKeyboardImpl.m:1260)
                            9   UIKit                         0x000000018a8b05b8 -[UIKeyboardImpl generateAutocorrectionsWithCompletionHandler:] + 68 (UIKeyboardImpl.m:6013)
                            10  UIKit                         0x000000018a5f359c -[UIKeyboardImpl generateAutocorrectionWithExecutionContext:] + 172 (UIKeyboardImpl.m:6003)
                            11  UIKit                         0x000000018b10097c -[UIKeyboardTaskEntry execute:] + 84 (UIKeyboardTaskQueue.m:716)
                            12  UIKit                         0x000000018a472698 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 384 (UIKeyboardTaskQueue.m:291)
                            13  UIKit                         0x000000018a47237c -[UIKeyboardTaskQueue performTask:] + 136 (UIKeyboardTaskQueue.m:458)
                            14  UIKit                         0x000000018a8a460c -[UIKeyboardImpl generateAutofillCandidate] + 96 (UIKeyboardImpl.m:1278)
                            15  UIKit                         0x000000018a6860fc -[UIKeyboardAutomatic willResume:] + 516 (UIPeripheralHost.m:7575)
                            16  CoreFoundation                0x0000000180fa40bc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 (CFNotificationCenter.c:661)
                            17  CoreFoundation                0x0000000180fa365c _CFXRegistrationPost + 420 (CFNotificationCenter.c:163)
                            18  CoreFoundation                0x0000000180fa33c0 ___CFXNotificationPost_block_invoke + 60 (CFNotificationCenter.c:1060)
                            19  CoreFoundation                0x00000001810209c4 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408 (CFXNotificationRegistrar.m:163)
                            20  CoreFoundation                0x0000000180eda0c0 _CFXNotificationPost + 380 (CFNotificationCenter.c:1057)
                            21  Foundation                    0x00000001818fb498 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 (NSNotification.m:543)
                            22  UIKit                         0x000000018a685b50 -[UIApplication _sendWillEnterForegroundCallbacks] + 228 (UIApplication.m:9723)
                            23  UIKit                         0x000000018a946fb0 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1812 (_UICanvasLifecycleMonitor.m:275)
                            24  UIKit                         0x000000018b0c24b8 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 260 (_UIApplicationCanvas.m:125)
                            25  UIKit                         0x000000018b0c235c -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 448 (_UIApplicationCanvas.m:156)
                            26  UIKit                         0x000000018ae34294 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220 (_UICanvasLifecycleSettingsDiffAction.m:210)
                            27  UIKit                         0x000000018afcb0ac _performActionsWithDelayForTransitionContext + 112 (_UICanvasSettingsDiffAction.m:34)
                            28  UIKit                         0x000000018ae34144 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 252 (_UICanvasLifecycleSettingsDiffAction.m:181)
                            29  UIKit                         0x000000018ac1a2d8 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 364 (_UICanvas.m:517)
                            30  UIKit                         0x000000018aabcd68 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 468 (UIApplicationSceneClientAgent.m:77)
                            31  FrontBoardServices            0x00000001836be20c __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke.362 + 212 (FBSSceneImpl.m:571)
                            32  libdispatch.dylib             0x0000000180995048 _dispatch_client_callout + 16 (object.m:502)
                            33  libdispatch.dylib             0x000000018099c6c8 _dispatch_block_invoke_direct$VARIANT$mp + 288 (queue.c:3025)
                            34  FrontBoardServices            0x00000001836f19f4 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36 (FBSSerialQueue.m:164)
                            35  FrontBoardServices            0x00000001836f1698 -[FBSSerialQueue _performNext] + 404 (FBSSerialQueue.m:196)
                            36  FrontBoardServices            0x00000001836f1c34 -[FBSSerialQueue _performNextFromRunLoopSource] + 56 (FBSSerialQueue.m:232)
                            37  CoreFoundation                0x0000000180fba2e8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1982)
                            38  CoreFoundation                0x0000000180fba268 __CFRunLoopDoSource0 + 88 (CFRunLoop.c:2017)
                            39  CoreFoundation                0x0000000180fb9af0 __CFRunLoopDoSources0 + 204 (CFRunLoop.c:2053)
                            40  CoreFoundation                0x0000000180fb76c8 __CFRunLoopRun + 1048 (CFRunLoop.c:2920)
                            41  CoreFoundation                0x0000000180ed7fb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
                            42  GraphicsServices              0x0000000182d6ff84 GSEventRunModal + 100 (GSEvent.c:2245)
                            43  UIKit                         0x000000018a4ac2f4 UIApplicationMain + 208 (UIApplication.m:3949)
                            44  My App                 0x0000000100af7514 main + 92 (main.m:14)
                            45  libdyld.dylib                 0x00000001809fa56c start + 4
                            Thread 1 name:
                            Thread 1:
                            0   libsystem_kernel.dylib        0x0000000180b08bc4 mach_msg_trap + 8
                            1   libsystem_kernel.dylib        0x0000000180b08a3c mach_msg + 72 (mach_msg.c:103)
                            2   CoreFoundation                0x0000000180fb9c74 __CFRunLoopServiceMachPort + 196 (CFRunLoop.c:2613)
                            3   CoreFoundation                0x0000000180fb7840 __CFRunLoopRun + 1424 (CFRunLoop.c:2969)
                            4   CoreFoundation                0x0000000180ed7fb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
                            5   Foundation                    0x00000001819016e4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304 (NSRunLoop.m:367)
                            6   Foundation                    0x0000000181920afc -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 (NSRunLoop.m:411)
                            7   UIKit                         0x000000018b00b2f4 -[UIEventFetcher threadMain] + 136 (UIEventFetcher.m:436)
                            8   Foundation                    0x0000000181a02860 __NSThread__start__ + 996 (NSThread.m:1181)
                            9   libsystem_pthread.dylib       0x0000000180c3c31c _pthread_body + 308 (pthread.c:740)
                            10  libsystem_pthread.dylib       0x0000000180c3c1e8 _pthread_start + 312 (pthread.c:799)
                            11  libsystem_pthread.dylib       0x0000000180c3ac28 thread_start + 4
                            Thread 2 name:
                            Thread 2:
                            0   libsystem_kernel.dylib        0x0000000180b08bc4 mach_msg_trap + 8
                            1   libsystem_kernel.dylib        0x0000000180b08a3c mach_msg + 72 (mach_msg.c:103)
                            2   My App                 0x0000000100c47f20 CLSMachExceptionServer + 100
                            3   libsystem_pthread.dylib       0x0000000180c3c31c _pthread_body + 308 (pthread.c:740)
                            4   libsystem_pthread.dylib       0x0000000180c3c1e8 _pthread_start + 312 (pthread.c:799)
                            5   libsystem_pthread.dylib       0x0000000180c3ac28 thread_start + 4
                            Thread 3 name:
                            Thread 3:
                            0   libsystem_kernel.dylib        0x0000000180b08bc4 mach_msg_trap + 8
                            1   libsystem_kernel.dylib        0x0000000180b08a3c mach_msg + 72 (mach_msg.c:103)
                            2   CoreFoundation                0x0000000180fb9c74 __CFRunLoopServiceMachPort + 196 (CFRunLoop.c:2613)
                            3   CoreFoundation                0x0000000180fb7840 __CFRunLoopRun + 1424 (CFRunLoop.c:2969)
                            4   CoreFoundation                0x0000000180ed7fb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
                            5   CFNetwork                     0x0000000181642264 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404 (NSURLConnection.mm:367)
                            6   Foundation                    0x0000000181a02860 __NSThread__start__ + 996 (NSThread.m:1181)
                            7   libsystem_pthread.dylib       0x0000000180c3c31c _pthread_body + 308 (pthread.c:740)
                            8   libsystem_pthread.dylib       0x0000000180c3c1e8 _pthread_start + 312 (pthread.c:799)
                            9   libsystem_pthread.dylib       0x0000000180c3ac28 thread_start + 4
                            Thread 4:
                            0   libsystem_kernel.dylib        0x0000000180b29150 __psynch_cvwait + 8
                            1   libsystem_pthread.dylib       0x0000000180c3ed30 _pthread_cond_wait$VARIANT$mp + 640 (pthread_cond.c:579)
                            2   libc++.1.dylib                0x00000001801e2f34 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 96 (__threading_support:284)
                            3   JavaScriptCore                0x0000000188285dd0 std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 124 (__mutex_base:0)
                            4   JavaScriptCore                0x0000000188285ca4 std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 108 (condition_variable:224)
                            5   JavaScriptCore                0x0000000188285b28 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 280 (condition_variable:235)
                            6   JavaScriptCore                0x0000000188285e20 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::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 44 (type_traits:4291)
                            7   libsystem_pthread.dylib       0x0000000180c3c31c _pthread_body + 308 (pthread.c:740)
                            8   libsystem_pthread.dylib       0x0000000180c3c1e8 _pthread_start + 312 (pthread.c:799)
                            9   libsystem_pthread.dylib       0x0000000180c3ac28 thread_start + 4
                            Thread 5 name:
                            Thread 5:
                            0   JavaScriptCore                0x00000001879777d0 llint_slow_path_jtrue + 40 (FrameTracers.h:78)
                            1   JavaScriptCore                0x000000018807acfc llint_entry + 23788
                            2   JavaScriptCore                0x000000018807acfc llint_entry + 23788
                            3   JavaScriptCore                0x000000018807b920 llint_entry + 26896
                            4   JavaScriptCore                0x000000018807b920 llint_entry + 26896
                            5   JavaScriptCore                0x000000018807b920 llint_entry + 26896
                            6   JavaScriptCore                0x0000000188074e40 vmEntryToJavaScript + 272
                            7   JavaScriptCore                0x0000000187f5a948 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 136 (JITCode.cpp:81)
                            8   JavaScriptCore                0x000000018797f948 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 400 (Interpreter.cpp:971)
                            9   JavaScriptCore                0x0000000187bd2e1c JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, ***::NakedPtr<JSC::Exception>&) + 180 (CallData.cpp:40)
                            10  WebCore                       0x0000000189bd3474 WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext&) + 496 (JSMainThreadExecState.h:72)
                            11  WebCore                       0x0000000189bd30d0 WebCore::ScheduledAction::execute(WebCore::Document&) + 140 (ScheduledAction.cpp:126)
                            12  WebCore                       0x0000000188d1a460 WebCore::DOMTimer::fired() + 728 (DOMTimer.cpp:368)
                            13  WebCore                       0x0000000188d1a018 WebCore::ThreadTimers::sharedTimerFiredInternal() + 172 (ThreadTimers.cpp:118)
                            14  WebCore                       0x0000000188d19f58 WebCore::timerFired(__CFRunLoopTimer*, void*) + 28 (MainThreadSharedTimerCF.cpp:74)
                            15  CoreFoundation                0x0000000180fba92c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28 (CFRunLoop.c:1832)
                            16  CoreFoundation                0x0000000180fba650 __CFRunLoopDoTimer + 864 (CFRunLoop.c:2415)
                            17  CoreFoundation                0x0000000180fb9e50 __CFRunLoopDoTimers + 248 (CFRunLoop.c:2562)
                            18  CoreFoundation                0x0000000180fb7a38 __CFRunLoopRun + 1928 (CFRunLoop.c:3083)
                            19  CoreFoundation                0x0000000180ed7fb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
                            20  WebCore                       0x0000000188d4be04 RunWebThread(void*) + 456 (WebCoreThread.mm:694)
                            21  libsystem_pthread.dylib       0x0000000180c3c31c _pthread_body + 308 (pthread.c:740)
                            22  libsystem_pthread.dylib       0x0000000180c3c1e8 _pthread_start + 312 (pthread.c:799)
                            23  libsystem_pthread.dylib       0x0000000180c3ac28 thread_start + 4
                            Thread 6:
                            0   libsystem_kernel.dylib        0x0000000180b29dbc __workq_kernreturn + 8
                            1   libsystem_pthread.dylib       0x0000000180c3afa0 _pthread_wqthread + 884 (pthread.c:0)
                            2   libsystem_pthread.dylib       0x0000000180c3ac20 start_wqthread + 4
                            Thread 7:
                            0   libsystem_pthread.dylib       0x0000000180c3ac1c start_wqthread + 0
                            Thread 8 name:
                            Thread 8 Crashed:
                            0   libsystem_kernel.dylib        0x0000000180b29348 __pthread_kill + 8
                            1   libsystem_pthread.dylib       0x0000000180c3d344 pthread_kill$VARIANT$mp + 396 (pthread.c:1484)
                            2   libsystem_c.dylib             0x0000000180a9905c __abort + 152 (abort.c:128)
                            3   libsystem_c.dylib             0x0000000180a98fc4 abort + 152 (abort.c:99)
                            4   libsystem_c.dylib             0x0000000180a6ca9c __assert_rtn + 316 (assert.c:91)
                            5   CFNetwork                     0x0000000181667648 TubeManager::requestNewTube(BaseAwaitingTube*, void (Tube*) block_pointer) + 340 (TubeManager.cpp:183)
                            6   CFNetwork                     0x00000001816ba8a0 HTTPConnectionCacheEntry::_findOrCreateEmptyConnection(std::__1::shared_ptr<HTTPConnectionCacheEntry::EnqueuedRequest>, HTTPConnectionCacheEntry::ConnectionSearchStatus*) + 1748 (HTTPConnectionCacheEntry.cpp:1059)
                            7   CFNetwork                     0x00000001816bb6c4 HTTPConnectionCacheEntry::_connectionWasLost(std::__1::shared_ptr<HTTPConnection>) + 388 (HTTPConnectionCacheEntry.cpp:1444)
                            8   CFNetwork                     0x00000001816bbfe8 HTTPConnectionCacheEntry::_removeConnection(std::__1::shared_ptr<HTTPConnection>) + 200 (HTTPConnectionCacheEntry.cpp:1384)
                            9   CFNetwork                     0x00000001816ba3cc HTTPConnectionCacheEntry::_findOrCreateEmptyConnection(std::__1::shared_ptr<HTTPConnectionCacheEntry::EnqueuedRequest>, HTTPConnectionCacheEntry::ConnectionSearchStatus*) + 512 (HTTPConnectionCacheEntry.cpp:856)
                            10  CFNetwork                     0x00000001816bb6c4 HTTPConnectionCacheEntry::_connectionWasLost(std::__1::shared_ptr<HTTPConnection>) + 388 (HTTPConnectionCacheEntry.cpp:1444)
                            11  CFNetwork                     0x00000001816bbfe8 HTTPConnectionCacheEntry::_removeConnection(std::__1::shared_ptr<HTTPConnection>) + 200 (HTTPConnectionCacheEntry.cpp:1384)
                            12  CFNetwork                     0x00000001816ba3cc HTTPConnectionCacheEntry::_findOrCreateEmptyConnection(std::__1::shared_ptr<HTTPConnectionCacheEntry::EnqueuedRequest>, HTTPConnectionCacheEntry::ConnectionSearchStatus*) + 512 (HTTPConnectionCacheEntry.cpp:856)
                            13  CFNetwork                     0x00000001816bb6c4 HTTPConnectionCacheEntry::_connectionWasLost(std::__1::shared_ptr<HTTPConnection>) + 388 (HTTPConnectionCacheEntry.cpp:1444)
                            14  CFNetwork                     0x00000001816bbfe8 HTTPConnectionCacheEntry::_removeConnection(std::__1::shared_ptr<HTTPConnection>) + 200 (HTTPConnectionCacheEntry.cpp:1384)
                            15  CFNetwork                     0x00000001816ba3cc HTTPConnectionCacheEntry::_findOrCreateEmptyConnection(std::__1::shared_ptr<HTTPConnectionCacheEntry::EnqueuedRequest>, HTTPConnectionCacheEntry::ConnectionSearchStatus*) + 512 (HTTPConnectionCacheEntry.cpp:856)
                            16  CFNetwork                     0x00000001816bb6c4 HTTPConnectionCacheEntry::_connectionWasLost(std::__1::shared_ptr<HTTPConnection>) + 388 (HTTPConnectionCacheEntry.cpp:1444)
                            17  CFNetwork                     0x00000001816baf6c HTTPConnectionCacheEntry::ingestTube(Tube*, bool) + 720 (HTTPConnectionCacheEntry.cpp:363)
                            18  CFNetwork                     0x00000001816b7a20 HTTPConnectionCache::_onqueue_ingestTube(Tube*, bool) + 184 (HTTPConnectionCache.cpp:206)
                            19  CFNetwork                     0x0000000181667b64 TubeManager::_onqueue_newTubeReady(Tube*, CFStreamError) + 680 (TubeManager.cpp:616)
                            20  CFNetwork                     0x000000018166766c ___ZN11TubeManager14requestNewTubeEP16BaseAwaitingTubeU13block_pointerFvP4TubeE_block_invoke + 36 (TubeManager.cpp:189)
                            21  CFNetwork                     0x0000000181698178 Tube::_onqueue_invokeCB(CFStreamError) + 168 (Tube.cpp:1242)
                            22  CFNetwork                     0x0000000181696ed0 Tube::_onqueue_errorHandler(CFStreamError) + 156 (Tube.cpp:1072)
                            23  CFNetwork                     0x00000001816987fc Tube::connectionEstablished(CFStreamError) + 416 (Tube.cpp:1439)
                            24  libdispatch.dylib             0x0000000180995088 _dispatch_call_block_and_release + 24 (init.c:994)
                            25  libdispatch.dylib             0x0000000180995048 _dispatch_client_callout + 16 (object.m:502)
                            26  libdispatch.dylib             0x000000018099ee48 _dispatch_queue_serial_drain$VARIANT$mp + 528 (inline_internal.h:2500)
                            27  libdispatch.dylib             0x000000018099f7d8 _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
                            28  libdispatch.dylib             0x000000018099ed00 _dispatch_queue_serial_drain$VARIANT$mp + 200 (inline_internal.h:2539)
                            29  libdispatch.dylib             0x000000018099f7d8 _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
                            30  libdispatch.dylib             0x00000001809a0200 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400 (queue.c:5920)
                            31  libdispatch.dylib             0x00000001809a84a0 _dispatch_workloop_worker_thread$VARIANT$mp + 644 (source.c:2515)
                            32  libsystem_pthread.dylib       0x0000000180c3afd0 _pthread_wqthread + 932 (pthread.c:2207)
                            33  libsystem_pthread.dylib       0x0000000180c3ac20 start_wqthread + 4
                            Thread 9 name:
                            Thread 9:
                            0   libsystem_kernel.dylib        0x0000000180b08bc4 mach_msg_trap + 8
                            1   libsystem_kernel.dylib        0x0000000180b08a3c mach_msg + 72 (mach_msg.c:103)
                            2   libdispatch.dylib             0x00000001809aacf4 _dispatch_mach_send_and_wait_for_reply + 644 (mach.c:831)
                            3   libdispatch.dylib             0x00000001809ab19c dispatch_mach_send_with_result_and_wait_for_reply$VARIANT$mp + 56 (mach.c:1958)
                            4   libxpc.dylib                  0x0000000180c77ef0 xpc_connection_send_message_with_reply_sync + 196 (connection.c:802)
                            5   Foundation                    0x0000000181b293a8 __NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY__ + 12 (NSXPCConnection.m:172)
                            6   Foundation                    0x0000000181b28b30 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 3604 (NSXPCConnection.m:1329)
                            7   CoreFoundation                0x0000000181017368 ___forwarding___ + 540 (NSForwarding.m:3256)
                            8   CoreFoundation                0x0000000180efd01c _CF_forwarding_prep_0 + 92
                            9   MobileCoreServices            0x0000000182da8984 -[LSApplicationWorkspace deviceIdentifierForAdvertising] + 152 (LSApplicationWorkspace.m:2280)
                            10  AdSupport                     0x0000000190ab0d94 -[ASIdentifierManager advertisingIdentifier] + 56 (ASIdentifierManager.m:37)
                            11  My App                 0x0000000100c69ea0 +[ANSMetadata identifierForAdvertisingWithManager:] + 208
                            12  My App                 0x0000000100c69da0 +[ANSMetadata identifierForAdvertising] + 108
                            13  My App                 0x0000000100c6a138 -[ANSMetadata dictionaryRepresentationWithStartTime:] + 380
                            14  My App                 0x0000000100c6c718 -[ANSWriteEventOperation generateFormattedLogLineWithMetdata:timestamp:] + 92
                            15  My App                 0x0000000100c6bf9c -[ANSWriteEventOperation initWithEvent:metadata:logFileUrl:] + 244
                            16  My App                 0x0000000100c75268 __37-[ANSAnswersController enqueueEvent:]_block_invoke + 536
                            17  Foundation                    0x00000001819dd310 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16 (NSOperation.m:1467)
                            18  Foundation                    0x000000018191d9e4 -[NSBlockOperation main] + 72 (NSOperation.m:1486)
                            19  Foundation                    0x000000018190d620 -[__NSOperationInternal _start:] + 848 (NSOperation.m:830)
                            20  Foundation                    0x00000001819df004 __NSOQSchedule_f + 404 (NSOperation.m:2081)
                            21  libdispatch.dylib             0x0000000180995048 _dispatch_client_callout + 16 (object.m:502)
                            22  libdispatch.dylib             0x000000018099d3d4 _dispatch_continuation_pop$VARIANT$mp + 428 (inline_internal.h:2500)
                            23  libdispatch.dylib             0x000000018099bcd4 _dispatch_async_redirect_invoke$VARIANT$mp + 604 (queue.c:3429)
                            24  libdispatch.dylib             0x00000001809a21c8 _dispatch_root_queue_drain + 596 (inline_internal.h:2539)
                            25  libdispatch.dylib             0x00000001809a1f10 _dispatch_worker_thread3 + 120 (queue.c:6104)
                            26  libsystem_pthread.dylib       0x0000000180c3b120 _pthread_wqthread + 1268 (pthread.c:2286)
                            27  libsystem_pthread.dylib       0x0000000180c3ac20 start_wqthread + 4
                            Thread 10:
                            0   libsystem_pthread.dylib       0x0000000180c3ac1c start_wqthread + 0
                            Thread 11:
                            0   libsystem_pthread.dylib       0x0000000180c3ac1c start_wqthread + 0
                            Thread 12:
                            0   libsystem_pthread.dylib       0x0000000180c3ac1c start_wqthread + 0
                            Thread 13:
                            0   libsystem_pthread.dylib       0x0000000180c3ac1c start_wqthread + 0
                            Thread 8 crashed with ARM Thread State (64-bit):
                                x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000001
                                x4: 0x0000000000000000   x5: 0x0000000000989680   x6: 0x00000001c02cccc0   x7: 0x000000000000001c
                                x8: 0x000000000c000000   x9: 0x0000000004000000  x10: 0x00000000000003e8  x11: 0x000000000000000a
                               x12: 0x0000000000000000  x13: 0x0000000000000031  x14: 0x0000300000003103  x15: 0x0000000000000000
                               x16: 0x0000000000000148  x17: 0x000000018027efe0  x18: 0x0000000000000000  x19: 0x0000000000000006
                               x20: 0x000000016fa0f000  x21: 0x00000000000000b7  x22: 0x0000000000008763  x23: 0x000000016fa0f0e0
                               x24: 0x00000001afffe000  x25: 0x0000000000000000  x26: 0x0000000000000000  x27: 0x00000001816bb884
                               x28: 0x00000001c493f7d8   fp: 0x000000016fa0d6c0   lr: 0x0000000180c3d344
                                sp: 0x000000016fa0d690   pc: 0x0000000180b29348 cpsr: 0x00000000
                            
                              • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
                                sdqfghn Level 1 Level 1 (0 points)

                                Hi,

                                Any solution to fix this ?

                                • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
                                  mal.inka Level 1 Level 1 (0 points)

                                  Hi,

                                  Do you have any solution?

                                   

                                  I also have the same crash.

                                   

                                  Hardware Model:      iPhone9,3

                                  Code Type:           ARM-64 (Native)

                                  Role:                Non UI

                                  Parent Process:      launchd [1]

                                   

                                   

                                  Date/Time:           2018-06-14 12:59:12.2303 -0500

                                  Launch Time:         2018-06-14 12:56:44.8199 -0500

                                  OS Version:          iPhone OS 11.4 (15F79)

                                   

                                  Exception Type:  EXC_CRASH (SIGABRT)

                                  Exception Codes: 0x0000000000000000, 0x0000000000000000

                                  Exception Note:  EXC_CORPSE_NOTIFY

                                  Triggered by Thread:  14

                                   

                                  Thread 0 name:

                                  Thread 0:

                                  0   libsystem_kernel.dylib        0x0000000181a6fe08 mach_msg_trap + 8

                                  1   libsystem_kernel.dylib        0x0000000181a6fc80 mach_msg + 72 (mach_msg.c:103)

                                  2   CoreFoundation                0x0000000181fb2e40 __CFRunLoopServiceMachPort + 196 (CFRunLoop.c:2613)

                                  3   CoreFoundation                0x0000000181fb0908 __CFRunLoopRun + 1568 (CFRunLoop.c:2969)

                                  4   CoreFoundation                0x0000000181ed0da8 CFRunLoopRunSpecific + 552 (CFRunLoop.c:3245)

                                  5   GraphicsServices              0x0000000183eb5020 GSEventRunModal + 100 (GSEvent.c:2245)

                                  6   UIKit                         0x000000018beed758 UIApplicationMain + 236 (UIApplication.m:3965)

                                  7   HearMeOut                     0x000000010054c9c4 main + 88 (main.m:17)

                                  8   libdyld.dylib                 0x0000000181961fc0 start + 4

                                   

                                   

                                  Thread 14 name:

                                  Thread 14 Crashed:

                                  0   libsystem_kernel.dylib        0x0000000181a912ec __pthread_kill + 8

                                  1   libsystem_pthread.dylib       0x0000000181c32288 pthread_kill$VARIANT$mp + 376 (pthread.c:1484)

                                  2   libsystem_c.dylib             0x00000001819ffdb0 __abort + 152 (abort.c:128)

                                  3   libsystem_c.dylib             0x00000001819ffd18 abort + 152 (abort.c:99)

                                  4   libsystem_c.dylib             0x00000001819d4000 __assert_rtn + 316 (assert.c:91)

                                  5   CFNetwork                     0x000000018266d3e8 TubeManager::requestNewTube(BaseAwaitingTube*, void (Tube*) block_pointer) + 340 (TubeManager.cpp:183)

                                  6   CFNetwork                     0x00000001826c5780 HTTPConnectionCacheEntry::_findOrCreateEmptyConnection(std::__1::shared_ptr<HTTPConnectionCacheEntry::EnqueuedRequest>, HTTPConnectionCacheEntry::ConnectionSearchStatus*) + 2396 (HTTPConnectionCacheEntry.cpp:1059)

                                  7   CFNetwork                     0x00000001826c69e4 HTTPConnectionCacheEntry::_connectionWasLost(std::__1::shared_ptr<HTTPConnection>) + 364 (HTTPConnectionCacheEntry.cpp:1445)

                                  8   CFNetwork                     0x00000001826c608c HTTPConnectionCacheEntry::ingestTube(Tube*, bool) + 792 (HTTPConnectionCacheEntry.cpp:363)

                                  9   CFNetwork                     0x00000001826c2264 HTTPConnectionCache::_onqueue_ingestTube(Tube*, bool) + 192 (HTTPConnectionCache.cpp:206)

                                  10  CFNetwork                     0x000000018266d904 TubeManager::_onqueue_newTubeReady(Tube*, CFStreamError) + 680 (TubeManager.cpp:616)

                                  11  CFNetwork                     0x000000018266d40c invocation function for block in TubeManager::requestNewTube(BaseAwaitingTube*, void (Tube*) block_pointer) + 36 (TubeManager.cpp:189)

                                  12  CFNetwork                     0x00000001826a03cc Tube::_onqueue_invokeCB(CFStreamError) + 172 (Tube.cpp:1242)

                                  13  CFNetwork                     0x000000018269f040 Tube::_onqueue_errorHandler(CFStreamError) + 156 (Tube.cpp:1072)

                                  14  CFNetwork                     0x00000001826a0a50 Tube::connectionEstablished(CFStreamError) + 428 (Tube.cpp:1439)

                                  15  libdispatch.dylib             0x00000001818fcaa0 _dispatch_call_block_and_release + 24 (init.c:994)

                                  16  libdispatch.dylib             0x00000001818fca60 _dispatch_client_callout + 16 (object.m:507)

                                  17  libdispatch.dylib             0x00000001819069b4 _dispatch_queue_serial_drain$VARIANT$mp + 608 (inline_internal.h:2500)

                                  18  libdispatch.dylib             0x00000001819072fc _dispatch_queue_invoke$VARIANT$mp + 336 (queue.c:5290)

                                  19  libdispatch.dylib             0x000000018190686c _dispatch_queue_serial_drain$VARIANT$mp + 280 (inline_internal.h:2539)

                                  20  libdispatch.dylib             0x00000001819072fc _dispatch_queue_invoke$VARIANT$mp + 336 (queue.c:5290)

                                  21  libdispatch.dylib             0x0000000181907cc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340 (queue.c:5908)

                                  22  libdispatch.dylib             0x0000000181910098 _dispatch_workloop_worker_thread$VARIANT$mp + 668 (source.c:2529)

                                  23  libsystem_pthread.dylib       0x0000000181c2fe70 _pthread_wqthread + 860 (pthread.c:2218)

                                  24  libsystem_pthread.dylib       0x0000000181c2fb08 start_wqthread + 4

                                   

                                   

                                  Thread 14 crashed with ARM Thread State (64-bit):

                                      x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000001

                                      x4: 0x0000000000000000   x5: 0x0000000000989680   x6: 0x00000001c4174dc0   x7: 0x0000000000000000

                                      x8: 0x000000000c000000   x9: 0x0000000004000000  x10: 0x00000000000003e8  x11: 0x000000000000000a

                                     x12: 0x0000000000000000  x13: 0x0000000000000031  x14: 0x0000040000000503  x15: 0x0000000000000000

                                     x16: 0x0000000000000148  x17: 0x00000001811e2f8c  x18: 0x0000000000000000  x19: 0x0000000000000006

                                     x20: 0x000000016ffcf000  x21: 0x00000000000000b7  x22: 0x0000000000013513  x23: 0x000000016ffcf0e0

                                     x24: 0x00000001b2c28000  x25: 0x00000001826c6d1c  x26: 0x0000000000000000  x27: 0x00000001c013ec98

                                     x28: 0x00000001c42e4700   fp: 0x000000016ffcdf20   lr: 0x0000000181c32288

                                      sp: 0x000000016ffcdef0   pc: 0x0000000181a912ec cpsr: 0x00000000

                            • Re: iOS 11 crashes only: CFNetwork _handleTLSEvent
                              arnold.plakolli.2008 Level 1 Level 1 (0 points)

                              This is still happening in iOS 11.4.1 and iOS 12.1.4.

                               

                              Any updates?

                               

                              Stack trace:

                              Crashed: com.apple.CFNetwork.Connection
                              0  libsystem_kernel.dylib         0x1811e92e0 __pthread_kill + 8
                              1  libsystem_pthread.dylib        0x18138e6a8 pthread_kill$VARIANT$armv81 + 360
                              2  libsystem_c.dylib              0x181157d0c abort + 140
                              3  libsystem_c.dylib              0x18112c000 basename_r + 314
                              4  CFNetwork                      0x181e8d6f0 TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer, bool) + 760
                              5  libnetwork.dylib               0x1827237c8 __tcp_connection_set_tls_message_handler_on_nw_connection_block_invoke + 168
                              6  libboringssl.dylib             0x1825890d4 __boringssl_session_trigger_callback_block_invoke + 136
                              7  libdispatch.dylib              0x181054aa0 _dispatch_call_block_and_release + 24
                              8  libdispatch.dylib              0x181054a60 _dispatch_client_callout + 16
                              9  libdispatch.dylib              0x1810931d4 _dispatch_queue_serial_drain$VARIANT$armv81 + 568
                              10 libdispatch.dylib              0x181093af8 _dispatch_queue_invoke$VARIANT$armv81 + 328
                              11 libdispatch.dylib              0x181093094 _dispatch_queue_serial_drain$VARIANT$armv81 + 248
                              12 libdispatch.dylib              0x181093af8 _dispatch_queue_invoke$VARIANT$armv81 + 328
                              13 libdispatch.dylib              0x18109449c _dispatch_root_queue_drain_deferred_wlh$VARIANT$armv81 + 332
                              14 libdispatch.dylib              0x18109c46c _dispatch_workloop_worker_thread$VARIANT$armv81 + 612
                              15 libsystem_pthread.dylib        0x181387e70 _pthread_wqthread + 860
                              16 libsystem_pthread.dylib        0x181387b08 start_wqthread + 4