Update of bug #9103 (project wesnoth):

              Item Group:                    None =>  None of the others    

    _______________________________________________________

Follow-up Comment #1:

Here's a stack trace.  I think I've turned up a real bug in the AI.

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 47394048622544 (LWP 14839)]
0x000000000043f4f9 in ai::average_resistance_against (this=0x45cf040, 
    [EMAIL PROTECTED], [EMAIL PROTECTED]) at ai.cpp:1554
1554            defense /= weighting_sum;
(gdb) bt
#0  0x000000000043f4f9 in ai::average_resistance_against (this=0x45cf040, 
    [EMAIL PROTECTED], [EMAIL PROTECTED]) at ai.cpp:1554
#1  0x000000000043f28f in ai::compare_unit_types (this=0x45cf040, 
    [EMAIL PROTECTED], [EMAIL PROTECTED]) at ai.cpp:1601
#2  0x000000000043ed76 in ai::analyze_potential_recruit_combat
(this=0x45cf040)
    at ai.cpp:1641
#3  0x000000000043d2c0 in ai::do_recruitment (this=0x45cf040) at ai.cpp:1805
#4  0x00000000004439dd in ai::move_unit (this=0x45cf040, from=
        {x = 9, y = 6, static null_location = {x = -1, y = -1, static
null_location = <same as static member of an already seen type>}}, to=
        {x = 9, y = 2, static null_location = {x = -1, y = -1, static
null_location = <same as static member of an already seen type>}}, 
    [EMAIL PROTECTED]) at ai.cpp:601
#5  0x0000000000447cc6 in ai::get_villages (this=0x45cf040, 
    [EMAIL PROTECTED], [EMAIL PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED]) at ai.cpp:1272
#6  0x0000000000448f03 in ai::do_move (this=0x45cf040) at ai.cpp:912
#7  0x0000000000440455 in ai::play_turn (this=0x45cf040) at ai.cpp:826
#8  0x0000000000675002 in playsingle_controller::play_ai_turn (
    this=0x7fffe38f5080) at playsingle_controller.cpp:533
#9  0x0000000000675c5b in playsingle_controller::play_side (
    this=0x7fffe38f5080, team_index=2, save=false)
    at playsingle_controller.cpp:450
#10 0x000000000067622a in playsingle_controller::play_turn (
    this=0x7fffe38f5080, save=false) at playsingle_controller.cpp:399
#11 0x0000000000677005 in playsingle_controller::play_scenario (
    this=0x7fffe38f5080, [EMAIL PROTECTED], [EMAIL PROTECTED], 
    skip_replay=false) at playsingle_controller.cpp:192
#12 0x0000000000679ae3 in playsingle_scenario ([EMAIL PROTECTED], 
    [EMAIL PROTECTED], level=0x7fffe38f6bf8, [EMAIL PROTECTED],

    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], 
    skip_replay=false) at playsingle_controller.cpp:35
#13 0x0000000000661c89 in play_game ([EMAIL PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], 
    io_type=IO_NONE, skip_replay=false) at playcampaign.cpp:288
#14 0x00000000005179f0 in (anonymous namespace)::game_controller::play_game
(
    this=0x7fffe38f68d0, 
    reload=(anonymous namespace)::game_controller::NO_RELOAD_DATA)
    at game.cpp:1590
#15 0x000000000052847a in play_game (argc=1, argv=0x7fffe38f7148)
    at game.cpp:1917
#16 0x000000000052864b in main (argc=1, argv=0x7fffe38f7148) at
game.cpp:1947
(gdb) 



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to