Post

Replies

Boosts

Views

Activity

MKMapView crashes in iOS 17.1 and later
I'm experiencing crashes in our Application when displaying an MKMapView. The crash seems to be happening at a pretty low level and it's difficult to diagnose what the issue is. It's only happening on devices running iOS 17.1 or later, not happening in the simulator. All we are doing in the code is initializing and MKMapView and adding to a ViewController view, causes the crash. Our App has been around for a while and was working prior to the roll out of iOS 17.1. Replaced the App name in the crash report for privacy. My analysis is that in thread 35 you can see GeoServices and VectorKit libraries being called, VectorKit appears to trying to be calling string length on an null string. Crash Report crasher.txt Crashing thread from report Thread 35 name: Thread 35 Crashed: 0 libsystem_platform.dylib 0x000000021d94f244 _platform_strlen + 4 (:-1) 1 VectorKit 0x00000001d06aafcc std::__1::__constexpr_strlen[abi:v160006](char const*) + 28 2 VectorKit 0x00000001d06a5f58 std::__1::char_traits::length(char const*) + 28 3 VectorKit 0x00000001d06aae70 std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>::basic_string[abi:v160006]std::nullptr_t(char const*) + 60 4 VectorKit 0x00000001d0aaa1c8 invocation function for block in md::TiledGEOResourceFetcher::fetchResources(std::__1::unordered_map<gdc::ResourceKey, unsigned long long, gdc::ResourceKeyHash, std::__1::equal_togdc::ResourceKey... + 1364 (MDTiledGEOResourceFetcher.mm:290) 5 GeoServices 0x00000001ba77f9b0 __143-[GEOTileLoader loadKey:additionalInfo:priority:forClient:auditToken:options:reason:qos:signpostID:createTime:callbackQ:beginNetwork:callback:]_block_invoke + 276 (GEOTileLoader.mm:1066) 6 GeoServices 0x00000001ba78b8b4 invocation function for block in -[GEOTileLoader _loadedTileForLocalKey:preliminary:quickly:tileDecoder:data:disburseTile:]::$_7::operator()(LoadItem::Requester const&) const + 96 (GEOTileLoader.mm:2167) 7 libdispatch.dylib 0x00000001bbf6c250 _dispatch_block_async_invoke2 + 148 (queue.c:555) 8 libdispatch.dylib 0x00000001bbf5d300 _dispatch_client_callout + 20 (object.m:561) 9 libdispatch.dylib 0x00000001bbf607b8 _dispatch_continuation_pop + 600 (queue.c:306) 10 libdispatch.dylib 0x00000001bbf5fdd4 _dispatch_async_redirect_invoke + 584 (queue.c:830) 11 libdispatch.dylib 0x00000001bbf6ebe4 _dispatch_root_queue_drain + 392 (queue.c:7051) 12 libdispatch.dylib 0x00000001bbf6f3ec _dispatch_worker_thread2 + 156 (queue.c:7119) 13 libsystem_pthread.dylib 0x000000021d9f9928 _pthread_wqthread + 228 (pthread.c:2642) 14 libsystem_pthread.dylib 0x000000021d9f9a04 start_wqthread + 8 (:-1)
3
0
602
Dec ’23