{"action":"closed","issue":{"url":"https://api.github.com/repos/googlemaps/google-maps-ios-utils/issues/68","repository_url":"https://api.github.com/repos/googlemaps/google-maps-ios-utils","labels_url":"https://api.github.com/repos/googlemaps/google-maps-ios-utils/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/googlemaps/google-maps-ios-utils/issues/68/comments","events_url":"https://api.github.com/repos/googlemaps/google-maps-ios-utils/issues/68/events","html_url":"https://github.com/googlemaps/google-maps-ios-utils/issues/68","id":198426404,"number":68,"title":"Google Maps SDK CoreData crashing issue","user":{"login":"vinaykmr889","id":1286512,"avatar_url":"https://avatars.githubusercontent.com/u/1286512?v=3","gravatar_id":"","url":"https://api.github.com/users/vinaykmr889","html_url":"https://github.com/vinaykmr889","followers_url":"https://api.github.com/users/vinaykmr889/followers","following_url":"https://api.github.com/users/vinaykmr889/following{/other_user}","gists_url":"https://api.github.com/users/vinaykmr889/gists{/gist_id}","starred_url":"https://api.github.com/users/vinaykmr889/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinaykmr889/subscriptions","organizations_url":"https://api.github.com/users/vinaykmr889/orgs","repos_url":"https://api.github.com/users/vinaykmr889/repos","events_url":"https://api.github.com/users/vinaykmr889/events{/privacy}","received_events_url":"https://api.github.com/users/vinaykmr889/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-03T08:10:48Z","updated_at":"2017-01-04T00:23:04Z","closed_at":"2017-01-04T00:23:04Z","body":"@mountainvat \r\n\r\nios version - 9.0\r\nxcode version - 8.2\r\n\r\nI am getting below crash when i am implementing Google map in my iOS project. I am using coredata also in my application. Can you plz give me some quick resolution for this? Please find the error and stack trace below:-\r\n\r\n[error] error: The current thread is not the recognized owner of this NSManagedObjectContext(0x6080001d86f0).  Illegal access during objectRegisteredForID:\r\nCoreData: error: The current thread is not the recognized owner of this NSManagedObjectContext(0x6080001d86f0).  Illegal access during objectRegisteredForID:\r\n(lldb) bt\r\n* thread #17: tid = 0x588886, 0x0000000107e66224 CoreData`+[NSManagedObjectContext __Multithreading_Violation_AllThatIsLeftToUsIsHonor__] + 4, queue = 'SQLQueue 0x7f8f26d33740 for Objects.sqlite', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)\r\n  * frame #0: 0x0000000107e66224 CoreData`+[NSManagedObjectContext __Multithreading_Violation_AllThatIsLeftToUsIsHonor__] + 4\r\n    frame #1: 0x0000000107e66625 CoreData`_PFAssertSafeMultiThreadedAccess_impl + 645\r\n    frame #2: 0x0000000107de5388 CoreData`-[NSManagedObjectContext objectRegisteredForID:] + 328\r\n    frame #3: 0x0000000107ee45ab CoreData`-[NSSQLiteConnection updateRow:forRequestContext:] + 171\r\n    frame #4: 0x0000000107f8c0fb CoreData`_writeChangesForSaveRequest + 2059\r\n    frame #5: 0x0000000107f8d963 CoreData`_executeSaveChangesRequest + 291\r\n    frame #6: 0x0000000107e1a856 CoreData`-[NSSQLSaveChangesRequestContext executeRequestUsingConnection:] + 38\r\n    frame #7: 0x0000000107f33257 CoreData`__52-[NSSQLDefaultConnectionManager handleStoreRequest:]_block_invoke + 215\r\n    frame #8: 0x000000010de8b0cd libdispatch.dylib`_dispatch_client_callout + 8\r\n    frame #9: 0x000000010de682b6 libdispatch.dylib`_dispatch_barrier_sync_f_invoke + 340\r\n    frame #10: 0x0000000107f3312c CoreData`-[NSSQLDefaultConnectionManager handleStoreRequest:] + 236\r\n    frame #11: 0x0000000107f3a9bf CoreData`-[NSSQLCoreDispatchManager routeStoreRequest:] + 351\r\n    frame #12: 0x0000000107ebb5c9 CoreData`-[NSSQLCore dispatchRequest:withRetries:] + 233\r\n    frame #13: 0x0000000107eb7e7f CoreData`-[NSSQLCore processSaveChanges:forContext:] + 191\r\n    frame #14: 0x0000000107dad88d CoreData`-[NSSQLCore executeRequest:withContext:error:] + 909\r\n    frame #15: 0x0000000107ea2be9 CoreData`__65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke + 4169\r\n    frame #16: 0x0000000107e9ac26 CoreData`-[NSPersistentStoreCoordinator _routeHeavyweightBlock:] + 390\r\n    frame #17: 0x0000000107dad2be CoreData`-[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 654\r\n    frame #18: 0x0000000107dd75ba CoreData`-[NSManagedObjectContext save:] + 3706\r\n    frame #19: 0x000000010539a2f8 Owners.com`__72-[GMSObjectDataCache storeObjectNamesAndData:version:completionHandler:]_block_invoke + 400\r\n    frame #20: 0x000000010de61978 libdispatch.dylib`_dispatch_call_block_and_release + 12\r\n    frame #21: 0x000000010de8b0cd libdispatch.dylib`_dispatch_client_callout + 8\r\n    frame #22: 0x000000010de68f64 libdispatch.dylib`_dispatch_queue_serial_drain + 569\r\n    frame #23: 0x000000010de69b4b libdispatch.dylib`_dispatch_queue_invoke + 1073\r\n    frame #24: 0x000000010de6a02b libdispatch.dylib`_dispatch_queue_override_invoke + 683\r\n    frame #25: 0x000000010de6c385 libdispatch.dylib`_dispatch_root_queue_drain + 720\r\n    frame #26: 0x000000010de6c059 libdispatch.dylib`_dispatch_worker_thread3 + 123\r\n    frame #27: 0x000000010e235736 libsystem_pthread.dylib`_pthread_wqthread + 1299\r\n    frame #28: 0x000000010e235211 libsystem_pthread.dylib`start_wqthread + 13\r\n(lldb) "}}
{"actor":{"display_login":"mountainvat"}}