I initialize the mapView following the line:
MKMapView *mapView = [[MKMapView alloc] init];
and never crash when debugging, but it has occured some times for my users.
Here is the stack frame
FATAL_SIGNAL SIGSEGV fault_address:0x0000000000000000
Thread 0 name: com.apple.main-thread
0 VectorKit std::__1::__hash_table<std::__1::__hash_value_type<std::__1::shared_ptr<md::LabelImageKey>,std::__1::__list_iterator<md::LabelImageLoader::CachedItem, void*> >,std::__1::__unordered_map_hasher<std::__1::shared_ptr<md::LabelImageKey>,std::__1::__hash_value_type<std::__1::shared_ptr<md::LabelImageKey>,std::__1::__list_iterator<md::LabelImageLoader::CachedItem, void*> >,md::LabelImageLoader::LabelImageCacheHash, true>, std::__1::__unordered_map_equal<std::__1::shared_ptr<md::LabelImageKey>,std::__1::__hash_value_type<std::__1::shared_ptr<md::LabelImageKey>, std::__1::__list_iterator<md::LabelImageLoader::CachedItem, void*> >, md::LabelImageLoader::LabelImageCacheEq, true>,geo::StdAllocator<std::__1::__hash_value_type<std::__1::shared_ptr<md::LabelImageKey>,std::__1::__list_iterator<md::LabelImageLoader::CachedItem, void*> >,mdm::Allocator> >::__rehash(unsigned long) (in VectorKit)
1 VectorKit md::LabelImageLoader::LabelImageLoader(md::LabelManager&) (in VectorKit)
2 VectorKit
md::LabelManager::LabelManager(md::WorldType, VKMapPurpose, VKSharedResources*, std::__1::shared_ptr<md::TaskContext>, ggl::RenderTargetFormat const&, float) (in VectorKit)
3 VectorKit std::__1::__shared_ptr_emplace<md::LabelManager, std::__1::allocator<md::LabelManager>>::__shared_ptr_emplace<md::WorldType, VKMapPurpose&,VKSharedResources*&,std::__1::shared_ptr<md::TaskContext>&, ggl::RenderTargetFormatconst&,float&>(md::WorldType&&, VKMapPurpose&, VKSharedResources*&,std::__1::shared_ptr<md::TaskContext>&, ggl::RenderTargetFormat const&, float&) (in VectorKit)
4 VectorKit md::LabelsLogic::LabelsLogic(float,VKMapPurpose, VKSharedResources*, objc_objectobjcproto14MDRenderTarget*,std::__1::shared_ptr<md::TaskContext>) (in VectorKit)
5 VectorKit md::MapEngine::MapEngine(float, float, float, bool, std::__1::shared_ptr<md::TaskContext> const&,VKMapPurpose,std::__1::unique_ptr<md::AnimationManager, std::__1::default_delete<md::AnimationManager> >,geo::linear_map<md::MapEngineSetting, long long,std::__1::equal_to<md::MapEngineSetting>,std::__1::allocator<std::__1::pair<md::MapEngineSetting, long long> >,std::__1::vector<std::__1::pair<md::MapEngineSetting, long long>,std::__1::allocator<std::__1::pair<md::MapEngineSetting, long long> > > > const&, unsigned long long,GEOApplicationAuditToken*) (in VectorKit)
6 VectorKit md::MapEngine::interactiveMapEngine(float, bool, geo::linear_map<md::MapEngineSetting, long long,std::__1::equal_to<md::MapEngineSetting>,std::__1::allocator<std::__1::pair<md::MapEngineSetting, long long> >,std::__1::vector<std::__1::pair<md::MapEngineSetting, long long>,std::__1::allocator<std::__1::pair<md::MapEngineSetting, long long> > > > const&, unsigned long long,GEOApplicationAuditToken*) (in VectorKit)
7 VectorKit -[VKMapView initShouldRasterize:inBackground:contentScale:auditToken:] (in VectorKit)
8 MapKit -[MKBasicMapView initWithFrame:andGlobe:shouldRasterize:] (in MapKit)
9 MapKit -[MKMapView _commonInitFromIB:gestureRecognizerHostView:locationManager:showsAttribution:showsAppleLogo:] (in MapKit)
10 MapKit -[MKMapView initWithFrame:] (in MapKit)
Thanks for answer.