Author Topic: [fixed] 3.5.3-beta2: Headless server segfaults when DebugMode=true  (Read 538 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
When you run a headless server and have set DebugMode=true in glestuser.ini, this will cause a segmentation fault because OpenGL events cannot be tracked.

Code: (error.log) [Select]
[2011-11-30 05:47:19] Runtime Error information:
======================================================
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 645] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::handleSIGSEGV(int) address [0x6bdc02] line: 0
/lib/libc.so.6:() address [0x7f86122081e0] line: 0
./megaglest:Glest::Game::Renderer::getCurrentPixelByteCount(Shared::Graphics::ResourceScope) const address [0x66747b] line: 0
./megaglest:Glest::Game::Game::init(bool) address [0x614dc9] line: 0
./megaglest:Glest::Game::Program::setState(Glest::Game::ProgramState*, bool) address [0x6d7386] line: 0
./megaglest:Glest::Game::MenuStateCustomGame::PlayNow(bool) address [0x7b1ef6] line: 0
./megaglest:Glest::Game::MenuStateCustomGame::update() address [0x7b501b] line: 0
./megaglest:Glest::Game::Program::loopWorker() address [0x6d7f01] line: 0
./megaglest:Glest::Game::glestMain(int, char**) address [0x6cfb52] line: 0
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x6d1f23] line: 0
/lib/libc.so.6:__libc_start_main() address [0x7f86121f4c4d] line: 0
./megaglest() [0x5b5ba9] address [0x5b5ba9] line: 0

This is fixed in SVN and will thus be fixed in the next beta/release.
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 · · ·