I started MG 3.6.0.2 on my intel i915 GPU laptop (which I haven't done for a while) and started to host an Internet game (port forwarding should have worked, since it did work before), and stopped hosting just a few seconds after I had started to host, then joined a headless server (summoner) which was controlled by player 'Ottoman'. As soon as I was connected to the server the game ran into a segmentation fault:
tomreyn@laptop:~/megaglest-3.6.0.2$ ./start_megaglest
gamedir [/home/tomreyn/megaglest-3.6.0.2]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libopenal.so.1] was found in [/usr/lib/libopenal.so.1]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirectfb-1.2.so.9] pointed to from [/home/tomreyn/megaglest-3.6.0.2/lib/libdirectfb-1.2.so.0]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libfusion-1.2.so.9] pointed to from [/home/tomreyn/megaglest-3.6.0.2/lib/libfusion-1.2.so.0]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirect-1.2.so.9] pointed to from [/home/tomreyn/megaglest-3.6.0.2/lib/libdirect-1.2.so.0]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libjpeg.so.62] was found in [/usr/lib/x86_64-linux-gnu/libjpeg.so.62]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libpng15.so.15] is missing, attempting to find and link to a newer version if available...
new library link [/lib/x86_64-linux-gnu/libpng12.so.0] pointed to from [/home/tomreyn/megaglest-3.6.0.2/lib/libpng15.so.15]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libcurl.so.4] was found in [/usr/lib/x86_64-linux-gnu/libcurl.so.4]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libxerces-c-3.1.so] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libxerces-c.so.28] pointed to from [/home/tomreyn/megaglest-3.6.0.2/lib/libxerces-c-3.1.so]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libicudata.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libicudata.so.44] pointed to from [/home/tomreyn/megaglest-3.6.0.2/lib/libicudata.so.40]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libicuuc.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libicuuc.so.44] pointed to from [/home/tomreyn/megaglest-3.6.0.2/lib/libicuuc.so.40]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libGLEW.so.1.5] was found in [/usr/lib/libGLEW.so.1.5]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libGLEW.so.1.5] was found in [/usr/lib/libGLEW.so.1.5]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libogg.so.0] was found in [/usr/lib/x86_64-linux-gnu/libogg.so.0]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libvorbis.so.0] was found in [/usr/lib/x86_64-linux-gnu/libvorbis.so.0]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libvorbisfile.so.3] was found in [/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libfontconfig.so.1] was found in [/usr/lib/x86_64-linux-gnu/libfontconfig.so.1]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libfreetype.so.6] was found in [/usr/lib/x86_64-linux-gnu/libfreetype.so.6]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libgnutls.so.26] was found in [/usr/lib/x86_64-linux-gnu/libgnutls.so.26]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libldap_r-2.4.so.2] was found in [/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libresolv.so.2] was found in [/lib/x86_64-linux-gnu/libresolv.so.2]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/liblua5.1.so.0] was found in [/usr/lib/x86_64-linux-gnu/liblua5.1.so.0]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libftgl.so.2] was found in [/usr/lib/libftgl.so.2]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libircclient.so.1] was found in [/usr/lib/libircclient.so.1]
default library [/home/tomreyn/megaglest-3.6.0.2/lib/libdl.so.2] was found in [/lib/x86_64-linux-gnu/libdl.so.2]
megaglest v3.6.0.2
Compiled using: GNUC: 40401 [64bit] on: Dec 20 2011 00:31:36
SVN: [Rev: 3019M] - using STREFLOP
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.
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
[2011-12-23 22:06:24] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 416] [In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
] gameInitialized = 1, program = 0x7fbd9000ff50
[2011-12-23 22:06:26] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 509] [In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Stack Trace:
./megaglest:Glest::Game::handleSIGSEGV(int) address [0x6d3492] line: 657
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7fbda2005420] line: 0
./megaglest:Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread() address [0x997c65] line: 310
./megaglest:Shared::PlatformCommon::SimpleTaskThread::execute() address [0x99d42b] line: 403
./megaglest:Shared::Platform::Thread::beginExecution(void*) address [0x9bdaaf] line: 81
/usr/lib/libSDL-1.2.so.0:() address [0x7fbda4d85705] line: 0
/usr/lib/libSDL-1.2.so.0:() address [0x7fbda4dc93e9] line: 0
/lib/x86_64-linux-gnu/libpthread.so.0:() address [0x7fbda4b60efc] line: 0
/lib/x86_64-linux-gnu/libc.so.6:clone() address [0x7fbda20b089d] line: 0
]
Segmentation fault (core dumped)
error.log contains the same stack trace and no additional information.
running gdb on the core file gives:
$ gdb -q -n -ex bt -batch megaglest core
[New LWP 3732]
[New LWP 3735]
[New LWP 3717]
[New LWP 3736]
[New LWP 3718]
[New LWP 3716]
[New LWP 3720]
[New LWP 3723]
[New LWP 3722]
[New LWP 3714]
[New LWP 3721]
warning: Can't read pathname for load map: input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `./megaglest'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fbd9af91fb4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#0 0x00007fbd9af91fb4 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#1 0x00007fbda46d1422 in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#2 0x00000000006f08a2 in Glest::Game::Program::loopWorker (this=0x7fbd9000ff50) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:360
#3 0x00000000006ed9ad in Glest::Game::ExceptionHandler::handleRuntimeError(char const*) ()
#4 0x00000000006d3492 in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:656
#5 <signal handler called>
#6 0x0000000000997c65 in Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread (this=0x7fbd91f23340, __in_chrg=<optimized out>) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:310
#7 0x000000000099d42b in Shared::PlatformCommon::SimpleTaskThread::execute (this=0x7fbd91f23340) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:401
#8 0x00000000009bdaaf in Shared::Platform::Thread::beginExecution (data=0x7fbd91938898) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/sdl/thread.cpp:79
#9 0x00007fbda4d85705 in ?? () from /usr/lib/libSDL-1.2.so.0
#10 0x00007fbda4dc93e9 in ?? () from /usr/lib/libSDL-1.2.so.0
#11 0x00007fbda4b60efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007fbda20b089d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#13 0x0000000000000000 in ?? ()