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

                 Summary: networked mp game with non-idle AI crashes for
non-host
                 Project: Battle for Wesnoth
            Submitted by: anonymissimus
            Submitted on: Fr 11 Nov 2011 21:52:21 GMT
                Category: Bug
                Severity: 5 - Blocker
                Priority: 7 - High
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk r51956
        Operating System: win xp

    _______________________________________________________

Details:

Discovered on trying to reproduce bug #17762.
- 2 human players + 1 RCA AI
- As soon as the AI gets to act the non-host client crashes with assertion
failed unit_map.hpp:188

backtrace:
++
Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c05b62 in msvcrt!_assert () from E:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x77c05b62 in msvcrt!_assert () from E:\WINDOWS\system32\msvcrt.dll
#1  0x00d1a335 in
unit_map::iterator_base<unit_map::standard_iter_types>::operator->
(this=0x229b08) at C:/wesnoth/src/unit_map.hpp:188
#2  0x008adf15 in do_replay_handle (side_num=3, do_untill=...) at
C:\wesnoth\src\replay.cpp:900
#3  0x008ac72f in do_replay (side_num=3, obj=0x22a7e0) at
C:\wesnoth\src\replay.cpp:749
#4  0x0088dae3 in turn_info::process_network_data (this=0x22a7c0, cfg=...,
from=1, backlog=..., skip_replay=false) at C:\wesnoth\src\playturn.cpp:131
#5  0x00881820 in playmp_controller::play_network_turn (this=0x22b34c) at
C:\wesnoth\src\playmp_controller.cpp:490
#6  0x0087f20c in playmp_controller::play_side (this=0x22b34c, team_index=3,
save=true) at C:\wesnoth\src\playmp_controller.cpp:137
#7  0x00886f98 in playsingle_controller::play_turn (this=0x22b34c, save=true)
at C:\wesnoth\src\playsingle_controller.cpp:590
#8  0x00884f1f in playsingle_controller::play_scenario (this=0x22b34c,
story=..., skip_replay=false) at C:\wesnoth\src\playsingle_controller.cpp:391
#9  0x00874578 in playmp_scenario (game_config=..., level=0x22bdb4, disp=...,
state_of_game=..., story=..., skip_replay=false, io_type=@0x22c7bc,
end_level=...) at C:\wesnoth\src\playcampaign.cpp:166
#10 0x008773f7 in play_game (disp=..., gamestate=..., game_config=...,
io_type=IO_CLIENT, skip_replay=false) at C:\wesnoth\src\playcampaign.cpp:369
#11 0x007f1115 in enter_wait_mode (disp=..., game_config=..., chat=...,
gamelist=..., observe=false) at C:\wesnoth\src\multiplayer.cpp:454
#12 0x007f262b in enter_lobby_mode (disp=..., game_config=..., chat=...,
gamelist=...) at C:\wesnoth\src\multiplayer.cpp:624
#13 0x007f3598 in mp::start_client (disp=..., game_config=..., host=...) at
C:\wesnoth\src\multiplayer.cpp:697
#14 0x005f2fb4 in game_controller::play_multiplayer (this=0xe60ebd8) at
C:\wesnoth\src\game_controller.cpp:1034
#15 0x005de8b1 in do_gameloop (argc=2, argv=0xe606138) at
C:\wesnoth\src\game.cpp:532
#16 0x005df4a4 in SDL_main (argc=2, argv=0xe606138) at
C:\wesnoth\src\game.cpp:627
#17 0x00a41d7b in console_main (argc=2, argv=0xe606138) at
./src/main/win32/SDL_win32_main.c:315
#18 0x00a41e38 in WinMain (hInst=0x400000, hPrev=0x0, szCmdLine=0x241eff
"-d", sw=10) at ./src/main/win32/SDL_win32_main.c:398
#19 0x00a414f6 in main ()
--





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to