URL:
  <http://gna.org/bugs/?20686>

                 Summary: assert 'ai->phase_initialized ||
game.info.phase_mode != PMT_CONCURRENT' failed
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 30 Mar 2013 11:27:59 PM EET
                Category: ai
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: r22627
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

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]



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 30 Mar 2013 11:27:59 PM EET  Name: phaserepro.serv  Size: 184B   By:
cazfi

<http://gna.org/bugs/download.php?file_id=17616>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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