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

LeakedClosableViolation: EncryptedFileManager.read #1883

Open
ignoramous opened this issue Feb 26, 2025 · 0 comments
Open

LeakedClosableViolation: EncryptedFileManager.read #1883

ignoramous opened this issue Feb 26, 2025 · 0 comments
Assignees

Comments

@ignoramous
Copy link
Collaborator

02-26 21:21:38.974 25038 25050 D StrictMode: StrictMode policy violation: android.os.strictmode.LeakedClosableViolation: A resource was acquired at attached stack trace but never rele
ased. See java.io.Closeable for information on avoiding resource leaks.
02-26 21:21:38.974 25038 25050 D StrictMode:    at android.os.StrictMode$AndroidCloseGuardReporter.report(StrictMode.java:2092)
02-26 21:21:38.974 25038 25050 D StrictMode:    at dalvik.system.CloseGuard.warnIfOpen(CloseGuard.java:336)
02-26 21:21:38.974 25038 25050 D StrictMode:    at java.io.FileInputStream.finalize(FileInputStream.java:662)
02-26 21:21:38.974 25038 25050 D StrictMode:    at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:370)
02-26 21:21:38.974 25038 25050 D StrictMode:    at java.lang.Daemons$FinalizerDaemon.processReference(Daemons.java:350)
02-26 21:21:38.974 25038 25050 D StrictMode:    at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:322)
02-26 21:21:38.974 25038 25050 D StrictMode:    at java.lang.Daemons$Daemon.run(Daemons.java:131)
02-26 21:21:38.974 25038 25050 D StrictMode:    at java.lang.Thread.run(Thread.java:1012)
02-26 21:21:38.974 25038 25050 D StrictMode: Caused by: java.lang.Throwable: Explicit termination method 'close' not called
02-26 21:21:38.974 25038 25050 D StrictMode:    at dalvik.system.CloseGuard.openWithCallSite(CloseGuard.java:288)
02-26 21:21:38.974 25038 25050 D StrictMode:    at dalvik.system.CloseGuard.open(CloseGuard.java:257)
02-26 21:21:38.974 25038 25050 D StrictMode:    at java.io.FileInputStream.<init>(FileInputStream.java:195)
02-26 21:21:38.974 25038 25050 D StrictMode:    at androidx.security.crypto.EncryptedFile.openFileInput(EncryptedFile.java:285)
02-26 21:21:38.974 25038 25050 D StrictMode:    at com.celzero.bravedns.service.EncryptedFileManager.read(EncryptedFileManager.kt:95)
02-26 21:21:38.974 25038 25050 D StrictMode:    at com.celzero.bravedns.rpnproxy.RpnProxyManager.load(RpnProxyManager.kt:101)
02-26 21:21:38.974 25038 25050 D StrictMode:    at com.celzero.bravedns.database.RefreshDatabase.process(RefreshDatabase.kt:152)
02-26 21:21:38.974 25038 25050 D StrictMode:    at com.celzero.bravedns.database.RefreshDatabase$1.invokeSuspend(RefreshDatabase.kt:102)
02-26 21:21:38.974 25038 25050 D StrictMode:    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
02-26 21:21:38.974 25038 25050 D StrictMode:    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
02-26 21:21:38.974 25038 25050 D StrictMode:    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
02-26 21:21:38.974 25038 25050 D StrictMode:    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
02-26 21:21:38.974 25038 25050 D StrictMode:    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
02-26 21:21:38.974 25038 25050 D StrictMode:    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:823)
02-26 21:21:38.974 25038 25050 D StrictMode:    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
02-26 21:21:38.974 25038 25050 D StrictMode:    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
02-26 21:21:39.423 25038 25298 W RethinkDnsVpn: error while fetching proxy stats: vpnAdapter is null

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

2 participants