2019-12-08 14:13 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004978Spring engineGeneralpublic2017-06-26 12:23
ReporterMajorBoredom 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionunable to reproduce 
Product Version100.0 
Target VersionFixed in Version 
Summary0004978: Engine hangs in SDL2 / libX11 after load (linux/nvidia driver)
DescriptionI built this engine from 100.0 tag in git. The version string was manually set to 100.0 in order to join public servers. I was able to join a game once after building. After a reboot, subsequent attempts to load a game result in a hang.

The watchdog thread gives the following, after a brief delay at load:

[f=0000000] [LuaIntro] LuaIntro v1.0 (Lua 5.1)
[... ~5 sec delay ...]
[f=0000000] Warning: [Watchdog] Hang detection triggered for Spring 100.0.
[f=0000000] Warning: (in thread: main)
[f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 100.0:
[f=0000000] [CrashHandler] Warning: [00] sigaction.c:? __restore_rt
[f=0000000] [CrashHandler] Warning: [01] /lib64/libpthread.so.0(pthread_cond_wait+0xc5) [0x3deac0b565] ??
[f=0000000] [CrashHandler] Warning: [02] /lib64/libX11.so.6(_XReply+0xc7) [0x3dec841b07] ??
[f=0000000] [CrashHandler] Warning: [03] /lib64/libXrandr.so.2() [0x3df92057d9] ??
[f=0000000] [CrashHandler] Warning: [04] /lib64/libSDL2-2.0.so.0(+0xb22c6) [0x7fc4bcea02c6] ??
[f=0000000] [CrashHandler] Warning: [05] /lib64/libSDL2-2.0.so.0(+0xb48b3) [0x7fc4bcea28b3] ??
[f=0000000] [CrashHandler] Warning: [06] /lib64/libX11.so.6(_XError+0x12b) [0x3dec843c2b] ??
[f=0000000] [CrashHandler] Warning: [07] /lib64/libX11.so.6() [0x3dec840c87] ??
[f=0000000] [CrashHandler] Warning: [08] /lib64/libX11.so.6() [0x3dec840d35] ??
[f=0000000] [CrashHandler] Warning: [09] /lib64/libX11.so.6(_XReply+0x1f0) [0x3dec841c30] ??
[f=0000000] [CrashHandler] Warning: [10] /lib64/libX11.so.6(XSync+0x3d) [0x3dec83d76d] ??
[f=0000000] [CrashHandler] Warning: [11] /lib64/libGL.so.1() [0x31d3288f23] ??
[f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (audio) for Spring 100.0:
[f=0000000] [CrashHandler] Warning: [00] sigaction.c:? __restore_rt
[f=0000000] [CrashHandler] Warning: [01] /lib64/libpthread.so.0(pthread_cond_timedwait+0x132) [0x3deac0b912] ??
[f=0000000] [CrashHandler] Warning: [02] /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost18condition_variable13do_wait_untilERNS_11unique_lockINS_5mutexEEERK8timespec+0x7c) [0x34a6c102dc] ??
[f=0000000] [CrashHandler] Warning: [03] /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost11this_thread5hiden11sleep_untilERK8timespec+0x56) [0x34a6c0cdd6] ??
[f=0000000] [CrashHandler] Warning: [04] .../rts/System/Sound/OpenAL/Sound.cpp:384 CSound::StartThread(int)
[f=0000000] [CrashHandler] Warning: [05] .../rts/System/Platform/Linux/ThreadSupport.cpp:192 Threading::ThreadStart(boost::function<void ()>, std::shared_ptr<Threading::ThreadControls>*)
[f=0000000] [CrashHandler] Warning: <06> /usr/include/boost/function/function_template.hpp:875 boost::function0<void>::clear()
[f=0000000] [CrashHandler] Warning: <06> /usr/include/boost/function/function_template.hpp:759 ~function0
[f=0000000] [CrashHandler] Warning: <06> /usr/include/boost/function/function_template.hpp:1048 ~function
[f=0000000] [CrashHandler] Warning: <06> /usr/include/boost/bind/bind.hpp:313 operator()<void (*)(boost::function<void()>, std::shared_ptr<Threading::ThreadControls>*), boo [...]
[f=0000000] [CrashHandler] Warning: <06> /usr/include/boost/bind/bind_template.hpp:20 boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::shared_ptr<Threading::ThreadC [...]
[f=0000000] [CrashHandler] Warning: [06] /usr/include/boost/thread/detail/thread.hpp:117 boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::sh [...]
[f=0000000] [CrashHandler] Warning: [07] /lib64/libboost_thread-mt.so.1.53.0() [0x34a6c0c0da] ??
[f=0000000] [CrashHandler] Warning: [08] pthread_create.c:? start_thread
[f=0000000] [CrashHandler] Warning: [09] /lib64/libc.so.6(clone+0x6d) [0x3dea4f5dbd] ??

Additional InformationThe main thread is hanging inside SDL2/libX11. Obviously I do not have the source or debuginfo for these compiled in but it seems to be inside XSync / XReply: looks like SDL2 events.

