How NSURLRequest gets allocated is affecting static memory when accessed from Swift (it would seem)

Originator:tmharada
Number:rdar://24470811 Date Originated:2/2/2016
Status:Open Resolved:
Product:iOS Product Version:iOS 9.2
Classification: Reproducible:Always
 
See https://github.com/tmsh/crash-reproduce-static-swift-objc for more information.

We use 'copy' to try to fix it in the meantime. This issue might crop up if a project has global "constants" in Objective-C that are initialized at start up and then accessed later in Swift.

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!