Author Topic: [fixed] r4208: Crash when server pauses game  (Read 648 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
[fixed] r4208: Crash when server pauses game
« on: 26 March 2013, 09:44:47 »
I am not entirely sure this is related to the pause. Here is the full info from the client which crashed: http://pastebin.com/dnV1Hunt

stacktrace is here:
Code: [Select]
Core was generated by `./megaglest --connect=178.3.49.20:61367'.
Program terminated with signal 6, Aborted.
#0  0x00007f8e52761425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#0  0x00007f8e52761425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f8e52764b8b in __GI_abort () at abort.c:91
#2  0x00007f8e5279f39e in __libc_message (do_abort=2, fmt=0x7f8e528a9028 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#3  0x00007f8e527a9b96 in malloc_printerr (action=3, str=0x7f8e528a9218 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:5018
#4  0x00007f8e530b9916 in std::string::assign(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00000000009e74e3 in operator= (__str=..., this=0x19f2d88) at /usr/include/c++/4.7/bits/basic_string.h:544
#6  Shared::Platform::Mutex::v (this=0x19f2d60) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/platform/sdl/thread.cpp:220
#7  0x000000000053789e in ReleaseLock (this=<optimized out>, keepMutex=<optimized out>, deleteMutexOnRelease=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/../shared_lib/include/platform/sdl/thread.h:173
#8  Shared::Platform::MutexSafeWrapper::~MutexSafeWrapper (this=0x7f8e1aff7fe0, __in_chrg=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/../shared_lib/include/platform/sdl/thread.h:124
#9  0x00000000007e9ae8 in Glest::Game::ClientInterface::updateFrame (this=0x19f2960, checkFrame=checkFrame@entry=0x0) at /home/user1/SCM/megaglest-trunk/source/glest_game/network/client_interface.cpp:1175
#10 0x00000000007ed1a8 in updateNetworkFrame (this=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/glest_game/network/client_interface.cpp:886
#11 Glest::Game::ClientInterfaceThread::execute (this=0x11f69c90) at /home/user1/SCM/megaglest-trunk/source/glest_game/network/client_interface.cpp:110
#12 0x00000000009e699f in Shared::Platform::Thread::beginExecution (data=<optimized out>) at /home/user1/SCM/megaglest-trunk/source/shared_lib/sources/platform/sdl/thread.cpp:85
#13 0x00007f8e564ec196 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#14 0x00007f8e5652ce49 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#15 0x00007f8e562c3e9a in start_thread (arg=0x7f8e1affd700) at pthread_create.c:308
#16 0x00007f8e5281eccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
« Last Edit: 1 May 2013, 11:29:11 by tomreyn »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: crash when server pauses game rev4208
« Reply #1 on: 1 May 2013, 11:11:35 »
Titi and I tried to reproduce this yesterday on r4246, and were unable to. For now, both of us consider this to be fixed.
« Last Edit: 1 May 2013, 11:28:37 by tomreyn »
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 · · ·