You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Since updating the mapbox library, we received a huge amount of ANRs and Crashes in Google Play Console.
Example ANRs and stacktraces are attached to this issue.
While running SDK 5.2.1 before the update, we didn't caputre anything like this.
I wanted to ask you, if you could lead me into the right direction on how to fix these issues and if they are based on mapbox or on our implementation.
We implemented Mapbox like given in your documentation. There's only one thing, which i assume to be the issue, but i'm not really sure: we're drawing the markers with help of a ThreadPool to the map.
Would like to reopen/update this issue, since its still appearing. Changed the implementation to use the main ui thread only (double-checked it with logging out the currently used thread) and thos native crashes are still appearing.
Since updating the mapbox library, we received a huge amount of ANRs and Crashes in Google Play Console.
Example ANRs and stacktraces are attached to this issue.
While running SDK 5.2.1 before the update, we didn't caputre anything like this.
I wanted to ask you, if you could lead me into the right direction on how to fix these issues and if they are based on mapbox or on our implementation.
We implemented Mapbox like given in your documentation. There's only one thing, which i assume to be the issue, but i'm not really sure: we're drawing the markers with help of a ThreadPool to the map.
Implemenation example:
... mThreadPool.execute(new Runnable() { @Override public void run() { ... map.addMarkers(options); .... } }) ...
Could this be the problem?
Platform: Android
Mapbox SDK version: 5.5.3
Steps to trigger behavior
Expected behavior
Should not throw any exceptions like these
Actual behavior
Throws a lot of exceptions and tgkills
Attached logs:
anr-1.txt
ANR-SIGSEGV-11.txt
anr-tgkill-2.txt
The text was updated successfully, but these errors were encountered: