Today I was hosting a Prax (prax_0.5.4.1) game, the only client was Nevsky (who sadly has underpowered hardware). We were playing a (possibly too large) 128x128 map game against two CPU Ultra 2.0 with plenty of units on both sides. After playing for some 60 minutes (roughly) the game was close to coming to a (regular) end: we had just defeated the first CPU opponent and had almost defeated the second, too.
However, at this very moment, Nevsky ran into a situation which he described as "connection error or something" (and no error.log was written on his end, the one he had had an old timestamp) and I ran into a segmentation fault with the following output on screen and on command line:
$ ./start_megaglest --starthost
gamedir [/home/tomreyn/megaglest-3.8.0-beta1]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libopenal.so.1] was found in [/usr/lib/x86_64-linux-gnu/libopenal.so.1]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirectfb-1.2.so.9] pointed to from [/home/tomreyn/megaglest-3.8.0-beta1/lib/libdirectfb-1.2.so.0]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libfusion-1.2.so.9] pointed to from [/home/tomreyn/megaglest-3.8.0-beta1/lib/libfusion-1.2.so.0]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirect-1.2.so.9] pointed to from [/home/tomreyn/megaglest-3.8.0-beta1/lib/libdirect-1.2.so.0]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libjpeg.so.62] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libjpeg.so.8] pointed to from [/home/tomreyn/megaglest-3.8.0-beta1/lib/libjpeg.so.62]
default library [/home/tomreyn/megaglest-3.8.0-beta1/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.8.0-beta1/lib/libpng15.so.15]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libcurl.so.4] was found in [/usr/lib/x86_64-linux-gnu/libcurl.so.4]
default library [/home/tomreyn/megaglest-3.8.0-beta1/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.8.0-beta1/lib/libxerces-c-3.1.so]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libicudata.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libicudata.so.48] pointed to from [/home/tomreyn/megaglest-3.8.0-beta1/lib/libicudata.so.40]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libicuuc.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libicuuc.so.48] pointed to from [/home/tomreyn/megaglest-3.8.0-beta1/lib/libicuuc.so.40]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libGLEW.so.1.8] pointed to from [/home/tomreyn/megaglest-3.8.0-beta1/lib/libGLEW.so.1.5]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libogg.so.0] was found in [/usr/lib/x86_64-linux-gnu/libogg.so.0]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libvorbis.so.0] was found in [/usr/lib/x86_64-linux-gnu/libvorbis.so.0]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libvorbisfile.so.3] was found in [/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libfontconfig.so.1] was found in [/usr/lib/x86_64-linux-gnu/libfontconfig.so.1]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libfreetype.so.6] was found in [/usr/lib/x86_64-linux-gnu/libfreetype.so.6]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libgnutls.so.26] was found in [/usr/lib/x86_64-linux-gnu/libgnutls.so.26]
default library [/home/tomreyn/megaglest-3.8.0-beta1/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.8.0-beta1/lib/libresolv.so.2] was found in [/lib/x86_64-linux-gnu/libresolv.so.2]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/liblua5.1.so.0] was found in [/usr/lib/x86_64-linux-gnu/liblua5.1.so.0]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libftgl.so.2] was found in [/usr/lib/libftgl.so.2]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libircclient.so.1] was found in [/usr/lib/libircclient.so.1]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libdl.so.2] was found in [/lib/x86_64-linux-gnu/libdl.so.2]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libvlccore.so.5] was found in [/usr/lib/libvlccore.so.5]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libvlc.so.5] was found in [/usr/lib/libvlc.so.5]
default library [/home/tomreyn/megaglest-3.8.0-beta1/lib/libgcrypt.so.11] was found in [/lib/x86_64-linux-gnu/libgcrypt.so.11]
megaglest v3.8.0-beta1
Compiled using: GNUC: 40403 [64bit] on: Jun 25 2013 22:02:29 platform: Linux-X64 endianness: little
SVN: [Rev: 4514] - using STREFLOP [SSE] - [no-denormals]
radeon: Acquired access to Hyper-Z.
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:04:13] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
[2013-07-07 15:07:08] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1756] i = 0 sock = 17
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
[2013-07-07 16:14:51] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 643] [In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:
] gameInitialized = 1, program = 0x1a86de0
[2013-07-07 16:14:52] *ERROR* In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 662] [In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5528] Error detected: signal 11:
Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x766f97] line: 653
./megaglest:Glest::Game::handleSIGSEGV(int)address [0x76765f] line: 5533
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f5ea8a490b0] line: 0
]
Segmentation fault (core dumped)
Core was generated by `./megaglest --starthost'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000000000 in ?? ()
#0 0x0000000000000000 in ?? ()
#1 0x00000000009e9ad7 in Glest::Game::Unit::updateTimedParticles (this=0xe451a10) at /home/softcoder/Code/megaglest/trunk/source/glest_game/type_instances/unit.cpp:2466
#2 0x0000000000aaf055 in Glest::Game::UnitUpdater::updateUnit (this=0x365e710, unit=0xe451a10) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/unit_updater.cpp:133
#3 0x0000000000a9413f in Glest::Game::World::updateAllFactionUnits (this=0x365df20) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/world.cpp:707
#4 0x0000000000a95afc in Glest::Game::World::update (this=0x365df20) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/world.cpp:863
#5 0x0000000000673006 in Glest::Game::Game::update (this=0x365dee0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:2094
#6 0x000000000079b4fb in Glest::Game::Program::loopWorker (this=0x1a86de0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:458
#7 0x000000000076729d in Glest::Game::ExceptionHandler::handleRuntimeError (msg=<optimized out>, getStackTraceString=true) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:684
#8 0x000000000076765f in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5532
#9 <signal handler called>
#10 0x0000000000000000 in ?? ()
#11 0x00000000009e9ad7 in Glest::Game::Unit::updateTimedParticles (this=0xe451a10) at /home/softcoder/Code/megaglest/trunk/source/glest_game/type_instances/unit.cpp:2466
#12 0x0000000000aaf055 in Glest::Game::UnitUpdater::updateUnit (this=0x365e710, unit=0xe451a10) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/unit_updater.cpp:133
#13 0x0000000000a9413f in Glest::Game::World::updateAllFactionUnits (this=0x365df20) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/world.cpp:707
#14 0x0000000000a95afc in Glest::Game::World::update (this=0x365df20) at /home/softcoder/Code/megaglest/trunk/source/glest_game/world/world.cpp:863
#15 0x0000000000673006 in Glest::Game::Game::update (this=0x365dee0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/game/game.cpp:2094
#16 0x000000000079b4fb in Glest::Game::Program::loopWorker (this=0x1a86de0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:458
#17 0x000000000078e746 in Glest::Game::glestMain (argc=<optimized out>, argv=0x7fff9a964638) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5379
#18 0x0000000000792411 in Glest::Game::glestMainSEHWrapper (argc=2, argv=0x7fff9a964638) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5624
#19 0x00000000007925f8 in Glest::Game::glestMainWrapper (argc=2, argv=0x7fff9a964638) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:5697
#20 0x00007f5ea8a33ea5 in __libc_start_main (main=0x7926b0 <main(int, char**)>, argc=2, ubp_av=0x7fff9a964638, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9a964628) at libc-start.c:260
#21 0x00000000005ea339 in _start ()
Also worth mentioning here seem the fact that no DMP file was created by this "official" build (the beta release). Is this because it is not linked against google breakpad or because of some other issue?