CFNetwork: SocketStream::dispatchSignalFromSocketCallbackUnlocked(SocketStreamSignalHolder*) + 68

Hi, this crash got popped out recently in my app with iOS (15.4 - 15.6) devices. This crash is now happening on daily basis on iPhone 11, 12 and 13 models.

Here is the crash report -

Hey hey, this is exactly the same pointer authentication trap that I described, in a very different context, in this post.

As with that thread, I recommend that you apply the standard memory debugging tools to see if you can flush out the problem.

ps Your code is using CFSocketStream, which is most now deprecated. I encourage you to move to a non-deprecated alternative, most like NWConnection.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

CFNetwork: SocketStream::dispatchSignalFromSocketCallbackUnlocked(SocketStreamSignalHolder*) + 68
 
 
Q