#78170: Attack from transport crash Open Date: 2024-05-10 08:44 Last Update: 2024-06-02 01:15 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/78170 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=78170 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2024-06-02 01:15 Updated by: cazfi Comment: Reply To cazfi While I couldn't reproduce the crash, I am seeing various odd behaviors with the focus advancement in general. -> https://redmine.freeciv.org/issues/694 --------------------------------------------------------------------- Ticket Status: Reporter: bard Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.1.2 Component: Client common Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Similar to bug #62981, but this time with default ruleset (S3_1). Tested with client gtk3.22 and qt6. If I load the attached savegame, I use the mouse to select one of the Musketers (all in sentry state) inside the Transport, and I use "drag and drop" (mouse gesture) to attack the adjacent enemy Mech Inf, then the Musketer is deselected, loses the sentry state, and it changes to a "waiting orders" state with a "?" icon. If I select the same Musketer again, and I click attack when the popup appear, the game crashes with a segmentation fault error: in utype_can_do_action() [unittype.c::449]: assertion '(signed int)(utype_index(putype)) >= 0 && (signed int)(utype_index(putype)) < (signed int) sizeof((unit_can_act_cacheact_id).vec) * 8' failed. I'm playing a game where this kind of crashes are common (any action performed from a transport with a sentry unit), but it uses to work if I just reload the game. This savegame crashes to me every time I try the same attack. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/78170 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=78170