Are there SDL2 parameters that I can tweak to attempt a workaround or to diagnose?
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (36,430 bytes) 2015-10-03 22:21 -
    [ParseCmdLine] command-line args: "/home/joya/dev/spring-rel/spring "/home/joya/.springlobby/script.txt""
    Using configuration source: "/home/joya/dev/spring-rel/springsettings.cfg"
    ============== <User Config> ==============
    SpringData = /home/joya/dev/spring-rel:/home/joya/dev/spring-rel/cont
    ============== </User Config> ==============
    Available log sections: SkyBox, UnitScript, Font, LuaSocket, Net, KeyBindings, CSMFGroundTextures, CregSerializer, ModelDrawer, RoamMeshDrawer, GameServer, BumpWater, DynWater, OBJParser, WorldObjectModelRenderer, ArchiveScanner, CrashHandler, FarTextureHandler, Shader, Model, Path, Texture, GroundMoveType, Piece, AutohostInterface, Sound, VFS, DecalsDrawerGL4
    Enabled log sections: Net(Notice), Sound(Notice), VFS(Notice)
    Enable or disable log sections using the LogSections configuration key
      or the SPRING_LOG_SECTIONS environment variable (both comma separated).
      Use "none" to disable the default log sections.
    LogOutput initialized.
    Spring 100.0
    Build Environment: boost-105300, GNU libstdc++ version 20131212
    Compiler Version:  gcc-4.8.2 20131212 (Red Hat 4.8.2-7)
    Operating System:  Linux 3.14.4-100.fc19.x86_64 #1 SMP Tue May 13 15:00:26 UTC 2014 x86_64
    Word Size:         64-bit (native mode)
             CPU Clock: std::chrono::high_resolution_clock
    Physical CPU Cores: 6
     Logical CPU Cores: 12
    [CMyMath::Init] CPU SSE mask: 127, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  1
    	SSE 4.1:  1,  SSE 4.2:  1
    	SSE 4.0A: 0,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    Supported Video modes on Display 1 x:0 y:0 1920x1080:
    	640x480, 800x600, 1024x768, 1152x864, 1280x720, 1280x960, 1280x1024, 1440x900, 1680x1050, 1920x1080
    Supported Video modes on Display 2 x:0 y:0 1920x1080:
    	640x480, 800x600, 1024x768, 1152x864, 1280x720, 1280x960, 1280x1024, 1440x900, 1680x1050, 1920x1080
    SDL version:  linked 2.0.3; compiled 2.0.3
    GL version:   4.4.0 NVIDIA 331.62
    GL vendor:    NVIDIA Corporation
    GL renderer:  GeForce GTX 590/PCIe/SSE2
    GLSL version: 4.40 NVIDIA via Cg compiler
    GLEW version: 1.9.0
    Video RAM:    total 1536MB, available 1437MB
    SwapInterval: 0
    FBO::maxSamples: 32
    GL info:
    	haveARB: 1, haveGLSL: 1, ATI hacks: 0
    	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
    	maximum texture size: 16384, compress MIP-map textures: 0
    	maximum SmoothPointSize: 190, maximum vec4 varying/attributes: 31/16
    	maximum drawbuffers: 8, maximum recommended indices/vertices: 1048576/1048576
    	number of UniformBufferBindings: 84 (64kB)
    VSync disabled
    [InitOpenGL] video mode set to 1920x1080:24bit @60Hz 
    [WatchDogInstall] Installed (HangTimeout: 10sec)
    Registering thread controls for thread [main]
    [ThreadPool::SetThreadCount][1] #wanted=6 #current=1 #max=6
    [ThreadPool::SetThreadCount][2] #threads=5
    [DataDirs] Portable Mode!
    Using read-write data directory: /home/joya/dev/spring-rel/
    Using read-only data directory: /home/joya/.config/spring/
    Using read-only data directory: /home/joya/.spring/
    Using read-only data directory: /home/joya/dev/spring-rel/cont/
    Scanning: /home/joya/dev/spring-rel/cont/base
    Scanning: /home/joya/.spring/maps
    Scanning: /home/joya/.spring/games
    Scanning: /home/joya/.spring/packages
    Scanning: /home/joya/dev/spring-rel/base
    [f=0000000] [Sound] OpenAL info:
    [f=0000000] [Sound]   Available Devices:
    [f=0000000] [Sound]               Built-in Audio Analog Stereo
    [f=0000000] [Sound]               GF110 High Definition Audio Controller Digital Stereo (HDMI)
    [f=0000000] [Sound]               GF110 High Definition Audio Controller Digital Stereo (HDMI)
    [f=0000000] [Sound]               GF110 High Definition Audio Controller Digital Stereo (HDMI)
    [f=0000000] [Sound]               GF110 High Definition Audio Controller Digital Stereo (HDMI)
    [f=0000000] [Sound]   Device:     OpenAL Soft
    [f=0000000] [Sound]   Vendor:         OpenAL Community
    [f=0000000] [Sound]   Version:        1.1 ALSOFT 1.15.1
    [f=0000000] [Sound]   Renderer:       OpenAL Soft
    [f=0000000] [Sound]   AL Extensions:  AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
    [f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
    [f=0000000] [Sound]   EFX Enabled: yes
    [f=0000000] [Sound]   Max Sounds: 128
    [f=0000000] Registering thread controls for thread [audio]
    [f=0000000] Joysticks found: 0
    [f=0000000] [ThreadPool::SetThreadCount][1] #wanted=3 #current=6 #max=6
    [f=0000000] [ThreadPool::SetThreadCount][2] #threads=2
    [f=0000000] [Threading] Main thread CPU affinity mask set: 4092
    [f=0000000] [StartScript] Loading StartScript from: /home/joya/.springlobby/script.txt
    [f=0000000] Connecting to: 185.58.194.202:8452
    [f=0000000] Connecting to 185.58.194.202:8452 using name [99]Gambit
    [f=0000000] [InitOpenGL] video mode set to 1920x1080:24bit @60Hz 
    [f=0000000] [AddGameSetupArchivesToVFS] using map: Industrial Revolution v1
    [f=0000000] [AddGameSetupArchivesToVFS] using game: Balanced Annihilation V9.10 (archive: 4cad434f5776c4d7a87110045aa6447c.sdp)
    [f=0000000] Recording demo to: /home/joya/dev/spring-rel/demos/20151003_132041_Industrial Revolution v1_100.sdf
    [f=0000000] PreGame::GameDataReceived: 109 ms
    [f=0000000] [PreGame::UpdateClientNet] user number 20 (team 0, allyteam 0)
    [f=0000000] [LuaIntro] Searching for new Widgets
    [f=0000000] [LuaIntro] Scanning: LuaIntro/Addons/
    [f=0000000] [LuaIntro] Scanning: LuaIntro/Widgets/
    [f=0000000] [LuaIntro] Scanning: LuaIntro/SystemAddons/
    [f=0000000] [LuaIntro] Scanning: LuaIntro/SystemWidgets/
    [f=0000000] [LuaIntro] Scanning: LuaIntro/chili/
    [f=0000000] [LuaIntro] Found new widget "SpringLogo"
    [f=0000000] [LuaIntro] Found new widget "LoadTexture"
    [f=0000000] [LuaIntro] Found new widget "LoadProgress"
    [f=0000000] [LuaIntro] Found new widget "Main"
    [f=0000000] [LuaIntro] Found new widget "Music"
    [f=0000000] [LuaIntro] Loading widgets   <>=vfs  **=raw  ()=unknown
    [f=0000000] [LuaIntro] Loading widget:      Engine Taskbar Stuff   <engine_taskbar_control.lua>
    [f=0000000] [LuaIntro] Loading widget:      LoadProgress           <loadprogress.lua>
    [f=0000000] [LuaIntro] Loading widget:      Main                   <main.lua>
    [f=0000000] [LuaIntro] Loading widget:      Music                  <music.lua>
    [f=0000000] [LuaIntro] Loading widget:      LoadTexture            <bg_texture.lua>
    [f=0000000] [LuaIntro] LuaIntro v1.0 (Lua 5.1)
    [f=0000000] Warning: [Watchdog] Hang detection triggered for Spring 100.0.
    [f=0000000] Warning:   (in thread: main)
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                   sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]   /lib64/libpthread.so.0(pthread_cond_wait+0xc5) [0x3deac0b565]  ??
    [f=0000000] [CrashHandler] Warning: [02]                 /lib64/libX11.so.6(_XReply+0xc7) [0x3dec841b07]  ??
    [f=0000000] [CrashHandler] Warning: [03]                          /lib64/libXrandr.so.2() [0x3df92057d9]  ??
    [f=0000000] [CrashHandler] Warning: [04]              /lib64/libSDL2-2.0.so.0(+0xb22c6) [0x7f2c89d492c6]  ??
    [f=0000000] [CrashHandler] Warning: [05]              /lib64/libSDL2-2.0.so.0(+0xb48b3) [0x7f2c89d4b8b3]  ??
    [f=0000000] [CrashHandler] Warning: [06]                /lib64/libX11.so.6(_XError+0x12b) [0x3dec843c2b]  ??
    [f=0000000] [CrashHandler] Warning: [07]                             /lib64/libX11.so.6() [0x3dec840c87]  ??
    [f=0000000] [CrashHandler] Warning: [08]                             /lib64/libX11.so.6() [0x3dec840d35]  ??
    [f=0000000] [CrashHandler] Warning: [09]                /lib64/libX11.so.6(_XReply+0x1f0) [0x3dec841c30]  ??
    [f=0000000] [CrashHandler] Warning: [10]                   /lib64/libX11.so.6(XSync+0x3d) [0x3dec83d76d]  ??
    [f=0000000] [CrashHandler] Warning: [11]                              /lib64/libGL.so.1() [0x31d3288f23]  ??
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (audio) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                                                                                                     sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]                                                                               /lib64/libpthread.so.0(pthread_cond_timedwait+0x132) [0x3deac0b912]  ??
    [f=0000000] [CrashHandler] Warning: [02]   /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost18condition_variable13do_wait_untilERNS_11unique_lockINS_5mutexEEERK8timespec+0x7c) [0x34a6c102dc]  ??
    [f=0000000] [CrashHandler] Warning: [03]                                    /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost11this_thread5hiden11sleep_untilERK8timespec+0x56) [0x34a6c0cdd6]  ??
    [f=0000000] [CrashHandler] Warning: [04]                                                                                                         .../rts/System/Sound/OpenAL/Sound.cpp:384  CSound::StartThread(int)
    [f=0000000] [CrashHandler] Warning: [05]                                                                                               .../rts/System/Platform/Linux/ThreadSupport.cpp:192  Threading::ThreadStart(boost::function<void ()>, std::shared_ptr<Threading::ThreadControls>*)
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:875  boost::function0<void>::clear()
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:759  ~function0
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                          /usr/include/boost/function/function_template.hpp:1048  ~function
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                            /usr/include/boost/bind/bind.hpp:313  operator()<void (*)(boost::function<void()>, std::shared_ptr<Threading::ThreadControls>*), boo [...]
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                    /usr/include/boost/bind/bind_template.hpp:20  boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::shared_ptr<Threading::ThreadC [...]
    [f=0000000] [CrashHandler] Warning: [06]                                                                                                   /usr/include/boost/thread/detail/thread.hpp:117  boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::sh [...]
    [f=0000000] [CrashHandler] Warning: [07]                                                                                              /lib64/libboost_thread-mt.so.1.53.0() [0x34a6c0c0da]  ??
    [f=0000000] [CrashHandler] Warning: [08]                                                                                                                                pthread_create.c:?  start_thread
    [f=0000000] [CrashHandler] Warning: [09]                                                                                                       /lib64/libc.so.6(clone+0x6d) [0x3dea4f5dbd]  ??
    [f=0000000] Warning: [Watchdog] Hang detection triggered for Spring 100.0.
    [f=0000000] Warning:   (in thread: main)
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                   sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]   /lib64/libpthread.so.0(pthread_cond_wait+0xc5) [0x3deac0b565]  ??
    [f=0000000] [CrashHandler] Warning: [02]                 /lib64/libX11.so.6(_XReply+0xc7) [0x3dec841b07]  ??
    [f=0000000] [CrashHandler] Warning: [03]                          /lib64/libXrandr.so.2() [0x3df92057d9]  ??
    [f=0000000] [CrashHandler] Warning: [04]              /lib64/libSDL2-2.0.so.0(+0xb22c6) [0x7f2c89d492c6]  ??
    [f=0000000] [CrashHandler] Warning: [05]              /lib64/libSDL2-2.0.so.0(+0xb48b3) [0x7f2c89d4b8b3]  ??
    [f=0000000] [CrashHandler] Warning: [06]                /lib64/libX11.so.6(_XError+0x12b) [0x3dec843c2b]  ??
    [f=0000000] [CrashHandler] Warning: [07]                             /lib64/libX11.so.6() [0x3dec840c87]  ??
    [f=0000000] [CrashHandler] Warning: [08]                             /lib64/libX11.so.6() [0x3dec840d35]  ??
    [f=0000000] [CrashHandler] Warning: [09]                /lib64/libX11.so.6(_XReply+0x1f0) [0x3dec841c30]  ??
    [f=0000000] [CrashHandler] Warning: [10]                   /lib64/libX11.so.6(XSync+0x3d) [0x3dec83d76d]  ??
    [f=0000000] [CrashHandler] Warning: [11]                              /lib64/libGL.so.1() [0x31d3288f23]  ??
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (audio) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                                                                                                     sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]                                                                               /lib64/libpthread.so.0(pthread_cond_timedwait+0x132) [0x3deac0b912]  ??
    [f=0000000] [CrashHandler] Warning: [02]   /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost18condition_variable13do_wait_untilERNS_11unique_lockINS_5mutexEEERK8timespec+0x7c) [0x34a6c102dc]  ??
    [f=0000000] [CrashHandler] Warning: [03]                                    /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost11this_thread5hiden11sleep_untilERK8timespec+0x56) [0x34a6c0cdd6]  ??
    [f=0000000] [CrashHandler] Warning: [04]                                                                                                         .../rts/System/Sound/OpenAL/Sound.cpp:384  CSound::StartThread(int)
    [f=0000000] [CrashHandler] Warning: [05]                                                                                               .../rts/System/Platform/Linux/ThreadSupport.cpp:192  Threading::ThreadStart(boost::function<void ()>, std::shared_ptr<Threading::ThreadControls>*)
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:875  boost::function0<void>::clear()
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:759  ~function0
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                          /usr/include/boost/function/function_template.hpp:1048  ~function
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                            /usr/include/boost/bind/bind.hpp:313  operator()<void (*)(boost::function<void()>, std::shared_ptr<Threading::ThreadControls>*), boo [...]
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                    /usr/include/boost/bind/bind_template.hpp:20  boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::shared_ptr<Threading::ThreadC [...]
    [f=0000000] [CrashHandler] Warning: [06]                                                                                                   /usr/include/boost/thread/detail/thread.hpp:117  boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::sh [...]
    [f=0000000] [CrashHandler] Warning: [07]                                                                                              /lib64/libboost_thread-mt.so.1.53.0() [0x34a6c0c0da]  ??
    [f=0000000] [CrashHandler] Warning: [08]                                                                                                                                pthread_create.c:?  start_thread
    [f=0000000] [CrashHandler] Warning: [09]                                                                                                       /lib64/libc.so.6(clone+0x6d) [0x3dea4f5dbd]  ??
    [f=0000000] Warning: [Watchdog] Hang detection triggered for Spring 100.0.
    [f=0000000] Warning:   (in thread: main)
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                   sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]   /lib64/libpthread.so.0(pthread_cond_wait+0xc5) [0x3deac0b565]  ??
    [f=0000000] [CrashHandler] Warning: [02]                 /lib64/libX11.so.6(_XReply+0xc7) [0x3dec841b07]  ??
    [f=0000000] [CrashHandler] Warning: [03]                          /lib64/libXrandr.so.2() [0x3df92057d9]  ??
    [f=0000000] [CrashHandler] Warning: [04]              /lib64/libSDL2-2.0.so.0(+0xb22c6) [0x7f2c89d492c6]  ??
    [f=0000000] [CrashHandler] Warning: [05]              /lib64/libSDL2-2.0.so.0(+0xb48b3) [0x7f2c89d4b8b3]  ??
    [f=0000000] [CrashHandler] Warning: [06]                /lib64/libX11.so.6(_XError+0x12b) [0x3dec843c2b]  ??
    [f=0000000] [CrashHandler] Warning: [07]                             /lib64/libX11.so.6() [0x3dec840c87]  ??
    [f=0000000] [CrashHandler] Warning: [08]                             /lib64/libX11.so.6() [0x3dec840d35]  ??
    [f=0000000] [CrashHandler] Warning: [09]                /lib64/libX11.so.6(_XReply+0x1f0) [0x3dec841c30]  ??
    [f=0000000] [CrashHandler] Warning: [10]                   /lib64/libX11.so.6(XSync+0x3d) [0x3dec83d76d]  ??
    [f=0000000] [CrashHandler] Warning: [11]                              /lib64/libGL.so.1() [0x31d3288f23]  ??
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (audio) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                                                                                                     sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]                                                                               /lib64/libpthread.so.0(pthread_cond_timedwait+0x132) [0x3deac0b912]  ??
    [f=0000000] [CrashHandler] Warning: [02]   /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost18condition_variable13do_wait_untilERNS_11unique_lockINS_5mutexEEERK8timespec+0x7c) [0x34a6c102dc]  ??
    [f=0000000] [CrashHandler] Warning: [03]                                    /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost11this_thread5hiden11sleep_untilERK8timespec+0x56) [0x34a6c0cdd6]  ??
    [f=0000000] [CrashHandler] Warning: [04]                                                                                                         .../rts/System/Sound/OpenAL/Sound.cpp:384  CSound::StartThread(int)
    [f=0000000] [CrashHandler] Warning: [05]                                                                                               .../rts/System/Platform/Linux/ThreadSupport.cpp:192  Threading::ThreadStart(boost::function<void ()>, std::shared_ptr<Threading::ThreadControls>*)
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:875  boost::function0<void>::clear()
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:759  ~function0
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                          /usr/include/boost/function/function_template.hpp:1048  ~function
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                            /usr/include/boost/bind/bind.hpp:313  operator()<void (*)(boost::function<void()>, std::shared_ptr<Threading::ThreadControls>*), boo [...]
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                    /usr/include/boost/bind/bind_template.hpp:20  boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::shared_ptr<Threading::ThreadC [...]
    [f=0000000] [CrashHandler] Warning: [06]                                                                                                   /usr/include/boost/thread/detail/thread.hpp:117  boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::sh [...]
    [f=0000000] [CrashHandler] Warning: [07]                                                                                              /lib64/libboost_thread-mt.so.1.53.0() [0x34a6c0c0da]  ??
    [f=0000000] [CrashHandler] Warning: [08]                                                                                                                                pthread_create.c:?  start_thread
    [f=0000000] [CrashHandler] Warning: [09]                                                                                                       /lib64/libc.so.6(clone+0x6d) [0x3dea4f5dbd]  ??
    [f=0000000] Warning: [Watchdog] Hang detection triggered for Spring 100.0.
    [f=0000000] Warning:   (in thread: main)
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                   sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]   /lib64/libpthread.so.0(pthread_cond_wait+0xc5) [0x3deac0b565]  ??
    [f=0000000] [CrashHandler] Warning: [02]                 /lib64/libX11.so.6(_XReply+0xc7) [0x3dec841b07]  ??
    [f=0000000] [CrashHandler] Warning: [03]                          /lib64/libXrandr.so.2() [0x3df92057d9]  ??
    [f=0000000] [CrashHandler] Warning: [04]              /lib64/libSDL2-2.0.so.0(+0xb22c6) [0x7f2c89d492c6]  ??
    [f=0000000] [CrashHandler] Warning: [05]              /lib64/libSDL2-2.0.so.0(+0xb48b3) [0x7f2c89d4b8b3]  ??
    [f=0000000] [CrashHandler] Warning: [06]                /lib64/libX11.so.6(_XError+0x12b) [0x3dec843c2b]  ??
    [f=0000000] [CrashHandler] Warning: [07]                             /lib64/libX11.so.6() [0x3dec840c87]  ??
    [f=0000000] [CrashHandler] Warning: [08]                             /lib64/libX11.so.6() [0x3dec840d35]  ??
    [f=0000000] [CrashHandler] Warning: [09]                /lib64/libX11.so.6(_XReply+0x1f0) [0x3dec841c30]  ??
    [f=0000000] [CrashHandler] Warning: [10]                   /lib64/libX11.so.6(XSync+0x3d) [0x3dec83d76d]  ??
    [f=0000000] [CrashHandler] Warning: [11]                              /lib64/libGL.so.1() [0x31d3288f23]  ??
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (audio) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                                                                                                     sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]                                                                               /lib64/libpthread.so.0(pthread_cond_timedwait+0x132) [0x3deac0b912]  ??
    [f=0000000] [CrashHandler] Warning: [02]   /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost18condition_variable13do_wait_untilERNS_11unique_lockINS_5mutexEEERK8timespec+0x7c) [0x34a6c102dc]  ??
    [f=0000000] [CrashHandler] Warning: [03]                                    /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost11this_thread5hiden11sleep_untilERK8timespec+0x56) [0x34a6c0cdd6]  ??
    [f=0000000] [CrashHandler] Warning: [04]                                                                                                         .../rts/System/Sound/OpenAL/Sound.cpp:384  CSound::StartThread(int)
    [f=0000000] [CrashHandler] Warning: [05]                                                                                               .../rts/System/Platform/Linux/ThreadSupport.cpp:192  Threading::ThreadStart(boost::function<void ()>, std::shared_ptr<Threading::ThreadControls>*)
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:875  boost::function0<void>::clear()
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:759  ~function0
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                          /usr/include/boost/function/function_template.hpp:1048  ~function
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                            /usr/include/boost/bind/bind.hpp:313  operator()<void (*)(boost::function<void()>, std::shared_ptr<Threading::ThreadControls>*), boo [...]
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                    /usr/include/boost/bind/bind_template.hpp:20  boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::shared_ptr<Threading::ThreadC [...]
    [f=0000000] [CrashHandler] Warning: [06]                                                                                                   /usr/include/boost/thread/detail/thread.hpp:117  boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::sh [...]
    [f=0000000] [CrashHandler] Warning: [07]                                                                                              /lib64/libboost_thread-mt.so.1.53.0() [0x34a6c0c0da]  ??
    [f=0000000] [CrashHandler] Warning: [08]                                                                                                                                pthread_create.c:?  start_thread
    [f=0000000] [CrashHandler] Warning: [09]                                                                                                       /lib64/libc.so.6(clone+0x6d) [0x3dea4f5dbd]  ??
    [f=0000000] Warning: [Watchdog] Hang detection triggered for Spring 100.0.
    [f=0000000] Warning:   (in thread: main)
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                   sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]   /lib64/libpthread.so.0(pthread_cond_wait+0xc5) [0x3deac0b565]  ??
    [f=0000000] [CrashHandler] Warning: [02]                 /lib64/libX11.so.6(_XReply+0xc7) [0x3dec841b07]  ??
    [f=0000000] [CrashHandler] Warning: [03]                          /lib64/libXrandr.so.2() [0x3df92057d9]  ??
    [f=0000000] [CrashHandler] Warning: [04]              /lib64/libSDL2-2.0.so.0(+0xb22c6) [0x7f2c89d492c6]  ??
    [f=0000000] [CrashHandler] Warning: [05]              /lib64/libSDL2-2.0.so.0(+0xb48b3) [0x7f2c89d4b8b3]  ??
    [f=0000000] [CrashHandler] Warning: [06]                /lib64/libX11.so.6(_XError+0x12b) [0x3dec843c2b]  ??
    [f=0000000] [CrashHandler] Warning: [07]                             /lib64/libX11.so.6() [0x3dec840c87]  ??
    [f=0000000] [CrashHandler] Warning: [08]                             /lib64/libX11.so.6() [0x3dec840d35]  ??
    [f=0000000] [CrashHandler] Warning: [09]                /lib64/libX11.so.6(_XReply+0x1f0) [0x3dec841c30]  ??
    [f=0000000] [CrashHandler] Warning: [10]                   /lib64/libX11.so.6(XSync+0x3d) [0x3dec83d76d]  ??
    [f=0000000] [CrashHandler] Warning: [11]                              /lib64/libGL.so.1() [0x31d3288f23]  ??
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (audio) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                                                                                                     sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]                                                                               /lib64/libpthread.so.0(pthread_cond_timedwait+0x132) [0x3deac0b912]  ??
    [f=0000000] [CrashHandler] Warning: [02]   /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost18condition_variable13do_wait_untilERNS_11unique_lockINS_5mutexEEERK8timespec+0x7c) [0x34a6c102dc]  ??
    [f=0000000] [CrashHandler] Warning: [03]                                    /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost11this_thread5hiden11sleep_untilERK8timespec+0x56) [0x34a6c0cdd6]  ??
    [f=0000000] [CrashHandler] Warning: [04]                                                                                                         .../rts/System/Sound/OpenAL/Sound.cpp:384  CSound::StartThread(int)
    [f=0000000] [CrashHandler] Warning: [05]                                                                                               .../rts/System/Platform/Linux/ThreadSupport.cpp:192  Threading::ThreadStart(boost::function<void ()>, std::shared_ptr<Threading::ThreadControls>*)
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:875  boost::function0<void>::clear()
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:759  ~function0
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                          /usr/include/boost/function/function_template.hpp:1048  ~function
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                            /usr/include/boost/bind/bind.hpp:313  operator()<void (*)(boost::function<void()>, std::shared_ptr<Threading::ThreadControls>*), boo [...]
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                    /usr/include/boost/bind/bind_template.hpp:20  boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::shared_ptr<Threading::ThreadC [...]
    [f=0000000] [CrashHandler] Warning: [06]                                                                                                   /usr/include/boost/thread/detail/thread.hpp:117  boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::sh [...]
    [f=0000000] [CrashHandler] Warning: [07]                                                                                              /lib64/libboost_thread-mt.so.1.53.0() [0x34a6c0c0da]  ??
    [f=0000000] [CrashHandler] Warning: [08]                                                                                                                                pthread_create.c:?  start_thread
    [f=0000000] [CrashHandler] Warning: [09]                                                                                                       /lib64/libc.so.6(clone+0x6d) [0x3dea4f5dbd]  ??
    [f=0000000] Warning: [Watchdog] Hang detection triggered for Spring 100.0.
    [f=0000000] Warning:   (in thread: main)
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                   sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]   /lib64/libpthread.so.0(pthread_cond_wait+0xc5) [0x3deac0b565]  ??
    [f=0000000] [CrashHandler] Warning: [02]                 /lib64/libX11.so.6(_XReply+0xc7) [0x3dec841b07]  ??
    [f=0000000] [CrashHandler] Warning: [03]                          /lib64/libXrandr.so.2() [0x3df92057d9]  ??
    [f=0000000] [CrashHandler] Warning: [04]              /lib64/libSDL2-2.0.so.0(+0xb22c6) [0x7f2c89d492c6]  ??
    [f=0000000] [CrashHandler] Warning: [05]              /lib64/libSDL2-2.0.so.0(+0xb48b3) [0x7f2c89d4b8b3]  ??
    [f=0000000] [CrashHandler] Warning: [06]                /lib64/libX11.so.6(_XError+0x12b) [0x3dec843c2b]  ??
    [f=0000000] [CrashHandler] Warning: [07]                             /lib64/libX11.so.6() [0x3dec840c87]  ??
    [f=0000000] [CrashHandler] Warning: [08]                             /lib64/libX11.so.6() [0x3dec840d35]  ??
    [f=0000000] [CrashHandler] Warning: [09]                /lib64/libX11.so.6(_XReply+0x1f0) [0x3dec841c30]  ??
    [f=0000000] [CrashHandler] Warning: [10]                   /lib64/libX11.so.6(XSync+0x3d) [0x3dec83d76d]  ??
    [f=0000000] [CrashHandler] Warning: [11]                              /lib64/libGL.so.1() [0x31d3288f23]  ??
    [f=0000000] [CrashHandler] Warning: Suspended-thread Stacktrace (audio) for Spring 100.0:
    [f=0000000] [CrashHandler] Warning: [00]                                                                                                                                     sigaction.c:?  __restore_rt
    [f=0000000] [CrashHandler] Warning: [01]                                                                               /lib64/libpthread.so.0(pthread_cond_timedwait+0x132) [0x3deac0b912]  ??
    [f=0000000] [CrashHandler] Warning: [02]   /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost18condition_variable13do_wait_untilERNS_11unique_lockINS_5mutexEEERK8timespec+0x7c) [0x34a6c102dc]  ??
    [f=0000000] [CrashHandler] Warning: [03]                                    /lib64/libboost_thread-mt.so.1.53.0(_ZN5boost11this_thread5hiden11sleep_untilERK8timespec+0x56) [0x34a6c0cdd6]  ??
    [f=0000000] [CrashHandler] Warning: [04]                                                                                                         .../rts/System/Sound/OpenAL/Sound.cpp:384  CSound::StartThread(int)
    [f=0000000] [CrashHandler] Warning: [05]                                                                                               .../rts/System/Platform/Linux/ThreadSupport.cpp:192  Threading::ThreadStart(boost::function<void ()>, std::shared_ptr<Threading::ThreadControls>*)
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:875  boost::function0<void>::clear()
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                           /usr/include/boost/function/function_template.hpp:759  ~function0
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                          /usr/include/boost/function/function_template.hpp:1048  ~function
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                            /usr/include/boost/bind/bind.hpp:313  operator()<void (*)(boost::function<void()>, std::shared_ptr<Threading::ThreadControls>*), boo [...]
    [f=0000000] [CrashHandler] Warning:   <06>                                                                                                    /usr/include/boost/bind/bind_template.hpp:20  boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::shared_ptr<Threading::ThreadC [...]
    [f=0000000] [CrashHandler] Warning: [06]                                                                                                   /usr/include/boost/thread/detail/thread.hpp:117  boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, std::sh [...]
    [f=0000000] [CrashHandler] Warning: [07]                                                                                              /lib64/libboost_thread-mt.so.1.53.0() [0x34a6c0c0da]  ??
    [f=0000000] [CrashHandler] Warning: [08]                                                                                                                                pthread_create.c:?  start_thread
    [f=0000000] [CrashHandler] Warning: [09]                                                                                                       /lib64/libc.so.6(clone+0x6d) [0x3dea4f5dbd]  ??
    
    txt file icon infolog.txt (36,430 bytes) 2015-10-03 22:21 +

