Ticket #48 (closed defect/bug: fixed)

Opened 4 years ago

Last modified 4 years ago

navit seg faults when all mapsets are disabled

Reported by: reddog@… Owned by: somebody
Priority: critical Milestone: version 0.0.4
Component: core Version: 0.0.3
Keywords: Cc:

Description

Navit gets segfaults when all mapsets are disabled and you click on the destination button in the menubar.
The function mapset_search_new() can't search on nothing.
The function navit_get_mapset() can't return nothing.

I think navit should load (finds no maps), print an information dialog, and disable the destination button.

Attachments

test1.patch Download (390 bytes) - added by reddog@… 4 years ago.
navit_get_mapset horrible fix
test2.patch Download (566 bytes) - added by reddog@… 4 years ago.
mapset_search_new horrible fix

Change History

Changed 4 years ago by reddog@…

navit_get_mapset horrible fix

Changed 4 years ago by reddog@…

mapset_search_new horrible fix

comment:1 Changed 4 years ago by KaZeR

  • Milestone set to version 0.0.4

comment:2 Changed 4 years ago by KaZeR

  • Status changed from new to closed
  • Resolution set to fixed

Thank you, i've applied your patches with some slight modifications.

Note: See TracTickets for help on using tickets.