Since this may be a different error, I'm posting a seperate bug report... Again, all I did was to go to Internet game -> custom game (i.e. host a network game with master server announcement), leave this menu immediately and exit the game. But this time I got a different output:
tomreyn@mybox $ ./dev_rungame
v3.5.3-dev-GNUC: 40502 [64bit]-Oct 18 2011 01:17:00, SVN: [Rev: 2659], [STREFLOP]
running threads = 0
tomreyn@mybox $ ./dev_rungame
terminate called after throwing an instance of 'std::bad_alloc'
terminate called recursively
what(): v3.5.3-dev-GNUC: 40502 [64bit]-Oct 18 2011 01:17:00, SVN: [Rev: 2659], [STREFLOP]
running threads = 1
Segmentation fault detected, analyzing...
warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.[New Thread 25342]
[New Thread 25240]
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
Core was generated by `./megaglest'.
Program terminated with signal 6, Aborted.
#0 0x00007f1dac052d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
in ../nptl/sysdeps/unix/sysv/linux/raise.c
#0 0x00007f1dac052d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f1dac056ab6 in abort () at abort.c:92
#2 0x00007f1dac9096b5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007f1dac907926 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007f1dac907953 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007f1dac907a5e in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007f1dac907e6d in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007f1dac8eae6d in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007f1dac8ebbfb in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_clone(std::allocator<char> const&, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x00007f1dac8ec3ac in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00000000007f5893 in Shared::PlatformCommon::BaseThread::getDeleteSelfOnExecutionDone (this=0x1752bd0) at /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/platform/common/base_thread.cpp:167
#11 0x00000000007f3147 in Shared::PlatformCommon::LogFileThread::execute (this=0x1752bd0) at /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/platform/common/simple_threads.cpp:497
#12 0x0000000000824d0f in Shared::Platform::Thread::beginExecution (data=<value optimized out>) at /home/tomreyn/SCM/megaglest-trunk/source/shared_lib/sources/platform/sdl/thread.cpp:79
#13 0x00007f1daf978875 in ?? () from /usr/lib/libSDL-1.2.so.0
#14 0x00007f1daf9bb049 in ?? () from /usr/lib/libSDL-1.2.so.0
#15 0x00007f1daf751d8c in start_thread (arg=0x7f1da5af7700) at pthread_create.c:304
#16 0x00007f1dac10504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
Edit: Turns out it's actually the same root cause, so I merged these threads.