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.
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
- 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.
Also available in: Atom
PDF