Author Topic: 3.5.2: Freezes during handleSIGSEGV  (Read 773 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.2: Freezes during handleSIGSEGV
« on: 12 September 2011, 17:11:06 »
I have the feeling this may an old bug, but I'll report it nevertheless:

While hosting a server (not yet in game), with people connecting and disconnecting, I got this on the terminal:
Code: [Select]
In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleSIGSEGV Line: 574] Error detected: signal 11:

After printing this line, the game froze. A GDB backtrace on the running process shows:
Code: [Select]
$ LANG=en_US sudo gdb -q -n -ex bt -batch megaglest `pidof megaglest`
[Thread debugging using libthread_db enabled]
[New Thread 0x7fd79c9e0700 (LWP 4123)]
[New Thread 0x7fd79d1e1700 (LWP 4122)]
[New Thread 0x7fd79d9e2700 (LWP 4121)]
[New Thread 0x7fd79e1e3700 (LWP 4120)]
[New Thread 0x7fd79e9e4700 (LWP 4119)]
[New Thread 0x7fd7a9172700 (LWP 4117)]
[New Thread 0x7fd7aba09700 (LWP 4079)]
[New Thread 0x7fd7ac20a700 (LWP 4078)]
[New Thread 0x7fd7adeec700 (LWP 4077)]
[New Thread 0x7fd7ae6ed700 (LWP 4075)]
[New Thread 0x7fd7aa6ed700 (LWP 4074)]
__lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
136    ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1  0x00007fd7b6bc45cf in _L_lock_1005 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007fd7b6bc442b in __pthread_mutex_lock (mutex=0x7fd798003370) at pthread_mutex_lock.c:82
#3  0x00007fd7b6e2b48e in SDL_mutexP () from /usr/lib/libSDL-1.2.so.0
#4  0x00000000008a9a1c in Shared::Platform::Mutex::p (this=0x7fd798055568) at /home/softcoder/Code/megaglest/trunk/source/shared_lib/sources/platform/sdl/thread.cpp:117
#5  0x0000000000768575 in Lock (this=<value optimized out>, mapSlotSignalledList=<value optimized out>, errorMsgList=..., eventList=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/../shared_lib/include/platform/sdl/thread.h:124
#6  MutexSafeWrapper (this=<value optimized out>, mapSlotSignalledList=<value optimized out>, errorMsgList=..., eventList=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/../shared_lib/include/platform/sdl/thread.h:97
#7  Glest::Game::ServerInterface::checkForCompletedClients (this=<value optimized out>, mapSlotSignalledList=<value optimized out>, errorMsgList=..., eventList=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/network/server_interface.cpp:647
#8  0x00000000007746e2 in Glest::Game::ServerInterface::update (this=0x7fd798055260) at /home/softcoder/Code/megaglest/trunk/source/glest_game/network/server_interface.cpp:924
#9  0x000000000065a396 in Glest::Game::Program::loopWorker (this=0x1695a40) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp:320
#10 0x0000000000654625 in Glest::Game::glestMain (argc=<value optimized out>, argv=<value optimized out>) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:2995
#11 0x0000000000655c14 in Glest::Game::glestMainWrapper (argc=1, argv=0x7fff1e498608) at /home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp:3079
#12 0x00007fd7b3ed3eff in __libc_start_main (main=0x655cd0 <main(int, char**)>, argc=1, ubp_av=0x7fff1e498608, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff1e4985f8) at libc-start.c:226
#13 0x0000000000574429 in _start () at ../sysdeps/x86_64/elf/start.S:113

Are we missing a dependency there?
« Last Edit: 12 September 2011, 18:59:26 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 · · ·

 

anything