Crashing during navigation or simulation of a route
  • I am experiencing random crashes during navigating or during simulating a route.

    last log entry is 

     "ERR 15/03/10 11:17:47  assertion failed (line:115 in src/RouteEdge.cpp)
    ERR 15/03/10 11:17:47  assertion failed (line:119 in src/RouteEdge.cpp)

    Version 1.5.22

    Have to restart Navigator, load route, clear all passed waypoints and start navigation again.

    This is intermittent during simulation

  • 15 Comments sorted by
  • Thanks for report. Since 1.5.22 are asserts again reported (there used to be reported approx year ago). It is often hint for following troubles. In your case the first assert is about validity of route edge and it is invalid. Is it one particular country?
  • @mdx

    This is UK map.

    Looking at the log I can see quite a few lines with "assertion failed" but somehow it recovers and carries on.

    Is anything I can do to ensure good validity of route edge?.

    How can I work out where exactly on the route it fails so that I can the move or add a waypoint

    Another example
    "RtgNav::nextPositionOnRoute(1,1,[I@7a752fb0)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    DMP 15/03/10 10:35:04 (JAVA) RtgNav::nextPositionOnRoute(1,1,[I@7a752fb0)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    DMP 15/03/10 10:35:04 (JAVA) RtgNav::nextPositionOnRoute(1,1,[I@7a752fb0)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    ERR 15/03/10 10:35:04 assertion failed (line:56 in src/ItineraryProxy.cpp)
    ERR 15/03/10 10:35:04 assertion failed

  • @mdx

    As it happened again I had to downgrade to the stable version 1.4.24. Not ideal as I have lost some of the changes. 

     Is there a way to add this discussion in the http://forum.mapfactor.com/discussion/6306/test-of-android-version-1-5-x/p1  discussion or shall I post it again ?


  • We released 1.5.22 as stable version so beta testing topic is "deprecated". Important is that @mdx know about this problem, it sounds critical so I think he gave it big priority
  • @lubos
    @mdx

    Thanks - I was not aware of that as I am not on Google Play Store.

    I would really appreciate it if somebody could let me know when this is resolved so that I can upgrade to the latest version.

    There were some good enhancements, especially the bigger speed limit image that I miss. ;-)
  • We probably fixed "assertion failed (line:56 in src/ItineraryProxy.cpp)" problem - it may not crash application. Can I ask you for routing points where you get "assertion failed (line:115 in src/RouteEdge.cpp)"?
  • @lubos

    Can you please point me to the right direction where to find the information you want... is it in the log ? what am looking for..

  • open route info in navigator main menu and send us screenshot of routing points tab(first one if names are not visible)
  • When it crushes all the routing points are cleared. 

    But on Tuesday I had the same problem again on a different route. This time I had 2 devices with me - one with 1.4.24 version and the other with 1.5.22. (I have reloaded the route and attached the screenshots) 

    I was navigating using the 1.4.24 and I had the 1.5.22 in my pocket. 

    Results
    1.4.24 finished with no problems
    1.5.22 crushed ( as it was in my pocket I dont know which routing point but looking at the logs I think it was just after waypoint 10 which is lat=51.92575449, lon=-1.72567507)

    These are the logs - I hope will be useful

    1.4.22 (logs set at medium level)

    DMP 15/03/17 11:58:36 (JAVA) RtgNav::displayMaximumSpeed(40)
    DMP 15/03/17 11:58:36 SCOUT: displayMaximumSpeed [OK]
    DMP 15/03/17 11:58:47 SCOUT: displayMaximumSpeed - 60
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::displayMaximumSpeed(60)
    DMP 15/03/17 11:58:47 SCOUT: displayMaximumSpeed [OK]
    DMP 15/03/17 11:59:54 SCOUT: maximumSpeedExceeded - START
    DMP 15/03/17 11:59:54 (JAVA) RtgNav::maximumSpeedExceeded(true)
    DMP 15/03/17 11:59:54 SCOUT: maximumSpeedExceeded [OK]
    ----------------------------------------------
    1.5.22 (logs set at high level)

    DMP 15/03/17 11:58:45 (JAVA) GPS::UpdateTask : [name=gps, acc=5.0, time=1426593525000, lat=51.92575449, lon=-1.72567507]
    DMP 15/03/17 11:58:45 (JAVA) GPS::UpdateTask : [name=network, acc=500.0, time=8633883721680268112, lat=52.09449999999999, lon=-0.65561]
    DMP 15/03/17 11:58:45 (JAVA) GPS::UpdateTask : choosed location : [name=gps, acc=5.0, time=1426593525000, lat=51.92575449, lon=-1.72567507]
    DMP 15/03/17 11:58:45 (JAVA) RtgNav::updateGPSPosition(186932716,-6212430,18,232,59,182,2015,3,17,11,58,45)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:46 (JAVA) Map::getView([I@7a0d5470)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::itineraryItem(0)
    DMP 15/03/17 11:58:46 (JAVA) Map::pixmap(android.graphics.Bitmap@7a15c6b8)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::itineraryItem(1)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:46 (JAVA) Map::getView([I@7a064358)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::itineraryItem(0)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:46 (JAVA) Map::getView([I@7a07c000)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(12)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(9)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(1)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:46 (JAVA) Map::getView([I@7a1549a0)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(12)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(9)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(1)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(12)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(9)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigationInfo(1)
    DMP 15/03/17 11:58:46 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:46 (JAVA) Map::getView([I@7a14a3a0)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79ff8dd0)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79fbd068)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79e36110)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79e08d48)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79e149e8)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79e3c958)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79e4b0a0)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@7a075660)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79fbd6a0)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@7a057cd8)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@7a07a120)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79fcda88)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79e85138)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@7a161810)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@7a060170)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79fa44e0)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::navigating()
    DMP 15/03/17 11:58:47 (JAVA) Map::getView([I@79fc8f60)
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::updateCompassDirection(false, 278)
    DMP 15/03/17 11:58:47 (JAVA) GPS::UpdateTask : [name=gps, acc=6.0, time=1426593527000, lat=51.925447840000004, lon=-1.72572012]
    DMP 15/03/17 11:58:47 (JAVA) GPS::UpdateTask : [name=network, acc=500.0, time=8633883721680268112, lat=52.09449999999999, lon=-0.65561]
    DMP 15/03/17 11:58:47 (JAVA) GPS::UpdateTask : choosed location : [name=gps, acc=6.0, time=1426593527000, lat=51.925447840000004, lon=-1.72572012]
    DMP 15/03/17 11:58:47 (JAVA) RtgNav::updateGPSPosition(186931612,-6212592,18,231,60,183,2015,3,17,11,58,47)
    ERR 15/03/17 11:58:47 assertion failed (line:115 in src/RouteEdge.cpp)
    ERR 15/03/17 11:58:47 assertion failed (line:118 in src/RouteEdge.cpp)
    ERR 15/03/17 11:58:47 assertion failed (line:178 in src/Route.cpp)
    image
     


    image
  • @lubos
    was the above helpful?
  • it was, We can repeat it on our deivce and it is important for fixing... we are trying to fix it :)
  • @lubos

    In case it could be of help to you it happened on v1.6.3 as well while simulating the same route around the same waypoint, 10.

    Last entries on the log.

    DMP 15/03/26 16:30:26 (JAVA) RtgNav::nextPositionOnRoute(1,3,[I@7ad6a640)
    DMP 15/03/26 16:30:26 (JAVA) RtgNav::updateGPSPosition(187035024,-5747769,32767,15,76,-67,2015,3,26,16,30,26)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::navigationInfo(12)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::navigationInfo(9)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::navigationInfo(1)
    DMP 15/03/26 16:30:27 (JAVA) Map::getView([I@7a8a0328)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::navigating()
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::itineraryItem(0)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::itineraryItem(1)
    DMP 15/03/26 16:30:27 (JAVA) Map::pixmap(android.graphics.Bitmap@7a978410)
    DMP 15/03/26 16:30:27 (JAVA) Map::getView([I@7a763250)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::navigating()
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::navigating()
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::itineraryItem(0)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::itineraryItem(0)
    DMP 15/03/26 16:30:27 (JAVA) Map::getView([I@7a8904a0)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::nextPositionOnRoute(1,3,[I@7ad6a640)
    DMP 15/03/26 16:30:27 (JAVA) RtgNav::updateGPSPosition(187035259,-5748715,32767,15,76,-67,2015,3,26,16,30,27)
    ERR 15/03/26 16:30:27 assertion failed (line:115 in src/RouteEdge.cpp)
    ERR 15/03/26 16:30:27 assertion failed (line:118 in src/RouteEdge.cpp)
    ERR 15/03/26 16:30:27 assertion failed (line:178 in src/Route.cpp)
    ERR 15/03/26 16:30:27 assertion failed (line:119 in src/RouteEdge.cpp)
    ERR 15/03/26 16:30:27 assertion failed (line:178 in src/Route.cpp)
  • Any news on this issue?

    It happened again yesterday following a route (not simulation), same test with 2 devices.

    Version V1.6.3 crashed and V1.4.24 was perfect.

    these are the errors

    DMP 15/04/05 09:19:26 (JAVA) GPS::UpdateTask : [name=gps, acc=10.0, time=1428225566000, lat=52.132470080000004, lon=-0.9912168299999999]
    DMP 15/04/05 09:19:26 (JAVA) GPS::UpdateTask : [name=network, acc=60.0, time=9223209964258042680, lat=52.09555805, lon=-0.6506300999999999]
    DMP 15/04/05 09:19:26 (JAVA) GPS::UpdateTask : choosed location : [name=gps, acc=10.0, time=1428225566000, lat=52.132470080000004, lon=-0.9912168299999999]
    DMP 15/04/05 09:19:26 (JAVA) RtgNav::updateGPSPosition(187676892,-3568380,17,95,25,219,2015,4,5,9,19,26).
    ERR 15/04/05 09:19:27 assertion failed (line:115 in src/RouteEdge.cpp)
    ERR 15/04/05 09:19:27 assertion failed (line:119 in src/RouteEdge.cpp)

    I can only use v1.4.24 now - all newer versions seem to have the "RouteEdge" problem.
  • lines with "assertion failed" weren't logged in 1.4.x and earlier versions. Assertion doesn't mean crash - it indicates incorrect state.
  • Sorry, stand corrected !

    The fact is that when that happens the application "crashes" or closes down. Then it needs to be restarted, load the route, work out which waypoints to clear and start the navigation.

    You did say that is important it gets fixed. I am just looking for some time-scales as I would like to start using the latest version as well.

    NB. I would be very happy to test it for you

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion