CFNetwork TCPIOConnection::close crash iOS 11

I'm seeing a crash in iOS 11 in the CFNetwork Apple Framework. here is what the stack trace looks like:


Thread 14 name:  Dispatch queue: com.apple.CFNetwork.Connection
Thread 14 Crashed:
0  CFNetwork                      0x000000018691f300 TCPIOConnection::close+ 1622784 () + 16
1  CFNetwork                      0x000000018699b42c HTTPEngine::_cleanupConnection+ 2130988 () + 68
2  CFNetwork                      0x000000018699b42c HTTPEngine::_cleanupConnection+ 2130988 () + 68
3  CFNetwork                      0x00000001869293dc ___ZN15TCPIOConnection12_handleErrorE13CFStreamError_block_invoke.214 + 40
4  libdispatch.dylib              0x0000000185b95088 _dispatch_call_block_and_release + 24
5  libdispatch.dylib              0x0000000185b95048 _dispatch_client_callout + 16
6  libdispatch.dylib              0x0000000185bd31c0 _dispatch_queue_serial_drain$VARIANT$armv81 + 520
7  libdispatch.dylib              0x0000000185bd3b30 _dispatch_queue_invoke$VARIANT$armv81 + 340
8  libdispatch.dylib              0x0000000185bd3080 _dispatch_queue_serial_drain$VARIANT$armv81 + 200
9  libdispatch.dylib              0x0000000185bd3b30 _dispatch_queue_invoke$VARIANT$armv81 + 340
10  libdispatch.dylib              0x0000000185bd4528 _dispatch_root_queue_drain_deferred_wlh$VARIANT$armv81 + 380
11  libdispatch.dylib              0x0000000185bdc5c4 _dispatch_workloop_worker_thread$VARIANT$armv81 + 640
12  libsystem_pthread.dylib        0x0000000185e3afd0 _pthread_wqthread + 932
13  libsystem_pthread.dylib        0x0000000185e3ac20 start_wqthread + 4



with the exception type:


Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000080

I have filed an issue with Apple's Bug Reporter Tool. Is this a known issue?


Replies

I have filed an issue with Apple's Bug Reporter Tool. Is this a known issue?

Well it is now that you’ve filed it (-:

What was your bug number?

Share and Enjoy

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

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

@eskimo


I have filed the bug (bug number: 36586003) and Apple has dupped this out to an already existing bug (existing bug: 27587190). Thanks!

And that bug (r. 27587190) is one we’ve seen before (as noted here). Alas, I still don’t have a lot of info to share on that front. What I can say is that this is probably not a bug in your code. There seem to be lots of apps affected by this, along with a bunch of programs that are built in to the OS.

Share and Enjoy

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

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

@Eskimo do you know if this bug (27587190) has been fixed and released by Apple? if not, what release should we expect it in?

do you know if this bug (27587190) has been fixed and released by Apple?

The bug you mentioned (r. 27587190) has not been resolved.

if not, what release should we expect it in?

I cannot, alas, predict the future.

Share and Enjoy

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

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