URL:
<http://gna.org/bugs/?11402>
Summary: Crash in 'create unit' dialog
Project: Battle for Wesnoth
Submitted by: dave
Submitted on: Monday 03/31/2008 at 03:54
Category: Bug
Severity: 5 - Blocker
Priority: 9 - Immediate
Item Group: Units
Status: None
Privacy: Public
Assigned to: jhinrichs
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: SVN HEAD
Operating System: All
_______________________________________________________
Details:
Yogi,
When I start a game, go into debug mode, and enter the 'Create Unit' dialog
the game crashes immediately. Below is the backtrace. It looks like the
units_map is corrupt. I suspect it's related to your changes.
Could you please look into it? Let me know if you need help investigating
it.
--David
#0 0xb7a89c8e in std::string::compare () from /usr/lib/libstdc++.so.6
#1 0x08072bb6 in std::operator< <char, std::char_traits<char>,
std::allocator<char> > ([EMAIL PROTECTED], [EMAIL PROTECTED])
at /usr/include/c++/4.1.3/bits/basic_string.h:2213
#2 0x08073392 in std::less<std::string>::operator() (this=0x8c030c0,
[EMAIL PROTECTED], [EMAIL PROTECTED])
at /usr/include/c++/4.1.3/bits/stl_function.h:227
#3 0x08237149 in std::_Rb_tree<std::string, std::pair<std::string const,
unit_race>, std::_Select1st<std::pair<std::string const, unit_race> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
unit_race> > >::find (
this=0x8c030c0, [EMAIL PROTECTED])
at /usr/include/c++/4.1.3/bits/stl_tree.h:1317
#4 0x08237233 in std::map<std::string, unit_race, std::less<std::string>,
std::allocator<std::pair<std::string const, unit_race> > >::find
(this=0x8c030c0,
[EMAIL PROTECTED]) at /usr/include/c++/4.1.3/bits/stl_map.h:534
#5 0x0825598e in events::menu_handler::create_unit (this=0xbff72344,
[EMAIL PROTECTED]) at menu_events.cpp:1609
#6 0x0830b72b in playsingle_controller::create_unit (this=0xbff72274)
at playsingle_controller.cpp:105
#7 0x0846e6c6 in hotkey::command_executor::execute_command (this=0xbff72274,
command=hotkey::HOTKEY_CREATE_UNIT) at hotkeys.cpp:613
#8 0x082f87cb in play_controller::execute_command (this=0xbff72274,
command=hotkey::HOTKEY_CREATE_UNIT, index=0) at play_controller.cpp:492
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11402>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs