Author Topic: freeze when leaving the game rev4554  (Read 831 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
freeze when leaving the game rev4554
« on: 19 September 2013, 22:39:10 »
I was testing with a tileset when it happened. I started a sinlgeplayer game, I left it and wanted to exit megaglest. But then it froze...
This is what I got when I made a stacktrace form the running process:

Code: [Select]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f2a0fffe700 (LWP 16015)]
[New Thread 0x7f2a21d3b700 (LWP 16007)]
[New Thread 0x7f2a2253c700 (LWP 16006)]
[New Thread 0x7f2a22d3d700 (LWP 16005)]
[New Thread 0x7f2a275f7700 (LWP 16002)]
[New Thread 0x7f2a235f7700 (LWP 16001)]
0x00007f2a3621d148 in pthread_join () from /lib/x86_64-linux-gnu/libpthread.so.0
#0  0x00007f2a3621d148 in pthread_join () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f2a364441ee in SDL_WaitThread () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#2  0x0000000000ac5223 in Shared::Platform::Thread::~Thread (this=0x2359ae0, __in_chrg=<optimized out>) at /home/tscharn/glest/megaglest/source/shared_lib/s
ources/platform/sdl/thread.cpp:192
#3  0x0000000000a8f009 in Shared::PlatformCommon::BaseThread::~BaseThread (this=0x2359ae0, __in_chrg=<optimized out>) at /home/tscharn/glest/megaglest/sourc
e/shared_lib/sources/platform/common/base_thread.cpp:48
#4  0x0000000000a7cefe in Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread (this=0x2359ae0, __in_chrg=<optimized out>) at /home/tscharn/glest/meg
aglest/source/shared_lib/sources/platform/common/simple_threads.cpp:375
#5  0x0000000000a7d079 in Shared::PlatformCommon::SimpleTaskThread::~SimpleTaskThread (this=0x2359ae0, __in_chrg=<optimized out>) at /home/tscharn/glest/meg
aglest/source/shared_lib/sources/platform/common/simple_threads.cpp:386
#6  0x00000000006cf898 in Glest::Game::glestMain (argc=<optimized out>, argv=<optimized out>) at /home/tscharn/glest/megaglest/source/glest_game/main/main.c
pp:5516
#7  0x00000000006d4b24 in Glest::Game::glestMainSEHWrapper (argc=1, argv=0x7fff598232c8) at /home/tscharn/glest/megaglest/source/glest_game/main/main.cpp:56
24
#8  0x00000000006d4d02 in Glest::Game::glestMainWrapper (argc=1, argv=0x7fff598232c8) at /home/tscharn/glest/megaglest/source/glest_game/main/main.cpp:5697
#9  0x00007f2a3289f76d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x000000000050a9f9 in _start ()

update: this is not reproducable :-(
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: freeze when leaving the game rev4554
« Reply #1 on: 31 December 2013, 05:25:10 »
Please try git head and see if this can be reproduced. I tried to add some code to attempt to fix this.

 

anything