Project

General

Profile

Actions

Bug #999

open

Client calls government_name_for_player() even when player government not known

Added by Marko Lindqvist about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
client-common
Target version:
-
Start date:
10/21/2024
Due date:
% Done:

0%

Estimated time:

Description

1: in government_name_translation() [../../src/common/government.c::145]: assertion '((void *)0) != pgovern' failed.
3: Backtrace:
3: 0: ./client/freeciv-gtk4(backtrace_print+0x29) [0x56434379ce29]
3: 1: ./client/freeciv-gtk4(do_log+0xeb) [0x5643437a274b]
3: 2: ./client/freeciv-gtk4(fc_assert_fail+0x9d) [0x5643437a293d]
3: 3: ./client/freeciv-gtk4(government_name_for_player+0x75) [0x564343678d35]

Assuming all clients to be affected, as there are government_name_for_player() calls scattered both to client common and gui specific code.

No data to display

Actions

Also available in: Atom PDF