URL:
  <http://gna.org/bugs/?21768>

                 Summary: segfault in lua_function= filter
                 Project: Battle for Wesnoth
            Submitted by: elvish_pillager
            Submitted on: Fri 07 Mar 2014 07:25:16 PM UTC
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.11.11+dev
        Operating System: Debian Linux

    _______________________________________________________

Details:

Load the attached savefile and try to move the Wose from (17,13) to (18,13).

This ability filter lua_function= uses wesnoth.put_unit to replace the unit
that has the ability.

Possibly related to https://gna.org/bugs/index.php?21765


Program received signal SIGSEGV, Segmentation fault.
0x00000000019908ab in unit_animation::matches(display const&, map_location
const&, map_location const&, unit const*, std::string const&, int,
unit_animation::hit_type, attack_type const*, attack_type const*, int) const
()
(gdb) bt
#0  0x00000000019908ab in unit_animation::matches(display const&, map_location
const&, map_location const&, unit const*, std::string const&, int,
unit_animation::hit_type, attack_type const*, attack_type const*, int) const
()
#1  0x000000000196df54 in unit::choose_animation(display const&, map_location
const&, std::string const&, map_location const&, int,
unit_animation::hit_type, attack_type const*, attack_type const*, int) const
()
#2  0x000000000196161a in unit::set_standing(bool) ()
#3  0x00000000019afb16 in unit_display::unit_mover::start(unit&) ()
#4  0x00000000013008f5 in actions::(anonymous
namespace)::unit_mover::try_actual_movement(bool) ()
#5  0x00000000013022d5 in actions::move_unit(std::vector<map_location,
std::allocator<map_location> > const&, replay*, actions::undo_list*, bool,
bool, bool*, actions::move_unit_spectator*, map_location const*) ()
#6  0x00000000017d6f63 in
events::mouse_handler::move_unit_along_route(std::vector<map_location,
std::allocator<map_location> > const&, bool&) ()
#7  0x00000000017d6b22 in
events::mouse_handler::move_unit_along_current_route() ()
#8  0x00000000017d5b1c in events::mouse_handler::move_action(bool) ()
#9  0x00000000017d4e8a in events::mouse_handler::select_or_action(bool) ()
#10 0x00000000018a5108 in play_controller::select_and_action() ()
#11 0x0000000001b4e678 in
hotkey::command_executor::execute_command(hotkey::hotkey_command const&, int)
()
#12 0x00000000018a8474 in
play_controller::execute_command(hotkey::hotkey_command const&, int) ()
#13 0x0000000001b508ca in hotkey::execute_command(display&,
hotkey::hotkey_command const&, hotkey::command_executor*, int) ()
#14 0x0000000001b505bb in hotkey::mbutton_event_execute(display&,
SDL_MouseButto---Type <return> to continue, or q <return> to quit---
nEvent const&, hotkey::command_executor*) ()
#15 0x0000000001b50311 in hotkey::mbutton_event(display&, SDL_MouseButtonEvent
const&, hotkey::command_executor*) ()
#16 0x0000000001548fb8 in controller_base::handle_event(SDL_Event const&) ()
#17 0x0000000001b2a023 in events::pump() ()
#18 0x00000000015499e5 in controller_base::play_slice(bool) ()
#19 0x00000000018c224c in playsingle_controller::play_human_turn() ()
#20 0x00000000018c196c in playsingle_controller::play_side(unsigned int,
bool)
    ()
#21 0x00000000018c1505 in playsingle_controller::play_turn(bool) ()
#22 0x00000000018bfd13 in
playsingle_controller::play_scenario(std::pair<config::const_child_iterator,
config::const_child_iterator> const&, bool) ()
#23 0x00000000018b4be2 in playsingle_scenario(config const&, config const*,
display&, game_state&, std::pair<config::const_child_iterator,
config::const_child_iterator> const&, bool, end_level_data&) ()
#24 0x00000000018b6bab in play_game(game_display&, game_state&, config const&,
io_type_t, bool, bool, bool) ()
#25 0x000000000161789f in
game_controller::launch_game(game_controller::RELOAD_GAME_DATA) ()
#26 0x000000000110c41d in do_gameloop(int, char**) ()
#27 0x000000000110c916 in main ()





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to