MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
348 stars 89 forks source link

v3.12-dev, gcc6+, crash during closing game window by "X" #132

Closed filux closed 7 years ago

filux commented 7 years ago

Start the game > configure custom game > start the battle > close the game window by "X".

./build-mg.sh
...
-- The C compiler identification is GNU 6.1.1
-- The CXX compiler identification is GNU 6.1.1
...
./megaglest
megaglest v3.12-dev
Compiled using: GNUC: 60101 [64bit] platform: Linux-X64 endianness: little
GIT: [Rev: 5475.87f9b04] - using STREFLOP [SSE] - [no-denormals]
Game unique identifier is: ...
terminate called after throwing an instance of 'Shared::Platform::megaglest_runtime_error'
  what():  In [thread.cpp::removeThreadFromList Line: 163] iterFind == Thread::threadList.end()
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)address [0x561b71f75d4c] line: 0
./megaglest:Shared::Platform::Thread::removeThreadFromList()address [0x561b71f7694c] line: 0
./megaglest:Shared::Platform::Thread::~Thread()address [0x561b71f7778c] line: 0
./megaglest:Shared::PlatformCommon::BaseThread::~BaseThread()address [0x561b71f21c2e] line: 0
./megaglest:Shared::Platform::Thread::shutdownThreads()address [0x561b71f76f70] line: 0
./megaglest:()address [0x561b71b4c938] line: 0
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x561b71b6953b] line: 0
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7fb6d7ede700] line: 0
./megaglest:_start()address [0x561b7196c069] line: 0

Aborted

Take a look for the warnings: https://travis-ci.org/MegaGlest/megaglest-source/jobs/165060151

filux commented 7 years ago

Seems to be fixed.