-
Notifications
You must be signed in to change notification settings - Fork 48
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
Mapbox crashes with InterruptedException #399
Comments
Thanks for following up from mapbox/mapbox-android-demo#1059 (comment) @TankJK. Let me actually transition this one to the Navigation SDK's repository. |
Thanks @LukasPaczos! @andrlee do you mind taking a look at this? Seems to be from |
Transferred from cc @andrlee |
@TankJK it does look like internal crash in |
@danesfeder this is an |
@andrlee I have tried with okhttp3 with version 3.10.0 but its still crashing. |
Can you share your code here? |
@andrlee Which part of code you are interested? |
@TankJK the part that is likely triggering crash event. You mentioned you do place the marker and showing route. I'd be interested to know if removing "showing route" logic from the app fixes the problem. |
@andrlee sometimes application is crashing when just only marker is shown. |
@TankJK Can you create a simple test project on Github that could reproduce this issue? So we can download and test it. |
hey @TankJK any updates? thanks! |
@andrlee From last couple of days, surprisingly application is not getting this crash. I am still using same version of okhttp3 and mapbox navigation ui. |
closing as per customer's feedback. |
App is getting continuous crash with InterruptedException.
FATAL EXCEPTION: OkHttp events.mapbox.com Writer
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1991)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2025)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1048)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:776)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:820)
Device is Android Samsung S5 with Android 5.0
Steps to reproduce
1.App was trying to place the marker and showing route
2.App crashes randomly after some time.
3.
Expected behavior
App should not crash
Actual behavior
App crashes
Configuration
Android versions:
Android 5.0
Device models:
Samsung S5
Mapbox SDK versions:
com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.37.0
The text was updated successfully, but these errors were encountered: