osmandapp / OsmAnd-iOS

OsmAnd for iOS
Other
270 stars 90 forks source link

The App crashes #1037

Open Erik2410 opened 3 years ago

Erik2410 commented 3 years ago

🐞 routing report

Routing engine

Routing Profile

bike ### Start and end points

Start: De Lijster 32, Poperinge (Belgium) https://www.openstreetmap.org/#map=19/50.86440/2.72055 End: Camping Le Grand Gravelot, Calais (France) https://www.openstreetmap.org/#map=18/50.95844/1.83057

Actual and expected routes

OsmAnd tries to calculate a route, but after about 1 to 2 minutes, the App crashes. See attached screenshot: ![IMG_6286](https://user-images.githubusercontent.com/77806428/105407282-ce56a280-5c2d-11eb-9b56-54b5f2fcaf46.PNG) ### Is this a regression? In the past, sometimes routes were calculated, but often the App crashed too. I thought that maybe my tour (the distance) was too long, but it also crashes with shorter distances like this one reported here (the final route should be around 80 km). OsmAnd crashes both on my iPhone and iPad Yes, the previous version in which this bug was not present was: .... I have had problems since I started using OsmAnd (July 2019?) ## 🌍 Your Environment **OsmAnd Version:**


3.81
**Device and Android/iOS version:** iPhone 5s Software Version 12.4.9 iPad Pro (9.7inch) Software Version 14.3 **Maps used (online or offline):**

Anything else relevant? I am connected to WiFi network at home. No issues with my network (I use it daily for my iPhone, iPad, laptop, printer...)

dmpr0 commented 3 years ago

Hello! I have tested the route, I don't have any crashes in the latest Testflight builds. Please try to install TestFlight https://testflight.apple.com/join/7poGNCKy and check if the crash will be reproduced photo_2021-01-22 13 04 48

Erik2410 commented 3 years ago

I noticed that I did not have the latest map version for Belgium on my iPhone. I have updated to map version 01/01/2021, 01:00 and now the route is calculated without problem! (and it only takes a few seconds). Then I checked on my iPad after making sure I have the latest update of the maps (Belgium and Hauts-de-France). Also on my iPad the route is calculated without problems!

Could it be that the problem I had was related to different version updates of the maps used for my route (in this case Belgium and Hauts-de-France)? It would be nice to get a warning if there are new versions of installed maps, as soon as we open the App. I believe now we can only see if there are updates if we manually go to Maps&Resources?

I have installed the TESTFLIGHT App, and clicked on the link in your mail. Then I receive a message (see attached). For the moment, I pressed CANCEL. Would you still like me to INSTALL this new 'test version'? I'm waiting for your reply before doing anything now. IMG_6291

FriedelXT commented 3 years ago

I have the same issue. From time to time, especially in own edited profile with edited maps the app crash at the beginning of calculation the route. how nice it is if you do this on the road in holiday. all your work....lost. the head begin to explode

vshcherb commented 3 years ago

crashes better report in ios with descrptions, we also review them there.

Erik2410 commented 3 years ago

I clicked the link for "TestFlight" and calculated the same route again (same start and destination). The route was now calculated without problem!

vshcherb commented 3 years ago

We're preparing huge fix for route calculation in IOS, so the app will be more resilient.

Erik2410 commented 3 years ago

👍

Van: vshcherb notifications@github.com Verzonden: 8 February, 2021 17:52 Aan: osmandapp/OsmAnd-iOS OsmAnd-iOS@noreply.github.com CC: Erik2410 eriklaridon@hotmail.com; Author author@noreply.github.com Onderwerp: Re: [osmandapp/OsmAnd-iOS] The App crashes (#1037)

We're preparing huge fix for route calculation in IOS, so the app will be more resilient.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fosmandapp%2FOsmAnd-iOS%2Fissues%2F1037%23issuecomment-775285203&data=04%7C01%7C%7C3f56d563b4cc45f8215708d8cc51d273%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637483999099708911%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8Yn5lEPy9%2FJlE3NNiL9uq96aRpLWCdsNqWSmwyCD18M%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASRTWXAEMILH7NDSGWRO2QDS6AJCFANCNFSM4WOCXX4Q&data=04%7C01%7C%7C3f56d563b4cc45f8215708d8cc51d273%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637483999099718906%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=VE5I1Jlq59ouy7MU3Svt7yTUR%2FjBvvzXHFe0e4jRiqU%3D&reserved=0.