#78170: Attack from transport crash Open Date: 2024-05-10 08:44 Last Update: 2024-05-10 14:54 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-05-10 14:54 Updated by: cazfi Comment: I can't reproduce (with the head of S3_1), nor does valgrind reveal anything like accessing the Musketeer memory after it has died. Seems that the only way forward would be that you provide full backtrace of the crash yourself. https://www.freeciv.org/wiki/Bug_Reporting --------------------------------------------------------------------- Ticket Status: Reporter: bard Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) Component: (None) Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- 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