Fixed
Status Update
Comments
br...@google.com <br...@google.com>
[Deleted User] <[Deleted User]> #2
Can you provide the stack trace?
[Deleted User] <[Deleted User]> #3
I think this console log would help:
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 31300, TID: 2413714, Thread name: com.google.Maps.LabelingBehavior, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 GooglePlacePickerDemos 0x00000001069bbef4 GMSIsApplicationInBackground + 53
5 GooglePlacePickerDemos 0x0000000106a5a5ea -[GMSForegroundDispatchQueue initWithName:targetQueue:] + 237
6 GooglePlacePickerDemos 0x0000000106a271a2 _ZN7gmscore6vector4text8GlyphSetC2ERKNS_4base10reffed_ptrINS0_16TextureAtlasPoolEEEPU28objcproto17OS_dispatch_queue8NSObjectPK8__CTFontff + 344
7 GooglePlacePickerDemos 0x0000000106a1967a _ZN7gmscore6vector4text10GlyphCache11GetGlyphSetEPK8__CTFontf + 214
8 GooglePlacePickerDemos 0x0000000106a17dce _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEERKNSt3__16vectorItNS9_9allocatorItEEEEPK8__CTFontf + 22
9 GooglePlacePickerDemos 0x0000000106a17ed1 _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEEPK8__CTLinebf + 207
10 GooglePlacePickerDemos 0x00000001069fdc4f _ZN7gmscore6vector12GLPointLabel22PrefetchGlyphsForGroupEPNS0_12GLLabelGroupE + 181
11 GooglePlacePickerDemos 0x00000001069fdb77 _ZN7gmscore6vector12GLPointLabel14PrefetchGlyphsEv + 33
12 GooglePlacePickerDemos 0x0000000106a12143 _ZN7gmscore6vector16LabelingBehavior23CreatePendingOperationsERKNSt3__13setINS_4base10reffed_ptrINS0_7GLLabelEEENS2_4lessIS7_EENS2_9allocatorIS7_EEEESE_SE_NS0_13LabelDrawModeE + 1093
13 GooglePlacePickerDemos 0x0000000106a11b11 _ZN7gmscore6vector16LabelingBehavior14RunLabelingJobERKNS_4base10reffed_ptrINS1_11LabelingJobEEE + 357
14 GooglePlacePickerDemos 0x0000000106a1199e ___ZN7gmscore6vector16LabelingBehavior14CommitInternalEPNS_8renderer14EntityRendererE_block_invoke + 22
15 Foundation 0x000000010ae37ff8 __NSThreadPerformPerform + 334
16 CoreFoundation 0x000000010ba28ef1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17 CoreFoundation 0x000000010bac8011 __CFRunLoopDoSource0 + 81
18 CoreFoundation 0x000000010ba0d8e9 __CFRunLoopDoSources0 + 185
19 CoreFoundation 0x000000010ba0cecf __CFRunLoopRun + 1279
20 CoreFoundation 0x000000010ba0c759 CFRunLoopRunSpecific + 409
21 Foundation 0x000000010adf245e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
22 GooglePlacePickerDemos 0x0000000106a4feb9 -[GMSx_GTMSimpleWorkerThread main] + 337
23 Foundation 0x000000010adffedc __NSThread__start__ + 1197
24 libsystem_pthread.dylib 0x000000010cfeb93b _pthread_body + 180
25 libsystem_pthread.dylib 0x000000010cfeb887 _pthread_body + 0
26 libsystem_pthread.dylib 0x000000010cfeb08d thread_start + 13
2017-08-09 22:14:34.392200+0530 GooglePlacePickerDemos[31300:2413714] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 31300, TID: 2413714, Thread name: com.google.Maps.LabelingBehavior, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 GooglePlacePickerDemos 0x00000001069bbef4 GMSIsApplicationInBackground + 53
5 GooglePlacePickerDemos 0x0000000106a5a5ea -[GMSForegroundDispatchQueue initWithName:targetQueue:] + 237
6 GooglePlacePickerDemos 0x0000000106a271a2 _ZN7gmscore6vector4text8GlyphSetC2ERKNS_4base10reffed_ptrINS0_16TextureAtlasPoolEEEPU28objcproto17OS_dispatch_queue8NSObjectPK8__CTFontff + 344
7 GooglePlacePickerDemos 0x0000000106a1967a _ZN7gmscore6vector4text10GlyphCache11GetGlyphSetEPK8__CTFontf + 214
8 GooglePlacePickerDemos 0x0000000106a17dce _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEERKNSt3__16vectorItNS9_9allocatorItEEEEPK8__CTFontf + 22
9 GooglePlacePickerDemos 0x0000000106a17ed1 _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEEPK8__CTLinebf + 207
10 GooglePlacePickerDemos 0x00000001069fdc4f _ZN7gmscore6vector12GLPointLabel22PrefetchGlyphsForGroupEPNS0_12GLLabelGroupE + 181
11 GooglePlacePickerDemos 0x00000001069fdb77 _ZN7gmscore6vector12GLPointLabel14PrefetchGlyphsEv + 33
12 GooglePlacePickerDemos 0x0000000106a12143 _ZN7gmscore6vector16LabelingBehavior23CreatePendingOperationsERKNSt3__13setINS_4base10reffed_ptrINS0_7GLLabelEEENS2_4lessIS7_EENS2_9allocatorIS7_EEEESE_SE_NS0_13LabelDrawModeE + 1093
13 GooglePlacePickerDemos 0x0000000106a11b11 _ZN7gmscore6vector16LabelingBehavior14RunLabelingJobERKNS_4base10reffed_ptrINS1_11LabelingJobEEE + 357
14 GooglePlacePickerDemos 0x0000000106a1199e ___ZN7gmscore6vector16LabelingBehavior14CommitInternalEPNS_8renderer14EntityRendererE_block_invoke + 22
15 Foundation 0x000000010ae37ff8 __NSThreadPerformPerform + 334
16 CoreFoundation 0x000000010ba28ef1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17 CoreFoundation 0x000000010bac8011 __CFRunLoopDoSource0 + 81
18 CoreFoundation 0x000000010ba0d8e9 __CFRunLoopDoSources0 + 185
19 CoreFoundation 0x000000010ba0cecf __CFRunLoopRun + 1279
20 CoreFoundation 0x000000010ba0c759 CFRunLoopRunSpecific + 409
21 Foundation 0x000000010adf245e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
22 GooglePlacePickerDemos 0x0000000106a4feb9 -[GMSx_GTMSimpleWorkerThread main] + 337
23 Foundation 0x000000010adffedc __NSThread__start__ + 1197
24 libsystem_pthread.dylib 0x000000010cfeb93b _pthread_body + 180
25 libsystem_pthread.dylib 0x000000010cfeb887 _pthread_body + 0
26 libsystem_pthread.dylib 0x000000010cfeb08d thread_start + 13
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 31300, TID: 2413714, Thread name: com.google.Maps.LabelingBehavior, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 GooglePlacePickerDemos 0x00000001069bbef4 GMSIsApplicationInBackground + 53
5 GooglePlacePickerDemos 0x0000000106a5a5ea -[GMSForegroundDispatchQueue initWithName:targetQueue:] + 237
6 GooglePlacePickerDemos 0x0000000106a271a2 _ZN7gmscore6vector4text8GlyphSetC2ERKNS_4base10reffed_ptrINS0_16TextureAtlasPoolEEEPU28objcproto17OS_dispatch_queue8NSObjectPK8__CTFontff + 344
7 GooglePlacePickerDemos 0x0000000106a1967a _ZN7gmscore6vector4text10GlyphCache11GetGlyphSetEPK8__CTFontf + 214
8 GooglePlacePickerDemos 0x0000000106a17dce _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEERKNSt3__16vectorItNS9_9allocatorItEEEEPK8__CTFontf + 22
9 GooglePlacePickerDemos 0x0000000106a17ed1 _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEEPK8__CTLinebf + 207
10 GooglePlacePickerDemos 0x00000001069fdc4f _ZN7gmscore6vector12GLPointLabel22PrefetchGlyphsForGroupEPNS0_12GLLabelGroupE + 181
11 GooglePlacePickerDemos 0x00000001069fdb77 _ZN7gmscore6vector12GLPointLabel14PrefetchGlyphsEv + 33
12 GooglePlacePickerDemos 0x0000000106a12143 _ZN7gmscore6vector16LabelingBehavior23CreatePendingOperationsERKNSt3__13setINS_4base10reffed_ptrINS0_7GLLabelEEENS2_4lessIS7_EENS2_9allocatorIS7_EEEESE_SE_NS0_13LabelDrawModeE + 1093
13 GooglePlacePickerDemos 0x0000000106a11b11 _ZN7gmscore6vector16LabelingBehavior14RunLabelingJobERKNS_4base10reffed_ptrINS1_11LabelingJobEEE + 357
14 GooglePlacePickerDemos 0x0000000106a1199e ___ZN7gmscore6vector16LabelingBehavior14CommitInternalEPNS_8renderer14EntityRendererE_block_invoke + 22
15 Foundation 0x000000010ae37ff8 __NSThreadPerformPerform + 334
16 CoreFoundation 0x000000010ba28ef1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17 CoreFoundation 0x000000010bac8011 __CFRunLoopDoSource0 + 81
18 CoreFoundation 0x000000010ba0d8e9 __CFRunLoopDoSources0 + 185
19 CoreFoundation 0x000000010ba0cecf __CFRunLoopRun + 1279
20 CoreFoundation 0x000000010ba0c759 CFRunLoopRunSpecific + 409
21 Foundation 0x000000010adf245e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
22 GooglePlacePickerDemos 0x0000000106a4feb9 -[GMSx_GTMSimpleWorkerThread main] + 337
23 Foundation 0x000000010adffedc __NSThread__start__ + 1197
24 libsystem_pthread.dylib 0x000000010cfeb93b _pthread_body + 180
25 libsystem_pthread.dylib 0x000000010cfeb887 _pthread_body + 0
26 libsystem_pthread.dylib 0x000000010cfeb08d thread_start + 13
2017-08-09 22:14:34.392200+0530 GooglePlacePickerDemos[31300:2413714] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 31300, TID: 2413714, Thread name: com.google.Maps.LabelingBehavior, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 GooglePlacePickerDemos 0x00000001069bbef4 GMSIsApplicationInBackground + 53
5 GooglePlacePickerDemos 0x0000000106a5a5ea -[GMSForegroundDispatchQueue initWithName:targetQueue:] + 237
6 GooglePlacePickerDemos 0x0000000106a271a2 _ZN7gmscore6vector4text8GlyphSetC2ERKNS_4base10reffed_ptrINS0_16TextureAtlasPoolEEEPU28objcproto17OS_dispatch_queue8NSObjectPK8__CTFontff + 344
7 GooglePlacePickerDemos 0x0000000106a1967a _ZN7gmscore6vector4text10GlyphCache11GetGlyphSetEPK8__CTFontf + 214
8 GooglePlacePickerDemos 0x0000000106a17dce _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEERKNSt3__16vectorItNS9_9allocatorItEEEEPK8__CTFontf + 22
9 GooglePlacePickerDemos 0x0000000106a17ed1 _ZN7gmscore6vector4text6GLText14PrefetchGlyphsERKNS_4base10reffed_ptrINS1_10GlyphCacheEEEPK8__CTLinebf + 207
10 GooglePlacePickerDemos 0x00000001069fdc4f _ZN7gmscore6vector12GLPointLabel22PrefetchGlyphsForGroupEPNS0_12GLLabelGroupE + 181
11 GooglePlacePickerDemos 0x00000001069fdb77 _ZN7gmscore6vector12GLPointLabel14PrefetchGlyphsEv + 33
12 GooglePlacePickerDemos 0x0000000106a12143 _ZN7gmscore6vector16LabelingBehavior23CreatePendingOperationsERKNSt3__13setINS_4base10reffed_ptrINS0_7GLLabelEEENS2_4lessIS7_EENS2_9allocatorIS7_EEEESE_SE_NS0_13LabelDrawModeE + 1093
13 GooglePlacePickerDemos 0x0000000106a11b11 _ZN7gmscore6vector16LabelingBehavior14RunLabelingJobERKNS_4base10reffed_ptrINS1_11LabelingJobEEE + 357
14 GooglePlacePickerDemos 0x0000000106a1199e ___ZN7gmscore6vector16LabelingBehavior14CommitInternalEPNS_8renderer14EntityRendererE_block_invoke + 22
15 Foundation 0x000000010ae37ff8 __NSThreadPerformPerform + 334
16 CoreFoundation 0x000000010ba28ef1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
17 CoreFoundation 0x000000010bac8011 __CFRunLoopDoSource0 + 81
18 CoreFoundation 0x000000010ba0d8e9 __CFRunLoopDoSources0 + 185
19 CoreFoundation 0x000000010ba0cecf __CFRunLoopRun + 1279
20 CoreFoundation 0x000000010ba0c759 CFRunLoopRunSpecific + 409
21 Foundation 0x000000010adf245e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
22 GooglePlacePickerDemos 0x0000000106a4feb9 -[GMSx_GTMSimpleWorkerThread main] + 337
23 Foundation 0x000000010adffedc __NSThread__start__ + 1197
24 libsystem_pthread.dylib 0x000000010cfeb93b _pthread_body + 180
25 libsystem_pthread.dylib 0x000000010cfeb887 _pthread_body + 0
26 libsystem_pthread.dylib 0x000000010cfeb08d thread_start + 13
hu...@cuva.eu <hu...@cuva.eu> #4
deleted
br...@google.com <br...@google.com> #5
Just wanted to add the this problem is still present in the GM version of Xcode 9
hu...@cuva.eu <hu...@cuva.eu> #6
We believe that this issue should be solved in the Maps iOS SDK v2.5 release. If this issue still occurs, please let us know.
br...@google.com <br...@google.com> #7
I can't commit to future timelines for feature releases. Sorry =)
sp...@gmail.com <sp...@gmail.com> #8
Really would love to see this resolved.
pu...@gmail.com <pu...@gmail.com> #9
We are eagerly waiting for this fix. Can you please give approximate date for next release.
pu...@gmail.com <pu...@gmail.com> #11
Thank you Dianaa. Any timeline on when you're planning to release new version of SDK with this fix?
pu...@gmail.com <pu...@gmail.com> #12
Dianaaa, is this issue fixed in latest Version 2.2 ? Please let us know we are waiting for this resolution.
br...@google.com <br...@google.com>
pu...@gmail.com <pu...@gmail.com> #13
Can someone please let me know when this issue is getting fixed and next version release date?
di...@google.com <di...@google.com>
ga...@google.com <ga...@google.com> #14
This should be fixed with the 2.3 release. It dropped iOS 7 support and thus allowed the use of the newer core data threading model which doesn't trigger the iOS 10 regression.
sa...@arrivy.com <sa...@arrivy.com> #15
Appearing again on OS version 17 as well.
Description
demonstration page if at all possible, or attach code.
1. Enable CoreData concurrency debugging: add `-com.apple.CoreData.ConcurrencyDebug 1` to Scheme arguments
2. Open a map view
3. The map begins to render then the app crashes with:
* thread #10: tid = 0x72c1c, 0x0000000108fd9124 CoreData`+[NSManagedObjectContext __Multithreading_Violation_AllThatIsLeftToUsIsHonor__] + 4, queue = 'SQLQueue 0x7fe39060a0f0 for Objects.sqlite', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
* frame #0: 0x0000000108fd9124 CoreData`+[NSManagedObjectContext __Multithreading_Violation_AllThatIsLeftToUsIsHonor__] + 4
frame #1: 0x0000000108fd9525 CoreData`_PFAssertSafeMultiThreadedAccess_impl + 645
frame #2: 0x0000000108f597a8 CoreData`-[NSManagedObjectContext objectRegisteredForID:] + 328
frame #3: 0x0000000109057d99 CoreData`-[NSSQLiteConnection updateRow:forRequestContext:] + 169
frame #4: 0x00000001090fdaab CoreData`_writeChangesForSaveRequest + 1579
frame #5: 0x00000001090ff433 CoreData`_executeSaveChangesRequest + 291
frame #6: 0x0000000108f8e9c6 CoreData`-[NSSQLSaveChangesRequestContext executeRequestUsingConnection:] + 38
frame #7: 0x00000001090a4eb7 CoreData`__52-[NSSQLDefaultConnectionManager handleStoreRequest:]_block_invoke + 215
frame #8: 0x000000010eaa50cd libdispatch.dylib`_dispatch_client_callout + 8
frame #9: 0x000000010ea8230a libdispatch.dylib`_dispatch_barrier_sync_f_invoke + 340
frame #10: 0x00000001090a4d8c CoreData`-[NSSQLDefaultConnectionManager handleStoreRequest:] + 236
frame #11: 0x00000001090ac61f CoreData`-[NSSQLCoreDispatchManager routeStoreRequest:] + 351
frame #12: 0x000000010902f7d9 CoreData`-[NSSQLCore dispatchRequest:withRetries:] + 233
frame #13: 0x000000010902a89f CoreData`-[NSSQLCore processSaveChanges:forContext:] + 191
frame #14: 0x0000000108f21e4d CoreData`-[NSSQLCore executeRequest:withContext:error:] + 909
frame #15: 0x00000001090155d9 CoreData`__65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke + 4169
frame #16: 0x000000010900d966 CoreData`-[NSPersistentStoreCoordinator _routeHeavyweightBlock:] + 390
frame #17: 0x0000000108f2187e CoreData`-[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 654
frame #18: 0x0000000108f4baba CoreData`-[NSManagedObjectContext save:] + 3658
frame #19: 0x00000001079f92b8 Wingtip`__72-[GMSObjectDataCache storeObjectNamesAndData:version:completionHandler:]_block_invoke + 400
frame #20: 0x000000010ea7b980 libdispatch.dylib`_dispatch_call_block_and_release + 12
frame #21: 0x000000010eaa50cd libdispatch.dylib`_dispatch_client_callout + 8
frame #22: 0x000000010ea82fb8 libdispatch.dylib`_dispatch_queue_serial_drain + 569
frame #23: 0x000000010ea83b9f libdispatch.dylib`_dispatch_queue_invoke + 1073
frame #24: 0x000000010ea8407f libdispatch.dylib`_dispatch_queue_override_invoke + 683
frame #25: 0x000000010ea863b7 libdispatch.dylib`_dispatch_root_queue_drain + 720
frame #26: 0x000000010ea8608b libdispatch.dylib`_dispatch_worker_thread3 + 123
frame #27: 0x000000010ee54746 libsystem_pthread.dylib`_pthread_wqthread + 1299
frame #28: 0x000000010ee54221 libsystem_pthread.dylib`start_wqthread + 13
It looks like [GMSObjectDataCache storeObjectNamesAndData:version:completionHandler:] is accessing an NSManagedObjectContext from an incorrect thread.
Operating system version: iOS 10.0
Google Maps SDK for iOS version: 2.1.0
Hardware model: iOS Simulator iPhone 7
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************