[Freeciv-Dev] [bug #18333] assertion 'ai->phase_initialized' failed

2016-10-02 Thread Marko Lindqvist
Update of bug #18333 (project freeciv):

Category:None => ai 
  Status:None => Duplicate  
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 

___

Follow-up Comment #7:

dai_plr_data_get() has since been refactored in a way that address most causes
of this assert. Closing this bug assuming that its root-cause is one of the
handled ones. Open new tickets about cases that still make assert to fail.

___

Reply to this item at:

  

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


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


[Freeciv-Dev] [bug #18333] assertion 'ai-phase_initialized' failed

2015-01-20 Thread Marko Lindqvist
Follow-up Comment #6, bug #18333 (project freeciv):

bug #18461 has another case where action of one player causes another one to
need its data, even if it's not its phase: conquering enemy capital can cause
civil war for him/her.

___

Reply to this item at:

  http://gna.org/bugs/?18333

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


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


[Freeciv-Dev] [bug #18333] assertion 'ai-phase_initialized' failed

2013-01-29 Thread Marko Lindqvist
Update of bug #18333 (project freeciv):

 Planned Release:   2.4.0 =


___

Reply to this item at:

  http://gna.org/bugs/?18333

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


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


[Freeciv-Dev] [bug #18333] assertion 'ai-phase_initialized' failed

2011-07-12 Thread Micke

Follow-up Comment #2, bug #18333 (project freeciv):

I get this assertion failure within two turns upon every load (4 so far) of
the attached savefile.


(file #13534)
___

Additional Item Attachment:

File name: freeciv-T0002-Y-3900-auto.sav.gz Size:13 KB


___

Reply to this item at:

  http://gna.org/bugs/?18333

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


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


[Freeciv-Dev] [bug #18333] assertion 'ai-phase_initialized' failed

2011-07-12 Thread Marko Lindqvist

Follow-up Comment #3, bug #18333 (project freeciv):

(gdb) bt
#0  0x7707beeb in raise (sig=value optimized out)
at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:41
#1  0x0059b086 in fc_assert_fail (
file=0x60db68 ai/default/aidata.c, 
function=0x60dd10 ai_plr_data_get, line=310, 
assertion=value optimized out, message=0x0)
at utility/log.c:491
#2  0x004c92be in ai_plr_data_get (pplayer=0x134d0b0)
at ai/default/aidata.c:310
#3  0x004ba3ab in ai_goldequiv_clause (pplayer=0x134d0b0, 
aplayer=0x1348760, pclause=0x1350b70, verbose=value optimized out, 
ds_after=DS_PEACE) at ai/default/advdiplomacy.c:289
#4  0x004bb3c1 in ai_treaty_evaluate (pplayer=0x134d0b0, 
aplayer=0x1348760, ptreaty=0x131c930)
at ai/default/advdiplomacy.c:591
#5  0x004bdcf9 in ai_diplomacy_actions (pplayer=0x1348760)
at ai/default/advdiplomacy.c:1682
#6  0x0040d4c3 in begin_phase ()
at server/srv_main.c:945
#7  srv_running () at server/srv_main.c:2184
#8  srv_main () at server/srv_main.c:2676
#9  0x00405592 in main (argc=value optimized out, 
argv=0x7fffe258) at server/civserver.c:392


___

Reply to this item at:

  http://gna.org/bugs/?18333

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


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


[Freeciv-Dev] [bug #18333] assertion 'ai-phase_initialized' failed

2011-07-12 Thread Marko Lindqvist

Follow-up Comment #4, bug #18333 (project freeciv):

phasemode in this game is Team. It seems that same player for some reason
gets second opportunity to move (two phases given to him) in same turn when
problem occurs.

___

Reply to this item at:

  http://gna.org/bugs/?18333

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


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


[Freeciv-Dev] [bug #18333] assertion 'ai-phase_initialized' failed

2011-07-12 Thread Marko Lindqvist

Follow-up Comment #5, bug #18333 (project freeciv):

After some more debugging I no longer think that player gets several phases,
I just misunderstood when turn had changed.

Basic reason for this error seems quite clear. When phasemode is some
alternating one, data phases (both advisors and default ai ones) are not open
for all players simultaneously. Current ai can cause another one, for which
data phase is not open, to evaluate treaty.
I think we have more similar problems where actions of one ai (whose phase it
is) can cause other ai to do something out of its phase. Diplomatic incidents
at least are likely to have this problem.

___

Reply to this item at:

  http://gna.org/bugs/?18333

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


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


[Freeciv-Dev] [bug #18333] assertion 'ai-phase_initialized' failed

2011-07-11 Thread Jacob Nevins

Update of bug #18333 (project freeciv):

 Release:   19927 = trunk r19927   
 Planned Release: = 2.4.0  
 Summary: assertion 'ai-phase_initilized' failed =
assertion 'ai-phase_initialized' failed

___

Follow-up Comment #1:

It sounds like you're talking about trunk (as there's no file/function named
like that in S2_3).

Bug #18095 was closed by suppressing the assertion failure on S2_3 only
(trunk was unchanged). The failure there was not reproducible on trunk.

I had a quick poke at this revision and didn't see anything of the kind after
29 turns with the default ruleset and aifill 7. Can you provide a savegame
from which it can be reproduced? Failing that, can you get a backtrace with
-F?

___

Reply to this item at:

  http://gna.org/bugs/?18333

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


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