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

Systematic crash with .gemf files #850

monsieurtanuki opened this issue Jan 6, 2018 · 1 comment

Systematic crash with .gemf files #850

monsieurtanuki opened this issue Jan 6, 2018 · 1 comment


Copy link

Issue Type

[v] Bug

Description and/or steps/code to reproduce the problem

  • I have a .gemf file (usgssat-jpg.gemf) in my osmdroid folder: basically, USA at zoom 2 or 3.
  • each time I go to the USA map at zoom 2 or 3, I have a glimpse of the tiles, then within 10ths of second a crash like that:
E/StrictMode: A resource was acquired at attached stack trace but never released. See for information on avoiding resource leaks.
              java.lang.Throwable: Explicit termination method 'close' not called
                  at org.osmdroid.util.GEMFFile$GEMFInputStream.<init>(
                  at org.osmdroid.util.GEMFFile.getInputStream(
                  at org.osmdroid.tileprovider.modules.GEMFFileArchive.getInputStream(
                  at org.osmdroid.tileprovider.modules.MapTileFileArchiveProvider.getInputStream(
                  at org.osmdroid.tileprovider.modules.MapTileFileArchiveProvider.access$100(
                  at org.osmdroid.tileprovider.modules.MapTileFileArchiveProvider$TileLoader.loadTile(
                  at org.osmdroid.tileprovider.modules.MapTileModuleProviderBase$
                  at java.util.concurrent.ThreadPoolExecutor.runWorker(
                  at java.util.concurrent.ThreadPoolExecutor$

I don't know what the StrictMode of the log message represents. Maybe this bug appeared first when I recently upgraded Android Studio and had to have it modify some compilation parameters.

Version of osmdroid the issue relates to:


Copy link

on it

spyhunter99 added a commit that referenced this issue Jan 6, 2018
…s and the demo app. adds some test files sources from US national aviation charts at zoom 4
@spyhunter99 spyhunter99 added the bug label Jan 6, 2018
@spyhunter99 spyhunter99 added this to the v6.0.0 milestone Jan 6, 2018
spyhunter99 added a commit that referenced this issue Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants