Author Topic: 3.5.1: Segfault while player disconnects from lobby  (Read 1014 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
3.5.1: Segfault while player disconnects from lobby
« on: 13 May 2011, 18:30:46 »
Hi,

I just had this crash while hosting a server. I had two players connected to the lobby, one with incorrect game data ("TotalNoob"), and "FatalError". When TotalNoob left the game and I hit Enter to send a message (both happened pretty much at the same time), the game segfaulted:

Code: [Select]
Core was generated by `./megaglest'.
Program terminated with signal 6, Aborted.
#0  0x00007ffe0528ad05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#0  0x00007ffe0528ad05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffe0528eab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffe05b416dd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffe05b3f926 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffe05b3e8f9 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffe05b3f215 in __gxx_personality_v0 () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffe055fa44b in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#7  0x00007ffe055fa8bb in _Unwind_Resume () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#8  0x00000000008a74bf in Shared::Platform::Mutex::~Mutex (this=0x7ffdf4091d48, __in_chrg=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/sdl/thread.cpp:109
#9  0x00000000008cabf7 in Shared::Platform::Socket::~Socket (this=0x7ffdf4091cd0, __in_chrg=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/posix/socket.cpp:859
#10 0x0000000000797685 in Glest::Game::ConnectionSlot::close (this=0x7ffdf4023d50) at /home/softcoder/Code/megaglest/trunk/source/glest_game/network/connection_slot.cpp:810
#11 0x0000000000799d8c in Glest::Game::ConnectionSlot::update (this=0x7ffdf4023d50, checkForNewClients=true, lockedSlotIndex=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/network/connection_slot.cpp:771
#12 0x000000000075c8b2 in Glest::Game::ServerInterface::updateSlot (this=0x7ffdf4025c30, event=0x7ffdf8ae2d00) at /home/softcoder/Code/megaglest/trunk/source/glest_game/network/server_interface.cpp:387
#13 0x000000000079871e in Glest::Game::ConnectionSlotThread::execute (this=0x7ffdf406abd0) at /home/softcoder/Code/megaglest/trunk/source/glest_game/network/connection_slot.cpp:191
#14 0x00000000008a7b1f in Shared::Platform::Thread::beginExecution (data=0x493a) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/sdl/thread.cpp:64
#15 0x00007ffe09945875 in ?? () from /usr/lib/libSDL-1.2.so.0
#16 0x00007ffe09988049 in ?? () from /usr/lib/libSDL-1.2.so.0
#17 0x00007ffe0971ed8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#18 0x00007ffe0533d04d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#19 0x0000000000000000 in ?? ()
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything