Bug #1930
openTileset error in
0%
Description
Tileset error in latest dev code.
file:///home/jro/dev/freeciv/build/tileset_error.png
4: tilespec file is "/usr/local/share/freeciv/hexemplio.tilespec".
4: Reading registry from "/usr/local/share/freeciv/hexemplio.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/alio.tilespec".
4: Reading registry from "/usr/local/share/freeciv/alio.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/amplio2.tilespec".
4: Reading registry from "/usr/local/share/freeciv/amplio2.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/cimpletoon.tilespec".
4: Reading registry from "/usr/local/share/freeciv/cimpletoon.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/hex2t.tilespec".
4: Reading registry from "/usr/local/share/freeciv/hex2t.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/hexemplio.tilespec".
4: Reading registry from "/usr/local/share/freeciv/hexemplio.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/isophex.tilespec".
4: Reading registry from "/usr/local/share/freeciv/isophex.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/isotrident.tilespec".
4: Reading registry from "/usr/local/share/freeciv/isotrident.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/toonhex.tilespec".
4: Reading registry from "/usr/local/share/freeciv/toonhex.tilespec"
3: Client does not support Isometric tilesets.
3: Using default tileset instead.
4: tilespec file is "/usr/local/share/freeciv/trident.tilespec".
4: Reading registry from "/usr/local/share/freeciv/trident.tilespec"
3: Client does not support Overhead tilesets.
3: Using default tileset instead.
0: No usable default tileset found, aborting!
The optimized code looks rignt, …
(e.g. the `mov DWORD PTR [rax],0x10100` looks to fill the structure with FALSE, TRUE, TRUE, FALSE)
except, the dereference shows initialization with false, not initialization with true.
(note the `(gdb) p gui_properties.views` gives `$1 = {isomeric = 0, overhead = 0, d3 = 0}`, all false results.)
file:///home/jro/dev/freeciv/build/alignment_issues.png
Files
Updated by John Robertson about 2 months ago
My system has been updated to Ubuntu 25.10 .
Updated by Marko Lindqvist about 2 months ago
What does
(gdb) p sizeof(gui_properties)
give? Should be 4 to match the instruction that tries to fill entire struct as one DWORD, and is that on my system.
I cannot reproduce, neither in my Debian Testing machine nor Ubuntu 26.04 LTS development version VM (I don't have 25.10 VM at the moment)
Updated by John Robertson about 2 months ago
I'll move to 26.04 LTS to see if this goes away.
Updated by John Robertson about 1 month ago
Please close.
Still on Kubuntu 25.10, but this is fixed with the latest dev update.
I had to run `autoreconf -f -i` to get the build tools updated. e.g. `aclocal-1.16` was missing, because it is now `aclocal-1.17`.