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

                 Summary: Crash when planning recruits with the whiteboard
                 Project: Battle for Wesnoth
            Submitted by: gabba
            Submitted on: Sat 20 Aug 2011 02:12:22 AM EDT
                Category: Bug
                Severity: 5 - Blocker
                Priority: 7 - High
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: tschmitz
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: rev 50860
        Operating System: Ubuntu 11.04

    _______________________________________________________

Details:

Plan a few recruits with the whiteboard and the game will soon crash with an
assert on the unit map. The crash seems to happen when moving the cursor over
another unit, in this case the leader.

Not 100% sure whether this is a whiteboard bug as there were some recent
commits affecting the unit map, didn't look at those into detail.

To reproduce just start a network game and plan a few recruits, then move
your cursor around, especially over the leader.

Stack trace:

Thread [1] 9430 (Suspended : Signal : SIGABRT:Aborted)  
        raise() at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 0x7ffff399dd05    
        abort() at abort.c:92 0x7ffff39a1ab6    
        __assert_fail() at assert.c:81 0x7ffff39967c5   
        unit_map::iterator_base<unit_map::standard_iter_types>::operator*() at
src/unit_map.hpp:191 0xf3f66d   
        events::mouse_handler::mouse_motion() at src/mouse_events.cpp:258
0x1475bb4       
        events::mouse_handler_base::mouse_motion_event() at
src/mouse_handler_base.cpp:72 0x147fd37 
        controller_base::handle_event() at src/controller_base.cpp:86 0x1128061 
        events::pump() at src/events.cpp:380 0x176a84d  
        controller_base::play_slice() at src/controller_base.cpp:197 0x112887c  
        playmp_controller::play_human_turn() at src/playmp_controller.cpp:242
0x152b6c6       
        playmp_controller::play_side() at src/playmp_controller.cpp:110 
0x152adf8       
        playsingle_controller::play_turn() at src/playsingle_controller.cpp:596
0x15311c0       
        playsingle_controller::play_scenario() at 
src/playsingle_controller.cpp:397
0x152fa41       
        playmp_scenario() at src/playcampaign.cpp:166 0x1522ef9 
        play_game() at src/playcampaign.cpp:369 0x15253f6       
        enter_connect_mode() at src/multiplayer.cpp:494 0x148711b       
        enter_create_mode() at src/multiplayer.cpp:534 0x1487572        
        enter_lobby_mode() at src/multiplayer.cpp:645 0x1487f28 
        mp::start_client() at src/multiplayer.cpp:695 0x148876a 
        game_controller::play_multiplayer() at src/game_controller.cpp:1 038
0x11b52e4       
        do_gameloop() at src/game.cpp:526 0xf08529      
        main() at src/game.cpp:621 0xf08d46     





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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