Follow-up Comment #6, bug #21485 (project wesnoth):

OK, I have installed version 1.11.8. The bug here presents in a slightly
different way (the same as happens to lipk): open the editor, load a map,
click on the time schedule menu, game crashes. No crash if I click on the menu
before loading a map.

Here is the backtrace:
#0  0x0000000001321962 in std::vector<time_of_day, std::allocator<time_of_day>
>::begin (this=0x10) at /usr/include/c++/4.6/bits/stl_vector.h:473
#1  0x000000000131ec13 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  0x000000000131ba78 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  0x0000000001318d2f in
boost::foreach_detail_::begin<std::vector<time_of_day,
std::allocator<time_of_day> >, mpl_::bool_<true> > (col=...)
    at /usr/include/boost/foreach.hpp:650
#4  0x0000000001482d36 in editor::context_manager::expand_time_menu (
    this=0x6a0b740, items=...)
    at
/home/alessandro/Scaricati/wesnoth-1.11.8/src/editor/map/context_manager.cpp:364
#5  0x0000000001471ffe in editor::editor_controller::show_menu (
    this=0x7fffffffd700, items_arg=..., xloc=1049, yloc=62, 
    context_menu=false, disp=...)
    at
/home/alessandro/Scaricati/wesnoth-1.11.8/src/editor/editor_controller.cpp:989
#6  0x00000000014161a5 in controller_base::play_slice (this=0x7fffffffd700, 
    is_delay_enabled=true)
    at /home/alessandro/Scaricati/wesnoth-1.11.8/src/controller_base.cpp:215
#7  0x000000000146dce4 in editor::editor_controller::main_loop (
    this=0x7fffffffd700)
    at
/home/alessandro/Scaricati/wesnoth-1.11.8/src/editor/editor_controller.cpp:170
#8  0x000000000147bfde in editor::start (game_conf=..., video=..., 
    filename=..., take_screenshot=false, screenshot_filename=...)
    at
/home/alessandro/Scaricati/wesnoth-1.11.8/src/editor/editor_main.cpp:51
#9  0x00000000014d3802 in game_controller::start_editor (this=0x2441f90, 
    filename=...)
    at /home/alessandro/Scaricati/wesnoth-1.11.8/src/game_controller.cpp:996
#10 0x000000000102df71 in game_controller::start_editor (this=0x2441f90)
    at /home/alessandro/Scaricati/wesnoth-1.11.8/src/game_controller.hpp:81
#11 0x000000000102be1f in do_gameloop (argc=1, argv=0x7fffffffe2a8)
    at /home/alessandro/Scaricati/wesnoth-1.11.8/src/game.cpp:636
#12 0x000000000102c32e in main (argc=1, argv=0x7fffffffe2a8)
    at /home/alessandro/Scaricati/wesnoth-1.11.8/src/game.cpp:69

My build is with gcc 4.6.3 and boost 1.48.0. Hope this helps...

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Messaggio inviato con/da Gna!
  http://gna.org/


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

Reply via email to