microg / microg/android_external_UnifiedNlpApi

NlpLocBackendHelper: android.os.DeadObjectException

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
48
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Using UnifiedNlp on Android 8.1 my log is filled with:

```
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper:
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: android.os.DeadObjectException
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at android.os.BinderProxy.transactNative(Native Method)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at android.os.BinderProxy.transact(Binder.java:764)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at org.microg.nlp.api.LocationBackend$Stub$Proxy.update(LocationBackend.java:157)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at org.microg.nlp.location.BackendHelper.update(BackendHelper.java:71)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at org.microg.nlp.location.BackendFuser.update(BackendFuser.java:83)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at org.microg.nlp.location.ThreadHelper.run(ThreadHelper.java:73)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:307)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:302)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
02-01 16:36:27.008 9284 9365 W NlpLocBackendHelper: at java.lang.Thread.run(Thread.java:764)
```

Is there a way to get more debugging what is causing this?

I'm using the package from F-Droid.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported call path in org.microg.nlp.location.BackendHelper.java, BackendFuser.java, and ThreadHelper.java, especially BackendHelper.update at line 71. Trace the LocationBackend update call and Android Binder failure to determine what additional debugging information is needed. Done means identifying the source of the DeadObjectException or documenting a reproducible diagnostic path.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.