mapbox/mapbox-core-maps-ios

Crashed: com.mapbox.mbgl.TileStoreFileSource

dmiluski opened this issue · 2 comments

Problem:
Crash

This is our number 3 crasher:

Links:
https://console.firebase.google.com/u/1/project/driver-1527025761813/crashlytics/app/ios:com.zacharyblank.Driver/issues/b9863fa41b9127890fc7581c23672007?time=last-seven-days&type=all&sessionEventKey=603921af6924482c993e967d14b0459a_1617935634746701268

Trace:

Crashed: com.mapbox.mbgl.TileStoreFileSource
0  libsystem_pthread.dylib        0x7744 pthread_mutex_lock + 102
1  libc++.1.dylib                 0x3caf4 std::__1::mutex::lock() + 16
2  MapboxCoreMaps                 0x1b2074 mbgl::platform::Settings::get(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const + 2314 (memory:2314)
3  MapboxCoreMaps                 0xeb364 mbgl::OfflineDatabase::updateLRUTimestamp(mbgl::Resource const&) + 1423 (string:1423)
4  MapboxCoreMaps                 0xea7a8 mbgl::OfflineDatabase::get(mbgl::Resource const&) + 484 (offline_database.cpp:484)
5  MapboxCoreMaps                 0xbbc60 mbgl::DatabaseFileSourceThread::request(mbgl::Resource const&, mapbox::common::AsyncProxy<mbgl::ResponseSetter> const&) + 370 (optional.hpp:370)
6  MapboxCoreMaps                 0x2be2b4 mapbox::common::internal::Message<mbgl::TileStoreFileSourceThread, void (mbgl::TileStoreFileSourceThread::*)(mbgl::AsyncRequest*, mbgl::Resource const&, mapbox::common::AsyncProxy<mbgl::ResponseSetter> const&), std::__1::tuple<mbgl::FileSourceRequest*, mbgl::Resource, mapbox::common::AsyncProxy<mbgl::ResponseSetter> > >::operator()() + 24 (async_proxy.hpp:24)
7  MapboxCommon                   0x435e4 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, mapbox::common::ThreadedSchedulerBase::makeSchedulerThread(unsigned long, mapbox::base::WeakPtr<mapbox::common::Scheduler>)::$_0> >(void*) + 708
8  libsystem_pthread.dylib        0x1bfc _pthread_start + 320
9  libsystem_pthread.dylib        0xa758 thread_start + 8

Observation, initial checks appear to show that this is happening 100% in the background.

Dependencies Installed:

{
        "package": "MapboxCommon",
        "repositoryURL": "https://github.com/mapbox/mapbox-common-ios.git",
        "state": {
          "branch": null,
          "revision": "8d107b2dae7822f75e1bedfebe3be9d14a1d81df",
          "version": "20.1.0"
        }
      },
      {
        "package": "MapboxCoreMaps",
        "repositoryURL": "https://github.com/mapbox/mapbox-core-maps-ios.git",
        "state": {
          "branch": null,
          "revision": "ebb10128747d417c23755486eeb976fbe89f103c",
          "version": "10.1.0"
        }
      },
      {
        "package": "MapboxDirections",
        "repositoryURL": "https://github.com/mapbox/mapbox-directions-swift.git",
        "state": {
          "branch": null,
          "revision": "02767cb1c752f6e0c781037dc75792a16b11b1d0",
          "version": "2.1.0-rc.1"
        }
      },
      {
        "package": "MapboxMobileEvents",
        "repositoryURL": "https://github.com/mapbox/mapbox-events-ios.git",
        "state": {
          "branch": null,
          "revision": "e29f48d9ed02b31ef51f9774a9c45f1d7c2c2b78",
          "version": "1.0.6"
        }
      },
      {
        "package": "MapboxMaps",
        "repositoryURL": "https://github.com/mapbox/mapbox-maps-ios.git",
        "state": {
          "branch": null,
          "revision": "4c58ce320a716ef6b7337186076ef3d8279882f7",
          "version": "10.1.0"
        }
      },
      {
        "package": "MapboxNavigation",
        "repositoryURL": "https://github.com/mapbox/mapbox-navigation-ios.git",
        "state": {
          "branch": null,
          "revision": "992b4b5f4d63cb1a3623bef95e4bc6dd0e7d7158",
          "version": "2.1.0-rc.2"
        }
      },
      {
        "package": "MapboxNavigationNative",
        "repositoryURL": "https://github.com/mapbox/mapbox-navigation-native-ios.git",
        "state": {
          "branch": null,
          "revision": "f85341a1572a9e73a8e946182426892ad2807cae",
          "version": "80.0.2"
        }
      },
      {
        "package": "MapboxSpeech",
        "repositoryURL": "https://github.com/mapbox/mapbox-speech-swift.git",
        "state": {
          "branch": null,
          "revision": "b0a6008c184c1010dac11e14bf20afe4261d8c36",
          "version": "2.0.0"
        }
      },

Closing