Post

Replies

Boosts

Views

Activity

Reply to _PFObjectIDFastHash64 Crash EXC_BAD_ACCESS KERN_INVALID_ADDRESS
Also happening on all our apps with Core Data used with multithreading. The crashes are pretty bad and the apps never recover. Was working fine before iOS 14. Here are some stacktraces for the different crashes we got so far (in production): Crashed: NSManagedObjectContext 0x281198b60 EXCBADACCESS KERNINVALIDADDRESS 0x0000000000000004 0 CoreData            0x1ac4447ac _PFObjectIDFastHash64 + 40 1 CoreFoundation         0x1a63ea4f8 __CFBasicHashRehash + 992 2 CoreFoundation         0x1a63ee414 CFBasicHashRemoveValue + 2384 3 CoreFoundation         0x1a6305ec0 CFDictionaryRemoveValue + 236 4 CoreData            0x1ac3911c0 -[NSManagedObjectContext(_NSInternalAdditions) _forgetObject:propagateToObjectStore:removeFromRegistry:] + 124 5 CoreData            0x1ac3706ec -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 860 6 CoreData            0x1ac48e198 __90-[NSManagedObjectContext(_NSInternalNotificationHandling) _registerAsyncReferenceCallback]_block_invoke + 72 7 CoreData            0x1ac484410 developerSubmittedBlockToNSManagedObjectContextPerform + 164 8 libdispatch.dylib       0x1a5fbcac8 _dispatch_client_callout + 20 9 libdispatch.dylib       0x1a5fc3c08 _dispatch_lane_serial_drain + 580 10 libdispatch.dylib       0x1a5fc4734 _dispatch_lane_invoke + 408 11 libdispatch.dylib       0x1a5fce528 _dispatch_workloop_worker_thread + 708 12 libsystem_pthread.dylib    0x1ed910908 _pthread_wqthread + 276 13 libsystem_pthread.dylib    0x1ed91777c start_wqthread + 8 Crashed: NSManagedObjectContext 0x281234820 EXCBADACCESS KERNINVALIDADDRESS 0x0000000000000010 0 CoreData            0x1ac4867ec -[NSManagedObjectContext _disposeObjects:count:notifyParent:] + 232 1 CoreData            0x1ac47c5f8 -[NSManagedObjectContext _dispose:] + 328 2 CoreData            0x1ac364360 -[NSManagedObjectContext _dealloc__] + 488 3 CoreData            0x1ac4919cc __internalBlockToDeallocNSManagedObjectContext_block_invoke + 56 4 CoreData            0x1ac484410 developerSubmittedBlockToNSManagedObjectContextPerform + 164 5 libdispatch.dylib       0x1a5fbcac8 _dispatch_client_callout 6 libdispatch.dylib       0x1a5fc3c08 _dispatch_lane_serial_drain 7 libdispatch.dylib       0x1a5fc4734 _dispatch_lane_invoke 8 libdispatch.dylib       0x1a5fce528 _dispatch_workloop_worker_thread 9 libsystem_pthread.dylib    0x1ed910908 _pthread_wqthread + 276 10 libsystem_pthread.dylib    0x1ed91777c start_wqthread + 8 Crashed: Local sync feed queue - syncQueue (QOS: UNSPECIFIED) EXCBADACCESS KERNINVALIDADDRESS 0x000000014cdfc000 0 CoreFoundation         0x1a63ea414 __CFBasicHashRehash + 764 1 CoreFoundation         0x1a63ee414 CFBasicHashRemoveValue + 2384 2 CoreFoundation         0x1a6305ec0 CFDictionaryRemoveValue + 236 3 CoreData            0x1ac3911c0 -[NSManagedObjectContext(_NSInternalAdditions) _forgetObject:propagateToObjectStore:removeFromRegistry:] + 124 4 CoreData            0x1ac3706ec -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 860 5 CoreData            0x1ac43c734 -[_PFAutoreleasePoolThunk dealloc] + 48 6 libobjc.A.dylib        0x1ba45781c AutoreleasePoolPage::releaseUntil(objc_object**) + 204 7 libobjc.A.dylib        0x1ba4576e8 objc_autoreleasePoolPop + 212 8 Foundation           0x1a75c8fa8 -[NSOperation start] + 1320 9 Foundation           0x1a76d9624 NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION + 24 10 Foundation           0x1a76d90d0 __NSOQSchedule_f + 184 11 libdispatch.dylib       0x1a5fca834 _dispatch_block_async_invoke2 + 148 12 libdispatch.dylib       0x1a5fbcac8 _dispatch_client_callout + 20 13 libdispatch.dylib       0x1a5fbfd60 _dispatch_continuation_pop + 416 14 libdispatch.dylib       0x1a5fbf494 _dispatch_async_redirect_invoke + 592 15 libdispatch.dylib       0x1a5fcd104 _dispatch_root_queue_drain + 356 16 libdispatch.dylib       0x1a5fcd8e8 _dispatch_worker_thread2 + 116 17 libsystem_pthread.dylib    0x1ed9108cc _pthread_wqthread + 216 18 libsystem_pthread.dylib    0x1ed91777c start_wqthread + 8 Crashed: NSManagedObjectContext 0x28034c340 EXCBADACCESS KERNINVALIDADDRESS 0x000000000000001c 0 libobjc.A.dylib        0x1ba43a53c object_getIndexedIvars + 36 1 CoreData            0x1ac4447a8 _PFObjectIDFastHash64 + 36 2 CoreFoundation         0x1a63ea4f8 __CFBasicHashRehash + 992 3 CoreFoundation         0x1a63ee414 CFBasicHashRemoveValue + 2384 4 CoreFoundation         0x1a6305ec0 CFDictionaryRemoveValue + 236 5 CoreData            0x1ac3911c0 -[NSManagedObjectContext(_NSInternalAdditions) _forgetObject:propagateToObjectStore:removeFromRegistry:] + 124 6 CoreData            0x1ac3706ec -[_PFManagedObjectReferenceQueue _processReferenceQueue:] + 860 7 CoreData            0x1ac48e198 __90-[NSManagedObjectContext(_NSInternalNotificationHandling) _registerAsyncReferenceCallback]_block_invoke + 72 8 CoreData            0x1ac484410 developerSubmittedBlockToNSManagedObjectContextPerform + 164 9 libdispatch.dylib       0x1a5fbcac8 _dispatch_client_callout + 20 10 libdispatch.dylib       0x1a5fc3c08 _dispatch_lane_serial_drain + 580 11 libdispatch.dylib       0x1a5fc4734 _dispatch_lane_invoke + 408 12 libdispatch.dylib       0x1a5fce528 _dispatch_workloop_worker_thread + 708 13 libsystem_pthread.dylib    0x1ed910908 _pthread_wqthread + 276 14 libsystem_pthread.dylib    0x1ed91777c start_wqthread + 8
Oct ’20