Unfortunately the 3.6.0 headless server seems to segfault on load. Please find below the output my development system throws (I also reproduced this on a real dedicated server, though):
$ ./dev_rungame --ini-path=./ --data-path=./ --headless-server-mode=vps,exit
Disabled reading from console [vps]
Forcing quit after game has completed [exit]
v3.6.0-GNUC: 40601 [64bit]-Dec 4 2011 10:21:24, SVN: [Rev: 2954M], [STREFLOP]
Waiting for players to join and start a game...
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 651] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
[2011-12-04 10:24:40] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 416] [In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 651] Error detected: signal 11:
] gameInitialized = 0, program = 0x2ba3900
[2011-12-04 10:24:41] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 509] [In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 651] Error detected: signal 11:
Stack Trace:
./megaglest() [0x5be932] address [0x5be932] line: 655
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7f932bf35420] line: 0
./megaglest:Glest::Game::MenuStateCustomGame::MenuStateCustomGame(Glest::Game::Program*, Glest::Game::MainMenu*, bool, Glest::Game::ParentMenuState, bool, Glest::Game::GameSettings*, bool) address [0x692d83] line: 828
./megaglest:Glest::Game::Program::initServer(Shared::Platform::WindowGl*, bool, bool, bool) address [0x5de744] line: 211
./megaglest:Glest::Game::glestMain(int, char**) address [0x5c74c8] line: 3309
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x5cb61c] line: 3739
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7f932bf2030d] line: 0
./megaglest() [0x4a3589] address [0x4a3589] line: 0
]
******************************************************
#2 An error occurred and MegaGlest will close.
Error msg = [In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 651] Error detected: signal 11:
Stack Trace:
./megaglest() [0x5be932] address [0x5be932] line: 655
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7f932bf35420] line: 0
./megaglest:Glest::Game::MenuStateCustomGame::MenuStateCustomGame(Glest::Game::Program*, Glest::Game::MainMenu*, bool, Glest::Game::ParentMenuState, bool, Glest::Game::GameSettings*, bool) address [0x692d83] line: 828
./megaglest:Glest::Game::Program::initServer(Shared::Platform::WindowGl*, bool, bool, bool) address [0x5de744] line: 211
./megaglest:Glest::Game::glestMain(int, char**) address [0x5c74c8] line: 3309
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x5cb61c] line: 3739
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main() address [0x7f932bf2030d] line: 0
./megaglest() [0x4a3589] address [0x4a3589] line: 0
]
Please report this bug to http://bugs.megaglest.org
******************************************************
Segmentation fault detected, analyzing...
warning: [New LWP 8227]
[New LWP 8232]
Can't read pathname for load map: Eingabe-/Ausgabefehler.
[Thread debugging using libthread_db enabled]
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
Core was generated by `./megaglest --ini-path=./ --data-path=./ --headless-server-mode=vps,exit'.
Program terminated with signal 6, Aborted.
#0 0x00007f932bf353a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
in ../nptl/sysdeps/unix/sysv/linux/raise.c
#0 0x00007f932bf353a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f932bf38b0b in __GI_abort () at abort.c:92
#2 0x00000000005cff40 in Glest::Game::ExceptionHandler::handleRuntimeError (msg=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:602
#3 0x00000000005be932 in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:655
#4 <signal handler called>
#5 push_back (__x=..., this=0x862a7a200) at /usr/include/c++/4.6/bits/stl_vector.h:828
#6 Glest::Game::MenuStateCustomGame::MenuStateCustomGame (this=0x2c14820, program=<optimized out>, mainMenu=<optimized out>, openNetworkSlots=true, parentMenuState=Glest::Game::pNewGame, autostart=<optimized out>, settings=0x0, masterserverMode=true) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/menu/menu_state_custom_game.cpp:196
#7 0x00000000005de744 in Glest::Game::Program::initServer (this=0x2ba3900, window=<optimized out>, autostart=false, openNetworkSlots=true, masterserverMode=true) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/program.cpp:211
#8 0x00000000005c74c8 in Glest::Game::glestMain (argc=4, argv=0x7ffff554e968) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:3200
#9 0x00000000005cb61c in Glest::Game::glestMainWrapper (argc=4, argv=0x7ffff554e968) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:3737
#10 0x00007f932bf2030d in __libc_start_main (main=0x49e420 <main(int, char**)>, argc=4, ubp_av=0x7ffff554e968, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff554e958) at libc-start.c:226
#11 0x00000000004a3589 in _start ()
[small]Edit (tomreyn): Renamed this topic since it is about broken maps, not specific to headless server; add [fixed] tag[/small]