应用程序崩溃后更新核心数据[RKManagedObjectRequestOperation获取PermanentObjectIDsForInsertedObjects:]

时间:2016-05-12 10:23:54

标签: ios core-data restkit magicalrecord core-data-migration

当我从我的应用程序中检查崩溃时,有些用户正在报告崩溃问题。它给我下面的堆栈跟踪。我用新的模型版本更新了我的核心数据(使用轻量级迁移)。我在我的应用程序中使用Restkit和Magical Records。我没有得到什么问题?

        >>0 libobjc.A.dylib 0x353a16ba objc_retain + 8
        !   1   Provider 0x00aeb701 __78-[RKManagedObjectRequestOperation obtainPermanentObjectIDsForInsertedObjects:]_block_invoke (RKManagedObjectRequestOperation.m:885)
        2   CoreData 0x26c7496b developerSubmittedBlockToNSManagedObjectContextPerform + 180
        3   libdispatch.dylib 0x35917c6f _dispatch_client_callout + 20
        4   libdispatch.dylib 0x35921559 _dispatch_barrier_sync_f_invoke + 46
        5   CoreData 0x26c74857 -[NSManagedObjectContext performBlockAndWait:] + 200
        6   Provider 0x00aeb555 -[RKManagedObjectRequestOperation obtainPermanentObjectIDsForInsertedObjects:] (RKManagedObjectRequestOperation.m:882)
        7   Provider 0x00ae8c67 __79-[RKManagedObjectRequestOperation performMappingOnResponseWithCompletionBlock:]_block_invoke348 (RKManagedObjectRequestOperation.m:645)
        8   Provider 0x00b15961 -[RKResponseMapperOperation willFinish] (RKResponseMapperOperation.m:325)
        9   Provider 0x00b1609d -[RKResponseMapperOperation main] (RKResponseMapperOperation.m:412)
        10  Foundation 0x27b7cb0d -[__NSOperationInternal _start:] + 766
        11  Foundation 0x27c21d93 __NSOQSchedule_f + 184
        12  libdispatch.dylib 0x359224d3 _dispatch_queue_drain$VARIANT$mp + 1460
        13  libdispatch.dylib 0x35921da1 _dispatch_queue_invoke$VARIANT$mp + 82
        14  libdispatch.dylib 0x35924491 _dispatch_root_queue_drain + 386
        15  libdispatch.dylib 0x359258a3 _dispatch_worker_thread3 + 104
        16  libsystem_pthread.dylib 0x35a99d9d _pthread_wqthread + 666
        17  libsystem_pthread.dylib 0x35a99af0 start_wqthread + 6

0 个答案:

没有答案