Follow-up Comment #4, bug #21485 (project wesnoth):
Opening the editor and clicking the ToD menu right away doesn't crash for me
either, but loading a map and *then* the opening the menu does.
Backtrace:
#0 0x0000000001428ffa in std::vector<time_of_day, std::allocator<time_of_day>
>::begin (this=0x10)
at /usr/include/c++/4.8/bits/stl_vector.h:548
#1 0x00000000014262e8 in
boost::range_detail::range_begin<std::vector<time_of_day,
std::allocator<time_of_day> > const> (c=...)
at /usr/include/boost/range/begin.hpp:49
#2 0x00000000014236cc in
boost::range_adl_barrier::begin<std::vector<time_of_day,
std::allocator<time_of_day> > > (r=...)
at /usr/include/boost/range/begin.hpp:119
#3 0x000000000141fcbb in
boost::foreach_detail_::begin<std::vector<time_of_day,
std::allocator<time_of_day> > > (col=...)
at /usr/include/boost/foreach.hpp:683
#4 0x00000000015a5a8c in editor::context_manager::expand_time_menu
(this=0x799b460, items=...)
at
/home/lipk/src/Wesnoth/wesnoth-old/src/editor/map/context_manager.cpp:364
#5 0x0000000001594a21 in editor::editor_controller::show_menu
(this=0x7fffffffd8b0, items_arg=..., xloc=1049, yloc=62,
context_menu=false, disp=...) at
/home/lipk/src/Wesnoth/wesnoth-old/src/editor/editor_controller.cpp:989
#6 0x000000000152ef5b in controller_base::play_slice (this=0x7fffffffd8b0,
is_delay_enabled=true)
at /home/lipk/src/Wesnoth/wesnoth-old/src/controller_base.cpp:215
#7 0x0000000001590596 in editor::editor_controller::main_loop
(this=0x7fffffffd8b0)
at
/home/lipk/src/Wesnoth/wesnoth-old/src/editor/editor_controller.cpp:170
#8 0x000000000159e69d in editor::start (game_conf=..., video=...,
filename=..., take_screenshot=false, screenshot_filename=...)
at /home/lipk/src/Wesnoth/wesnoth-old/src/editor/editor_main.cpp:51
#9 0x00000000015fcad0 in game_controller::start_editor (this=0x2630840,
filename=...)
at /home/lipk/src/Wesnoth/wesnoth-old/src/game_controller.cpp:996
#10 0x00000000010f5b53 in game_controller::start_editor (this=0x2630840)
at /home/lipk/src/Wesnoth/wesnoth-old/src/game_controller.hpp:81
#11 0x00000000010f3a74 in do_gameloop (argc=1, argv=0x7fffffffe418) at
/home/lipk/src/Wesnoth/wesnoth-old/src/game.cpp:636
#12 0x00000000010f3fb6 in main (argc=1, argv=0x7fffffffe418) at
/home/lipk/src/Wesnoth/wesnoth-old/src/game.cpp:699
...maybe this is the same as the end itor deref Anonyssimus discovered?
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21485>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs