Locus Map Pro crashes when default folders changed!

Tim Bessie shared this problem 2 months ago
In Progress

If I change the default storage folders for Locus Map Pro (I change it to a sub-folder in my SD Card), and then restart the app, I get a message that the folders have changed, and asking me to approve it.

If I approve it, the app works until the next time I start it, at which time it asks again.

If I approve it and select "Don't ask me again", the app crashes.

This happened in Android 7, and now is happening in Android 8.

The prior version of Locus Map Pro didn't do this on Android 8; with this latest update, this issue has returned.

Is this a known bug? I think I've reported it via email in the past.

Comments (7)

photo
1

Good day Tim,

sorry for a troubles. I've merged your second reported problem to this one, because I'm sure, they are tightly connected.

This is of course not a wanted behavior and you are first who report us such problem.

Interesting for me is "If I approve it and select "Don't ask me again", the app crashes". There should be no option "Don't ask ..." in case you approve it.

Please check, after you terminate Locus Map, in system settings > applications > Locus Map > Permissions if here is really enable "Location" and "Storage" permissions that are necessary to start the app. If they aren't , just enable them.

If even after that, app crash at start, I'll need a log created by this method. Thank you!

photo
1

it does have those permissions. And it asks me every time for the storage location, and crashes if I ever check "Don't ask".

I just noticed, sometimes it crashes even if I just approve it and continue (without checking "Don't ask...").

I have attached a link to a screen recording of this happening:

https://drive.google.com/open?id=0B_tXxjtjYN6cU3o5bExLaWlNOGM

I will attach a log shortly.

- Tim

photo
1

Hmm - I noticed that SOMETIMES it crashes, sometimes it does not. Once I was able to select "Don't ask me..." and it didn't crash, it stopped crashing after that.

I'll try to reproduce it again (uninstall and reinstall) and post a log.

photo
1

Wasn't able to easily recreate the crash. I will send you a debug log to see if the prior crash information was in there.

- Tim

photo
1

Good day Tim,

thanks for a video. It helped to tell me, what you mean by "don't ask" option ( I though about something different ).

Main problem I see here is quick restart you do here. It is, let's say "not well wrote part of Locus code" > Locus needs 5 seconds to terminate and save all that is set till it's perfectly finished. Your quick "close - open", visible in video cause, that previous version maybe crash because it's partially terminated and new version of app is already trying to start.

Please try to start app, enable "don't ask again' option and after app correctly starts, close it again by double tap. But in this case, wait at least 5 seconds, maybe 10, and then start it again. Is it better?

photo
1

Ok, I can try your suggestion. You definitely need to rewrite that, then, though - I'm a software developer with 40 years of experience writing code, and telling customers they have to wait a certain amount of time before terminating a program and restarting it would not be acceptable to any clients I've worked for over the years.

Is there a plan to fix that?

photo
1

Good day Tim,

we are moving away from original problem. Issue was that app crash and does not remember selected folder. What we are talk now is that app does not work as expected when quickly closed/opened. Current system is not perfect, agree, but is definitely not common way how users use Locus Map app.

So back to original problem. If you select wanted directory and check "don't ask" and do not do any quick close/open actions ( why to do them? ), how app works? If there still be a crash, I'll need an log created by this method. Thank you and sorry for a complications!

photo