Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes in Carto v4.4.7 #550

Open
safe-bug opened this issue Aug 11, 2024 · 0 comments
Open

Crashes in Carto v4.4.7 #550

safe-bug opened this issue Aug 11, 2024 · 0 comments

Comments

@safe-bug
Copy link

safe-bug commented Aug 11, 2024

Hello

I'm using Carto v4.4.7 for my application and I see lots of crashes in Google Play Console about GLTileRenderer. @mtehver and @farfromrefug do you have any idea what are these crashes about?

I translated the crash dumps using this wiki note.

Thanks

********** Crash dump: **********
#00 0x00000000003f6860 /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/lib/arm64/libcarto_mobile_sdk.so (BuildId: 4a4a7b2a80000000000000000000000000000000)
std::__ndk1::__shared_count::__release_shared()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:3506:9
std::__ndk1::__shared_weak_count::__release_shared()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:3548:27
std::__ndk1::shared_ptr<carto::vt::Bitmap const>::~shared_ptr()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:4248:19
std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >::~pair()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/utility:297:29
void std::__ndk1::allocator_traits<std::__ndk1::allocator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >, void*> > >::__destroy<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > >(std::__ndk1::integral_constant<bool, false>, std::__ndk1::allocator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >, void*> >&, std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >*)
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:1821:23
void std::__ndk1::allocator_traits<std::__ndk1::allocator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >, void*> > >::destroy<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > >(std::__ndk1::allocator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >, void*> >&, std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >*)
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:1640:14
std::__ndk1::__hash_table<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::mvt::FeatureData const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const> > > >, std::__ndk1::__unordered_map_hasher<std::__ndk1::shared_ptr<carto::mvt::FeatureData const>, std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::mvt::FeatureData const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const> > > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::mvt::FeatureData const> >, true>, std::__ndk1::__unordered_map_equal<std::__ndk1::shared_ptr<carto::mvt::FeatureData const>, std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::mvt::FeatureData const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const> > > >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::mvt::FeatureData const> >, true>, std::__ndk1::allocator<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::mvt::FeatureData const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const> > > > > >::__deallocate_node(std::__ndk1::__hash_node_base<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::mvt::FeatureData const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::mvt::Symbolizer const> > > >, void*>*>*)
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__hash_table:1602:9
#01 0x00000000003f678c /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/lib/arm64/libcarto_mobile_sdk.so (BuildId: 4a4a7b2a80000000000000000000000000000000)
std::__ndk1::__hash_table<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >, std::__ndk1::__unordered_map_hasher<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, true>, std::__ndk1::__unordered_map_equal<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, true>, std::__ndk1::allocator<std::__ndk1::__hash_value_type<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > >::~__hash_table()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__hash_table:1541:5
std::__ndk1::unordered_map<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > >::~unordered_map()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/unordered_map:970:5
std::__ndk1::__shared_ptr_emplace<std::__ndk1::unordered_map<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > >, std::__ndk1::allocator<std::__ndk1::unordered_map<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > > > >::__on_zero_shared()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:3668:23
#02 0x00000000002d5edc /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/lib/arm64/libcarto_mobile_sdk.so (BuildId: 4a4a7b2a80000000000000000000000000000000)
std::__ndk1::__shared_count::__release_shared()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:3506:9
std::__ndk1::__shared_weak_count::__release_shared()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:3548:27
std::__ndk1::shared_ptr<std::__ndk1::unordered_map<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > > >::~shared_ptr()
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:4248:19
std::__ndk1::shared_ptr<std::__ndk1::unordered_map<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > > >::operator=(std::__ndk1::shared_ptr<std::__ndk1::unordered_map<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > > > const&)
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:4256:5
std::__ndk1::array<std::__ndk1::shared_ptr<std::__ndk1::unordered_map<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > > >, 2ul>::operator=(std::__ndk1::array<std::__ndk1::shared_ptr<std::__ndk1::unordered_map<std::__ndk1::shared_ptr<carto::vt::Bitmap const>, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > >, std::__ndk1::hash<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::equal_to<std::__ndk1::shared_ptr<carto::vt::Bitmap const> >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::shared_ptr<carto::vt::Bitmap const> const, std::__ndk1::vector<std::__ndk1::shared_ptr<carto::vt::Label>, std::__ndk1::allocator<std::__ndk1::shared_ptr<carto::vt::Label> > > > > > >, 2ul> const&)
Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/array:127:29
carto::vt::GLTileRenderer::startFrame(float)
StudioProjects/carto/mapengine/libs-carto/vt/src/vt/GLTileRenderer.cpp:262:32
carto::TileRenderer::onDrawFrame(float, carto::ViewState const&)
StudioProjects/carto/mapengine/all/native/renderers/TileRenderer.cpp:153:37
#03 0x00000000002adf0c /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/lib/arm64/libcarto_mobile_sdk.so (BuildId: 4a4a7b2a80000000000000000000000000000000)
carto::VectorTileLayer::onDrawFrame(float, carto::BillboardSorter&, carto::ViewState const&)
StudioProjects/carto/mapengine/all/native/layers/VectorTileLayer.cpp:490:43
#04 0x00000000002cd5b4 /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/lib/arm64/libcarto_mobile_sdk.so (BuildId: 4a4a7b2a80000000000000000000000000000000)
carto::MapRenderer::drawLayers(float, carto::ViewState const&)
StudioProjects/carto/mapengine/all/native/renderers/MapRenderer.cpp:845:33
carto::MapRenderer::onDrawFrame()
StudioProjects/carto/mapengine/all/native/renderers/MapRenderer.cpp:594:9
#05 0x00000000001c1204 /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/oat/arm64/base.odex (art_jni_trampoline+180)
#06 0x000000000030b164 /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/oat/arm64/base.odex (com.carto.ui.BaseMapView.onDrawFrame+52)
#07 0x00000000003f1004 /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/oat/arm64/base.odex (com.carto.ui.MapView.onDrawFrame+84)
#08 0x00000000007e3f98 /data/app/~~af6fBck6O3OdEWLU8nWv2A==/navigator-yL9snc-cFdReDnPvJUExtw==/oat/arm64/base.odex (MapView.onDrawFrame+72)
#09 0x000000000063e0ec /system/framework/arm64/boot-framework.oat (android.opengl.GLSurfaceView$GLThread.guardedRun+6492)
#10 0x000000000063e954 /system/framework/arm64/boot-framework.oat (android.opengl.GLSurfaceView$GLThread.run+436)
#11 0x0000000000134564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
#12 0x00000000001aa7e8 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#13 0x0000000000560604 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460)
#14 0x00000000005b071c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1308)
#15 0x00000000000ec7b8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#16 0x000000000008c050 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant