mapbox / mapbox-gl-native-android

Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
218 stars 116 forks source link

Memory usage problem with mapbox sdk #168

Open siavashabdoli opened 4 years ago

siavashabdoli commented 4 years ago

After updating our dependencies from 7.3.2 to 8.5.2 (we're using NavigationSDK) the number of memory crashes has been increased in our production version. We do use our styles and our API for every part. I checked memory usages with android profiler but I can't find any leak or other java related problems in our code. in some cases I saw java got like 50MB of memory especially in old devices and that seems related to performance of GC but as I can see in newer devices at most java got like 30 MB. the whole app consuming 300 MB of memory approximately. I can't find any OutOfMemoryException for java in fabric. So the problem is happening because of something like:

  1. Our style implementation
  2. The sdk now need more memory!
  3. We do not use the sdk properly or in memory efficient way!

How I can find the root of our problem? Here is 3 Stacktrace ordered by number of crashes:

image

Crashed: Thread 0 libc.so 0xe7fa5fce (Missing) 1 libc.so 0xe7fe6707 (Missing) 2 libmapbox-gl.so 0xc9c1c703 mbgl::RenderBackgroundLayer::evaluate(mbgl::PropertyEvaluationParameters const&) + 45 (render_background_layer.cpp:45) 3 libc.so 0xe7fa6501 (Missing) 4 libmapbox-gl.so 0xc9ba99c3 mbgl::SymbolInstance::SymbolInstance(mbgl::SymbolInstance&&) + 52 (symbol_instance.hpp:52) 5 libmapbox-gl.so 0xc9ba9ae1 std::experimental::optional<unsigned int>::optional(std::experimental::optional<unsigned int>&&) + 426 (optional.hpp:426) 6 libmapbox-gl.so 0xc9c1c75e mbgl::RenderBackgroundLayer::evaluate(mbgl::PropertyEvaluationParameters const&) + 48 (render_background_layer.cpp:48) 7 libmapbox-gl.so 0xc9ba7b87 std::__ndk1::vector<mbgl::SymbolQuad, std::__ndk1::allocator<mbgl::SymbolQuad> >::__annotate_delete() const + 874 (vector:874) 8 libmapbox-gl.so 0xc9bb1d53 void std::__ndk1::vector<mbgl::gfx::detail::VertexType<mbgl::gfx::AttributeType<unsigned char, 2u>, mbgl::gfx::AttributeType<float, 2u> >, std::__ndk1::allocator<mbgl::gfx::detail::VertexType<mbgl::gfx::AttributeType<unsigned char, 2u>, mbgl::gfx::AttributeType<float, 2u> > > >::__emplace_back_slow_path<mbgl::gfx::detail::VertexType<mbgl::gfx::AttributeType<unsigned char, 2u>, mbgl::gfx::AttributeType<float, 2u> >&>(mbgl::gfx::detail::VertexType<mbgl::gfx::AttributeType<unsigned char, 2u>, mbgl::gfx::AttributeType<float, 2u> >&) + 1668 (vector:1668) 9 libmapbox-gl.so 0xc9bb1d53 void std::__ndk1::vector<mbgl::gfx::detail::VertexType<mbgl::gfx::AttributeType<unsigned char, 2u>, mbgl::gfx::AttributeType<float, 2u> >, std::__ndk1::allocator<mbgl::gfx::detail::VertexType<mbgl::gfx::AttributeType<unsigned char, 2u>, mbgl::gfx::AttributeType<float, 2u> > > >::__emplace_back_slow_path<mbgl::gfx::detail::VertexType<mbgl::gfx::AttributeType<unsigned char, 2u>, mbgl::gfx::AttributeType<float, 2u> >&>(mbgl::gfx::detail::VertexType<mbgl::gfx::AttributeType<unsigned char, 2u>, mbgl::gfx::AttributeType<float, 2u> >&) + 1668 (vector:1668) 10 (Missing) 0x12f980be (Missing) 11 (Missing) 0x14b0529e (Missing) 12 (Missing) 0xcc558ce5 (Missing) 13 libart.so 0xe7516f75 (Missing) 14 boot.oat 0x70a8ac4e (Missing) 15 libc.so 0xe7fde7a0 (Missing) 16 libutils.so 0xea0560eb (Missing) 17 boot-framework.oat 0x724ec193 (Missing) 18 (Missing) 0x1363e786 (Missing) 19 boot-framework.oat 0x724f297f (Missing) 20 (Missing) 0x13544f3e (Missing) 21 (Missing) 0x13544ace (Missing) 22 (Missing) 0x135451ee (Missing) 23 (Missing) 0x74e8377e (Missing) 24 (Missing) 0x1317e8fe (Missing) 25 (Missing) 0x13545226 (Missing) 26 (Missing) 0x12d7fffe (Missing) 27 (Missing) 0x13978216 (Missing) 28 (Missing) 0x74fe43a6 (Missing) 29 (Missing) 0x13978216 (Missing) 30 libart.so 0xe74dd4d7 (Missing) 31 (Missing) 0x6fca110e (Missing) 32 (Missing) 0x13978216 (Missing) 33 (Missing) 0x6fca110e (Missing) 34 (Missing) 0x74fe43a6 (Missing) 35 boot.oat 0x708ba155 (Missing) 36 (Missing) 0x6f8d3196 (Missing) 37 (Missing) 0x13978216 (Missing) 38 libutils.so 0xea055ff5 (Missing) 39 libandroid_runtime.so 0xe8ced2ef (Missing) 40 (Missing) 0x6ff646f6 (Missing) 41 (Missing) 0x12d7fffe (Missing) 42 boot-framework.oat 0x71df4ccd (Missing) 43 (Missing) 0x12d7fffe (Missing) 44 boot-framework.oat 0x71dea5b9 (Missing) 45 (Missing) 0x7042195e (Missing) 46 (Missing) 0x12d7fffe (Missing) 47 (Missing) 0x12d7fffe (Missing) 48 boot-framework.oat 0x723754a5 (Missing) 49 (Missing) 0x70421b3a (Missing) 50 (Missing) 0x12d7fffe (Missing) 51 (Missing) 0x6fe17076 (Missing) 52 (Missing) 0x6fcc63d6 (Missing) 53 (Missing) 0x6ff6df76 (Missing) 54 (Missing) 0x6ff646f6 (Missing) 55 (Missing) 0x13b01306 (Missing) 56 (Missing) 0x703c60fe (Missing) 57 (Missing) 0x6fbb9226 (Missing) 58 (Missing) 0x12d8005e (Missing) 59 boot-framework.oat 0x7237321d (Missing) 60 (Missing) 0x70330b0e (Missing) 61 (Missing) 0x12d7fffe (Missing) 62 (Missing) 0x6ff42ea6 (Missing) 63 (Missing) 0x7042efa6 (Missing) 64 (Missing) 0x7042fa0a (Missing)

next one : image

Crashed: Thread 0 libc.so 0x79958a3f6c (Missing) 1 libc.so 0x79958a3f40 (Missing) 2 libmapbox-gl.so 0x78f7806390 void std::__ndk1::allocator_traits<std::__ndk1::allocator<std::__ndk1::__tree_node<std::__ndk1::__value_type<mbgl::UnwrappedTileID, std::__ndk1::reference_wrapper<mbgl::Tile> >, void*> > >::construct<std::__ndk1::pair<mbgl::UnwrappedTileID const, std::__ndk1::reference_wrapper<mbgl::Tile> >, mbgl::UnwrappedTileID&, std::__ndk1::reference_wrapper<mbgl::Tile>&>(std::__ndk1::allocator<std::__ndk1::__tree_node<std::__ndk1::__value_type<mbgl::UnwrappedTileID, std::__ndk1::reference_wrapper<mbgl::Tile> >, void*> >&, std::__ndk1::pair<mbgl::UnwrappedTileID const, std::__ndk1::reference_wrapper<mbgl::Tile> >*, mbgl::UnwrappedTileID&, std::__ndk1::reference_wrapper<mbgl::Tile>&) + 1561 (memory:1561) 3 libmapbox-gl.so 0x78f7806500 std::__ndk1::__compressed_pair<std::__ndk1::__tree_node<std::__ndk1::__value_type<mbgl::UnwrappedTileID, std::__ndk1::reference_wrapper<mbgl::Tile> >, void*>*, std::__ndk1::__tree_node_destructor<std::__ndk1::allocator<std::__ndk1::__tree_node<std::__ndk1::__value_type<mbgl::UnwrappedTileID, std::__ndk1::reference_wrapper<mbgl::Tile> >, void*> > > >::__compressed_pair<std::__ndk1::__tree_node<std::__ndk1::__value_type<mbgl::UnwrappedTileID, std::__ndk1::reference_wrapper<mbgl::Tile> >, void*>*&, std::__ndk1::__tree_node_destructor<std::__ndk1::allocator<std::__ndk1::__tree_node<std::__ndk1::__value_type<mbgl::UnwrappedTileID, std::__ndk1::reference_wrapper<mbgl::Tile> >, void*> > > >(std::__ndk1::__tree_node<std::__ndk1::__value_type<mbgl::UnwrappedTileID, std::__ndk1::reference_wrapper<mbgl::Tile> >, void*>*&, std::__ndk1::__tree_node_destructor<std::__ndk1::allocator<std::__ndk1::__tree_node<std::__ndk1::__value_type<mbgl::UnwrappedTileID, std::__ndk1::reference_wrapper<mbgl::Tile> >, void*> > >&&) + 2251 (memory:2251) 4 libmapbox-gl.so 0x78f7803988 std::__ndk1::__hash_table<mbgl::OverscaledTileID, std::__ndk1::hash<mbgl::OverscaledTileID>, std::__ndk1::equal_to<mbgl::OverscaledTileID>, std::__ndk1::allocator<mbgl::OverscaledTileID> >::__node_alloc() + 983 (__hash_table:983) 5 libmapbox-gl.so 0x78f780308c std::__ndk1::pair<std::__ndk1::__hash_iterator<std::__ndk1::__hash_node<mbgl::OverscaledTileID, void*>*>, bool> std::__ndk1::__hash_table<mbgl::OverscaledTileID, std::__ndk1::hash<mbgl::OverscaledTileID>, std::__ndk1::equal_to<mbgl::OverscaledTileID>, std::__ndk1::allocator<mbgl::OverscaledTileID> >::__emplace_unique_key_args<mbgl::OverscaledTileID, mbgl::OverscaledTileID const&>(mbgl::OverscaledTileID const&, mbgl::OverscaledTileID const&) + 2116 (__hash_table:2116) 6 libmapbox-gl.so 0x78f780300c std::__ndk1::pair<std::__ndk1::__hash_iterator<std::__ndk1::__hash_node<mbgl::OverscaledTileID, void*>*>, bool> std::__ndk1::__hash_table<mbgl::OverscaledTileID, std::__ndk1::hash<mbgl::OverscaledTileID>, std::__ndk1::equal_to<mbgl::OverscaledTileID>, std::__ndk1::allocator<mbgl::OverscaledTileID> >::__emplace_unique_key_args<mbgl::OverscaledTileID, mbgl::OverscaledTileID const&>(mbgl::OverscaledTileID const&, mbgl::OverscaledTileID const&) + 2112 (__hash_table:2112) 7 libmapbox-gl.so 0x78f7580324 mbgl::OfflineDatabase::getTile(mbgl::Resource::TileData const&) + 498 (offline_database.cpp:498) 8 libmapbox-gl.so 0x78f75726c4 void rapidjson::GenericReader<rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator>::ParseNumber<0u, rapidjson::GenericStringStream<rapidjson::UTF8<char> >, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::CrtAllocator, rapidjson::CrtAllocator> >(rapidjson::GenericStringStream<rapidjson::UTF8<char> >&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::CrtAllocator, rapidjson::CrtAllocator>&) + 1486 (reader.h:1486) 9 libmapbox-gl.so 0x78f7573c24 rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::CrtAllocator>* rapidjson::internal::Stack<rapidjson::CrtAllocator>::PushUnsafe<rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::CrtAllocator> >(unsigned long) + 131 (stack.h:131) 10 libmapbox-gl.so 0x78f759d840 std::__ndk1::__compressed_pair<std::__ndk1::__function::__func<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response), std::__ndk1::allocator<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response)>, void (mbgl::Response)>*, std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__function::__func<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response), std::__ndk1::allocator<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response)>, void (mbgl::Response)> > > >::__compressed_pair<std::__ndk1::__function::__func<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response), std::__ndk1::allocator<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response)>, void (mbgl::Response)>*&, std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__function::__func<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response), std::__ndk1::allocator<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response)>, void (mbgl::Response)> > > >(std::__ndk1::__function::__func<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response), std::__ndk1::allocator<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response)>, void (mbgl::Response)>*&, std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__function::__func<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response), std::__ndk1::allocator<mbgl::OfflineDownload::activateDownload()::$_4::operator()(mbgl::Response) const::'lambda'(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short)::operator()(mapbox::util::variant<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, mbgl::Tileset> const&, unsigned short) const::'lambda'(mbgl::Response)>, void (mbgl::Response)> > >&&) + 2251 (memory:2251) 11 libmapbox-gl.so 0x78f759d0b0 std::__ndk1::enable_if<_CheckArrayPointerConversion<std::__ndk1::__hash_node_base<std::__ndk1::__hash_node<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, void*>*>**>::value, void>::type std::__ndk1::unique_ptr<std::__ndk1::__hash_node_base<std::__ndk1::__hash_node<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, void*>*>* [], std::__ndk1::__bucket_list_deallocator<std::__ndk1::allocator<std::__ndk1::__hash_node_base<std::__ndk1::__hash_node<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, void*>*>*> > >::reset<std::__ndk1::__hash_node_base<std::__ndk1::__hash_node<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, void*>*>**>(std::__ndk1::__hash_node_base<std::__ndk1::__hash_node<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, void*>*>**) + 2932 (memory:2932) 12 libmapbox-gl.so 0x78f7428ee4 std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__shared_ptr_emplace<jni::Unique<jni::Object<mbgl::android::OfflineManager::MergeOfflineRegionsCallback>, jni::EnvAttachingDeleter<&(_JNIEnv::DeleteGlobalRef(_jobject*))> >, std::__ndk1::allocator<jni::Unique<jni::Object<mbgl::android::OfflineManager::MergeOfflineRegionsCallback>, jni::EnvAttachingDeleter<&(_JNIEnv::DeleteGlobalRef(_jobject*))> > > > > >&& std::__ndk1::forward<std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__shared_ptr_emplace<jni::Unique<jni::Object<mbgl::android::OfflineManager::MergeOfflineRegionsCallback>, jni::EnvAttachingDeleter<&(_JNIEnv::DeleteGlobalRef(_jobject*))> >, std::__ndk1::allocator<jni::Unique<jni::Object<mbgl::android::OfflineManager::MergeOfflineRegionsCallback>, jni::EnvAttachingDeleter<&(_JNIEnv::DeleteGlobalRef(_jobject*))> > > > > > >(std::__ndk1::remove_reference<std::__ndk1::__allocator_destructor<std::__ndk1::allocator<std::__ndk1::__shared_ptr_emplace<jni::Unique<jni::Object<mbgl::android::OfflineManager::MergeOfflineRegionsCallback>, jni::EnvAttachingDeleter<&(_JNIEnv::DeleteGlobalRef(_jobject*))> >, std::__ndk1::allocator<jni::Unique<jni::Object<mbgl::android::OfflineManager::MergeOfflineRegionsCallback>, jni::EnvAttachingDeleter<&(_JNIEnv::DeleteGlobalRef(_jobject*))> > > > > > >::type&) + 2312 (type_traits:2312) 13 libmapbox-gl.so 0x78f756061c std::__ndk1::__unique_if<mbgl::MessageImpl<mbgl::DefaultFileSource::Impl, void (mbgl::DefaultFileSource::Impl::*)(long, std::__ndk1::function<void (nonstd::expected<mbgl::OfflineRegionStatus, std::exception_ptr>)>), std::__ndk1::tuple<long, std::__ndk1::function<void (nonstd::expected<mbgl::OfflineRegionStatus, std::exception_ptr>)> > > >::__unique_single std::__ndk1::make_unique<mbgl::MessageImpl<mbgl::DefaultFileSource::Impl, void (mbgl::DefaultFileSource::Impl::*)(long, std::__ndk1::function<void (nonstd::expected<mbgl::OfflineRegionStatus, std::exception_ptr>)>), std::__ndk1::tuple<long, std::__ndk1::function<void (nonstd::expected<mbgl::OfflineRegionStatus, std::exception_ptr>)> > >, mbgl::DefaultFileSource::Impl&, void (mbgl::DefaultFileSource::Impl::*&)(long, std::__ndk1::function<void (nonstd::expected<mbgl::OfflineRegionStatus, std::exception_ptr>)>), std::__ndk1::tuple<long, std::__ndk1::function<void (nonstd::expected<mbgl::OfflineRegionStatus, std::exception_ptr>)> > >(mbgl::DefaultFileSource::Impl&, void (mbgl::DefaultFileSource::Impl::*&)(long, std::__ndk1::function<void (nonstd::expected<mbgl::OfflineRegionStatus, std::exception_ptr>)>), std::__ndk1::tuple<long, std::__ndk1::function<void (nonstd::expected<mbgl::OfflineRegionStatus, std::exception_ptr>)> >&&) + 3131 (memory:3131) 14 libc.so 0x79959056c8 (Missing) 15 (Missing) 0x9bf142b8 (Missing) 16 (Missing) 0x9bf14230 (Missing) 17 libart.so 0x79144844c8 (Missing) 18 libart.so 0x79146378c0 (Missing) 19 libart.so 0x79146318c8 (Missing) 20 libart.so 0x79148df5c4 (Missing) 21 libart.so 0x7914901314 (Missing) 22 libart.so 0x791460b5cc (Missing) 23 libart.so 0x79146110c0 (Missing) 24 libart.so 0x79146318ac (Missing) 25 libart.so 0x79148df5c4 (Missing) 26 libart.so 0x7914901314 (Missing) 27 libart.so 0x791460b5cc (Missing) 28 libart.so 0x79146110c0 (Missing) 29 libart.so 0x79146318ac (Missing) 30 libart.so 0x79148df788 (Missing) 31 libart.so 0x7914901394 (Missing) 32 libart.so 0x791460b5cc (Missing) 33 libart.so 0x79146110c0 (Missing) 34 libart.so 0x79146318ac (Missing) 35 libart.so 0x79148e12c8 (Missing) 36 libart.so 0x7914904f94 (Missing) 37 libart.so 0x791460b5cc (Missing) 38 libart.so 0x79148ceb18 (Missing) 39 (Missing) 0x701b91ac (Missing) 40 boot.oat 0x7151a294 (Missing) 41 (Missing) 0x14a8d31c (Missing) 42 (Missing) 0x13d5036c (Missing) 43 (Missing) 0x13d4fa5c (Missing) 44 (Missing) 0x13d5036c (Missing) 45 (Missing) 0x13d4f9ac (Missing) 46 (Missing) 0x14a8d31c (Missing) 47 (Missing) 0x13d5036c (Missing) 48 (Missing) 0x13d4f9ac (Missing) 49 (Missing) 0x13d4fcc4 (Missing) 50 (Missing) 0x13d500b4 (Missing) 51 (Missing) 0x13d4f9ac (Missing) 52 (Missing) 0x9bec938c (Missing) 53 (Missing) 0x78f7b05934 (Missing) 54 boot-framework.oat 0x72f36a94 (Missing) 55 (Missing) 0x707428f4 (Missing) 56 (Missing) 0x707428f4 (Missing) 57 (Missing) 0x13d4f9ac (Missing) 58 boot-framework.oat 0x73043dec (Missing) 59 (Missing) 0x70e5e2d4 (Missing) 60 (Missing) 0x13d4f9ac (Missing) 61 (Missing) 0x70e5e644 (Missing) 62 (Missing) 0x70e5e824 (Missing) 63 (Missing) 0x13d4f9ac (Missing) 64 (Missing) 0x13d501bc (Missing)

