URL:
<http://gna.org/bugs/?21728>
Summary: Ai hunter crash
Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 27 Feb 2014 08:00:25 AM EET
Category: ai
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
TRUNK r24572 + bug #21640 fix + attached autogame
(gdb) bt
#0 get_total_defense_power (attacker=attacker@entry=0x1326da0,
defender=defender@entry=0x0)
at common/combat.c:596
#1 0x000000000053ab35 in unit_win_chance (attacker=attacker@entry=0x1326da0,
defender=0x0)
at common/combat.c:375
#2 0x0000000000518a76 in dai_hunter_manage (ait=ait@entry=0x9aa220
<ai_types>, pplayer=pplayer@entry=0x254d6d0,
punit=punit@entry=0x1326da0) at ai/default/aihunt.c:499
#3 0x00000000005195bf in eval_hunter_want (ait=ait@entry=0x9aa220 <ai_types>,
pplayer=pplayer@entry=0x254d6d0,
pcity=pcity@entry=0xff3130, choice=choice@entry=0xfce7e0,
best_type=0xb26cc0 <unit_types+12480>,
veteran=<optimized out>) at ai/default/aihunt.c:228
#4 0x00000000005199e2 in dai_hunter_choice (ait=ait@entry=0x9aa220
<ai_types>, pplayer=pplayer@entry=0x254d6d0,
pcity=pcity@entry=0xff3130, choice=choice@entry=0xfce7e0) at
ai/default/aihunt.c:267
#5 0x00000000005050c7 in military_advisor_choose_build
(ait=ait@entry=0x9aa220 <ai_types>,
pplayer=pplayer@entry=0x254d6d0, pcity=pcity@entry=0xff3130,
choice=choice@entry=0xfce7e0)
at ai/default/advmilitary.c:1576
#6 0x000000000050792d in dai_manage_cities (ait=ait@entry=0x9aa220
<ai_types>, pplayer=pplayer@entry=0x254d6d0)
at ai/default/aicity.c:743
#7 0x0000000000515900 in dai_do_last_activities (ait=0x9aa220 <ai_types>,
pplayer=<optimized out>)
at ai/default/aihand.c:762
#8 0x0000000000435a1b in end_phase () at server/srv_main.c:1041
#9 0x00000000004398cb in srv_running () at server/srv_main.c:2432
#10 srv_main () at server/srv_main.c:2893
#11 0x0000000000431aae in main (argc=3, argv=0x7fffffffe2a8) at
server/civserver.c:454
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 27 Feb 2014 08:00:25 AM EET Name: regression.serv Size: 287B By:
cazfi
<http://gna.org/bugs/download.php?file_id=20202>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21728>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev