URL:
<http://gna.org/bugs/?20700>
Summary: assert "(index) >= 0 && (index) < MAP_INDEX_SIZE"
failed
Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 02 Apr 2013 02:05:14 AM EEST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: r22640
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
Attached autogame asserts (but only at turn 393 and it has a lot of players
for server to handle, so be prepared to long wait if you run the autogame)
bt full
#0 0x00007ffff668defb in raise (sig=<optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1 0x0000000000670b52 in fc_assert_fail (file=0x71e181 "common/map.h",
function=0x71eb00 "index_to_map_pos_y", line=718,
assertion=0x71e158 "(index) >= 0 && (index) < MAP_INDEX_SIZE",
message=0x74ef94 "nologmsg:%s") at utility/log.c:520
level = LOG_FATAL
#2 0x000000000057befe in index_to_map_pos_y (index=78302080)
at common/map.h:718
map_x = 32767
map_y = -163131160
__FUNCTION__ = "index_to_map_pos_y"
#3 0x000000000057e695 in unit_tile_link (punit=0x4a38b60)
at common/featured_text.c:1126
buf = "[l tgt=\"tile\" x=88 y=47]AEGIS Cruiser[/l]\000\000\000]",
'\000' <repeats 82 times>
tag_name = 0x71e512 "l"
#4 0x0000000000497cab in sell_random_unit (pplayer=0x1755660,
punitlist=0x493b490) at server/cityturn.c:1914
punit = 0x4a38b60
gold_upkeep = 2
r = 2
__FUNCTION__ = "sell_random_unit"
#5 0x000000000049801c in player_balance_treasury_units_and_buildings (
pplayer=0x1755660) at server/cityturn.c:1971
pimprlist = 0x481df30
punitlist = 0x493b490
sell_unit = true
__FUNCTION__ = "player_balance_treasury_units_and_buildings"
#6 0x00000000004939c0 in update_city_activities (pplayer=0x1755660)
at server/cityturn.c:581
cities = 0x7fffffffdec8
i = 0
r = 0
buf = '\000' <repeats 96 times>,
"PEe\001\000\000\000\000PEe\001\000\000\000\000PEe\001\000\000\000\000\330\336\377\377\377\177\000\000$",
'\000' <repeats 11 times>, "%", '\000' <repeats 11 times>,
"p\340\377\377\377\177\000\000\023\307d\000\000\000\000\000(\215\271\000\000\000\000\000\240\340\377\377\377\177\000\000\267\324d\000\000\000\000"
n = 27
gold = 11
__FUNCTION__ = "update_city_activities"
#7 0x000000000043d24a in end_phase () at server/srv_main.c:1029
MY_i = 98
pplayer = 0x1755660
__FUNCTION__ = "end_phase"
#8 0x0000000000440e64 in srv_running () at server/srv_main.c:2337
eot_timer = 0x1646be0
save_counter = 19
i = 0
is_new_turn = true
need_send_pending_events = false
__FUNCTION__ = "srv_running"
#9 0x00000000004420ee in srv_main () at server/srv_main.c:2788
__FUNCTION__ = "srv_main"
#10 0x00000000004366df in main (argc=6, argv=0x7fffffffe368)
at server/civserver.c:454
inx = 6
showhelp = false
showvers = false
option = 0xb968a0 " \261\232"
__FUNCTION__ = "main"
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 02 Apr 2013 02:05:14 AM EEST Name: mapindex.serv Size: 183B By:
cazfi
<http://gna.org/bugs/download.php?file_id=17651>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20700>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev