3

日志是从 Crashlytics 粘贴的。崩溃经常发生,对许多用户来说,据我所知,它与设备/iOS 版本无关。我在我的代码中找不到任何错误,这似乎是纯粹的库问题。是谷歌地图 API 错误吗?我可以做些什么来修复它,或者我应该在 Google API 页面上填写一些错误报告..?

崩溃日志:

Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000001


libGPUSupportMercury.dylib  
gpus_ReturnNotPermittedKillClient + 9

libGPUSupportMercury.dylib  
gldCreateContext

GLEngine    
gliCreateContextWithShared

OpenGLES    
-[EAGLContext initWithAPI:properties:] + 524

OpenGLES    
-[EAGLContext initWithAPI:sharedWithCompute:] + 142

!MYAPP! 
-[GMSIOSGLContext initWithAPI:]

!MYAPP! 
gmscore::renderer::GMSIOSGLContextPool::GMSIOSGLContextPool()

!MYAPP! 
___ZN7gmscore8renderer13GLContextPool16GetGLContextPoolEv_block_invoke

libdispatch.dylib   
_dispatch_client_callout + 22

libdispatch.dylib   
dispatch_once_f + 46

!MYAPP! 
gmscore::renderer::GLContextPool::GetGLContextPool()

!MYAPP! 
gmscore::renderer::GLScopedContextFromPool::GLScopedContextFromPool()

!MYAPP! 
-[GMSVectorMapSharedResourceCache init]

!MYAPP!     
__43-[GMSAsyncInitServices sharedInitWithSync:]_block_invoke

!MYAPP!     
-[GMSAsyncInitServices sharedInitWithSync:]

!MYAPP!     
-[GMSAsyncInitServices initSync]

!MYAPP!     
+[GMSServices sharedServicesSync]

!MYAPP!     
-[GMSGeocoder initWithConnection:]

!MYAPP!     
+[GMSGeocoder geocoder]

!MYAPP!     
AClass.m line 64
-[AClass doSomething:]

其中 aClass doSomething 还像:

- (void)doSomething {
    [[GMSGeocoder geocoder] reverseGeocodeCoordinate:CLLocationCoordinate2DMake(_latitude, _longitude) 
                                   completionHandler:^(GMSReverseGeocodeResponse* response, NSError* error) {
    }
}
4

0 回答 0