Opened 12 years ago

Closed 11 years ago

#160 closed defect/bug (fixed)

corrupt destination.txt file will prevent navit from starting

Reported by: kiddo Owned by: somebody
Priority: blocker Milestone: version 0.1.0
Component: core Version: git master
Severity: Keywords:
Cc:

Description

this should never happen: navit should just ignore (delete) the destination file (or at least tell the user) if it is not able to parse it properly. The contents of destination.txt were like this:

mg:0xff82f82f 0x56eb65 type=former_destination label="Map Point 4530.8142N 07341.4253W"
mg:0xff82f8eb 0x56dfc5 type=former_destination label="Map Point 4529.6888N 07341.3238W"
mg:0xff82f7f9 0x56eb84 type=former_destination label="Map Point 4530.8259N 07341.4544W"

and it caused this:

jeff@kiki:~/trunks/navit/navit$ ./navit 
Running from source directory
vehicle_gpsd:vehicle_gpsd_new_gpsd:Retry interval not defined, setting to 10

** (<unknown>:14176): WARNING **: gps_open failed for 'gpsd://localhost'. Retrying in 10 seconds. Have you started gpsd?

data_binfile:map_new_binfile:file_create /home/jeff/trunks/navit/navit/quebec-ontario.bin
magic 0x6054b50
cde_size 60
members 97
0x6054b50
0x2014b50
data_textfile:map_new_textfile:map_new_textfile bookmark.txt
data_textfile:map_new_textfile:map_new_textfile destination.txt
**
** ERROR:(coord.c:92):coord_rect_overlap: assertion failed: (r2->lu.x <= r2->rl.x)
Abandon (core dumped)

Change History (3)

comment:1 Changed 12 years ago by KaZeR

  • Milestone set to version 0.1.0

comment:2 Changed 12 years ago by kiddo

this has been fixed by cp15 in svn today, had something to do with wrong calculations of the hemispheres. please close this.

comment:3 Changed 11 years ago by KaZeR

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.