Mon 14 Mar 2011 06:11:03 PM UTC, original submission:
To Reproduce:
1. Click New Game -> Dol Campaign
2. Click Start Game
3. Select Stack
4. Click View->Stack
Result:
Game crashes.
Backtrace:
#0 Stack::armyCompareFightOrder (lhs=0x9017b88, rhs=0x9001868)
at stack.cpp:669
#1 0x080e05d3 in void std::__insertion_sort<__gnu_cxx::__normal_iterator<Army*, std::vector<Army, std::allocator<Army> > >, bool ()(Army const, Army const)>(__gnu_cxx::__normal_iterator<Army*, std::vector<Army, std::allocator<Army> > >, __gnu_cxx::__normal_iterator<Army, std::vector<Army, std::allocator<Army> > >, bool ()(Army const, Army const)) ()
#2 0x080e063c in void std::__final_insertion_sort<__gnu_cxx::__normal_iterator<Army*, std::vector<Army, std::allocator<Army> > >, bool ()(Army const, Army const)>(__gnu_cxx::__normal_iterator<Army*, std::vector<Army, std::allocator<Army> > >, __gnu_cxx::__normal_iterator<Army, std::vector<Army, std::allocator<Army> > >, bool ()(Army const, Army const)) ()
#3 0x080df29e in sort<__gnu_cxx::__normal_iterator<Army*, std::vector<Army> >, bool ()(Army const, Army const*)> (stacks=std::list = {...}, armies=
std::vector of length 4, capacity 4 = {...})
at /usr/lib/gcc/i686-redhat-linux/4.5.1/../../../../include/c++/4.5.1/bits/stl_algo.h:5252
#4 Fight::orderArmies (stacks=std::list = {...}, armies=
std::vector of length 4, capacity 4 = {...}) at fight.cpp:77
#5 0x080df4bf in Fight::Fight (this=0xbfffe2d0, attacker=0x8c32e40, defender=
0x8ff9fe8, type=Fight::FOR_KICKS) at fight.cpp:120
#6 0x08307de5 in StackInfoDialog::addStack (this=0xbfffe4cc, s=0x8c32e40, idx=
@0xbfffe3d8) at stack-info-dialog.cpp:107
|