核心数据崩溃

时间:2014-02-27 12:41:23

标签: ios iphone objective-c ipad core-data

任何人都可以帮我理解这个崩溃日志是什么意思吗?

0 CoreFoundation 0x314df29e __exceptionPreprocess + 158
1 libobjc.A.dylib 0x3918497a objc_exception_throw + 26
2 CoreFoundation 0x314e2e02 -[NSObject(NSObject) doesNotRecognizeSelector:] + 166
3 CoreFoundation 0x314e152c ___forwarding___ + 388
4 CoreFoundation 0x31438f64 __forwarding_prep_0___ + 20
5 CoreData 0x3128b9f8 -[NSSQLCore _prepareResultsFromResultSet:usingFetchPlan:withMatchingRows:] + 3004
6 CoreData 0x31288fa2 -[NSSQLCore _newRowsForFetchPlan:selectedBy:withArgument:] + 1274
7 CoreData 0x31282084 -[NSSQLCore newRowsForFetchPlan:] + 308
8 CoreData 0x3128173a -[NSSQLCore objectsForFetchRequest:inContext:] + 678
9 CoreData 0x31281200 -[NSSQLCore executeRequest:withContext:error:] + 464
10 CoreData 0x31280618 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 1640
11 CoreData 0x3127ef12 -[NSManagedObjectContext executeFetchRequest:error:] +

编辑:此崩溃很少发生。无法使用断点重新生成。

1 个答案:

答案 0 :(得分:0)

我会说第2行是最好的指标:

2 CoreFoundation 0x314e2e02 - [NSObject(NSObject)doesNotRecognizeSelector:] + 166

看起来像第5行到_prepareResultsFromResultSet的调用:usingFetchPlan:withMatchingRows:被发送到它不应该的地方。