GpsSetter icon indicating copy to clipboard operation
GpsSetter copied to clipboard

gpssetter silently crashes when "set location" button is clicked

Open modularanne opened this issue 2 years ago • 3 comments

Stack trace posted following.

"DEADLINE_EXCEEDED: deadline exceeded after 4.912916000s" is the most noteworthy part of the log.

Tried 1.2.8, 1.2.10… 1.30-beta - all with same. Silent error.

FATAL EXCEPTION: main Process: com.android1500.gpssetter, PID: 2767 java.io.IOException: efjr: DEADLINE_EXCEEDED: deadline exceeded after 4.912916000s. [closed=[], open=[[buffered_nanos=4913157308, waiting_for_connection]]] at android.location.Geocoder$GeocodeListener.getResults(Geocoder.java:246) at android.location.Geocoder.getFromLocation(Geocoder.java:134) at com.android1500.gpssetter.utils.ext.Ext_LatLngKt$getAddress$2$1.invokeSuspend(Ext+LatLng.kt:16) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@941653e, Dispatchers.Main.immediate]

modularanne avatar May 11 '23 05:05 modularanne

Stack trace posted following.

"DEADLINE_EXCEEDED: deadline exceeded after 4.912916000s" is the most noteworthy part of the log.

Tried 1.2.8, 1.2.10… 1.30-beta - all with same. Silent error.

`FATAL EXCEPTION: main

Process: com.android1500.gpssetter, PID: 2767

java.io.IOException: efjr: DEADLINE_EXCEEDED: deadline exceeded after 4.912916000s. [closed=[], open=[[buffered_nanos=4913157308, waiting_for_connection]]]

at android.location.Geocoder$GeocodeListener.getResults(Geocoder.java:246)

at android.location.Geocoder.getFromLocation(Geocoder.java:134)

at com.android1500.gpssetter.utils.ext.Ext_LatLngKt$getAddress$2$1.invokeSuspend(Ext+LatLng.kt:16)

at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)

at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)

at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)

at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)

at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)

at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)

at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@941653e, Dispatchers.Main.immediate]`

Thanks to give log i will take a look into this

Android1500 avatar May 11 '23 06:05 Android1500

Not sure if this helps, but I had the same issue once. But I figured out that it will keep happening unless you clear the app data (SD Maid).

It feels like the error might cause some memory leak of some sort. Maybe garbage collection is needed if the app fails to set a position?

7errie avatar May 15 '23 15:05 7errie

same problem. Ressetting Data in settings or in the app SD Maid didnt help. Also except for the very first time when i opened it, the map is grey and the location buttons dont do anything. Doesnt matter if i reset the app or uninstall the module, still grey. image

L0caler avatar Jul 12 '23 21:07 L0caler