SQLite Crash Using Core Data

Originator:nathanielhillyer
Number:rdar://21247340 Date Originated:04-Jun-2015 03:39 PM
Status:Open Resolved:
Product:iOS SDK Product Version:
Classification: Reproducible:
 
Summary:
We've been experiencing a cryptic crash (SQLite can't bind intarray) in our app. It always happens on a line where we are batch faulting a large number of objects into memory.

Steps to Reproduce:
We don't have any reproduction internally of the issue. The crash is reported by our crash reporting software and doesn't happen in house when we execute the same line of code.

Expected Results:
We would expect the crash to not happen.

Actual Results:
The app crashed.

Version:
iOS 8.0, 8.0.2, 8.1.1, 8.1.2, 8.1.3, 8.2, 8.3+

Notes:
We are mainly looking for an explanation of the error ( 'CoreData: SQLite: error: Can't bind intarray.', reason: 'SQLite error code: 14'). We have searched on google and pieced through the SQLite source code to no avail.

Configuration:
iPad mini 2 (Wi-Fi+LTE), iPad Air (Wi-Fi), iPad mini (A1455), iPad (4th gen, A1459), iPad (3rd gen, Wi-Fi+LTE AT&T), iPad 2 (Wi-Fi), iPad Air 2 (Wi-Fi+LTE),

Comments

Root Cause Found

Turns out that message means a fetch was performed against core data that had a transformable property in the predicate.

By nathanielhillyer at July 21, 2015, 6:11 p.m. (reply...)

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!