michael reported following at freeciv-dev mailing list. Commit is from master branch.
version 1547c17802ff465ec55531e4c9273d4a4b8da461
client gtk3.22
the segfault occured after i did press g (goto) and then r (road) for a
worker.
(gdb) bt full
#0 pf_path_last_position (path=0x0) at path_finding.c:3499
#1 0x000055ef39c1ca47 in goto_get_turns (min=min@entry=0x7ffdf896bec8, max=max@entry=0x7ffdf896becc) at goto.c:1114
turns = 3
i = 1
goto_map_iter = 0x0
goto_map = 0x55ef3ba66180
FUNCTION = "goto_get_turns"
#2 0x000055ef39c5444e in get_unit_info_label_text2 (punits=punits@entry=0x55ef3ce21030, linebreaks=linebreaks@entry=0) at text.c:1102
#5 0x000055ef39c3d0b5 in handle_unit_info (packet=packet@entry=0x55ef433b1fd0) at packhand.c:1545
punit = 0x55ef414f31c0
#6 0x000055ef39c45f95 in client_handle_packet (type=type@entry=PACKET_UNIT_INFO, packet=packet@entry=0x55ef433b1fd0) at packhand_gen.c:186
#7 0x000055ef39c068cd in client_packet_input (packet=packet@entry=0x55ef433b1fd0, type=63) at client_main.c:771
FUNCTION = "client_packet_input"
#8 0x000055ef39c0e2c1 in input_from_server (fd=<optimized out>) at clinet.c:420
type = PACKET_UNIT_INFO
packet = 0x55ef433b1fd0
nb = <optimized out>
FUNCTION = "input_from_server"
#9 0x000055ef39c040bf in get_net_input (source=<optimized out>, condition=<optimized out>, data=<optimized out>) at gui_main.c:2161
#10 0x00007fb13cc09a84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#11 0x00007fb13cc5d9b1 in () at /usr/lib/libglib-2.0.so.0
#12 0x00007fb13cc08fd3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#13 0x00007fb13d4ad22f in gtk_main () at /usr/lib/libgtk-3.so.0
#14 0x000055ef39c05a3d in ui_main (argc=<optimized out>, argc@entry=1, argv=<optimized out>, argv@entry=0x7ffdf896c958) at gui_main.c:1937
toplevel_font_name = <optimized out>
sig = <optimized out>
FUNCTION = "ui_main"
#15 0x000055ef39c07ee1 in client_main (argc=1, argv=0x7ffdf896c958) at client_main.c:685
michael reported following at freeciv-dev mailing list. Commit is from master branch.
version 1547c17802ff465ec55531e4c9273d4a4b8da461 client gtk3.22
the segfault occured after i did press g (goto) and then r (road) for a worker.
(gdb) bt full #0 pf_path_last_position (path=0x0) at path_finding.c:3499 #1 0x000055ef39c1ca47 in goto_get_turns (min=min@entry=0x7ffdf896bec8, max=max@entry=0x7ffdf896becc) at goto.c:1114
#2 0x000055ef39c5444e in get_unit_info_label_text2 (punits=punits@entry=0x55ef3ce21030, linebreaks=linebreaks@entry=0) at text.c:1102
#3 0x000055ef39caa733 in update_unit_info_label (punits=0x55ef3ce21030) at mapview.c:269
#4 0x000055ef39c3a7ae in handle_unit_packet_common (packet_unit=packet_unit@entry=0x55ef414f31c0) at packhand.c:1933
#5 0x000055ef39c3d0b5 in handle_unit_info (packet=packet@entry=0x55ef433b1fd0) at packhand.c:1545
#6 0x000055ef39c45f95 in client_handle_packet (type=type@entry=PACKET_UNIT_INFO, packet=packet@entry=0x55ef433b1fd0) at packhand_gen.c:186 #7 0x000055ef39c068cd in client_packet_input (packet=packet@entry=0x55ef433b1fd0, type=63) at client_main.c:771
#8 0x000055ef39c0e2c1 in input_from_server (fd=<optimized out>) at clinet.c:420
#9 0x000055ef39c040bf in get_net_input (source=<optimized out>, condition=<optimized out>, data=<optimized out>) at gui_main.c:2161 #10 0x00007fb13cc09a84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #11 0x00007fb13cc5d9b1 in () at /usr/lib/libglib-2.0.so.0 #12 0x00007fb13cc08fd3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0 #13 0x00007fb13d4ad22f in gtk_main () at /usr/lib/libgtk-3.so.0 #14 0x000055ef39c05a3d in ui_main (argc=<optimized out>, argc@entry=1, argv=<optimized out>, argv@entry=0x7ffdf896c958) at gui_main.c:1937
#15 0x000055ef39c07ee1 in client_main (argc=1, argv=0x7ffdf896c958) at client_main.c:685
#16 0x000055ef39c04a4f in main (argc=<optimized out>, argv=<optimized out>) at gui_main.c:1688