URL:
<http://gna.org/bugs/?18488>
Summary: crash when doing :unit moves=10 for fresh recruit
Project: Battle for Wesnoth
Submitted by: anonymissimus
Submitted on: Do 11 Aug 2011 18:15:50 GMT
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: thonsew
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk r50701
Operating System: win xp
_______________________________________________________
Details:
1. start wesnoth with --debug (or enable debug mode later...)
2. launch campaign HttT
3. recruit a unit
4. attempt setting its current moves by using command line command (in same
game turn):
:unit moves=10
error message: "list iterators incompatible"
++
>
> wesnoth.exe!std::list<unit_map::unit_pod,std::allocator<unit_map::unit_pod>
>::_Const_iterator<1>::_Compat(const
std::list<unit_map::unit_pod,std::allocator<unit_map::unit_pod>
>::_Const_iterator<1> & _Right={unit_=0xcccccccc ref_count_={...} }) Zeile
316 + 0x17 Bytes C++
wesnoth.exe!std::list<unit_map::unit_pod,std::allocator<unit_map::unit_pod>
>::_Const_iterator<1>::operator==(const
std::list<unit_map::unit_pod,std::allocator<unit_map::unit_pod>
>::_Const_iterator<1> & _Right={unit_=0xcccccccc ref_count_={...} }) Zeile
298 C++
wesnoth.exe!std::list<unit_map::unit_pod,std::allocator<unit_map::unit_pod>
>::_Const_iterator<1>::operator!=(const
std::list<unit_map::unit_pod,std::allocator<unit_map::unit_pod>
>::_Const_iterator<1> & _Right={unit_=0xcccccccc ref_count_={...} }) Zeile
303 + 0xc Bytes C++
wesnoth.exe!unit_map::iterator_base<unit_map::standard_iter_types>::valid()
Zeile 150 + 0x9d Bytes C++
wesnoth.exe!unit_map::iterator_base<unit_map::standard_iter_types>::operator->()
Zeile 111 + 0x2b Bytes C++
wesnoth.exe!events::console_handler::do_unit() Zeile 3522 + 0x8 Bytes
C++
wesnoth.exe!events::map_command_handler<events::console_handler>::dispatch(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> cmd="unit moves=10") Zeile 2024 + 0x12 Bytes C++
wesnoth.exe!events::menu_handler::do_command(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
str="unit moves=10") Zeile 3111 C++
wesnoth.exe!play_controller::enter_textbox() Zeile 881 C++
wesnoth.exe!play_controller::process_focus_keydown_event(const
SDL_Event &
event={...}) Zeile 1022 C++
wesnoth.exe!controller_base::handle_event(const SDL_Event &
event={...})
Zeile 62 + 0x1a Bytes C++
wesnoth.exe!events::pump() Zeile 380 + 0x35 Bytes C++
wesnoth.exe!controller_base::play_slice(bool is_delay_enabled=true)
Zeile
198 C++
wesnoth.exe!playsingle_controller::play_human_turn() Zeile 718 C++
wesnoth.exe!playsingle_controller::play_side(const unsigned int
team_index=1, bool save=true) Zeile 642 + 0x12 Bytes C++
wesnoth.exe!playsingle_controller::play_turn(bool save=true) Zeile 596
+
0x21 Bytes C++
wesnoth.exe!playsingle_controller::play_scenario(const
std::pair<config::const_child_iterator,config::const_child_iterator> &
story=({i_=0x0932e208 {values=[0]() children=[1](("part",))
ordered_children=[12]({pos=("part",) index=0 },{pos=("part",) index=1
},{pos=("part",) index=2 },{pos=("part",) index=3 },{pos=("part",) index=4
},{pos=("part",) index=5 },{pos=("part",) index=6 },{pos=("part",) index=7
},{pos=("part",) index=8 },{pos=("part",) index=9 },{pos=("part",) index=10
},{pos=("part",) index=11 }) } },{i_=0xfdfdfdfd ), bool skip_replay=false)
Zeile 397 + 0x1a Bytes C++
wesnoth.exe!playsingle_scenario(const config & game_config={...}, const
config * level=0x0012e6bc, display & disp={...}, game_state &
state_of_game={...}, const
std::pair<config::const_child_iterator,config::const_child_iterator> &
story=({i_=0x0932e208 {values=[0]() children=[1](("part",))
ordered_children=[12]({pos=("part",) index=0 },{pos=("part",) index=1
},{pos=("part",) index=2 },{pos=("part",) index=3 },{pos=("part",) index=4
},{pos=("part",) index=5 },{pos=("part",) index=6 },{pos=("part",) index=7
},{pos=("part",) index=8 },{pos=("part",) index=9 },{pos=("part",) index=10
},{pos=("part",) index=11 }) } },{i_=0xfdfdfdfd ), bool skip_replay=false,
end_level_data & end_level={...}) Zeile 130 + 0x14 Bytes C++
wesnoth.exe!play_game(display & disp={...}, game_state &
gamestate={...},
const config & game_config={...}, io_type_t io_type=IO_NONE, bool
skip_replay=false) Zeile 365 + 0x28 Bytes C++
wesnoth.exe!game_controller::launch_game(game_controller_abstract::RELOAD_GAME_DATA
reload=RELOAD_DATA) Zeile 1264 + 0x4b Bytes C++
wesnoth.exe!do_gameloop(int argc=3, char * * argv=0x0012fe90) Zeile
563 +
0x2d Bytes C++
wesnoth.exe!SDL_main(int argc=3, char * * argv=0x0012fe90) Zeile 617 +
0xd
Bytes C++
wesnoth.exe!_main() + 0xf5 Bytes C
wesnoth.exe!_WinMain@16() + 0xae Bytes C
wesnoth.exe!__tmainCRTStartup() Zeile 574 + 0x35 Bytes C
wesnoth.exe!WinMainCRTStartup() Zeile 399 C
--
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18488>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs