-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Android: Random crash in LocationComponent #14889
Comments
@mdakram are you allowing users to load a new style in your application? |
Hi @tobrun yes. |
I think I have the same issue, has this issue been resolved in any of the current versions. It has been happening on 8.1.0 |
I see that the reference issue has it fixed in |
@dsuresh-ap do you have a reproducible example by any chance? |
@LukasPaczos I do not at the moment as it was reported by our QA on a Samsung S4 32-Bit running Android 4.4.4. It happebedThe same crash doesn't happen on any newer OSes. Below is the StackTrace.
|
Thanks for reports and traces @mdakram, @dsuresh-ap. I was able to reproduce the issue - run a clean install of an app -> load a map and location component -> disable internet -> change style (loading constantly in-progress because of lack of the internet) -> set camera/render mode to any that track compass updates. |
@LukasPaczos good its reproduced at your end, i was not able to reproduce. |
I've seen this same issue with 8.4.0 but can't reproduce reliably. I've just disabled animations in location component options, hoping that will avoid the problem. |
This issue seems to be caused by |
@pengdev while that would be the ideal solution, changing impl to the async Line 1292 in 2fb1e47
|
I have the same issue that version is |
Steps to reproduce
Its not happening on bench level testing. getting crashes on play store.
Expected behavior
It should not crash
Actual behavior
Application is crashing
Configuration
Android versions: 5,6,7 and 8
Device models: Samsung, VIVO, Xiomi, OPPO
Mapbox SDK versions: 7.3.2
The text was updated successfully, but these errors were encountered: