This may or may not already be fixed in SVN. For the case it is not, I'll post the detaisl I have...
I was hosting a game with 700 units, most of them CPU controlled. There were two players in my team who were still cponnected but dead (so that they could see the entire map and observe all movements), namely nig and xhahax. Xhahax's PC was - I assume - choking under the load, and had trouble catching up, since with every event his latency (as displayed by the game on the 'n' view), increased, and he wa close to getting disconnected. All three of us are in Germany and we had a lag-free game for most of the time (at least the first half of it), as we usually have. Then xhahax finally timed out, and I hit the return key incidentially at the very same moment (I'm not sure whether this triggered nything or not). In the same second, I crashed with this:
[2012-07-13 22:48:26] *ERROR* SOCKET WRITE TIMEOUT In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/posix/socket.cpp::isWritable Line: 1639] i = 0 sock = 13
In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Error saved to logfile [/home/tomreyn/.megaglest/error.log]
terminate called after throwing an instance of 'std::runtime_error'
what(): In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/shared_lib/sources/platform/sdl/thread.cpp::~Mutex Line: 159] about to destroy mutex refCount = 1 owner [] deleteownerId []
[2012-07-13 22:48:27] *ERROR* In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 416] [In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
] gameInitialized = 1, program = 0x2911ca0
[2012-07-13 22:48:28] *ERROR* In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleRuntimeError Line: 509] [In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Stack Trace:
./megaglest:Glest::Game::handleSIGSEGV(int) address [0x6d45c2] line: 657
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7f90626a04c0] line: 0
]
Aborted (core dumped)
error.log:
[2012-07-13 22:48:28] Runtime Error information:
======================================================
In [/home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp::handleSIGSEGV Line: 652] Error detected: signal 11:
Stack Trace:
./megaglest:Glest::Game::handleSIGSEGV(int) address [0x6d45c2] line: 657
/lib/x86_64-linux-gnu/libc.so.6:() address [0x7f90626a04c0] line: 0
gdb:
$ gdb -q -n -ex "bt" -batch megaglest core
[boring stuff edited out by tomreyn]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./megaglest'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000000000 in ?? ()
#0 0x0000000000000000 in ?? ()
#1 0x0000000000893bbf in Glest::Game::Unit::updateTimedParticles (this=0x303a69c0) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/type_instances/unit.cpp:1592
#2 0x0000000000916d41 in Glest::Game::UnitUpdater::updateUnit (this=0x4ab61f8, unit=0x303a69c0) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/world/unit_updater.cpp:137
#3 0x00000000008ff959 in Glest::Game::World::updateAllFactionUnits (this=0x4ab5a08) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/world/world.cpp:416
#4 0x00000000009041b7 in Glest::Game::World::update (this=0x4ab5a08) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/world/world.cpp:501
#5 0x0000000000629bd4 in Glest::Game::Game::update (this=0x4ab59d0) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/game/game.cpp:1167
#6 0x00000000006f2013 in Glest::Game::Program::loopWorker (this=0x3063c20) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/program.cpp:382
#7 0x00000000006eeafd in Glest::Game::ExceptionHandler::handleRuntimeError(char const*) ()
#8 0x00000000006d45c2 in Glest::Game::handleSIGSEGV (sig=<optimized out>) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp:656
#9 <signal handler called>
#10 0x0000000000000000 in ?? ()
#11 0x0000000000893bbf in Glest::Game::Unit::updateTimedParticles (this=0x303a69c0) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/type_instances/unit.cpp:1592
#12 0x0000000000916d41 in Glest::Game::UnitUpdater::updateUnit (this=0x4ab61f8, unit=0x303a69c0) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/world/unit_updater.cpp:137
#13 0x00000000008ff959 in Glest::Game::World::updateAllFactionUnits (this=0x4ab5a08) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/world/world.cpp:416
#14 0x00000000009041b7 in Glest::Game::World::update (this=0x4ab5a08) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/world/world.cpp:501
#15 0x0000000000629bd4 in Glest::Game::Game::update (this=0x4ab59d0) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/game/game.cpp:1167
#16 0x00000000006f2013 in Glest::Game::Program::loopWorker (this=0x3063c20) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/program.cpp:382
#17 0x00000000006e8cf3 in Glest::Game::glestMain (argc=<optimized out>, argv=<optimized out>) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp:3628
#18 0x00000000006eb323 in Glest::Game::glestMainWrapper (argc=1, argv=0x7fff2ffc36e8) at /home/softcoder/Code/megaglest/branches/release-3.6.0.3/source/glest_game/main/main.cpp:3784
#19 0x00007fae2cb3e76d in __libc_start_main (main=0x6eb420 <main(int, char**)>, argc=1, ubp_av=0x7fff2ffc36e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2ffc36d8) at libc-start.c:226
#20 0x00000000005bffb9 in _start () at ../sysdeps/x86_64/elf/start.S:113