Author Topic: 3.6.0.2 Segfault on headless gameserver  (Read 895 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
3.6.0.2 Segfault on headless gameserver
« on: 13 February 2012, 03:06:20 »
In mid january already, BadBod's gameserver crashed. I don't know any details other than that there are an error.log and a core file available. This issue may long be fixed, but just in case it is not, I'll provide what I have, in case it can be useful.

error.log:
Code: [Select]
[2012-01-22 12:38:46] Runtime Error information:
======================================================
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::handleSIGSEGV(int) address [0x6d3492] line: 657
/lib/x86_64-linux-gnu/libc.so.6:() address [0x2b714ff6fd80] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread() address [0x997c65] line: 310
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute() address [0x99d42b] line: 403
./megaglest:Shared::Platform::Thread::beginExecution(void*) address [0x9bdaaf] line: 81
/usr/lib/libSDL-1.2.so.0:() address [0x2b714d2dea05] line: 0
/usr/lib/libSDL-1.2.so.0:() address [0x2b714d321649] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:() address [0x2b714d569d8c] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone() address [0x2b715002204d] line: 0

Backtrace on the core file:
Code: [Select]
# gdb -q -n -ex bt -batch megaglest core.1784
[New Thread 1795]
[New Thread 1784]

warning: Can't read pathname for load map: Input/output error.
Can't read symbols from system-supplied DSO at 0x7fff24dfd000: File truncated
Core was generated by `./megaglest --ini-path=./ --data-path=./ --headless-server-mode=vps,exit'.
Program terminated with signal 6, Aborted.
#0  0x00002b714ff6fd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#0  0x00002b714ff6fd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00002b714ff73ab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00000000006ed4e9 in Glest::Game::ExceptionHandler::handleRuntimeError(char const*) ()
#3  0x00000000006d3492 in Glest::Game::handleSIGSEGV (sig=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:656
#4  <signal handler called>
#5  0x0000000000997c65 in Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread (this=0x2b7158004fe0, __in_chrg=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:310
#6  0x000000000099d42b in Shared::PlatformCommon::SimpleTaskThread::execute (this=0x2b7158004fe0) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:401
#7  0x00000000009bdaaf in Shared::Platform::Thread::beginExecution (data=0x944be18) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/sdl/thread.cpp:79
#8  0x00002b714d2dea05 in ?? () from /usr/lib/libSDL-1.2.so.0
#9  0x00002b714d321649 in ?? () from /usr/lib/libSDL-1.2.so.0
#10 0x00002b714d569d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00002b715002204d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#12 0x0000000000000000 in ?? ()
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