googlemaps-samples / googlemaps-samples/maps-sdk-for-ios-samples

gmscore::vector::MetalIconTextureCache::AtlasForRenderScaleCreatingIfNeeded(float)

Open
#168 2 comments 0 reactions 1 assignee View on GitHub

@amuramoto is already working on this.

Since Mar 10, 2023.

triage me type: bug
Dominant language
Objective-C
Stars
353
Forks
201
PR merge metrics
No merged PRs in 30d

Description

Thanks for stopping by to let us know something could be better!

We found this crash using Firebase Crashlytics, which your company provides. At this point, we don't know the cause, but we've found that this bug doesn't occur in an older version that has the same Firebase SDK installed. Therefore, we believe that the cause of this crash is in the app itself. Would it be possible to determine the cause by looking at the log of this "stack trace" that we're currently providing? Alternatively, could you please provide us with some possible causes of the crash, even if they're general? Thank you and we look forward to your response

Environment details

iOS 16.2.0
iPhone 8
Google map SDK for iOS version: 7.2.0

Steps to reproduce

see the stack trace
I do not have any other information besides that

Code example

see the stack trace
I do not have any other information besides that

Stack trace
Crashed: com.apple.root.utility-qos
0  MyApp                     0xfdaef0 std::__1::unordered_map<float, std::__1::unique_ptr<gmscore::vector::MetalMutableTextureAtlas, std::__1::default_delete<gmscore::vector::MetalMutableTextureAtlas> >, std::__1::hash<float>, std::__1::equal_to<float>, std::__1::allocator<std::__1::pair<float const, std::__1::unique_ptr<gmscore::vector::MetalMutableTextureAtlas, std::__1::default_delete<gmscore::vector::MetalMutableTextureAtlas> > > > >::operator[](float const&) + 581604
1  MyApp                     0xfdaa44 gmscore::vector::MetalIconTextureCache::AtlasForRenderScaleCreatingIfNeeded(float) + 580408
2  MyApp                     0xfdae14 gmscore::vector::MetalIconTextureCache::AddElementForKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, float, CGImage*, bool, float) + 581384
3  MyApp                     0xfdb6bc gmscore::vector::MetalIconTextureCache::InternalAddIconImageForKey(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, float, UIImage*, GMSModelStyleIcon*, bool, float) + 583600
4  MyApp                     0xfdc730 invocation function for block in gmscore::vector::MetalIconTextureCache::FetchIconLayers(GMSModelStyleIcon*, bool, float, float, GMSServerResourceManager*, GMSx_absl::flat_hash_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, GMSx_absl::container_internal::StringHash, GMSx_absl::container_internal::StringEq, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*, void (GMSServerResource*) block_pointer) + 587812
5  libdispatch.dylib              0x63850 _dispatch_call_block_and_release + 24
6  libdispatch.dylib              0x647c8 _dispatch_client_callout + 16
7  libdispatch.dylib              0x48e68 _dispatch_root_queue_drain + 616
8  libdispatch.dylib              0x49514 _dispatch_worker_thread2 + 160
9  libsystem_pthread.dylib        0x1b14 _pthread_wqthread + 224
10 libsystem_pthread.dylib        0x167c start_wqthread + 8

Following these steps will guarantee the quickest resolution possible.

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.