CFNetwork _handleTLSEvent crash

As suggested earlier in https://forums.developer.apple.com/thread/76987 opening a new thread.

We are experiencing a CFNetwork TCPIOConnection::_handleTLSEvent crash. Full crash report here: https://gist.github.com/jarosan/af09485be31123bb6ebb9395ba9382f8


Thanks in advance!

Thanks for opening a new thread about this. It is a different crash from the ones on that other thread. Alas, it seems to have a similar cause, namely a state error within CFNetwork. The specific cause of the crash is frame 5 of thread 8:

Thread 8 name:
Thread 8 Crashed:
0  … __pthread_kill + 8
1  … pthread_kill$VARIANT$mp + 396 (pthread.c:1484)
2  … __abort + 152 (abort.c:128)
3  … abort + 152 (abort.c:99)
4  … __assert_rtn + 316 (assert.c:91)
5  … TCPIOConnection::_handleTLSEvent(nw_tls_context*, tls_handshake_message_t, void () block_pointer, bool) + 772 (TCPIOConnection.cpp:4628)
6  … __tcp_connection_set_tls_message_handler_on_nw_connection_block_invoke + 168 (tcp_connection.m:1799)
7  … __boringssl_session_trigger_callback_block_invoke + 136 (boringssl_session.c:2770)
8  … _dispatch_call_block_and_release + 24 (init.c:994)
9  … _dispatch_client_callout + 16 (object.m:502)
10 … _dispatch_queue_serial_drain$VARIANT$mp + 528 (inline_internal.h:2500)
11 … _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
12 … _dispatch_queue_serial_drain$VARIANT$mp + 200 (inline_internal.h:2539)
13 … _dispatch_queue_invoke$VARIANT$mp + 340 (queue.c:5302)
14 … _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 404 (queue.c:5920)
15 … _dispatch_workloop_worker_thread$VARIANT$mp + 644 (source.c:2529)
16 … _pthread_wqthread + 932 (pthread.c:2207)
17 … start_wqthread + 4
TCPIOConnection
is a C++ class internal to CFNetwork that manages a TCP connection. It has determined that it’s in an erroneous state and that’s tripped an assert.

We are tracking this problem internally (r. 33367468) but I can’t give you any estimate as to when it might be fixed.

I can assure you that this is very unlikely to be a problem in your code. This problem is affecting lots of different apps along with various system processes.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Is there an update on a fix?

Is there an update on a fix?

CFNetwork _handleTLSEvent crash
 
 
Q