Ok, so here are the outputs:
debian testing:
[New LWP 4225]
[New LWP 4228]
[New LWP 4226]
[New LWP 4229]
[New LWP 4232]
[New LWP 4234]
[New LWP 4240]
[New LWP 4241]
[New LWP 4238]
[New LWP 4233]
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `./megaglest'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000 in ?? ()
#0 0x00000000 in ?? ()
#1 0x081d3823 in Glest::Game::Renderer::MapRenderer::renderVisibleLayers(Glest::Game::Map const*, float, Glest::Game::VisibleQuadContainerCache&) ()
#2 0x081db6dc in Glest::Game::Renderer::renderSurface(int) ()
#3 0x08163a9f in Glest::Game::Game::render3d() ()
#4 0x081730e3 in Glest::Game::Game::renderWorker() ()
#5 0x08234789 in Glest::Game::Program::loopWorker() ()
#6 0x0822c10d in Glest::Game::ExceptionHandler::handleRuntimeError(char const*) ()
#7 0x08219eab in Glest::Game::handleSIGSEGV(int) ()
#8 <signal handler called>
#9 0x00000000 in ?? ()
Megaglest 3.8.0-beta1
[New LWP 4123]
[New LWP 4126]
[New LWP 4136]
[New LWP 4131]
[New LWP 4127]
[New LWP 4137]
[New LWP 4129]
[New LWP 4139]
[New LWP 4124]
[New LWP 4130]
[New LWP 4134]
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `./megaglest'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000 in ?? ()
#0 0x00000000 in ?? ()
#1 0x0836dfbb in Glest::Game::Renderer::MapRenderer::renderVisibleLayers (this=0x8d3267c <Glest::Game::Renderer::getInstance()::renderer+828>, map=0xaa26468, coordStep=1, qCache=...) at /home/softcoder/Code/megaglest/trunk/source/glest_game/graphics/renderer.cpp:4106
#2 0x0836e8bf in Glest::Game::Renderer::renderSurface (this=0x8d32340 <Glest::Game::Renderer::getInstance()::renderer>, renderFps=-1) at /home/softcoder/Code/megaglest/trunk/source/glest_game/graphics/renderer.cpp:4221
#3 0x082b7f8b in Glest::Game::Game::render3d (this=0xaa26400) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:4957
#4 0x082cd992 in Glest::Game::Game::renderWorker (this=0xaa26400) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:3118
#5 0x082cdfc0 in Glest::Game::Game::render (this=0xaa26400) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:3048
#6 0x083ed241 in Glest::Game::Program::loopWorker (this=0x9c47a68) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:422
#7 0x083a1147 in Glest::Game::ExceptionHandler::handleRuntimeError (msg=<optimized out>, getStackTraceString=true) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:684
#8 0x083a15a1 in Glest::Game::handleSIGSEGV (sig=11) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5532
#9 <signal handler called>
#10 0x00000000 in ?? ()
#11 0x0836dfbb in Glest::Game::Renderer::MapRenderer::renderVisibleLayers (this=0x8d3267c <Glest::Game::Renderer::getInstance()::renderer+828>, map=0xaa26468, coordStep=1, qCache=...) at /home/softcoder/Code/megaglest/trunk/source/glest_game/graphics/renderer.cpp:4106
#12 0x0836e8bf in Glest::Game::Renderer::renderSurface (this=0x8d32340 <Glest::Game::Renderer::getInstance()::renderer>, renderFps=-1) at /home/softcoder/Code/megaglest/trunk/source/glest_game/graphics/renderer.cpp:4221
#13 0x082b7f8b in Glest::Game::Game::render3d (this=0xaa26400) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:4957
#14 0x082cd992 in Glest::Game::Game::renderWorker (this=0xaa26400) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:3118
#15 0x082cdfc0 in Glest::Game::Game::render (this=0xaa26400) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:3048
#16 0x083ed241 in Glest::Game::Program::loopWorker (this=0x9c47a68) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:422
#17 0x083c2f4a in Glest::Game::glestMain (argc=1, argv=0xbfae8b24) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5379
#18 0x083c715d in Glest::Game::glestMainSEHWrapper (argc=1, argv=0xbfae8b24) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5624
#19 0x083c734f in Glest::Game::glestMainWrapper (argc=1, argv=0xbfae8b24) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5697
#20 0x083c7443 in main (argc=1, argv=0xbfae8b24) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5703