bugFreeciv - Bugs: bug #20686, assert 'ai->phase_initialized...

 
 
Show feedback again

bug #20686: assert 'ai->phase_initialized || game.info.phase_mode != PMT_CONCURRENT' failed

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sat Mar 30 21:27:59 2013  
 
Category: aiSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: r22627Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue Jul 15 21:12:20 2014, comment #3:

(Bug #21235 is the same assertion firing, but maybe in a different situation)

Jacob Nevins <jtn>
Project Administrator
Tue Jul 15 21:11:52 2014, comment #2:

Can we hope for patch #4515 to have improved or fixed this?

Jacob Nevins <jtn>
Project Administrator
Sun Mar 31 09:04:38 2013, comment #1:

Another autogame where it's much faster to reproduce (turn 79, less players to handle)

(file #17622)

Marko Lindqvist <cazfi>
Project Administrator
Sat Mar 30 21:27:59 2013, original submission:

Attached autogame results in assert failure turn 180. Backtrace shows interesting chain of events. First pact between two players is cancelled. I assume it was alliance as cancellation results in unit stack resolving. During stack resolving unit is teleported next to unit or city of third player. That gives new contact between the players, and they negotiate a treaty.

0: in dai_plr_data_get() [../../../../src.patched/ai/default/aidata.c::313]: assertion 'ai->phase_initialized || game.info.phase_mode != PMT_CONCURRENT' failed.

>

2: Backtrace:

>

2: 0: ./server/freeciv-server() [0x60492d]

>

2: 1: ./server/freeciv-server(vdo_log+0x89) [0x608239]

>

2: 2: ./server/freeciv-server(do_log+0x7d) [0x6082ed]

>

2: 3: ./server/freeciv-server(fc_assert_fail+0x9f) [0x60851f]

>

2: 4: ./server/freeciv-server(dai_plr_data_get+0xcf) [0x50b32f]

>

2: 5: ./server/freeciv-server() [0x4fa5be]

>

2: 6: ./server/freeciv-server(dai_treaty_evaluate+0x112) [0x4fb6a2]

>

2: 7: ./server/freeciv-server(handle_diplomacy_create_clause_req+0x10a) [0x48b83a]

>

2: 8: ./server/freeciv-server(make_contact+0x270) [0x49e2b0]

>

2: 9: ./server/freeciv-server(maybe_make_contact+0x2eb) [0x49e6bb]

>

2: 10: ./server/freeciv-server(unit_move+0x125) [0x456485]

>

2: 11: ./server/freeciv-server(bounce_unit+0x3c2) [0x45ab02]

>

2: 12: ./server/freeciv-server() [0x45af54]

>

2: 13: ./server/freeciv-server(resolve_unit_stacks+0x3a) [0x45b02a]

>

2: 14: ./server/freeciv-server(handle_diplomacy_cancel_pact+0x53c) [0x49ed2c]

>

2: 15: ./server/freeciv-server() [0x43da9e]

>

2: 16: ./server/freeciv-server(srv_main+0x2b8) [0x43f318]

>

2: 17: ./server/freeciv-server(main+0x21e) [0x43664e]

>

2: 18: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f99eeef9ead]

>

2: 19: ./server/freeciv-server() [0x437061]

Marko Lindqvist <cazfi>
Project Administrator

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17622:  expphase.serv added by cazfi (248B - application/octet-stream)
file #17616:  phaserepro.serv added by cazfi (184B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cazfi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Error: not logged in

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Mar 31 09:04:38 2013cazfiAttached File-=>Added expphase.serv, #17622
    Sat Mar 30 21:27:59 2013cazfiAttached File-=>Added phaserepro.serv, #17616
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup