Project

General

Profile

Actions

Bug #1695

open

SIGSEGV from NULL punit->goto_tile

Added by John Robertson 3 months ago. Updated 1 day ago.

Status:
In Review
Priority:
Normal
Category:
Server
Target version:
Start date:
09/29/2025
Due date:
% Done:

0%

Estimated time:

Description

[3.3.90.5-dev]
Occasionally, especially in a long game, goto units get stuck in "G" goto mode, but going nowhere. This seems to be some downstream fallout. This fix does not address how the pointer gets set to null, just guards against the use of a NULL pointer.


Files

1695.patch (1.23 KB) 1695.patch John Robertson, 09/29/2025 04:03 AM
0059-invasion_funct-Assert-goto-tile-validity.patch (2.25 KB) 0059-invasion_funct-Assert-goto-tile-validity.patch Marko Lindqvist, 01/08/2026 01:06 AM

Related issues 5 (1 open4 closed)

Related to Bug #1741: Server crash due to animal kingdom aiClosedMarko Lindqvist11/16/2025

Actions
Related to Feature #1750: sanitycheck.c: Check that goto_tile is set for ACTIVITY_GOTOClosedMarko Lindqvist11/19/2025

Actions
Related to Bug #1766: handle_unit_change_activity_real() may keep ACTIVITY_GOTO after clearing goto_tileClosedMarko Lindqvist11/23/2025

Actions
Related to Feature #1769: savegame: version-gate log message about ACTIVITY_GOTO vs goto_tile inconsistencyClosedMarko Lindqvist11/24/2025

Actions
Blocks Tasks #1845: Release 3.2.3NewMarko Lindqvist12/27/2025

Actions
Actions

Also available in: Atom PDF