I was just trying the improvements on joining in-process games in r4150, testing with two processes on my intelbox (see below for specs).
This is what I got on the client while it joined the game:
$ ./megaglest
megaglest v3.8-dev
Compiled using: GNUC: 40702 [64bit] on: Mar 1 2013 09:21:00 platform: Linux-X64 endianness: little
SVN: [Rev: 4150] - using STREFLOP [SSE] - [no-denormals]
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5192] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
[2013-03-01 09:31:42] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 597] [In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5192] Error detected: signal 11:
] gameInitialized = 1, program = 0x1eebc80
[2013-03-01 09:31:44] *ERROR* In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 616] [In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5192] Error detected: signal 11:
Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cd37] line: 607
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:31:46] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:31:48] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:31:50] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:31:52] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:31:54] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:31:56] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:31:59] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:32:01] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
[2013-03-01 09:32:03] *ERROR* In [menu_state_connected_game.cpp::update Line: 3378] Error [/home/tomreyn/.megaglest/temp/megaglest-saved-client.xml recursively included
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0x9d06d2] line: 237
./megaglest:Shared::Xml::XmlTree::load(std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool, bool)address [0x9c0b8b] line: 450
./megaglest:Glest::Game::Game::loadGame(std::string, Glest::Game::Program*, bool, Glest::Game::GameSettings const*)address [0x579cc4] line: 6017
./megaglest:Glest::Game::MenuStateConnectedGame::update()address [0x7092bd] line: 3240
./megaglest:Glest::Game::Program::loopWorker()address [0x6a1b50] line: 459
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x67cc3d] line: 637
./megaglest() [0x67ceff]address [0x67ceff]
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f930b25e4a0] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b83a] line: 366
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread()address [0x98b999] line: 375
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute()address [0x98c3b9] line: 496
./megaglest:Shared::Platform::Thread::beginExecution(void*)address [0x9c66df] line: 86
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930eff0196] line: 0
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0:()address [0x7f930f030e49] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:()address [0x7f930edc7e9a] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone()address [0x7f930b31bccd] line: 0
]
At the same time the server was doing well, but as soon as I tried to quit the game it froze.
Edit: Note that I was playing with two processes (server and client) spawned fromt the same build (same computer, same directories) and this error looks like it can be related to this.