-Relationships
+Relationships

-Notes

~0015266

MajorBoredom (reporter)

Update: The hang occurs for both Balanced Annihilation and Tech Annihilation in network play.

Update: I can start the engine from the command line ("./spring") and it will arrive at the system menu with no hang. I can also start a 1-player in the "testing only" sandbox and it will load and function correctly.

~0015267

abma (administrator)

Last edited: 2015-10-03 21:56

View 2 revisions

> I built this engine from 100.0 tag in git. The version string was manually set to 100.0 in order to join public servers. I was able to join a game once after building. After a reboot, subsequent attempts to load a game result in a hang.

whats the output of "git describe"?

~0015268

abma (administrator)

(22:18:00) [99]Gambit: it's 100.0-33-gfa5d693 -- it is based on 100.0 with a few changes
(22:18:15) abma_irc: then you broke the code

~0015269

MajorBoredom (reporter)

Last edited: 2015-10-03 22:26

View 2 revisions

No, it still happens with 100.0 and with the tarball. I checked 100.0 before posting, obviously. The changes I made are nothing that would break anything.

~0015270

abma (administrator)

possible related to 0004952

the nvidia driver seems to cause a bug there

~0015271

MajorBoredom (reporter)

This problem went away with Safemode = 1 in springlobby.conf.

