Actions
Bug #2424
openunit_virtual_destroy(anim->movement.mover) segfault when quitting client
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
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.
Updated by Marko Lindqvist about 2 hours ago
- File 0087-Fix-client-crash-on-exit-when-movement-animations-st.patch 0087-Fix-client-crash-on-exit-when-movement-animations-st.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
- Target version set to 3.2.8
Actions