Follow-up Comment #3, bug #13139 (project wesnoth):
It's reproducible now, here's a backtrace with debug symbols.
#0 0xb79f044a in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#1 0x084c682a in formula_error (this=0xc6a6088, ty...@0xbfe12948,
formu...@0xbfe12950, fi...@0xb177068, line=1) at src/formula.hpp:75
#2 0x084ba2df in parse_expression (i1=0xb153504, i2=0xb153504, symbols=0x0)
at src/formula.cpp:639
#3 0x084bbce2 in parse_expression (i1=0xb1534f0, i2=0xb153504, symbols=0x0)
at src/formula.cpp:775
#4 0x084be5c4 in formula (this=0xbfe12fb4, s...@0xbfe12ff0, symbols=0x0) at
src/formula.cpp:921
#5 0x080c905b in do_interpolation (s...@0x9c95354, s...@0xbfe16730) at
src/formula_string_utils.cpp:117
#6 0x080c9740 in utils::interpolate_variables_into_string (s...@0x9c95354,
variabl...@0xbfe16730) at src/formula_string_utils.cpp:201
#7 0x0830f82d in vconfig::expand (this=0xbfe13824, k...@0xbfe134d4) at
src/variable.cpp:362
#8 0x08131bda in vconfig::operator[] (this=0xbfe13824, k...@0xbfe134d4) at
src/variable.hpp:67
#9 0x0810255b in wml_func_set_variable (c...@0xbfe13824) at
src/game_events.cpp:1149
#10 0x08118a91 in game_events::command_handlers::call_handler
(this=0x894d160, c...@0xbfe1382c, e...@0x968d470, event_in...@0xbfe13c34,
c...@0xbfe13824)
at src/game_events.cpp:270
#11 0x08118c3a in game_events::event_handler::handle_event_command
(this=0x968d470, event_in...@0xbfe13c34, c...@0xbfe1382c, cfg=
{cfg_ = 0xbfe13824, cache_key_ = 0x0}) at src/game_events.cpp:3441
#12 0x08118f64 in game_events::event_handler::handle_event (this=0x968d470,
event_in...@0xbfe13c34, conf={cfg_ = 0xbfe13bc4, cache_key_ = 0xfffffc18})
at src/game_events.cpp:3425
#13 0x0811a75f in process_event (handl...@0x968d470, e...@0xbfe13c34) at
src/game_events.cpp:3390
#14 0x08121cbb in game_events::pump () at src/game_events.cpp:3751
#15 0x08452ff1 in move_unit (disp=0xa2efb50, m...@0xbfe1573c,
uni...@0xbfe15814, tea...@0xbfe15700, route=
{<std::_Vector_base<map_location, std::allocator<map_location> >> =
{_M_impl = {<std::allocator<map_location>> =
{<__gnu_cxx::new_allocator<map_location>> = {<No data fields>}, <No data
fields>}, _M_start = 0xbfe147f8, _M_finish = 0x894dae0, _M_end_of_storage =
0xbfe1584c}}, <No data fields>},
move_recorder=0x894dae0, undo_stack=0xbfe1584c, next_unit=0xbfe1563c,
continue_move=false, should_clear_shroud=true, is_replay=false)
at src/actions.cpp:2413
#16 0x08548176 in events::mouse_handler::move_unit_along_current_route
(this=0xbfe155e0, check_shroud=true, attackmove=false) at
src/mouse_events.cpp:497
#17 0x0854a552 in events::mouse_handler::left_click (this=0xbfe155e0, x=72,
y=177, browse=false) at src/mouse_events.cpp:413
#18 0x081aba81 in events::mouse_handler_base::mouse_press (this=0xbfe155e0,
eve...@0xb1798f4, browse=false) at src/mouse_handler_base.cpp:134
#19 0x085474ec in events::mouse_handler::mouse_press (this=0xbfe155e0,
eve...@0xb1798f4, browse=false) at src/mouse_events.cpp:325
#20 0x084b2d19 in controller_base::handle_event (this=0xbfe155a0,
eve...@0xb1798f4) at src/controller_base.cpp:79
#21 0x086b07ed in events::pump () at src/events.cpp:382
#22 0x084b296f in controller_base::play_slice (this=0xbfe155a0) at
src/controller_base.cpp:185
#23 0x08207112 in playsingle_controller::play_human_turn (this=0xbfe155a0) at
src/playsingle_controller.cpp:708
#24 0x08207413 in playsingle_controller::play_side (this=0xbfe155a0,
team_index=1, save=true) at src/playsingle_controller.cpp:609
#25 0x08207fcd in playsingle_controller::play_turn (this=0xbfe155a0,
save=true) at src/playsingle_controller.cpp:563
#26 0x0820a09d in playsingle_controller::play_scenario (this=0xbfe155a0,
sto...@0x894f2b0, l...@0xbfe165d0, skip_replay=false,
end_level_result=0x9684718)
at src/playsingle_controller.cpp:314
#27 0x081f7b3c in playsingle_scenario (game_conf...@0xbfe166d4,
level=0x9c6d7c0, di...@0x92f7ad0, state_of_ga...@0xbfe16730,
sto...@0x894f2b0,
l...@0xbfe165d0, skip_replay=false, end_level=0x9684718) at
src/playcampaign.cpp:130
#28 0x081fba6c in play_game (di...@0x92f7ad0, gamesta...@0xbfe16730,
game_conf...@0xbfe166d4, l...@0xbfe165d0, io_type=IO_NONE,
skip_replay=false)
at src/playcampaign.cpp:375
#29 0x08067a84 in play_test (this=0xbfe16688) at src/game.cpp:646
#30 0x08069dc0 in do_gameloop (argc=2, argv=0xbfe16b44) at src/game.cpp:2033
#31 0x0806ab9c in main (argc=2, argv=0xbfe16b44) at src/game.cpp:2206
The "Crash Test" testcase in the test scenario also works.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13139>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs