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

                 Summary: wesnoth crashes after a specific prerecruit event
                 Project: Battle for Wesnoth
            Submitted by: shiki
            Submitted on: Wed 25 May 2016 04:48:30 PM UTC
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.13.4
        Operating System: Archlinux

    _______________________________________________________

Details:

When I recruit the unit in the file attached the game segfaults.
The part in comments was at the crash as well in comments.

For reproducing, load the Era of Myths in 1.13, choose the era Empowered Myths
and as faction vampires, then recruit a succubus.

In 1.12.6 it's not crashing.

Here's a backtrace:
(not sure how to mark it as "code")


#0  0x0000000001fb5c81 in unit_drawer::redraw_unit (this=0x7fff00ffe7d0,
u=...)
    at /home/space/Downloads/wesnoth-1.13.4/src/unit_drawer.cpp:254
#1  0x00000000021511f3 in display::draw_invalidated (this=0xac47280) at
/home/space/Downloads/wesnoth-1.13.4/src/display.cpp:2873
#2  0x0000000001b3d29e in game_display::draw_invalidated (this=0xac47280) at
/home/space/Downloads/wesnoth-1.13.4/src/game_display.cpp:274
#3  0x00000000021507ec in display::draw (this=0xac47280, update=true,
force=false) at /home/space/Downloads/wesnoth-1.13.4/src/display.cpp:2805
#4  0x0000000002150600 in display::draw (this=0xac47280) at
/home/space/Downloads/wesnoth-1.13.4/src/display.cpp:2753
#5  0x000000000216f2d9 in events::raise_draw_event () at
/home/space/Downloads/wesnoth-1.13.4/src/events.cpp:604
#6  0x0000000001a229b6 in controller_base::play_slice (this=0x7fff00fffc30,
is_delay_enabled=true) at
/home/space/Downloads/wesnoth-1.13.4/src/controller_base.cpp:224
#7  0x0000000001e22709 in play_controller::play_slice_catch
(this=0x7fff00fffc30) at
/home/space/Downloads/wesnoth-1.13.4/src/play_controller.cpp:1083
#8  0x0000000001e2abb2 in playmp_controller::play_human_turn
(this=0x7fff00fffc30) at
/home/space/Downloads/wesnoth-1.13.4/src/playmp_controller.cpp:169
#9  0x0000000001e2fd6c in playsingle_controller::play_side_impl
(this=0x7fff00fffc30) at
/home/space/Downloads/wesnoth-1.13.4/src/playsingle_controller.cpp:382
#10 0x0000000001e2a516 in playmp_controller::play_side_impl
(this=0x7fff00fffc30) at
/home/space/Downloads/wesnoth-1.13.4/src/playmp_controller.cpp:87
#11 0x0000000001e23186 in play_controller::play_side (this=0x7fff00fffc30) at
/home/space/Downloads/wesnoth-1.13.4/src/play_controller.cpp:1174
#12 0x0000000001e2340c in play_controller::play_turn (this=0x7fff00fffc30) at
/home/space/Downloads/wesnoth-1.13.4/src/play_controller.cpp:1212
#13 0x0000000001e2de33 in playsingle_controller::play_scenario_main_loop
(this=0x7fff00fffc30) at
/home/space/Downloads/wesnoth-1.13.4/src/playsingle_controller.cpp:169
#14 0x0000000001e2ea53 in playsingle_controller::play_scenario
(this=0x7fff00fffc30, level=...) at
/home/space/Downloads/wesnoth-1.13.4/src/playsingle_controller.cpp:248
#15 0x0000000001e286d8 in campaign_controller::playmp_scenario
(this=0x7fff01000550, end_level=...) at
/home/space/Downloads/wesnoth-1.13.4/src/game_initialization/playcampaign.cpp:229
#16 0x0000000001e28a11 in campaign_controller::play_game (this=0x7fff01000550)
at
/home/space/Downloads/wesnoth-1.13.4/src/game_initialization/playcampaign.cpp:292
#17 0x0000000001d8e5ee in enter_connect_mode (video=..., game_config=...,
state=..., local_players_only=true) at
/home/space/Downloads/wesnoth-1.13.4/src/game_initialization/multiplayer.cpp:533
#18 0x0000000001d8ef3c in enter_configure_mode (video=..., game_config=...,
state=..., local_players_only=true) at
/home/space/Downloads/wesnoth-1.13.4/src/game_initialization/multiplayer.cpp:628
#19 0x0000000001d8eac9 in enter_create_mode (video=..., game_config=...,
state=..., local_players_only=true) at
/home/space/Downloads/wesnoth-1.13.4/src/game_initialization/multiplayer.cpp:584
#20 0x0000000001d8ff76 in mp::start_local_game (video=..., game_config=...,
state=...) at
/home/space/Downloads/wesnoth-1.13.4/src/game_initialization/multiplayer.cpp:765
#21 0x0000000001b8b9ab in game_launcher::play_multiplayer (this=0x4d12fd0) at
/home/space/Downloads/wesnoth-1.13.4/src/game_launcher.cpp:972
#22 0x0000000001513b8c in do_gameloop (args=std::vector of length 1, capacity
1 = {...}) at /home/space/Downloads/wesnoth-1.13.4/src/wesnoth.cpp:808
#23 0x0000000001514e83 in main (argc=1, argv=0x7fff0100f348) at
/home/space/Downloads/wesnoth-1.13.4/src/wesnoth.cpp:1079




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 25 May 2016 04:48:30 PM UTC  Name: h2_Succubus.cfg  Size: 1kB   By:
shiki

<http://gna.org/bugs/download.php?file_id=27433>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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