Opened 11 years ago

Closed 11 years ago

#989 closed defect/bug (fixed)

Crash if Navit window is made very narrow in main menu of internal GUI

Reported by: sleske Owned by: cp15
Priority: minor Milestone:
Component: gui/internal Version: git master
Severity: Keywords:


  • Start Navit with the default configuration (i.e. using internal GUI)
  • go to main menu screen (the one with "Actions", "Settings" etc.)
  • resize the window to make it very narrow (less than 200 px or so)

Result: Navit crashes (segfault).

SVN rev. 4879.

Platform: Debian Linux (sid), x86-32

Change History (2)

comment:1 Changed 11 years ago by korrosa

Confirmed on Ubuntu with Navit r4879

Following is terminal output:

#0  0x00a21422 in __kernel_vsyscall ()
#1  0x002f97d3 in waitpid () from /lib/tls/i686/cmov/
#2  0x0029ade3 in ?? () from /lib/tls/i686/cmov/
#3  0x00b8f27d in system () from /lib/tls/i686/cmov/
#4  0x0806431f in sigsegv (sig=11) at debug.c:80
#5  <signal handler called>
#6  0x00acc827 in gui_internal_top_bar (this=0x90c46b8, label=0xb771a39e "Main Menu") at gui_internal.c:1670
#7  gui_internal_menu (this=0x90c46b8, label=0xb771a39e "Main Menu") at gui_internal.c:1862
#8  0x00accb73 in gui_internal_html_text (dummy=0x91fcc00, text=0x91fcc70 "Main menu", len=9, data=0x90c46b8, error=0xbfbc83ac) at gui_internal.c:5435
#9  0x008e79af in g_markup_parse_context_parse () from /lib/
#10 0x0805a671 in xml_parse_text (
    document=0x920fa18 "\n\t<html>\n\t\t<img cond='flags&amp;2' src='gui_map' onclick='back_to_map()'><text>Show Map</text></img>\t\t\n\t\t<!-- Main Menu -->\n\t\t<a name='Main Menu'><text>Main menu</text>\n\n\t\t\t<!--<img cond='click_coord_"..., data=0x90c46b8, start=0xac68a0 <gui_internal_html_start>, 
    end=0xac6370 <gui_internal_html_end>, text=0xacc860 <gui_internal_html_text>) at xmlconfig.c:1029
#11 0x00ac9d1d in gui_internal_html_menu (this=0x90c46b8, href=<value optimised out>, replace=0) at gui_internal.c:5484
#12 gui_internal_html_load_href (this=0x90c46b8, href=<value optimised out>, replace=0) at gui_internal.c:5144
#13 0x0805ec8f in callback_call (cb=0x9183090, pcount=2, p=0xbfbc8540) at callback.c:175
#14 0x0805edb8 in callback_list_call_attr (l=0x90b3120, type=attr_resize, pcount=2, p=0xbfbc8540) at callback.c:219
#15 0x0805ef0f in callback_list_call_attr_args (cbl=0x90b3120, type=attr_resize, count=152957072) at callback.c:235
#16 0x00b3c143 in configure (widget=0x9082040, event=0x9084a00, user_data=0x90c3bf8) at graphics_gtk_drawing_area.c:714
#17 0x01063434 in ?? () from /usr/lib/
#18 0x00ef2252 in g_closure_invoke () from /usr/lib/
#19 0x00f0699d in ?? () from /usr/lib/
#20 0x00f07c33 in g_signal_emit_valist () from /usr/lib/
#21 0x00f08256 in g_signal_emit () from /usr/lib/
#22 0x01190646 in ?? () from /usr/lib/
#23 0x00fd85b0 in ?? () from /usr/lib/
#24 0x00eff438 in g_cclosure_marshal_VOID__BOXED () from /usr/lib/
#25 0x00ef08b9 in ?? () from /usr/lib/
#26 0x00ef2178 in g_closure_invoke () from /usr/lib/
#27 0x00f0623a in ?? () from /usr/lib/

comment:2 Changed 11 years ago by tryagain

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

Fixed in r4880

Note: See TracTickets for help on using tickets.