and last one: image

Crashed: Thread 0 libc.so 0xb6c8e4e4 (Missing) 1 libmapbox-gl.so 0x9ce70653 mbgl::style::Properties<mbgl::style::BackgroundColor, mbgl::style::BackgroundOpacity, mbgl::style::BackgroundPattern>::Transitionable::transitioned(mbgl::TransitionParameters const&, mbgl::style::Properties<mbgl::style::BackgroundColor, mbgl::style::BackgroundOpacity, mbgl::style::BackgroundPattern>::Unevaluated&&) const + 253 (properties.hpp:253) 2 libc.so 0xb6c66b51 (Missing) 3 libc.so 0xb6c63d03 (Missing) 4 libmapbox-gl.so 0x9ce706c8 mbgl::RenderBackgroundLayer::evaluate(mbgl::PropertyEvaluationParameters const&) + 41 (render_background_layer.cpp:41) 5 libmapbox-gl.so 0x9ce706c8 mbgl::RenderBackgroundLayer::evaluate(mbgl::PropertyEvaluationParameters const&) + 41 (render_background_layer.cpp:41) 6 libc.so 0xb6c618c2 (Missing) 7 libc.so 0xb6c65765 (Missing) 8 libc.so 0xb6c9d88f (Missing) 9 libc.so 0xb6c63d8b (Missing) 10 libc.so 0xb6c9d88f (Missing) 11 libmapbox-gl.so 0x9ce70653 mbgl::style::Properties<mbgl::style::BackgroundColor, mbgl::style::BackgroundOpacity, mbgl::style::BackgroundPattern>::Transitionable::transitioned(mbgl::TransitionParameters const&, mbgl::style::Properties<mbgl::style::BackgroundColor, mbgl::style::BackgroundOpacity, mbgl::style::BackgroundPattern>::Unevaluated&&) const + 253 (properties.hpp:253) 12 libmapbox-gl.so 0x9ce706c8 mbgl::RenderBackgroundLayer::evaluate(mbgl::PropertyEvaluationParameters const&) + 41 (render_background_layer.cpp:41) 13 libmapbox-gl.so 0x9ce706d6 mbgl::RenderBackgroundLayer::evaluate(mbgl::PropertyEvaluationParameters const&) + 43 (render_background_layer.cpp:43) 14 libmapbox-gl.so 0x9cdfd9c3 mbgl::SymbolInstance::SymbolInstance(mbgl::SymbolInstance&&) + 52 (symbol_instance.hpp:52) 15 libc.so 0xb6c8da60 (Missing) 16 libc.so 0xb6c646bf (Missing) 17 libutils.so 0xb6ea6cb5 (Missing) 18 (Missing) 0x12fff3be (Missing) 19 libutils.so 0xb6eaa929 (Missing) 20 libutils.so 0xb6eaac97 (Missing) 21 (Missing) 0x70b05b76 (Missing) 22 system@framework@boot.oat 0x747bcf9b (Missing) 23 (Missing) 0x705cd57e (Missing) 24 (Missing) 0x13687f5e (Missing) 25 (Missing) 0x1368cf7e (Missing) 26 system@framework@boot.oat 0x73f2ec07 (Missing) 27 (Missing) 0x70b05a86 (Missing) 28 (Missing) 0x70c62546 (Missing) 29 (Missing) 0x70c7836e (Missing) 30 libart.so 0xb46cf6ca (Missing) 31 libart.so 0xb46cf41e (Missing) 32 libart.so 0xb46cf6f2 (Missing) 33 libart.so 0xb46cf5ee (Missing) 34 system@framework@boot.oat 0x74598211 (Missing) 35 (Missing) 0x70c6274e (Missing) 36 libart.so 0xb4705d26 (Missing) 37 libart.so 0xb457b8b1 (Missing) 38 (Missing) 0x7584c646 (Missing) 39 (Missing) 0x70c62546 (Missing) 40 libart.so 0xb46b0d3d (Missing) 41 libutils.so 0xb6ea6f35 (Missing) 42 (Missing) 0x12d9a78e (Missing) 43 (Missing) 0x12d9a78e (Missing) 44 (Missing) 0x7012349a (Missing) 45 libandroid_runtime.so 0xb6de7833 (Missing) 46 (Missing) 0x12e3797e (Missing) 47 system@framework@boot.oat 0x7377c56d (Missing) 48 system@framework@boot.oat 0x73798817 (Missing) 49 (Missing) 0x70c74bf6 (Missing) 50 (Missing) 0x12d9a78e (Missing) 51 (Missing) 0x12e3797e (Missing) 52 (Missing) 0x12d9a78e (Missing) 53 (Missing) 0x12d9a78e (Missing) 54 (Missing) 0x7012349a (Missing) 55 system@framework@boot.oat 0x74578929 (Missing) 56 (Missing) 0x70b944b6 (Missing) 57 (Missing) 0x12d9a78e (Missing) 58 (Missing) 0x131b297e (Missing) 59 (Missing) 0x130044de (Missing) 60 (Missing) 0x70163502 (Missing) 61 (Missing) 0x701225be (Missing) 62 (Missing) 0x130044de (Missing) 63 (Missing) 0x131b297e (Missing) 64 (Missing) 0x70c486be (Missing)

siavashabdoli commented 4 years ago

any Idea on this issue? these 3 crashes drop the users crash free sessions to 96% on production with 4 million total users

chloekraw commented 4 years ago

cc/ @mapbox/navigation-android @LukasPaczos @zugaldia @tmpsantos @pozdnyakov

weirenren commented 4 years ago

note