Update of bug #10496 (project wesnoth):
Item Group: None => None of the others
Status: None => Confirmed
Assigned to: None => mordante
_______________________________________________________
Follow-up Comment #1:
Reproduced in AI vs AI multiplayer and one SP campaign. Allways occurs after
desperate attack (but not after each desperate attack). Backtrace :
Program received signal SIGSEGV, Segmentation fault.
0x0043ba70 in ai_interface::attack_enemy (this=0xbb988f0, [EMAIL PROTECTED],
[EMAIL PROTECTED], weapon=0, def_weapon=0) at src/ai.cpp:1093
1093
dialogs::advance_unit(info_.gameinfo,info_.map,info_.uni
ts,u,info_.disp,true);
Current language: auto; currently c++
(gdb) bt
#0 0x0043ba70 in ai_interface::attack_enemy (this=0xbb988f0, [EMAIL PROTECTED],
[EMAIL PROTECTED], weapon=0, def_weapon=0) at src/ai.cpp:1093
#1 0x004370f2 in ai::attack_enemy (this=0xbb988f0,
[EMAIL PROTECTED], [EMAIL PROTECTED], att_weapon=0,
def_weapon=0)
at src/ai.cpp:661
#2 0x0044b4fd in ai::desperate_attack (this=0xbb988f0, [EMAIL PROTECTED])
at src/ai_attack.cpp:775
#3 0x0043e305 in ai::retreat_units (this=0xbb988f0,
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], leader={i_ = {_M_node = 0xbacbd90}})
at src/ai.cpp:1464
#4 0x0043a585 in ai::do_move (this=0xbb988f0) at src/ai.cpp:951
#5 0x0043a36a in ai::do_move (this=0xbb988f0) at src/ai.cpp:942
#6 0x00439f44 in ai::do_move (this=0xbb988f0) at src/ai.cpp:918
#7 0x00439f44 in ai::do_move (this=0xbb988f0) at src/ai.cpp:918
#8 0x00439f44 in ai::do_move (this=0xbb988f0) at src/ai.cpp:918
#9 0x00439f44 in ai::do_move (this=0xbb988f0) at src/ai.cpp:918
#10 0x0043932e in ai::play_turn (this=0xbb988f0) at src/ai.cpp:845
#11 0x0078f064 in playsingle_controller::play_ai_turn (this=0x229c90)
at src/playsingle_controller.cpp:663
#12 0x007845d0 in playmp_controller::play_side (this=0x229c90, team_index=1,
save=true) at src/playmp_controller.cpp:98
#13 0x0078d403 in playsingle_controller::play_turn (this=0x229c90,
save=true)
at src/playsingle_controller.cpp:480
#14 0x0078a554 in playsingle_controller::play_scenario (this=0x229c90,
[EMAIL PROTECTED], [EMAIL PROTECTED], skip_replay=false)
at src/playsingle_controller.cpp:271
#15 0x0062e229 in playmp_scenario ([EMAIL PROTECTED],
[EMAIL PROTECTED],
level=<incomplete type>, [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], skip_replay=false, [EMAIL PROTECTED])
at src/playcampaign.cpp:161
#16 0x0063257d in play_game ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
io_type=IO_SERVER, skip_replay=false) at src/playcampaign.cpp:378
#17 0x005c2d30 in enter_connect_mode ([EMAIL PROTECTED],
[EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
default_controller=CNTR_NETWORK, is_server=false)
at src/multiplayer.cpp:357
#18 0x005c3075 in enter_create_mode ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
default_controller=CNTR_NETWORK, is_server=false)
at src/multiplayer.cpp:381
#19 0x005c38c7 in enter_lobby_mode ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
at src/multiplayer.cpp:427
#20 0x005c4150 in mp::start_client ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], host=0x22f2a0) at src/multiplayer.cpp:475
#21 0x004d87c6 in (anonymous namespace)::game_controller::play_multiplayer (
this=0x22f620) at src/game.cpp:1463
#22 0x004e2692 in play_game (argc=1, argv=0x22fda0) at src/game.cpp:2197
#23 0x004e30dd in SDL_main (argc=1, argv=0x22fda0) at src/game.cpp:2252
#24 0x007f5096 in console_main (argc=1, argv=0x22fda0)
at src/main/win32/SDL_win32_main.c:217
#25 0x007f5257 in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x241ef7 "",
sw=10) at src/main/win32/SDL_win32_main.c:353
#26 0x007f4b28 in main ()
at
C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/ios
tream:77
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?10496>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs