Crash in com.apple.CFNetwork.addPersistCacheToStorageDaemon

Originator:madisonsolarana
Number:rdar://26599310 Date Originated:06/02/16
Status:Open Resolved:
Product:iOS Product Version:
Classification:Crash Reproducible:
 
The CFNetworking cache thread sometimes crashes when an item is being added to the cache. It appears that shortly after a SSL handshake or during, there is some sort of memory issue that causes the com.apple.CFNetwork.addPersistCacheToStorageDaemon thread to crash while constructing a NSXPCConnection. This rate of this crash may be increased if a custom NSURLProtocol is being used to handle mutual TLS. I believe that there is a race condition when items are being added to the cache either when the cache is being emptied or when items are moving from memory to disk (or vice versa).

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!