Opened 10 years ago

Closed 10 years ago

#803 closed defect/bug (fixed)

navit refuses to terminate when pushing the exit button

Reported by: praenki Owned by: KaZeR
Priority: major Milestone: version 0.5.0
Component: core Version: git master
Severity: Keywords:
Cc: https://wiki.navit-project.org/index.php/user:thomasah

Description

With tonights svn-build (4376) navit shows the behaviour specified above. I have to use a task-manager to terminate the program. this never occured on any of the svn-builds i've used so far.

Change History (6)

comment:1 Changed 10 years ago by korrosa

  • Summary changed from (android) navit refuses to terminate when pushing the exit button to navit refuses to terminate when pushing the exit button

I don't think this is just on the Android platform either - I'm on Ubuntu with r4376 built from source and Navit crashes when I try to quit properly (i.e. clicking the relevant button in the menu).

Below is the debug message I get in my terminal:

netbook@netbook-laptop:~$ navit
navit:navit_set_attr_do:setting osd_configuration to 1 (was -1)
vehicle_gpsd:vehicle_gpsd_try_open:Trying to connect to localhost:default
vehicle_gpsd:vehicle_gpsd_try_open:Connected to gpsd fd=8 evwatch=0x995d260
navit:attr_data_size:size for item_type unknown
map_binfile:map_binfile_zip_setup:num_disk 0
navit:attr_data_size:size for item_type unknown
navit:attr_data_size:size for item_type unknown
navit:attr_data_size:size for item_type unknown
navit:attr_data_size:size for item_type unknown
navit:xinclude:Unable to include /home/netbook/.navit/layouts/OSM_dark.xml
navit:main_real:Using '/home/netbook/.navit/navit.xml'
navit:osd_set_std_graphic:accesskey 7
navit:osd_set_std_graphic:accesskey 6
navit:osd_set_std_graphic:accesskey 5
navit:osd_set_std_graphic:accesskey 5
navit:osd_set_std_graphic:accesskey 3
navit:osd_set_std_graphic:accesskey s
navit:osd_set_std_graphic:accesskey  
navit:osd_set_std_graphic:accesskey i
navit:osd_set_std_graphic:accesskey -
navit:osd_set_std_graphic:accesskey =
navit:osd_set_std_graphic:accesskey f
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:osd_set_std_graphic:accesskey (null)
navit:command_new:entry 349 exit 50
navit:command_new:entry 44 exit 335
navit:command_new:entry 121 exit 101
navit:osd_evaluate_command:calling command 'set_attr_var("item_attr",   map_add_curr_pos("csv_speed_limit_map","poi_rail_halt") ) ;   map_item_set_attr("csv_speed_limit_map",  get_attr_var("item_attr") , "label"  , "30mph" ) '
gui_internal:gui_internal_set_refresh_callback:cond=(null)
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/navit...done.
Attaching to program: /usr/local/bin/navit, process 24902
Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /usr/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/tls/i686/cmov/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/librt.so.1
Reading symbols from /lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libglib-2.0.so.0
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/i686/cmov/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libpcre.so.3
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/lib/navit/binding/libbinding_dbus.so...done.
Loaded symbols for /usr/local/lib/navit/binding/libbinding_dbus.so
Reading symbols from /usr/lib/libdbus-glib-1.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdbus-glib-1.so.2
Reading symbols from /lib/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libdbus-1.so.3
Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/navit/map/libmap_textfile.so...done.
Loaded symbols for /usr/local/lib/navit/map/libmap_textfile.so
Reading symbols from /usr/local/lib/navit/graphics/libgraphics_gtk_drawing_area.so...done.
Loaded symbols for /usr/local/lib/navit/graphics/libgraphics_gtk_drawing_area.so
Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/libatk-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libatk-1.0.so.0
Reading symbols from /usr/lib/libgio-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgio-2.0.so.0
Reading symbols from /usr/lib/libpangoft2-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/lib/libpangocairo-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/lib/libcairo.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcairo.so.2
Reading symbols from /usr/lib/libpango-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXinerama.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libXi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libXrandr.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXcomposite.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXcomposite.so.1
Reading symbols from /usr/lib/libXdamage.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdamage.so.1
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
Reading symbols from /lib/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libselinux.so.1
Reading symbols from /usr/lib/libpixman-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpixman-1.so.0
Reading symbols from /usr/lib/libdirectfb-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdirectfb-1.2.so.0
Reading symbols from /usr/lib/libfusion-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfusion-1.2.so.0
Reading symbols from /usr/lib/libdirect-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdirect-1.2.so.0
Reading symbols from /lib/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpng12.so.0
Reading symbols from /usr/lib/libxcb-render-util.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb-render-util.so.0
Reading symbols from /usr/lib/libxcb-render.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb-render.so.0
Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libexpat.so.1
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
Reading symbols from /usr/lib/libcanberra-gtk.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcanberra-gtk.so.0
Reading symbols from /usr/lib/libcanberra.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcanberra.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libvorbis.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libogg.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libtdb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtdb.so.1
Reading symbols from /usr/lib/libltdl.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libltdl.so.7
Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so
Reading symbols from /usr/local/lib/navit/font/libfont_freetype.so...done.
Loaded symbols for /usr/local/lib/navit/font/libfont_freetype.so
Reading symbols from /usr/lib/libfribidi.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfribidi.so.0
Reading symbols from /usr/local/lib/navit/gui/libgui_internal.so...done.
Loaded symbols for /usr/local/lib/navit/gui/libgui_internal.so
Reading symbols from /usr/local/lib/navit/osd/libosd_core.so...done.
Loaded symbols for /usr/local/lib/navit/osd/libosd_core.so
Reading symbols from /usr/local/lib/navit/vehicle/libvehicle_gpsd_dbus.so...done.
Loaded symbols for /usr/local/lib/navit/vehicle/libvehicle_gpsd_dbus.so
Reading symbols from /usr/local/lib/navit/vehicle/libvehicle_gpsd.so...done.
Loaded symbols for /usr/local/lib/navit/vehicle/libvehicle_gpsd.so
Reading symbols from /usr/lib/libgps.so.19...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgps.so.19
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/local/lib/navit/speech/libspeech_cmdline.so...done.
Loaded symbols for /usr/local/lib/navit/speech/libspeech_cmdline.so
Reading symbols from /usr/local/lib/navit/map/libmap_csv.so...done.
Loaded symbols for /usr/local/lib/navit/map/libmap_csv.so
Reading symbols from /usr/local/lib/navit/map/libmap_binfile.so...done.
Loaded symbols for /usr/local/lib/navit/map/libmap_binfile.so
Reading symbols from /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
Reading symbols from /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
Reading symbols from /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
Reading symbols from /usr/lib/librsvg-2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librsvg-2.so.2
Reading symbols from /usr/lib/libgsf-1.so.114...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgsf-1.so.114
Reading symbols from /usr/lib/libcroco-0.6.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcroco-0.6.so.3
Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /usr/lib/gconv/ISO8859-1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
0x003d8422 in __kernel_vsyscall ()
#0  0x003d8422 in __kernel_vsyscall ()
#1  0x004707d3 in waitpid () from /lib/tls/i686/cmov/libc.so.6
#2  0x00411de3 in ?? () from /lib/tls/i686/cmov/libc.so.6
#3  0x002a827d in system () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x080609bf in sigsegv (sig=11) at debug.c:80
#5  <signal handler called>
#6  0x004448ce in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x00445d65 in ?? () from /lib/tls/i686/cmov/libc.so.6
#8  0x00448ecd in free () from /lib/tls/i686/cmov/libc.so.6
#9  0x00d94fc6 in g_free () from /lib/libglib-2.0.so.0
#10 0x00d7dace in ?? () from /lib/libglib-2.0.so.0
#11 0x00d7e3ad in g_hash_table_destroy () from /lib/libglib-2.0.so.0
#12 0x00b12656 in map_destroy_csv (m=0x997aad8) at csv.c:152
#13 0x0806bcb7 in map_destroy_do (m=0x997a880) at map.c:265
#14 0x0806bd0e in map_destroy (m=0x0) at map.c:283
#15 0x0806c8fa in mapset_destroy (ms=0x995bc20) at mapset.c:154
#16 0x0806cd62 in navit_destroy (this_=0x98f5fa8) at navit.c:3022
#17 0x00a16153 in gui_internal_cmd2_quit (this=0x996a2a8, function=0xbf98b020 "quit", in=0x0, out=0xbf98b094, valid=0xe19ff4) at gui_internal.c:3916
#18 0x0808c9d5 in command_table_call (table=0xa228c0, count=20, data=0x996a2a8, command=0xbf98b020 "quit", in=0x0, out=0xbf98b094, valid=0xbf98b098) at command.c:897
#19 0x0805daa0 in callback_call (cb=0x9968ad0, pcount=4, p=0xbf98af90) at callback.c:163
#20 0x0805dc48 in callback_list_call_attr (l=0x9968778, type=attr_command, pcount=4, p=0xbf98af90) at callback.c:219
#21 0x0805dd9f in callback_list_call_attr_args (cbl=0x9968778, type=attr_command, count=336586256) at callback.c:235
#22 0x0808ccd5 in command_call_function (ctx=<value optimised out>, res=<value optimised out>) at command.c:402
#23 0x0808cf92 in eval_postfix (ctx=0xbf98b6bc, res=<value optimised out>) at command.c:444
#24 eval_unary (ctx=0xbf98b6bc, res=<value optimised out>) at command.c:462
#25 0x0808d041 in eval_multiplicative (ctx=0xa806df8, res=0x0) at command.c:471
#26 0x0808d19e in eval_additive (ctx=0xa806df8, res=0x0) at command.c:504
#27 0x0808d291 in eval_equality (ctx=0xa806df8, res=0x0) at command.c:531
---Type <return> to continue, or q <return> to quit---q
Quit
Detaching from program: /usr/local/bin/navit, process 24902

comment:2 Changed 10 years ago by thomasah

Just a quick "me too" (r4376 build with cmake running on Android 2.1)

comment:3 Changed 10 years ago by thomasah

When removing all navit.xml files (and thus starting without a map), exiting navit works fine.

comment:4 Changed 10 years ago by thomasah

  • Cc https://wiki.navit-project.org/index.php/user:thomasah added

And after doing nothing else than configuring the mapset to the following, exiting no longer works.

<mapset enabled="yes">

<map type="binfile" enabled="yes" data="/sdcard/navit/osm_germany.bin"/> <map type="binfile" enabled="yes" data="/sdcard/navit/osm_mallorca.bin"/> <map type="binfile" enabled="yes" data="/sdcard/navit/navitmap.bin"/> <map type="binfile" enabled="yes" data="/sdcard/navit/navitmap_002.bin"/>

</mapset>

comment:5 Changed 10 years ago by tegzed

Hopefully fixed in svn rev 4378. Please test it and close ticket if navit exists correctly.

comment:6 Changed 10 years ago by thomasah

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

Works fine with r4378, thanks.

Note: See TracTickets for help on using tickets.