NSURLSessionDownloadTask nil data

Originator:zkrige
Number:rdar://32399806 Date Originated:
Status: Resolved:
Product:ios Product Version:10.3.2
Classification: Reproducible:always
 
Area:
CFNetwork Framework

Summary:
NSURLSessionDownloadDelegate completion has invalid location under certain circumstances

Steps to Reproduce:
Create NSURLSessionDownloadTask with background NSURLSession. Once download is in progress, force kill the app. When delegate method is invoked for completion, the file url specified by location doesn’t existthe file url should exist and contain downloaded data

Expected Results:
the location file url should exist and contain downloaded data

Observed Results:
the location file url doesn’t exist

Version:
10.3.2

Notes:
The problem goes away once the device is rebooted

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!