Author Topic: v.3.9.1 sometimes headless is not published  (Read 752 times)

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
v.3.9.1 sometimes headless is not published
« on: 22 January 2014, 20:00:15 »
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"
Code: [Select]
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]

Code: [Select]
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

Code: [Select]
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


tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: v.3.9.1 sometimes headless is not published
« Reply #1 on: 22 January 2014, 20:27:04 »
To add the master servers' perspective to this - the last request logged there (which is pretty exactly when the server became unavailable) is this:

Code: [Select]
54.207.6.180 - - [22/Jan/2014:19:53:06 +0100] "GET /addServerInfo.php?activeSlots=2&binaryCompileDate=Jan%2018%202014%2000%3A56%3A43&connectedClients=2&externalconnectport=61357&gameStatus=2&gameUUID=49ff35a0%2D8391%2D11e3%2Db696%2D110a889350fe&glestVersion=v3%2E9%2E1&map=lau%
5Flagoon&networkSlots=2&platform=Linux%2DRev%3A%204628%2E11ac54a&privacyPlease=1&serverTitle=kajoha%27s%20game&tech=ultrapack&tileset=forest&uuid=[redacted]& HTTP/1.1" 200 12 "-" "megaglest-agent/1.0"
54.207.6.180 - - [22/Jan/2014:19:53:07 +0100] "GET /addGameStats.php?controlType_0=5&controlType_1=5&controlType_2=3&deathCount_0=72&deathCount_1=60&deathCount_2=80&enemyKillCount_0=43&enemyKillCount_1=37&enemyKillCount_2=129&factionCount=3&factionIndex_0=0&factionIndex_1=1&fa
ctionIndex_2=2&factionTypeName_0=Africans&factionTypeName_1=Persian&factionTypeName_2=Crusaders&framesPlayed=54040&framesToCalculatePlaytime=54055&gameUUID=49ff35a0%2D8391%2D11e3%2Db696%2D110a889350fe&isHeadlessServer=1&killCount_0=43&killCount_1=40&killCount_2=129&maxConcurre
ntUnitCount=197&personalityType_0=0&personalityType_1=0&personalityType_2=0&platform_0=Windows&platform_1=Windows&platform_2=&playerName_0=kajoha&playerName_1=Timppa&playerName_2=AI1&playerUUID_0=[redacted]&playerUUID_1=[redacted]&playerUUID_2=&quitBeforeGameEnd_0=0&quitBeforeGameEnd_1=0&quitBeforeGameEnd_2=0&quitTime_0=%2D1&quitTime_1=%2D1&quitTime_2=%2D1&resourceHarvestedCount_0=26944&resourceHarvestedCount_1=26238&resourceHarvestedCount_2=24242&resourceMultiplier_0=1%2E00&resour
ceMultiplier_1=1%2E00&resourceMultiplier_2=2%2E00&teamIndex_0=0&teamIndex_1=0&teamIndex_2=1&tech=ultrapack&totalEndGameConcurrentUnitCount=169&unitsProducedCount_0=123&unitsProducedCount_1=112&unitsProducedCount_2=74&wonGame_0=0&wonGame_1=0&wonGame_2=0& HTTP/1.1" 200 30 "-" "m
egaglest-agent/1.0"

I've edited out some info and marked it as [redacted].
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything