Noticed with S3_1 gtk3.22-client acting as global observer, but likely problem with client-common code: After game has finished because of turn limit, quitting the server causes the client to crash, within idle_callback trying to draw the mapview.
There's also other errors before the complete crash.
1: in nation_of_player() [../../src/common/nation.c::446]: This function has NULL nation argument.
1: in nation_of_player() [../../src/common/nation.c::446]: assertion 'nation_check(pplayer->nation, log_do_output_for_level_at_location(LOG_ERROR, "../../src/common/nation.c", 446), "../../src/common/nation.c", __FUNCTION__, 446)' failed.
1: Please report this message at https://osdn.net/projects/freeciv/ticket/
1: in nation_index() [../../src/common/nation.c::499]: assertion '((void *)0) != pnation' failed.
1: Please report this message at https://osdn.net/projects/freeciv/ticket/
1: in nation_of_player() [../../src/common/nation.c::446]: This function has NULL nation argument.
1: in nation_of_player() [../../src/common/nation.c::446]: assertion 'nation_check(pplayer->nation, log_do_output_for_level_at_location(LOG_ERROR, "../../src/common/nation.c", 446), "../../src/common/nation.c", __FUNCTION__, 446)' failed.
1: Please report this message at https://osdn.net/projects/freeciv/ticket/
1: in nation_index() [../../src/common/nation.c::499]: assertion '((void *)0) != pnation' failed.
1: Please report this message at https://osdn.net/projects/freeciv/ticket/
Thread 1 "freeciv-gtk3.22" received signal SIGSEGV, Segmentation fault.
0x0000555555678b0d in get_sprite_dimensions (sprite=sprite@entry=0x1191,
width=width@entry=0x7fffffffaed8, height=height@entry=0x7fffffffaedc)
at ../../../src/client/gui-gtk-3.22/sprite.c:109
109 *width = cairo_image_surface_get_width(sprite->surface);
(gdb) bt
#0 0x0000555555678b0d in get_sprite_dimensions
(sprite=sprite@entry=0x1191, width=width@entry=0x7fffffffaed8, height=height@entry=0x7fffffffaedc) at ../../../src/client/gui-gtk-3.22/sprite.c:109
#1 0x000055555562c3c8 in canvas_put_sprite_full
(pcanvas=pcanvas@entry=0x55555c9bc780, canvas_x=-25, canvas_y=853, sprite=0x1191)
at ../../../src/client/gui-gtk-3.22/canvas.c:154
#2 0x00005555555e9ee8 in put_drawn_sprites
(pcanvas=pcanvas@entry=0x55555c9bc780, zoom=zoom@entry=1, canvas_x=canvas_x@entry=-70, canvas_y=canvas_y@entry=846, count=<optimized out>, pdrawn=pdrawn@entry=0x7fffffffaf70, fog=false)
at ../../src/client/mapview_common.c:1311
#3 0x00005555555ea003 in put_one_element
(pcanvas=pcanvas@entry=0x55555c9bc780, zoom=zoom@entry=1, layer=<optimized out>, ptile=ptile@entry=0x0, pedge=pedge@entry=0x0, pcorner=pcorner@entry=0x0, punit=punit@entry=0x55556022a800, pcity=0x0, canvas_x=-70, canvas_y=846, citymode=0x0, putype=0x0) at ../../src/client/mapview_common.c:1341
#4 0x00005555555ea0d8 in put_unit
(punit=punit@entry=0x55556022a800, pcanvas=0x55555c9bc780, zoom=1, canvas_x=canvas_x@entry=-70, canvas_y=846, canvas_y@entry=814) at ../../src/client/mapview_common.c:1353
#5 0x00005555555ef745 in movement_animation (time_gone=<optimized out>, anim=0x555558490c50)
at ../../src/client/mapview_common.c:232
#6 update_animation () at ../../src/client/mapview_common.c:431
#7 0x0000555555660160 in map_canvas_draw
(w=<optimized out>, cr=0x555556514a80, data=<optimized out>)
at ../../../src/client/gui-gtk-3.22/mapview.c:420
Noticed with S3_1 gtk3.22-client acting as global observer, but likely problem with client-common code: After game has finished because of turn limit, quitting the server causes the client to crash, within idle_callback trying to draw the mapview.
There's also other errors before the complete crash.