Tue 25 Mar 2008 04:27:26 AM UTC, comment #1:
Here is a bt full
-------------------------------------
(gdb) bt full
#0 0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7b2cec5 in raise () from /lib/i686/libc.so.6
No symbol table info available.
#2 0xb7b2e921 in abort () from /lib/i686/libc.so.6
No symbol table info available.
#3 0xb7d2f750 in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/libstdc++.so.6
No symbol table info available.
#4 0xb7d2cfd5 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5 0xb7d2d012 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6 0xb7d2d13a in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7 0xb7d2d76e in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8 0x080820ca in __gnu_cxx::new_allocator<int>::allocate (this=0xbfd3be40,
__n=536870912)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/ext/new_allocator.h:91
No locals.
#9 0x080820ee in std::_Vector_base<int, std::allocator<int> >::_M_allocate (
---Type <return> to continue, or q <return> to quit---
this=0xbfd3be40, __n=536870912)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/bits/stl_vector.h:128
No locals.
#10 0x080875a1 in std::vector<int, std::allocator<int> >::_M_insert_aux (
this=0xbfd3be40, __position={_M_current = 0x4c136008}, __x=@0xbfd3be24)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/bits/vector.tcc:271
__old_size = 268435456
__len = 536870912
__new_start = (int *) 0x76bc7008
__new_finish = (int *) 0x96bc700c
#11 0x08087781 in std::vector<int, std::allocator<int> >::push_back (
this=0xbfd3be40, __x=@0xbfd3be24)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/bits/stl_vector.h:605
No locals.
#12 0x0808d405 in NewNicowar::compute_defense_flag_positioning (
this=0x848f1c0, echo=@0x8416968) at src/AINicowar.cpp:2099
maxPos = 4048
max_x = 63
max = 4
max_y = 16
---Type <return> to continue, or q <return> to quit---
enemy_count = 0
mi = {echo = @0x8416968}
w = 64
h = 64
counts = (Uint8 *) 0x8620c70 ""
buildingGID = (Uint16 *) 0x8621c78
unitGID = (Uint16 *) 0x85e2900
locations = {<std::_List_base<int,std::allocator<int> >> = {
_M_impl = {<std::allocator<std::_List_node<int> >> = {<__gnu_cxx::new_allocator<std::_List_node<int> >> = {<No data fields>}, <No data fields>},
_M_node = {_M_next = 0x84c83f0, _M_prev = 0x83e2340}}}, <No data fields>}
flagLocations = {<std::_Vector_base<int,std::allocator<int> >> = {
_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No data fields>}, <No data fields>}, _M_start = 0xc136008, _M_finish = 0x4c136008,
_M_end_of_storage = 0x4c136008}}, <No data fields>}
enemyUnits = {<std::_Vector_base<int,std::allocator<int> >> = {
_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No data fields>}, <No data fields>}, _M_start = 0x76bc7008,
_M_finish = 0xb6bc7008,
_M_end_of_storage = 0xb6bc7008}}, <No data fields>}
existing_defense_flags = {<std::_Vector_base<int,std::allocator<int> >> = {
_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No dat---Type <return> to continue, or q <return> to quit---
a fields>}, <No data fields>}, _M_start = 0xbfd3be58, _M_finish = 0x80783a8,
_M_end_of_storage = 0xbfd3be53}}, <No data fields>}
#13 0x0809cdad in NewNicowar::tick (this=0x848f1c0, echo=@0x8416968)
at src/AINicowar.cpp:396
No locals.
#14 0x08072530 in AIEcho::Echo::getOrder (this=0x8416968)
at src/AIEcho.cpp:4948
No locals.
#15 0x0805a654 in AI::getOrder (this=0x83ddd20, paused=false) at src/AI.cpp:108
_PRETTY_FUNCTION_ = "boost::shared_ptr<Order> AI::getOrder(bool)"
#16 0x080e17bf in Engine::run (this=0xbfd3c19c) at src/Engine.cpp:304
order = {px = 0x83d7660, pn = {pi_ = 0x83f21c8}}
i = 2
speed = 40
networkReadyToExecute = true
startTime = -490908757
needToBeTime = 0
frameNumber = 0
doRunOnceAgain = true
_PRETTY_FUNCTION_ = "int Engine::run()"
|
Tue 25 Mar 2008 04:26:49 AM UTC, original submission:
Started up 4 gdb consoles about 7 hours ago, all with -test-games-nox. Got this crash, different maps, on 3 of the 4 consoles (the other one would eventually).
------------------
Randomly Chosen Map: One on One
Player: k776 for team 0
Player: AINumbi 0 for team 1
Player: Nicowar 1 for team 0
nox::game started
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Program received signal SIGABRT, Aborted.
[Switching to Thread -1229121808 (LWP 5298)]
0xffffe410 in __kernel_vsyscall ()
Current language: auto; currently c
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7adaec5 in raise () from /lib/i686/libc.so.6
#2 0xb7adc921 in abort () from /lib/i686/libc.so.6
#3 0xb7cdd750 in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/libstdc++.so.6
#4 0xb7cdafd5 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#5 0xb7cdb012 in std::terminate () from /usr/lib/libstdc++.so.6
#6 0xb7cdb13a in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7cdb76e in operator new () from /usr/lib/libstdc++.so.6
#8 0x080820ca in __gnu_cxx::new_allocator<int>::allocate (this=0xbfb1a8e4,
__n=268435456)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/ext/n ew_allocator.h:91
#9 0x080820ee in std::_Vector_base<int, std::allocator<int> >::_M_allocate (
this=0xbfb1a8e4, __n=268435456)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/bits/ stl_vector.h:128
#10 0x080875a1 in std::vector<int, std::allocator<int> >::_M_insert_aux (
this=0xbfb1a8e4, __position={_M_current = 0xb6b75008}, __x=@0xbfb1a8d0)
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/bits/ vector.tcc:271
#11 0x08087781 in std::vector<int, std::allocator<int> >::push_back (
this=0xbfb1a8e4, __x=@0xbfb1a8d0)
---Type <return> to continue, or q <return> to quit---
at /usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../../include/c++/4.2.2/bits/stl_vector.h:605
#12 0x0808d761 in NewNicowar::compute_defense_flag_positioning (
this=0x848f1c0, echo=@0x84a2b08) at src/AINicowar.cpp:2140
#13 0x0809cdad in NewNicowar::tick (this=0x848f1c0, echo=@0x84a2b08)
at src/AINicowar.cpp:396
#14 0x08072530 in AIEcho::Echo::getOrder (this=0x84a2b08)
at src/AIEcho.cpp:4948
#15 0x0805a654 in AI::getOrder (this=0x84c2160, paused=false) at src/AI.cpp:108
#16 0x080e17bf in Engine::run (this=0xbfb1ac4c) at src/Engine.cpp:304
#17 0x0812bf72 in Glob2::runTestGames (this=0xbfb486c3) at src/Glob2.cpp:142
#18 0x0812c3e6 in Glob2::run (this=0xbfb486c3, argc=2, argv=0xbfb48764)
at src/Glob2.cpp:174
#19 0x0812cbc7 in main (argc=Cannot access memory at address 0x14b2
) at src/Glob2.cpp:337
(gdb) bt
|