osmandapp / OsmAnd-iOS

OsmAnd for iOS
Other
287 stars 92 forks source link

App Crash When "No Auto Zoom" is Enabled #3882

Open Rmacca opened 3 months ago

Rmacca commented 3 months ago

Description

At random times, I have had the OSMandMap App just shut down for no reason during my trips while I’ve been using the App to navigate. I then must restart the App again to ensure that the recording of my current TRIP Tracklog continues, otherwise I have found that it does not record my current Tracklog. This has happened on both my Apple iPad and the iPhone 13 devices."

Steps to reproduce

hen I had the following settings, this is when I was having the crashing issues:

Actual result

When I have the above settings, I have found that the OSM App just randomly shuts down and stops recording my tracklog. I then have to restart the App and this also usually relates to me losing part of my Tracklog. It has gotten to the point where I cannot trust the OSM App to "fully" record my Remote Touring Trips.

Expected result

When I have the Map Auto Zoom Map Setting set to "No AUTO ZOOM" setting, I expect to be able to set my map zoom level to what ever level I require without it suddenly crashing & then having to restart the App again.

Please refer to my initial post in discussions: https://github.com/osmandapp/OsmAnd/discussions/19895

Your Environment (required)

OsmAnd Version: 4.7.6.3
Device model: Both Apple iphone 14 and iPad Gen-7
yuriiurshuliak commented 3 months ago

To reproduce and investigate this crash, we need to clarify a few details. Please provide crash logs, which you can find in Settings → Privacy & Security → Analytics & Improvements → Analytics Data, then search for OsmAnd. Additionally, we need your profile settings (Menu → Settings → Local Backup → Back Up as File) and the start and finish coordinates where the crash occurred.

Please specify the version of the app you are using. A similar crash in the backup was fixed in newer versions. You can also try our TestFlight version: https://testflight.apple.com/join/7poGNCKy

Rmacca commented 3 months ago

Where it stopped recording @ -24.26849 144.43406 - 16/06/24 @ 12.25 I started recording again @ -24.10399 143.35429 - 16/06/24 @ 14.41

(Note: the below one is one that crosses days. I'm certain that I started the "record" button) Where it stopped recording @ -24.36693 137.50582 - 25/06/24 @ 16.44 I started recording again @ -25.18633 137.89387 - 27/06/24 @ 10.23

App version is OsmAnd Maps 4.7.6.3

I'm not sure how to upload/email the required information that you requested above. The Analytics Data file (IPS extension) - I'm unable to upload that The Profile file (.osf) file again unable to upload this file format.

Is there a email address that I can email these files to you for your perusal? BTW: This is all new to me so I'm sorry if I have missed something...

DmitryAlexei commented 3 months ago

@Rmacca you can send needed information via e-mail support@osmand.net . Please reference that issue in the header of the mail. You can also attach these files to your message after adding .txt to the file name.

Rmacca commented 3 months ago

OK, thanks for that... I've sent an email with what I hope is helpful. I've attached a couple of gpx files that shows the breaks as well. One frustrating thing is when running on the ipad and u do not up the App up on the screen, you do not see/realise that it has stopped recording your tracklog and thus you end up losing a fair bit of your trip. I now always have a few seperate devices (eg: garmin GPS) running as backups to ensure I have a FULL recording of my Trips...

yuriiurshuliak commented 3 months ago

Here is a file containing the most recent IPS files, exported profile settings, and GPX tracks. files.zip

Rmacca commented 3 months ago

OK... thanks but what do I do with them?

[image: image.png]

Sorry... I'm new to all this

On Wed, 31 Jul 2024 at 22:16, yuriiurshuliak @.***> wrote:

Here is a file containing the most recent IPS files, exported profile settings, and GPX tracks. files.zip https://github.com/user-attachments/files/16441598/files.zip

— Reply to this email directly, view it on GitHub https://github.com/osmandapp/OsmAnd-iOS/issues/3882, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIRYBAMAUR66TLQXKRJCVQDZPDITBAVCNFSM6AAAAABLRZVNCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQGM4DINRQG4 . You are receiving this because you were mentioned.Message ID: @.***>

--

Cheers......Rob McDowall0413 311 360

yuriiurshuliak commented 3 months ago

The bug was not reproduced. I imported your profile settings and the GPX tracks you provided earlier, ensuring the "No Auto Zoom" option was enabled. After starting the navigation, I enabled Trip Recording and monitored the navigation for an extended period.

As a result, there was no application crash on my end.

Additionally, our developers reviewed your IPS files and confirmed that this crash should be fixed in version 4.8. Please try using our beta version and check if the bug still occurs: TestFlight link.

OsmAnd 4.8.0.5

https://github.com/user-attachments/assets/20a78768-bcfc-4803-94fd-7d06c749c1a0