Opened 12 years ago

Closed 12 years ago

#48 closed defect/bug (fixed)

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
Severity: 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 (2)

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

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by reddog@…

navit_get_mapset horrible fix

Changed 12 years ago by reddog@…

mapset_search_new horrible fix

comment:1 Changed 12 years ago by KaZeR

  • Milestone set to version 0.0.4

comment:2 Changed 12 years ago by KaZeR

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

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

Note: See TracTickets for help on using tickets.