<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39404 >

Reproducable crasher that is similar in S2_1 r13004:

1. Start a new game, start and wait for the map view to show up
2. Leave the game
3. Exploit bug PR#39408 to switch notebook page to the map view

the crash backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 805468960 (LWP 30484)]
find_visible_unit (ptile=0x30dfb558) at ../utility/speclist.h:110
110       return genlist_size(tthis->list);
(gdb) bt
#0  find_visible_unit (ptile=0x30dfb558) at ../utility/speclist.h:110
#1  0x10018a08 in handle_mouse_cursor (ptile=0x30dfb558) at control.c:896
#2  0x100e50c0 in move_mapcanvas (w=<value optimized out>,
    ev=<value optimized out>, data=<value optimized out>) at mapctrl.c:387
#3  0x0fd7e128 in _gtk_marshal_BOOL EAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#4  0x0f60f3bc in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5  0x0f623a24 in g_signal_chain_from_overridden ()
   from /usr/lib/libgobject-2.0.so.0
#6  0x0f624abc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#7  0x0f624ef8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8  0x0fec6890 in gtk_widget_get_default_style ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0x0fd75840 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x0fd771a0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x0fb77dfc in _gdk_events_init () from /usr/lib/libgdk-x11-2.0.so.0
#12 0x0f5255f4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0x0f5292f8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#14 0x0f529764 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#15 0x0fd776d4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x100ddd44 in ui_main (argc=1, argv=0x7f84d574) at gui_main.c:1418
#17 0x10010f94 in main (argc=<value optimized out>, argv=0x7f84d574)
    at civclient.c:357


A sure way to be able to ctrl+pgdn to the map view page is to focus a
button on each page and then press ctrl+pgdn

Freeciv-dev mailing list

Reply via email to