Unfortunately, this does not look like the true fix. When I revert back to Safemode = 0, the problem vanishes and the engine starts properly again. So the problem may involve some hysteresis or memory on the part of the driver (if it is in fact the nvidia driver).

Also, the next line after the hang *should* read one of the two:
[f=0000000] LoadingScreen: single-threaded
    or
[f=0000000] Registering thread controls for thread [load]
...depending on whether you have LoadingMT=-1 or LoadingMT=0

~0017900

Kloot (developer)

reminiscent of 0004908 (although without the error messages), but too old now and not reported by anyone else.
+Notes

-Issue History
Date Modified Username Field Change
2015-10-03 18:39 MajorBoredom New Issue
2015-10-03 19:52 MajorBoredom Note Added: 0015266
2015-10-03 21:56 abma Note Added: 0015267
2015-10-03 21:56 abma Note Edited: 0015267 View Revisions
2015-10-03 22:17 abma Note Added: 0015268
2015-10-03 22:17 abma Status new => resolved
2015-10-03 22:17 abma Resolution open => no change required
2015-10-03 22:17 abma Assigned To => abma
2015-10-03 22:21 MajorBoredom File Added: infolog.txt
2015-10-03 22:25 MajorBoredom Note Added: 0015269
2015-10-03 22:25 MajorBoredom Status resolved => feedback
2015-10-03 22:25 MajorBoredom Resolution no change required => reopened
2015-10-03 22:26 MajorBoredom Note Edited: 0015269 View Revisions
2015-10-03 22:39 abma Note Added: 0015270
2015-10-04 01:12 MajorBoredom Note Added: 0015271
2015-10-04 01:12 MajorBoredom Status feedback => assigned
2015-10-04 02:23 abma Summary Engine hangs in SDL2 / libX11 after load => Engine hangs in SDL2 / libX11 after load (linux/nvidia driver)
2015-10-04 03:49 abma Severity block => crash
2015-11-06 23:52 abma Assigned To abma =>
2015-11-06 23:52 abma Status assigned => new
2017-06-26 12:23 Kloot Status new => resolved
2017-06-26 12:23 Kloot Resolution reopened => unable to reproduce
2017-06-26 12:23 Kloot Note Added: 0017900
+Issue History