Crash on [EKObjectID entityName] with Fatal Exception NSInternalInconsistencyException
| Originator: | hermanccw | ||
| Number: | rdar://15424747 | Date Originated: | 2013-11-08 |
| Status: | Open | Resolved: | |
| Product: | ios sdk | Product Version: | 7 |
| Classification: | crash | Reproducible: | unable |
Summary: Within our app, we utilize EKEventStore to get local events. In some cases, it produce the following crash with stack trace. Fatal Exception NSInternalInconsistencyException Unknown entity type while trying to create an object ID 0 CoreFoundation __exceptionPreprocess + 130 1 libobjc.A.dylib objc_exception_throw + 38 2 CoreFoundation +[NSException raise:format:] 3 Foundation -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 90 4 EventKit -[EKObjectID entityName] + 202 5 EventKit -[EKEventStore _addFetchedObjectWithID:] + 56 6 EventKit __78-[EKEventStore registerFetchedObjectWithID:withDefaultLoadedProperties:inSet:]_block_invoke + 80 7 libdispatch.dylib _dispatch_client_callout + 22 8 libdispatch.dylib _dispatch_barrier_sync_f_invoke + 26 9 EventKit -[EKEventStore registerFetchedObjectWithID:withDefaultLoadedProperties:inSet:] + 156 10 EventKit __41-[EKPredicateSearch startWithCompletion:]_block_invoke + 652 11 EventKit -[EKDaemonConnection _processReplyWithID:data:finished:] + 264 12 EventKit CADReceiveReply + 98 13 EventKit _XReply + 102 14 EventKit ClientCallbacks_server + 64 15 libdispatch.dylib dispatch_mig_server$VARIANT$up + 312 16 EventKit __43-[EKDaemonConnection initWithOptions:path:]_block_invoke16 + 40 17 libdispatch.dylib _dispatch_source_invoke$VARIANT$up + 258 18 libdispatch.dylib _dispatch_root_queue_drain + 76 19 libdispatch.dylib _dispatch_worker_thread2 + 56 20 libsystem_pthread.dylib _pthread_wqthread + 298 21 libsystem_pthread.dylib start_wqthread + 8
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!
Duped to rdar://15424956
Duped to rdar://15424956