lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

26599310: Crash in com.apple.CFNetwork.addPersistCacheToStorageDaemon #14784

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

Description

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).

Product Version: Created: 2016-06-02T12:47:47.710130 Originated: 2016-06-02T00:00:00 Open Radar Link: http://www.openradar.me/26599310

openradar-mirror commented 8 years ago

Modified: 2016-06-02T12:47:47.710450