Project

General

Profile

Actions

Bug #1708

closed

"Segmentation fault: 11" when viewing nations screen, OS X

Added by Peter Sergeant 13 days ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Category:
client-common
Target version:
Start date:
10/18/2025
Due date:
% Done:

0%

Estimated time:

Description

version 3.2.1, gui-gtk-3.22 client, installed using homebrew on 15.1.1 (24B91)

The attached save file will always segfault when opening the Nations window.

Reliably, some number of turns in (20-80?) the client will crash unprompted first. It can be restarted, and the savefile reloaded, but then opening the Nations window will crash it every time. This happens for every game I play. This was also an issue in 3.2.0, but not in the previous version I had installed, which I don't recall the version of, but will have been recent.


Files

Actions #1

Updated by Marko Lindqvist 12 days ago

  • Target version set to 3.2.2

1: in government_name_translation() [../../src/common/government.c::145]: assertion '((void *)0) != pgovern' failed.

When asserts are not set to fatal, the nations report shows government of R.I.P. nations as "(null)"

Actions #2

Updated by Marko Lindqvist 12 days ago

Here's a fix that I made first, and which seems to work, but I now think that we actually want a bit different fix to go in.

Actions #4

Updated by Dean Brown 12 days ago

Interesting - when I try loading that saved game into the gtk-3.22 client which I built on my Mac from the 3.2.1 released tarball, it appears to load it OK but the Start button never gets enabled so I can't even start the game. So I also can't test the patch. My build is using MacPorts packages, not Homebrew packages, might make a difference.

Actions #5

Updated by Marko Lindqvist 11 days ago

Dean Brown wrote in #note-4:

the Start button never gets enabled so I can't even start the game.

As this is not your own savegame, there's no player attached to a user named 'dean' (or what ever your username is). You need to /take a player (the easiest way is to right-click on a player name to open the context menu)

Actions #6

Updated by Marko Lindqvist 5 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF