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

Reasource leak on Lollipop (API 21) #1

Open
ale5000-git opened this issue Sep 18, 2023 · 0 comments
Open

Reasource leak on Lollipop (API 21) #1

ale5000-git opened this issue Sep 18, 2023 · 0 comments

Comments

@ale5000-git
Copy link
Member

microG GmsCore v0.2.29 (latest GIT as of 2023/09/18) on Lollipop (API 21).
I wasn't doing nothing, just popped up on logcat.

Logcat:

E/StrictMode( 1731): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
E/StrictMode( 1731): java.lang.Throwable: Explicit termination method 'end' not called
E/StrictMode( 1731): 	at dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode( 1731): 	at java.util.zip.Inflater.<init>(Inflater.java:82)
E/StrictMode( 1731): 	at java.util.zip.ZipFile.getInputStream(ZipFile.java:331)
E/StrictMode( 1731): 	at java.util.jar.JarFile.getInputStream(JarFile.java:390)
E/StrictMode( 1731): 	at libcore.net.url.JarURLConnectionImpl.getInputStream(JarURLConnectionImpl.java:222)
E/StrictMode( 1731): 	at java.net.URL.openStream(URL.java:470)
E/StrictMode( 1731): 	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:444)
E/StrictMode( 1731): 	at org.microg.address.Formatter.open(Formatter.java:463)
E/StrictMode( 1731): 	at org.microg.address.Formatter.loadFile(Formatter.java:459)
E/StrictMode( 1731): 	at org.microg.address.Formatter.readConfiguration(Formatter.java:384)
E/StrictMode( 1731): 	at org.microg.address.Formatter.<init>(Formatter.java:66)
E/StrictMode( 1731): 	at org.microg.address.Formatter.<init>(Formatter.java:61)
E/StrictMode( 1731): 	at org.microg.gms.location.provider.OpenStreetMapNominatimGeocodeProvider.<init>(OpenStreetMapNominatimGeocodeProvider.kt:31)
E/StrictMode( 1731): 	at org.microg.gms.location.provider.GeocodeProviderService.onBind(GeocodeProviderService.kt:20)
E/StrictMode( 1731): 	at android.app.ActivityThread.handleBindService(ActivityThread.java:2758)
E/StrictMode( 1731): 	at android.app.ActivityThread.access$1900(ActivityThread.java:144)
E/StrictMode( 1731): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366)
E/StrictMode( 1731): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/StrictMode( 1731): 	at android.os.Looper.loop(Looper.java:135)
E/StrictMode( 1731): 	at android.app.ActivityThread.main(ActivityThread.java:5221)
E/StrictMode( 1731): 	at java.lang.reflect.Method.invoke(Native Method)
E/StrictMode( 1731): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/StrictMode( 1731): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/StrictMode( 1731): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/StrictMode( 1731): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
E/StrictMode( 1731): java.lang.Throwable: Explicit termination method 'end' not called
E/StrictMode( 1731): 	at dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode( 1731): 	at java.util.zip.Inflater.<init>(Inflater.java:82)
E/StrictMode( 1731): 	at java.util.zip.ZipFile.getInputStream(ZipFile.java:331)
E/StrictMode( 1731): 	at java.util.jar.JarFile.getInputStream(JarFile.java:390)
E/StrictMode( 1731): 	at libcore.net.url.JarURLConnectionImpl.getInputStream(JarURLConnectionImpl.java:222)
E/StrictMode( 1731): 	at java.net.URL.openStream(URL.java:470)
E/StrictMode( 1731): 	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:444)
E/StrictMode( 1731): 	at org.microg.address.Formatter.open(Formatter.java:463)
E/StrictMode( 1731): 	at org.microg.address.Formatter.loadFile(Formatter.java:459)
E/StrictMode( 1731): 	at org.microg.address.Formatter.readConfiguration(Formatter.java:396)
E/StrictMode( 1731): 	at org.microg.address.Formatter.<init>(Formatter.java:66)
E/StrictMode( 1731): 	at org.microg.address.Formatter.<init>(Formatter.java:61)
E/StrictMode( 1731): 	at org.microg.gms.location.provider.OpenStreetMapNominatimGeocodeProvider.<init>(OpenStreetMapNominatimGeocodeProvider.kt:31)
E/StrictMode( 1731): 	at org.microg.gms.location.provider.GeocodeProviderService.onBind(GeocodeProviderService.kt:20)
E/StrictMode( 1731): 	at android.app.ActivityThread.handleBindService(ActivityThread.java:2758)
E/StrictMode( 1731): 	at android.app.ActivityThread.access$1900(ActivityThread.java:144)
E/StrictMode( 1731): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366)
E/StrictMode( 1731): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/StrictMode( 1731): 	at android.os.Looper.loop(Looper.java:135)
E/StrictMode( 1731): 	at android.app.ActivityThread.main(ActivityThread.java:5221)
E/StrictMode( 1731): 	at java.lang.reflect.Method.invoke(Native Method)
E/StrictMode( 1731): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/StrictMode( 1731): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/StrictMode( 1731): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

@mar-v-in mar-v-in transferred this issue from microg/GmsCore Sep 18, 2023
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

1 participant