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

                 Summary: Segfault while attacking
                 Project: Battle for Wesnoth
            Submitted by: dfranke
            Submitted on: Sunday 02/15/2009 at 04:00
                Category: Bug
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.5.9+svn
        Operating System: Linux

    _______________________________________________________

Details:

I got a segfault during the first turn of the third scenario of Eastern
Invasion while Dacyn delivered the killing blow to the DA protecting the keep
that your side needs to take.  The backtrace is shown here.  The save file
from the beginning of the turn is attached, and I can provide the core dump
upon request.  Unfortunately, this a heisenbug; I was able to make it occur
several times in a row after restarting Wesnoth and loading the save file,
but after recompiling with debug symbols the crash went away, so I can't
produce 'bt full' output.

#0  0x00007f4d7462f6e8 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#1  0x000000000042959b in std::map<std::string, t_string,
std::less<std::string>, std::allocator<std::pair<std::string const, t_string>
> >::operator[] ()
#2  0x000000000080a5e4 in config::append ()
#3  0x000000000080a6bc in config::config ()
#4  0x00000000006e8db2 in attack::attack ()
#5  0x000000000078c4df in events::mouse_handler::attack_enemy_ ()
#6  0x000000000078d1a9 in events::mouse_handler::attack_enemy ()
#7  0x000000000078def2 in events::mouse_handler::left_click ()
#8  0x00000000004eec23 in events::mouse_handler_base::mouse_press ()
#9  0x000000000071c2bd in controller_base::handle_event ()
#10 0x00000000008812cc in events::pump ()
#11 0x000000000071ca88 in controller_base::play_slice ()
#12 0x0000000000530748 in playsingle_controller::play_human_turn ()
#13 0x0000000000531930 in playsingle_controller::play_side ()
#14 0x00000000005321c6 in playsingle_controller::play_turn ()
#15 0x0000000000533b30 in playsingle_controller::play_scenario ()
#16 0x0000000000524c08 in play_game ()
#17 0x000000000041dc94 in (anonymous namespace)::game_controller::launch_game
()
#18 0x000000000041f19c in do_gameloop ()
#19 0x000000000042022c in main ()




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sunday 02/15/2009 at 04:00  Name: EI-An_Unexpected_Appearance.gz  Size:
7kB   By: dfranke

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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