microg / RemoteDroidGuard

Service to run Google's DroidGuard binary in an isolated environment
99 stars 29 forks source link

Leaked ServiceConnection from SafetyNetClientService to RemoteDroidGuardConnector #27

Closed alexandruchircu closed 4 years ago

alexandruchircu commented 4 years ago

microG: 0.2.10.19420 on lineage-16.0-20191226-microG-oneplus3

This happens some times, but I can't reproduce it reliably; best way I found so far is to cold start Uber, then cold start Lyft while Uber is in the background.

12-30 17:25:03.505  4469  4469 E ActivityThread: Service org.microg.gms.snet.SafetyNetClientService has leaked ServiceConnection org.microg.gms.droidguard.RemoteDroidGuardCo
nnector$Connection@3f8846a that was originally bound here
12-30 17:25:03.505  4469  4469 E ActivityThread: android.app.ServiceConnectionLeaked: Service org.microg.gms.snet.SafetyNetClientService has leaked ServiceConnection org.mic
rog.gms.droidguard.RemoteDroidGuardConnector$Connection@3f8846a that was originally bound here
12-30 17:25:03.505  4469  4469 E ActivityThread:        at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1610)
12-30 17:25:03.505  4469  4469 E ActivityThread:        at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:1502)
12-30 17:25:03.505  4469  4469 E ActivityThread:        at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1659)
12-30 17:25:03.505  4469  4469 E ActivityThread:        at android.app.ContextImpl.bindService(ContextImpl.java:1612)
12-30 17:25:03.505  4469  4469 E ActivityThread:        at android.content.ContextWrapper.bindService(ContextWrapper.java:698)
12-30 17:25:03.505  4469  4469 E ActivityThread:        at org.microg.gms.droidguard.RemoteDroidGuardConnector.connectForTask(Unknown Source:25)
12-30 17:25:03.505  4469  4469 E ActivityThread:        at org.microg.gms.droidguard.RemoteDroidGuardConnector.guard(Unknown Source:22)
12-30 17:25:03.505  4469  4469 E ActivityThread:        at org.microg.gms.snet.SafetyNetClientServiceImpl$1.run(Unknown Source:63)
12-30 17:25:03.505  4469  4469 E ActivityThread:        at java.lang.Thread.run(Thread.java:764)