Follow-up Comment #1, bug #17728 (project freeciv):

> When loading a savegame, I get the following error:
> in ai_data_get() [advdata.c::786]: assertion 'ai->phase_is_initialized'
failed.
I'm getting messages like these too. I had assumed this was bug #17669 (fixed
since beta3), but I'm still getting them even after the fix for that, and on
closer inspection that bug was about adv->..., not ai->....

For me:

S2_3 r19324: just starting the server is OK, but if I start a fresh game,
immediately save it, then load it in a new server, I get warnings about
"ai->phase_is_initialized" (so it's not just an old "poisoned" savegame). I
think this must be the same as Joan is seeing:


2: Loading rulesets.
2: AI*1 has been added as Easy level AI-controlled player.
2: AI*2 has been added as Easy level AI-controlled player.
2: AI*3 has been added as Easy level AI-controlled player.
2: AI*4 has been added as Easy level AI-controlled player.
2: AI*5 has been added as Easy level AI-controlled player.
2: Removing player AI*1.
2: Removing player AI*2.
2: Removing player AI*3.
2: Removing player AI*4.
2: Removing player AI*5.
2: Chandragupta has been added as human player.
2: Beneharo has been added as Easy level AI-controlled player.
2: Luigi Pelloux has been added as Easy level AI-controlled player.
2: Lester B. Pearson has been added as Easy level AI-controlled player.
2: Friedrich August I has been added as Easy level AI-controlled player.
1: in ai_data_get() [advdata.c::786]: assertion 'ai->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in ai_data_get() [advdata.c::786]: assertion 'ai->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in ai_data_get() [advdata.c::786]: assertion 'ai->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in ai_data_get() [advdata.c::786]: assertion 'ai->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in ai_data_get() [advdata.c::786]: assertion 'ai->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
2: Now accepting new client connections.


With trunk r19323: just starting the server without a savegame gives errors
about both "ai->phase_initialized" and "adv->phase_is_initialized":


2: Loading rulesets.
1: in ai_plr_data_get() [aidata.c::260]: assertion 'ai->phase_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in adv_data_get() [advdata.c::612]: assertion 'adv->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
2: AI*1 has been added as Easy level AI-controlled player.
1: in ai_plr_data_get() [aidata.c::260]: assertion 'ai->phase_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in adv_data_get() [advdata.c::612]: assertion 'adv->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
2: AI*2 has been added as Easy level AI-controlled player.
1: in ai_plr_data_get() [aidata.c::260]: assertion 'ai->phase_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in adv_data_get() [advdata.c::612]: assertion 'adv->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
2: AI*3 has been added as Easy level AI-controlled player.
1: in ai_plr_data_get() [aidata.c::260]: assertion 'ai->phase_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in adv_data_get() [advdata.c::612]: assertion 'adv->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
2: AI*4 has been added as Easy level AI-controlled player.
1: in ai_plr_data_get() [aidata.c::260]: assertion 'ai->phase_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in adv_data_get() [advdata.c::612]: assertion 'adv->phase_is_initialized'
failed.
1: Please report this message at http://gna.org/projects/freeciv/
2: AI*5 has been added as Easy level AI-controlled player.
2: Now accepting new client connections.


If I load the attached savegame into trunk, I get even more assertion
failures, much the same. This might all be a different problem given the
upheaval with advisors/AI on trunk.

> After pressing "Start", the following message appears on 
> the terminal where I started civ:
> (freeciv-gtk2:27440): Gtk-CRITICAL **: IA__gtk_table_resize: assertion
`n_cols > 0 && n_cols <= 65535' failed 
This is a separate known bug; see bug #17608.

(file #12431)
    _______________________________________________________

Additional Item Attachment:

File name: S2_3_fresh.sav.bz2             Size:11 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17728>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to