NSGenericException "Start date cannot be later in time than end date!" in -[NSURLSessionTaskMetrics _initWithTask:]

Originator:nobrien
Number:rdar://28301327 Date Originated:14-Sep-2016 09:15 AM
Status:Open Resolved:
Product:iOS SDK Product Version:10
Classification:Crash/Hang/Data Loss Reproducible:Unable
 
Summary:
Trickling in crashes with NSGenericException - Start date cannot be later in time than end date!

Steps to Reproduce:
Cannot reproduce locally

Expected Results:
No exception

Actual Results:
Exception

Regression:
New to iOS 10 (makes sense since this is in the new NSURLSessionTaskMetrics code

Notes:
Is there potential risk with clock skew?  FWIW: we do all our timing metrics with mach time to avoid potential issues with timezone traversals, regional settings changes or daylight savings time changes.

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!