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

Investigate leak warning #9

Open
FliegendeWurst opened this issue Dec 8, 2024 · 1 comment
Open

Investigate leak warning #9

FliegendeWurst opened this issue Dec 8, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@FliegendeWurst
Copy link
Owner

Shortly after starting the app, the following is printed to the console:

StrictMode policy violation:
android.os.strictmode.LeakedClosableViolation:
A resource was acquired at attached stack trace but never released.
See java.io.Closeable for information on avoiding resource leaks.
Callsite: close
 at android.os.StrictMode$AndroidCloseGuardReporter.report(StrictMode.java:1992)
 at dalvik.system.CloseGuard.warnIfOpen(CloseGuard.java:338)
 at sun.nio.fs.UnixSecureDirectoryStream.finalize(UnixSecureDirectoryStream.java:580)
 at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:370)
 at java.lang.Daemons$FinalizerDaemon.processReference(Daemons.java:350)
 at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:322)
 at java.lang.Daemons$Daemon.run(Daemons.java:131)
 at java.lang.Thread.run(Thread.java:1012)

Unfortunately I don't know where the app uses a UnixSecureDirectoryStream without closing it.

@FliegendeWurst FliegendeWurst added the good first issue Good for newcomers label Dec 8, 2024
@FliegendeWurst
Copy link
Owner Author

@FliegendeWurst FliegendeWurst closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant