Skip to content
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

gpssetter silently crashes when "set location" button is clicked #66

Open
modularanne opened this issue May 11, 2023 · 3 comments
Open

Comments

@modularanne
Copy link

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]

@Android1500
Copy link
Owner

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

@7errie
Copy link

7errie commented May 15, 2023

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?

@L0caler
Copy link

L0caler commented Jul 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants