Coder Social home page Coder Social logo

Live updates lead to crash about osmand HOT 14 CLOSED

scaidermern avatar scaidermern commented on July 19, 2024 7
Live updates lead to crash

from osmand.

Comments (14)

vshcherb avatar vshcherb commented on July 19, 2024 4

Problem is fixed ready to test. Full osmand live redownload is needed

from osmand.

vshcherb avatar vshcherb commented on July 19, 2024 4

Corrupted data had 1000 very long lines, next time we will be able to prevent it on the level of data preparation.

from osmand.

Velomeloman avatar Velomeloman commented on July 19, 2024 3

OsmAnd~ 4.8.0#2315m, release : 2024-05-16
Confirm crash

from osmand.

scaidermern avatar scaidermern commented on July 19, 2024 3

Actually I was referring to a fix in the app so that future cases of corrupted data won't lead to crashes :)

But thanks for the quick fix!

from osmand.

yuriiurshuliak avatar yuriiurshuliak commented on July 19, 2024 2

The bug has been reproduced. To experience it, go to the specified coordinates and enable live updates for the map. When you then try to zoom in and out or pan the map, the application crashes. No crash logs are generated.

OsmAnd~ 4.8.0#2330m, released: 2024-05-17

video_2024-05-17_15-59-52.mp4

from osmand.

vshcherb avatar vshcherb commented on July 19, 2024 1

Unfortunately it won't be fixed quickly as "Data was corrupted" (not tested for live in such quantities, the only solution seems to disable live maps for this month).

Dirty Workaround It's possible to quickly zoom out once you enter app and then go to settings and delete live maps

from osmand.

scaidermern avatar scaidermern commented on July 19, 2024 1

Unfortunately it won't be fixed quickly as "Data was corrupted" (not tested for live in such quantities, the only solution seems to disable live maps for this month).

Shouldn't there be a fix to handle corrupted live data? Instead of waiting for the next monthly map update? 🤔

from osmand.

langfingaz avatar langfingaz commented on July 19, 2024 1

I completely reset OsmAnd (4.7.10 from f-droid) three days ago and downloaded the standard map of Scotland. After enabling live updates the app slows down heavily and/or crashes. I was zooming into Montrose, Scotland when this happend.

Are you sure, that this issue is resolved? As soon as I deleted the live updates (Maps and Resources -> Local > Live Updates) the performance is way better again.

from osmand.

scaidermern avatar scaidermern commented on July 19, 2024

Could be related to #19511. In this other ticket one user reports that live updates cause a slow down.

from osmand.

Sonwon1 avatar Sonwon1 commented on July 19, 2024

Now that I think about it I was having crashes after I turned on live updates. At the time I thought maybe it was related to live updates however I also had an ODBII monitor running at the time. When it happened the screen flashed black a few times and then I lost all touch screen control. I finally pulled over and forced closed OsmAnd and ODBII monitor. When I got home I turned live updates off and it has not crashed again since. That was several months ago.

OsmAnd Version: 4
Android/iOS version: Android 12
Device model: Samsung Galaxy Active Tab 3

from osmand.

vshcherb avatar vshcherb commented on July 19, 2024

I think I have same situation but I'm not sure that I have live updates. App freezes and crashes 10 seconds after start

from osmand.

pebogufi avatar pebogufi commented on July 19, 2024

"Me too"

from osmand.

vshcherb avatar vshcherb commented on July 19, 2024

We trying to update live maps as well now though it's very tricky to exclude some portion of data. Also users will need to clean data anyway and redownload fresh.
~10 min To test first patch

from osmand.

vshcherb avatar vshcherb commented on July 19, 2024

We identified 2 suspciously large data changes (probably they included data areas too big): 14:20-14:30 UTC and 22:40-22:50 UTC

from osmand.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.