URL:
<http://gna.org/bugs/?19538>
Summary: Filters matching 0 saved games cause crash
Project: Battle for Wesnoth
Submitted by: alarantalara
Submitted on: Sat 10 Mar 2012 01:01:23 PM EST
Category: Bug
Severity: 4 - Important
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.11-svn
Operating System: OS X 10.6
_______________________________________________________
Details:
To reproduce:
In the Load Game dialog, start typing a filter that matches one or more saved
games.
Once the number of saved games is less than the initial value, type any
character that causes the number of matched saved games to be 0.
This bug is not present in 1.10.1, I have not yet tried to identify the
specific revision that causes the problem.
Call stack
#0 0x91aa8a7b in std::string::_Rep::_M_grab
#1 0x91aa8b40 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string
#2 0x0054f13a in std::string::length at basic_string.h:194
#3 0x0054f13a in savegame::save_index_class::data at savegame.cpp:200
#4 0x00550593 in savegame::save_index_class::get at savegame.cpp:167
#5 0x0054c177 in savegame::save_info::summary at savegame.cpp:297
#6 0x002b2258 in allocator [inlined] at allocator.h:363
#7 0x002b2258 in dialogs::(anonymous
namespace)::save_preview_pane::draw_contents at dialogs.cpp:364
#8 0x00051f0b in gui::widget::draw at widget.cpp:290
#9 0x0029fe7d in events::raise_draw_event at events.cpp:414
#10 0x002bb075 in gui::dialog::process at construct_dialog.cpp:728
#11 0x002bb51e in gui::dialog::show at construct_dialog.cpp:300
#12 0x002b5e2a in dialogs::load_game_dialog at dialogs.cpp:651
#13 0x0054b36c in std::string::operator= at basic_string.h:516
#14 0x0054b36c in savegame::loadgame::show_dialog at savegame.cpp:516
#15 0x0054ccad in savegame::loadgame::load_game at savegame.cpp:589
#16 0x005a8419 in game_controller::load_game at game_controller.cpp:596
#17 0x0026df34 in do_gameloop [inlined] at game.cpp:523
#18 0x0026df34 in SDL_main at game.cpp:632
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19538>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs