-
Notifications
You must be signed in to change notification settings - Fork 18
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
Recent versions of osmin crashes? #62
Comments
I never tested the app on Android 14. I guess it could be the root cause. To be tested with the emulator ... |
Well, on this OS (Android 14) the system process named "vold" kills the app !!!
That is a new JOKE from google. Seems the reason is the app has few opened files on the storage !!! |
For instance the app works perfectly on Android 12. |
The Pixel 7 was bought last year. It was delivered with either Android 12 (with quick update to 13) or 13. This is the normal major OS update to 14 as part of the warranty and security update cycle. The update happened a few week ago. |
Do you have more detailed information? It this a problem in libosmscout or something that has to be fixed in the app? How? I'm of course wiilling to test,,, |
I just took a look at OSMAnd an Organic Maps. Both still seem to store their data in "User data". Since they likely have a different data layout, it may be possible that they actually open and close on each access (the less files and the simpler our file structure is, the easier this likely is). I question what linux will do if I open and close a file permanently on each access. This like does not make things faster (but how much slower?). We would have to add some kind of central interface to "hibernate" and "wakeup" the individual database files, to make at least sure that multiple accesses can be batched at least. There is no other way? |
I did not found anything by searching about this. Possible the app is doing file access in a special app-lifecyle where it is not allowed (Android 14 still improved power management). I'm no Android developer, though... |
Requires refactoring of the storage location...
Also I will review the storage management for others platforms and probably all files will be located in one place i.e $HOME/osmin/. |
@Framstag , I released the new version 1.11.0. It should resolve this. |
Application still does not correctly start. Same effects as before. Deinstalled old installation before. How can I help? |
aahh, it is a mistake from me. I uploaded the old apk (1.10.6). I uploaded the right apk, just now. |
Ok. It works again. Thank you! I do not see an obvious DPI change in the map rendering. Menu text might be a little bit bigger than before. I'm unsure. It is definitely not too big. |
Is this a requirement for new versions of osmin or does it only affect Android 14 users? |
@eleius , this affect all Android users using the new version from 1.11.0. That doesn't impact a "normal" user. |
I assume though that custom maps could be re-supported by implementing an explicit upload feature in the app? Note, that the libosmscout importer currently is a command line application but the design should allow wrapping it in a desktop application (the importer is a library, the command line interface is just a small wrapper). This way it is possible to write a desktop Qt application, start an import via the app and make the app "return" a zip archive containing the database. This zip then could be uploaded via the application, unziped and moved to its final place? Such a desktop application could be part of upstream, to support other libosmscout-based applications, too. |
Yep, that the solution. An other simple way may be a "local" repo where user can upload custom maps. I will try that adding a "local" provider in the json file. |
I have a Pixel 7 using Android 14
Recent version of osmin crash (somehow)
I had older version of osmin with older maps. Problems started with the version which switched to newer map format. Deinstalled osmin and reinstalled it. Did not change anything. All requested android access right have been assigned to the app.
After multiple tries I'm now able to enter the download menu and download one map. osmin however closes on finish. Starting osmin now shows map on location, but close again after <1 second.
Looks like something in the background runs into errors?
I cannot see Android/data/io.github.janbar.osmin via USB, so it looks like I even cannot look for logs...
The text was updated successfully, but these errors were encountered: