Project

General

Profile

Actions

Bug #2424

open

unit_virtual_destroy(anim->movement.mover) segfault when quitting client

Added by Dean Brown about 21 hours ago. Updated about 2 hours ago.

Status:
In Review
Priority:
Normal
Category:
client-common
Target version:
Start date:
10/26/2026
Due date:
% Done:

0%

Estimated time:

Description

Seen this a couple of times, both times the save game does not reproduce it. Stack shows

animations_free() in mapview_common.c line 200

which looks like "unit_virtual_destroy(anim->movement.mover);"

S3_3 branch, gtk3.22 client, civ2civ3 ruleset.


Files

Actions #1

Updated by Marko Lindqvist about 15 hours ago

  • Subject changed from Segfault when quitting client to unit_virtual_destroy(anim->movement.mover) segfault when quitting client

There is an one frame window in the end of an animation where the animation still exist, but is already finished and virtual units are destroyed.

The options are to either eliminate that window, or to handle it properly in animations_free(). I like the idea of one frame delay between separate animations, so likely going by the second option.

Actions #2

Updated by Marko Lindqvist about 2 hours ago

Actions

Also available in: Atom PDF