v3.9.1 fakir/i686
no errors in logs, cpu load by process ~1%, memory - 12.9% (top)
'./megaglest --headless-server-status' returns only version and "waits"
megaglest v3.9.1
Compiled using: GNUC: 40403 on: Jan 18 2014 00:56:43 platform: Linux endianness: little
GIT: [Rev: 4628.11ac54a] - using STREFLOP [SSE] - [no-denormals]
gdb -q -n -ex "bt" -batch megaglest `pidof megaglest` > file.log
[New LWP 22097]
[New LWP 22096]
[New LWP 22095]
[New LWP 22094]
[New LWP 22093]
[New LWP 22092]
[New LWP 22077]
[New LWP 22075]
[New LWP 22072]
[New LWP 22071]
[New LWP 22070]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/tls/i686/nosegneg/libthread_db.so.1".
0xb777c424 in __kernel_vsyscall ()
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb6d53d11 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:97
#2 0xb6cd02fb in _L_lock_10750 () at malloc.c:5125
#3 0xb6ccdcfd in __GI___libc_malloc (bytes=22) at malloc.c:2856
#4 0xb6eb3ab7 in operator new(unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5 0xb6f162b4 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6 0xb6f181c6 in char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7 0xb6f18850 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8 0x083d93eb in Glest::Game::ExceptionHandler::logError (msg=0xbf81577c "In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5602] Error detected: signal 11:\n", confirmToConsole=true) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:559
#9 0x083e408f in Glest::Game::ExceptionHandler::handleRuntimeError (msg=0xbf81577c "In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5602] Error detected: signal 11:\n", getStackTraceString=true) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:626
#10 0x083e4b21 in Glest::Game::handleSIGSEGV (sig=11) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5606
#11 <signal handler called>
#12 malloc_consolidate (av=av@entry=0xb6e04440 <main_arena>) at malloc.c:4086
#13 0xb6ccbb53 in _int_malloc (av=av@entry=0xb6e04440 <main_arena>, bytes=bytes@entry=800) at malloc.c:3379
#14 0xb6ccdd08 in __GI___libc_malloc (bytes=800) at malloc.c:2859
#15 0xb6eb3ab7 in operator new(unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#16 0x087d1669 in std::vector<Glest::Game::SurfaceCell*, std::allocator<Glest::Game::SurfaceCell*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<Glest::Game::SurfaceCell**, std::vector<Glest::Game::SurfaceCell*, std::allocator<Glest::Game::SurfaceCell*> > >, Glest::Game::SurfaceCell* const&) ()
#17 0x087b7e34 in push_back (__x=<optimized out>, this=<optimized out>) at /usr/include/c++/4.4/bits/stl_vector.h:741
#18 Glest::Game::World::exploreCells (this=0x98710d4, newPos=..., sightRange=9, teamIndex=0) at /home/softcoder/Code/megaglest/git/source/glest_game/world/world.cpp:2398
#19 0x086efcde in Glest::Game::Unit::exploreCells (this=0x9bbc260) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/unit.cpp:4124
#20 0x086f2fc8 in refreshPos (this=0x9bbc260) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/unit.cpp:1382
#21 Glest::Game::Unit::setPos (this=0x9bbc260, pos=..., clearPathFinder=false) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/unit.cpp:1375
#22 0x08782d68 in Glest::Game::Map::putUnitCellsPrivate (this=0x9871108, unit=0x9bbc260, pos=..., ut=0x99333b4, isMorph=false) at /home/softcoder/Code/megaglest/git/source/glest_game/world/map.cpp:1376
#23 0x08782f89 in Glest::Game::Map::putUnitCells (this=0x9871108, unit=0x9bbc260, pos=..., ignoreSkill=false) at /home/softcoder/Code/megaglest/git/source/glest_game/world/map.cpp:1281
#24 0x087b07bb in Glest::Game::World::moveUnitCells (this=0x98710d4, unit=0x9bbc260) at /home/softcoder/Code/megaglest/git/source/glest_game/world/world.cpp:1169
#25 0x087ad85d in Glest::Game::UnitUpdater::updateUnit (this=0x9871614, unit=0x9bbc260) at /home/softcoder/Code/megaglest/git/source/glest_game/world/unit_updater.cpp:279
#26 0x087c98f7 in Glest::Game::World::updateAllFactionUnits (this=0x98710d4) at /home/softcoder/Code/megaglest/git/source/glest_game/world/world.cpp:712
#27 0x087cb7a9 in Glest::Game::World::update (this=0x98710d4) at /home/softcoder/Code/megaglest/git/source/glest_game/world/world.cpp:869
#28 0x08324e13 in Glest::Game::Game::update (this=0x98710a0) at /home/softcoder/Code/megaglest/git/source/glest_game/game/game.cpp:2155
#29 0x08432085 in Glest::Game::Program::loopWorker (this=0x9803658) at /home/softcoder/Code/megaglest/git/source/glest_game/main/program.cpp:474
#30 0x0840c1e0 in Glest::Game::glestMain (argc=4, argv=0xbf82bed4) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5451
#31 0x08410add in Glest::Game::glestMainSEHWrapper (argc=4, argv=0xbf82bed4) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5697
#32 0x08410c33 in glestMainWrapper (argv=0xbf82bed4, argc=4) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5770
#33 main (argc=4, argv=0xbf82bed4) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5776
gdb -q -n -ex "thread apply all bt" -batch megaglest `pidof megaglest`> file2.log
[New LWP 22097]
[New LWP 22096]
[New LWP 22095]
[New LWP 22094]
[New LWP 22093]
[New LWP 22092]
[New LWP 22077]
[New LWP 22075]
[New LWP 22072]
[New LWP 22071]
[New LWP 22070]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/tls/i686/nosegneg/libthread_db.so.1".
0xb777c424 in __kernel_vsyscall ()
Thread 12 (Thread 0xb6008b40 (LWP 22070)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cc126 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2 0xb77305d7 in SDL_Delay (ms=ms@entry=1) at ../../src/timer/unix/SDL_systimer.c:118
#3 0xb7730624 in RunTimer (unused=unused@entry=0x0) at ../../src/timer/unix/SDL_systimer.c:203
#4 0xb76e9355 in SDL_RunThread (data=data@entry=0x97d14b8) at ../../src/thread/SDL_thread.c:204
#5 0xb772dd6b in RunThread (data=0x97d14b8) at ../../src/thread/pthread/SDL_systhread.c:47
#6 0xb76c4d78 in start_thread (arg=0xb6008b40) at pthread_create.c:311
#7 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 11 (Thread 0xb5807b40 (LWP 22071)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cc126 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2 0xb77305d7 in SDL_Delay (ms=25) at ../../src/timer/unix/SDL_systimer.c:118
#3 0x08870add in Shared::PlatformCommon::LogFileThread::execute (this=0x97d20e0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/common/simple_threads.cpp:699
#4 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x97d20e0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#5 0xb76e9355 in SDL_RunThread (data=data@entry=0x97cf9f0) at ../../src/thread/SDL_thread.c:204
#6 0xb772dd6b in RunThread (data=0x97cf9f0) at ../../src/thread/pthread/SDL_systhread.c:47
#7 0xb76c4d78 in start_thread (arg=0xb5807b40) at pthread_create.c:311
#8 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 10 (Thread 0xb4d76b40 (LWP 22072)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cc126 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2 0xb77305d7 in SDL_Delay (ms=25) at ../../src/timer/unix/SDL_systimer.c:118
#3 0x08871aac in Shared::PlatformCommon::SimpleTaskThread::execute (this=0x9803d48) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/common/simple_threads.cpp:583
#4 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x9803d48) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#5 0xb76e9355 in SDL_RunThread (data=data@entry=0x98035f8) at ../../src/thread/SDL_thread.c:204
#6 0xb772dd6b in RunThread (data=0x98035f8) at ../../src/thread/pthread/SDL_systhread.c:47
#7 0xb76c4d78 in start_thread (arg=0xb4d76b40) at pthread_create.c:311
#8 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 9 (Thread 0xb33fdb40 (LWP 22075)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cb4d2 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:144
#2 0xb76c6ee2 in _L_lock_884 () from /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0
#3 0xb76c6d95 in __GI___pthread_mutex_lock (mutex=mutex@entry=0x9836538) at pthread_mutex_lock.c:85
#4 0xb772e38f in SDL_mutexP (mutex=0x9836538) at ../../src/thread/pthread/SDL_sysmutex.c:108
#5 0x088c694e in Shared::Platform::Mutex::p (this=0x98364f0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:532
#6 0x0861a4fc in Lock (this=<optimized out>) at /home/softcoder/Code/megaglest/git/source/glest_game/../shared_lib/include/platform/sdl/thread.h:193
#7 MutexSafeWrapper (ownerId=..., mutex=<optimized out>, this=<optimized out>) at /home/softcoder/Code/megaglest/git/source/glest_game/../shared_lib/include/platform/sdl/thread.h:164
#8 Glest::Game::ConnectionSlot::isConnected (this=0x9887fd8) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:1582
#9 0x08620130 in Glest::Game::ConnectionSlot::update (this=0x9887fd8, checkForNewClients=false, lockedSlotIndex=-1) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:1373
#10 0x08628ef6 in Glest::Game::ConnectionSlot::updateSlot (this=0x9887fd8, event=0xb33fb1f8) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:512
#11 0x086296c7 in slotUpdateTask (event=<optimized out>, this=0x98840e8) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:158
#12 Glest::Game::ConnectionSlotThread::execute (this=0x98840e8) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:264
#13 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x98840e8) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#14 0xb76e9355 in SDL_RunThread (data=data@entry=0x98362a8) at ../../src/thread/SDL_thread.c:204
#15 0xb772dd6b in RunThread (data=0x98362a8) at ../../src/thread/pthread/SDL_systhread.c:47
#16 0xb76c4d78 in start_thread (arg=0xb33fdb40) at pthread_create.c:311
#17 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 8 (Thread 0xb23fbb40 (LWP 22077)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb6d53d11 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:97
#2 0xb6cd016d in _L_lock_4091 () at malloc.c:5125
#3 0xb6ccb2a4 in _int_free (av=0xb6e04440 <main_arena>, p=0xc420e58, have_lock=0) at malloc.c:3879
#4 0xb6eb1a3f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5 0xb6f1645b in std::string::_Rep::_M_destroy(std::allocator<char> const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6 0xb6eaf71a in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7 0xb6f17c42 in std::string::assign(std::string const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8 0x0861ab39 in operator= (__str=..., this=<optimized out>) at /usr/include/c++/4.4/bits/basic_string.h:506
#9 setOwnerId (ownerId=..., this=<optimized out>) at /home/softcoder/Code/megaglest/git/source/glest_game/../shared_lib/include/platform/sdl/thread.h:139
#10 Lock (this=<optimized out>) at /home/softcoder/Code/megaglest/git/source/glest_game/../shared_lib/include/platform/sdl/thread.h:195
#11 MutexSafeWrapper (ownerId=..., mutex=<optimized out>, this=<optimized out>) at /home/softcoder/Code/megaglest/git/source/glest_game/../shared_lib/include/platform/sdl/thread.h:164
#12 Glest::Game::ConnectionSlot::hasDataToRead (this=0x9885e68) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:1630
#13 0x0861f676 in Glest::Game::ConnectionSlot::update (this=0x9885e68, checkForNewClients=false, lockedSlotIndex=-1) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:636
#14 0x08628ef6 in Glest::Game::ConnectionSlot::updateSlot (this=0x9885e68, event=0xb23f91f8) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:512
#15 0x086296c7 in slotUpdateTask (event=<optimized out>, this=0x9893d10) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:158
#16 Glest::Game::ConnectionSlotThread::execute (this=0x9893d10) at /home/softcoder/Code/megaglest/git/source/glest_game/network/connection_slot.cpp:264
#17 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x9893d10) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#18 0xb76e9355 in SDL_RunThread (data=data@entry=0x988f980) at ../../src/thread/SDL_thread.c:204
#19 0xb772dd6b in RunThread (data=0x988f980) at ../../src/thread/pthread/SDL_systhread.c:47
#20 0xb76c4d78 in start_thread (arg=0xb23fbb40) at pthread_create.c:311
#21 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 7 (Thread 0xb43ffb40 (LWP 22092)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb6d53d11 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:97
#2 0xb6cd016d in _L_lock_4091 () at malloc.c:5125
#3 0xb6ccb2a4 in _int_free (av=0xb6e04440 <main_arena>, p=0xc879128, have_lock=0) at malloc.c:3879
#4 0xb6eb1a3f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5 0xb6f1645b in std::string::_Rep::_M_destroy(std::allocator<char> const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6 0xb6eaf71a in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7 0xb6f164be in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8 0x08871ae1 in Shared::PlatformCommon::SimpleTaskThread::execute (this=0x981f758) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/common/simple_threads.cpp:534
#9 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x981f758) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#10 0xb76e9355 in SDL_RunThread (data=data@entry=0x981ebf0) at ../../src/thread/SDL_thread.c:204
#11 0xb772dd6b in RunThread (data=0x981ebf0) at ../../src/thread/pthread/SDL_systhread.c:47
#12 0xb76c4d78 in start_thread (arg=0xb43ffb40) at pthread_create.c:311
#13 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 6 (Thread 0xb2bfcb40 (LWP 22093)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cc126 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2 0xb77305d7 in SDL_Delay (ms=200) at ../../src/timer/unix/SDL_systimer.c:118
#3 0x088cd27e in Shared::Platform::ThreadGarbageCollector::execute (this=0xb4f2c8f0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:80
#4 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0xb4f2c8f0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#5 0xb76e9355 in SDL_RunThread (data=data@entry=0xb4f0cb88) at ../../src/thread/SDL_thread.c:204
#6 0xb772dd6b in RunThread (data=0xb4f0cb88) at ../../src/thread/pthread/SDL_systhread.c:47
#7 0xb76c4d78 in start_thread (arg=0xb2bfcb40) at pthread_create.c:311
#8 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 5 (Thread 0xb03f7b40 (LWP 22094)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cabf5 in sem_wait@@GLIBC_2.1 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:79
#2 0xb772e062 in SDL_SemWait (sem=0x98ffec0) at ../../src/thread/pthread/SDL_syssem.c:91
#3 0x088c5ef0 in Shared::Platform::Semaphore::waitTillSignalled (this=0x9a84bb4, waitMilliseconds=0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:607
#4 0x086c91ee in Glest::Game::FactionThread::execute (this=0x9a84b58) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/faction.cpp:308
#5 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x9a84b58) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#6 0xb76e9355 in SDL_RunThread (data=data@entry=0x98360b8) at ../../src/thread/SDL_thread.c:204
#7 0xb772dd6b in RunThread (data=0x98360b8) at ../../src/thread/pthread/SDL_systhread.c:47
#8 0xb76c4d78 in start_thread (arg=0xb03f7b40) at pthread_create.c:311
#9 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 4 (Thread 0xaf3f5b40 (LWP 22095)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cabf5 in sem_wait@@GLIBC_2.1 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:79
#2 0xb772e062 in SDL_SemWait (sem=0x98360b8) at ../../src/thread/pthread/SDL_syssem.c:91
#3 0x088c5ef0 in Shared::Platform::Semaphore::waitTillSignalled (this=0x99db03c, waitMilliseconds=0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:607
#4 0x086c91ee in Glest::Game::FactionThread::execute (this=0x99dafe0) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/faction.cpp:308
#5 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x99dafe0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#6 0xb76e9355 in SDL_RunThread (data=data@entry=0x99db0d0) at ../../src/thread/SDL_thread.c:204
#7 0xb772dd6b in RunThread (data=0x99db0d0) at ../../src/thread/pthread/SDL_systhread.c:47
#8 0xb76c4d78 in start_thread (arg=0xaf3f5b40) at pthread_create.c:311
#9 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 3 (Thread 0xafbf6b40 (LWP 22096)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cabf5 in sem_wait@@GLIBC_2.1 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:79
#2 0xb772e062 in SDL_SemWait (sem=0x99db0d0) at ../../src/thread/pthread/SDL_syssem.c:91
#3 0x088c5ef0 in Shared::Platform::Semaphore::waitTillSignalled (this=0x991afcc, waitMilliseconds=0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:607
#4 0x086c91ee in Glest::Game::FactionThread::execute (this=0x991af70) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/faction.cpp:308
#5 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x991af70) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#6 0xb76e9355 in SDL_RunThread (data=data@entry=0x996c2f8) at ../../src/thread/SDL_thread.c:204
#7 0xb772dd6b in RunThread (data=0x996c2f8) at ../../src/thread/pthread/SDL_systhread.c:47
#8 0xb76c4d78 in start_thread (arg=0xafbf6b40) at pthread_create.c:311
#9 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 2 (Thread 0xaebf4b40 (LWP 22097)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb76cabf5 in sem_wait@@GLIBC_2.1 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:79
#2 0xb772e062 in SDL_SemWait (sem=0x99029c8) at ../../src/thread/pthread/SDL_syssem.c:91
#3 0x088c5ef0 in Shared::Platform::Semaphore::waitTillSignalled (this=0x993b03c, waitMilliseconds=0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:607
#4 0x0824bfd6 in Glest::Game::AiInterfaceThread::execute (this=0x993afe0) at /home/softcoder/Code/megaglest/git/source/glest_game/ai/ai_interface.cpp:136
#5 0x088cbea5 in Shared::Platform::Thread::beginExecution (data=data@entry=0x993afe0) at /home/softcoder/Code/megaglest/git/source/shared_lib/sources/platform/sdl/thread.cpp:295
#6 0xb76e9355 in SDL_RunThread (data=data@entry=0x98807e0) at ../../src/thread/SDL_thread.c:204
#7 0xb772dd6b in RunThread (data=0x98807e0) at ../../src/thread/pthread/SDL_systhread.c:47
#8 0xb76c4d78 in start_thread (arg=0xaebf4b40) at pthread_create.c:311
#9 0xb6d4601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131
Thread 1 (Thread 0xb600a740 (LWP 22069)):
#0 0xb777c424 in __kernel_vsyscall ()
#1 0xb6d53d11 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:97
#2 0xb6cd02fb in _L_lock_10750 () at malloc.c:5125
#3 0xb6ccdcfd in __GI___libc_malloc (bytes=22) at malloc.c:2856
#4 0xb6eb3ab7 in operator new(unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5 0xb6f162b4 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6 0xb6f181c6 in char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7 0xb6f18850 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8 0x083d93eb in Glest::Game::ExceptionHandler::logError (msg=0xbf81577c "In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5602] Error detected: signal 11:\n", confirmToConsole=true) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:559
#9 0x083e408f in Glest::Game::ExceptionHandler::handleRuntimeError (msg=0xbf81577c "In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5602] Error detected: signal 11:\n", getStackTraceString=true) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:626
#10 0x083e4b21 in Glest::Game::handleSIGSEGV (sig=11) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5606
#11 <signal handler called>
#12 malloc_consolidate (av=av@entry=0xb6e04440 <main_arena>) at malloc.c:4086
#13 0xb6ccbb53 in _int_malloc (av=av@entry=0xb6e04440 <main_arena>, bytes=bytes@entry=800) at malloc.c:3379
#14 0xb6ccdd08 in __GI___libc_malloc (bytes=800) at malloc.c:2859
#15 0xb6eb3ab7 in operator new(unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#16 0x087d1669 in std::vector<Glest::Game::SurfaceCell*, std::allocator<Glest::Game::SurfaceCell*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<Glest::Game::SurfaceCell**, std::vector<Glest::Game::SurfaceCell*, std::allocator<Glest::Game::SurfaceCell*> > >, Glest::Game::SurfaceCell* const&) ()
#17 0x087b7e34 in push_back (__x=<optimized out>, this=<optimized out>) at /usr/include/c++/4.4/bits/stl_vector.h:741
#18 Glest::Game::World::exploreCells (this=0x98710d4, newPos=..., sightRange=9, teamIndex=0) at /home/softcoder/Code/megaglest/git/source/glest_game/world/world.cpp:2398
#19 0x086efcde in Glest::Game::Unit::exploreCells (this=0x9bbc260) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/unit.cpp:4124
#20 0x086f2fc8 in refreshPos (this=0x9bbc260) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/unit.cpp:1382
#21 Glest::Game::Unit::setPos (this=0x9bbc260, pos=..., clearPathFinder=false) at /home/softcoder/Code/megaglest/git/source/glest_game/type_instances/unit.cpp:1375
#22 0x08782d68 in Glest::Game::Map::putUnitCellsPrivate (this=0x9871108, unit=0x9bbc260, pos=..., ut=0x99333b4, isMorph=false) at /home/softcoder/Code/megaglest/git/source/glest_game/world/map.cpp:1376
#23 0x08782f89 in Glest::Game::Map::putUnitCells (this=0x9871108, unit=0x9bbc260, pos=..., ignoreSkill=false) at /home/softcoder/Code/megaglest/git/source/glest_game/world/map.cpp:1281
#24 0x087b07bb in Glest::Game::World::moveUnitCells (this=0x98710d4, unit=0x9bbc260) at /home/softcoder/Code/megaglest/git/source/glest_game/world/world.cpp:1169
#25 0x087ad85d in Glest::Game::UnitUpdater::updateUnit (this=0x9871614, unit=0x9bbc260) at /home/softcoder/Code/megaglest/git/source/glest_game/world/unit_updater.cpp:279
#26 0x087c98f7 in Glest::Game::World::updateAllFactionUnits (this=0x98710d4) at /home/softcoder/Code/megaglest/git/source/glest_game/world/world.cpp:712
#27 0x087cb7a9 in Glest::Game::World::update (this=0x98710d4) at /home/softcoder/Code/megaglest/git/source/glest_game/world/world.cpp:869
#28 0x08324e13 in Glest::Game::Game::update (this=0x98710a0) at /home/softcoder/Code/megaglest/git/source/glest_game/game/game.cpp:2155
#29 0x08432085 in Glest::Game::Program::loopWorker (this=0x9803658) at /home/softcoder/Code/megaglest/git/source/glest_game/main/program.cpp:474
#30 0x0840c1e0 in Glest::Game::glestMain (argc=4, argv=0xbf82bed4) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5451
#31 0x08410add in Glest::Game::glestMainSEHWrapper (argc=4, argv=0xbf82bed4) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5697
#32 0x08410c33 in glestMainWrapper (argv=0xbf82bed4, argc=4) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5770
#33 main (argc=4, argv=0xbf82bed4) at /home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp:5776