Happily. Here we go again:
Terminal output:
$ ./dev_rungame --starthost
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: option value of option vblank_mode ignored.
megaglest v3.6.1-dev
Compiled using: GNUC: 40601 [64bit] on: Mar 4 2012 13:58:17
SVN: [Rev: 3109M] - using STREFLOP [SSE] - [no-denormals]
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
gdb backtrace:
[LWP spawning redacted out]
warning: Can't read pathname for load map: I/O error.
[Thread debugging using libthread_db enabled]
Core was generated by `./megaglest --starthost'.
Program terminated with signal 11, Segmentation fault.
#0 Glest::Game::Renderer::getCentered3DPos (text=..., font=0x0, pos=..., w=90, h=22, centeredW=true, centeredH=true, this=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:8347
8347 }}//end namespace
#0 Glest::Game::Renderer::getCentered3DPos (text=..., font=0x0, pos=..., w=90, h=22, centeredW=true, centeredH=true, this=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:8347
#1 0x0000000000580963 in Glest::Game::Renderer::renderTextBoundingBox3D (this=0xbace20, text=..., font=0x0, color=..., x=<optimized out>, y=<optimized out>, w=90, h=22, centeredW=true, centeredH=true) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:2468
#2 0x0000000000580eb5 in Glest::Game::Renderer::renderButton (this=0xbace20, button=0x7fd6b0018120, fontColorOverride=<optimized out>, lightedOverride=0x0) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:2786
#3 0x00000000005832b9 in renderButton (button=0x7fd6b0018120, this=<optimized out>, fontColorOverride=<optimized out>, lightedOverride=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:2676
#4 Glest::Game::Renderer::renderMessageBox (this=0xbace20, messageBox=0x7fd6b0000be0) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/graphics/renderer.cpp:3217
#5 0x00000000005e77d4 in Glest::Game::Program::renderProgramMsgBox (this=0x7fd6b0000b90) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/program.cpp:445
#6 0x000000000068aa7f in Glest::Game::MenuStateCustomGame::render (this=0x2699610) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/menu/menu_state_custom_game.cpp:1874
#7 0x000000000066320f in Glest::Game::MainMenu::render (this=0x7fd6b065edd0) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/menu/main_menu.cpp:121
#8 0x00000000005e68fc in Glest::Game::Program::loopWorker (this=0x7fd6b0000b90) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/program.cpp:360
#9 0x00000000005dc61d in Glest::Game::ExceptionHandler::handleRuntimeError (msg=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:527
#10 0x00000000005ca802 in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp:656
#11 <signal handler called>
#12 0x0000000000861ed1 in Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread (this=0x7fd6b1197b00, __in_chrg=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:312
#13 0x0000000000862019 in Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread (this=0x7fd6b1197b00, __in_chrg=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:323
#14 0x0000000000863c3b in Shared::PlatformCommon::SimpleTaskThread::execute (this=0x7fd6b1197b00) at /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:413
#15 0x000000000089df8f in Shared::Platform::Thread::beginExecution (data=<optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/platform/sdl/thread.cpp:79
#16 0x00007fd6c4486705 in ?? () from /usr/lib/libSDL-1.2.so.0
#17 0x00007fd6c44ca3e9 in ?? () from /usr/lib/libSDL-1.2.so.0
#18 0x00007fd6c4261efc in start_thread (arg=0x7fd6a7fe9700) at pthread_create.c:304
#19 0x00007fd6c148289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()
error.log:
[2012-03-04 14:00:50] Runtime Error information:
======================================================
In [/home/tomreyn/SCM/megaglest-trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Stack Trace:
./megaglest() [0x5ca802] address [0x5ca802] line: 656
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7fd6c13d7420] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread() address [0x861ed1] line: 312
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread() address [0x862019] line: 323
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute() address [0x863c3b] line: 415
./megaglest:Shared::Platform::Thread::beginExecution(void*) address [0x89df8f] line: 81
/usr/lib/libSDL-1.2.so.0:() address [0x7fd6c4486705] line: 0
/usr/lib/libSDL-1.2.so.0:() address [0x7fd6c44ca3e9] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:() address [0x7fd6c4261efc] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone() address [0x7fd6c148289d] line: 0
This bug may actually be different to the above, since the way I produced it was different this time. I did not get around to exit the game, but this happened already when I followed the procedure described in
this 3.6.0.3 bug. So apparently this bug can be reproduced on r3109, too.
Please let me know if I should provide more/less/different information in the future or if you want me to reproduce it again.