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

                 Summary: client assertion unit_list_size(ptile->units) failed
                 Project: Freeciv
            Submitted by: mir3x
            Submitted on: Fri 27 Jul 2012 06:51:11 PM CEST
                Category: client
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: trunk
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 

    _______________________________________________________

Details:

( It's related to all clients, not Qt, I checked with gtk2 )

it repeatable. Save game attached.

failed assertion:
in handle_tile_info() [../../client/packhand.c::2670]: assertion '0 ==
unit_list_size(ptile->units)' failed.

2:     0: ./client/freeciv-gtk2() [0x5d02a8]
2:     1: ./client/freeciv-gtk2(vdo_log+0x88) [0x5d5018]
2:     2: ./client/freeciv-gtk2(do_log+0x7d) [0x5d50cd]
2:     3: ./client/freeciv-gtk2(fc_assert_fail+0x9f) [0x5d52ff]
2:     4: ./client/freeciv-gtk2(handle_tile_info+0x8fd) [0x4a25bd]
2:     5: ./client/freeciv-gtk2(client_handle_packet+0x611) [0x4a6c21]

debug=4 shows before ->

4: client_remove_city() 172, Trondheim
4: game_remove_city() at (24,27) city 172, Holy Roman Trondheim
4: (24,27) creating city 172, Burgundian Trondheim
4: A: agents_city_changed(city 172="Trondheim") owner=Burgundian
3: got packet type=(PACKET_TILE_INFO)15 len=11 from server
4: incoming packet={type=15, size=11}
3: packet_tile_info_100: got info about (2051)
3:   got field 'known'
4: remove_packet_from_buffer: remove 11; remaining 756
0x9597980 220 Warriors at (23,26) Henri le Grand

in handle_tile_info() [../../client/packhand.c::2670]: assertion '0 ==
unit_list_size(ptile->units)' failed.

after that everything goes ok:
4: A: agents_tile_remove(tile=(23, 26))
3: got packet type=(PACKET_UNIT_SHORT_INFO)64 len=20 from server
4: incoming packet={type=64, size=20}





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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