Update of bug #25093 (project wesnoth):
Status: None => Confirmed
Release: git => 1.13.5+dev
Operating System: linux => All
_______________________________________________________
Follow-up Comment #1:
Same issue in VS stack trace:
wesnoth.exe!editor::map_context::set_side_setup(editor::editor_team_info &
info) Line 223 C++
wesnoth.exe!editor::context_manager::edit_side_dialog(int side) Line 222
C++
wesnoth.exe!editor::editor_controller::execute_command(const
hotkey::hotkey_command & cmd, int index, bool press) Line 946 C++
wesnoth.exe!hotkey::execute_command(const hotkey::hotkey_command & command,
hotkey::command_executor * executor, int index, bool press) Line 581 C++
wesnoth.exe!hotkey::command_executor::show_menu(const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > > & items_arg, int xloc, int yloc, bool __formal, display & gui) Line
386 C++
wesnoth.exe!editor::editor_controller::show_menu(const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > > & items_arg, int xloc, int yloc, bool context_menu, display & disp) Line
1085 C++
wesnoth.exe!controller_base::play_slice(bool is_delay_enabled) Line 221 C++
wesnoth.exe!editor::editor_controller::main_loop() Line 176 C++
wesnoth.exe!editor::start(const config & game_conf, CVideo & video, const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
filename, bool take_screenshot, const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
screenshot_filename) Line 52 C++
wesnoth.exe!game_launcher::start_editor(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
filename) Line 990 C++
wesnoth.exe!game_launcher::start_editor() Line 94 C++
wesnoth.exe!do_gameloop(const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > > & args) Line 805 C++
wesnoth.exe!SDL_main(int argc, char * * argv) Line 1042 C++
wesnoth.exe!main_utf8(int argc, char * * argv) Line 126 C
wesnoth.exe!WinMain(HINSTANCE__ * hInst, HINSTANCE__ * hPrev, char *
szCmdLine, int sw) Line 189 C
Problem is trying to reference the -1 index of the teams_ vector in
editor/map/map_context.cpp:223, since info.side is zero and 0 - 1 = -1. I
don't know why the -1 is supposed to be necessary here, especially when the
index is simply side in 1.12.
Looks like the breaking commit was
https://github.com/wesnoth/wesnoth/commit/c29ea4e2612fd919bb48ae25ebb2f01fccbc3231
by CelMin.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?25093>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs