Opened 4 years ago

Closed 4 weeks ago

#1199 closed defect/bug (fixed)

navit crash when $HOME/.navit/gui_internal.txt contains invalid navit.layout

Reported by: tuxmaster Owned by: cp15
Priority: critical Milestone: version 0.5.1
Component: gui/internal Version: git master
Severity: trivial Keywords: crash, persistance, preferences
Cc:

Description

Hello, when the navit.layout parameter in the gui_internal.txt file is not present in the navit.xml file, then navit crash at the start. SVN Version: 5752

Change History (4)

comment:1 Changed 4 years ago by usul

  • Component changed from core to gui/internal
  • Keywords crash persistance preferences added
  • Milestone set to version 0.5.1
  • Owner changed from KaZeR to cp15
  • Severity changed from normal to trivial

Thanks for finding and isolating this bug :) I will schedule it for the 0.5.2 hotfix.

comment:2 Changed 4 years ago by sleske

Please attach the gui_internal.txt that causes Navit to crash. Also, how did you create this file?

Last edited 4 years ago by sleske (previous) (diff)

comment:3 Changed 4 years ago by tuxmaster

The file gui_internal.txt was created automatic when running navit. It only contains one line:

navit.layout=navit.layout[@name=="Tag"];

And when this layout is not present at the navit.xml file, then navit will crash.

comment:4 Changed 4 weeks ago by http://wiki.navit-project.org/index.php/user:jkoan

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

Navit does not Crash anymore if an invalid layout is in the gui_internal.txt

Note: See TracTickets for help on using tickets.