CFNetwork crash on iOS 14

I have noticed quite a lot of crash reports related to CFNetwork on iOS 14. The exception type is SIGSEGV and is raised at HTTPProtocol::shouldAttemptOriginLoad.
Code Block
0 CFNetwork 0x00000001b96bbd10 HTTPProtocol::shouldAttemptOriginLoad() + 36
1 CFNetwork 0x00000001b96bb8cc HTTPProtocol::_protocolInterface_startLoad(_CFCachedURLResponse const*) + 388
2 CFNetwork 0x00000001b9718770 invocation function for block in URLConnectionLoader::_private_ScheduleOriginLoad(NSURLRequest const*, _CFCachedURLResponse const*) + 88
3 CFNetwork 0x00000001b97161bc invocation function for block in URLConnectionLoader::withExistingProtocolAsync(void (URLProtocol*) block_pointer) const + 32
4 CFNetwork 0x00000001b97e0e0c invocation function for block in QCoreSchedulingSet::performAsync(void () block_pointer) const + 52


I found there is similar issue on iOS 12 and the issue seems to be fixed on iOS 13. And our metrics also shows that we only have this crash on iOS 12 and iOS 14, not iOS 13.

I have noticed quite a lot of crash reports related to CFNetwork on
iOS 14.

Please post an example Apple crash report (the full report, not just a snippet). Use the text attachment feature (the paperclip icon) to avoid clogging up the timeline.

Share and Enjoy

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



The crash is reported from customer devices, we haven't find a way to reproduce. So I can only paste the crash report we get from customer (not the original Apple crash report). And I also need to clean up logs that related to business code.

If this crash report is not helpful enough, please let me know what other information is needed. I'll try to see if I can get them.
That crash report has been kinda munged. Lots of stuff has been redacted and there’s no Binary Images section at the bottom (which is absolutely critical).

What I need is:
  • An Apple crash report

  • The whole crash report, not just snippets

If you need to redact some details, make sure to redact them with text that matches the length and style of the original text. For example, if your app is named WaffleVarnisher, replace that with XxxxxxXxxxxxxxx, and do that consistently throughout the crash report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
CFNetwork crash on iOS 14
 
 
Q