2020-06-04 15:56 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006392Spring engineLinuxpublic2020-05-11 00:13
Reporterszpak 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
Product Version104.0 +git 
Target VersionFixed in Version 
Summary0006392: [Watchdog] Hang detection triggered for Spring 104.0 on Fedora
DescriptionSprign 104.0 (and nightly as of 2020-05-09) hangs right after startup with


Warning: [Watchdog] Hang detection triggered for Spring 104.0.1-2070-gbdaa8d7 develop.
Warning: (in threads: {main,load,audio,vfsi}={1,0,0,0})
[CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 104.0.1-2070-gbdaa8d7 develop:
[CrashHandler] Warning: <00> sigaction.c:? __restore_rt
[CrashHandler] Warning: [00] 0x14b20 sigaction.c:?
[CrashHandler] Warning: <01> ./spring(FT_DivFix+0x40) [0xb38870] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)
[CrashHandler] Warning: [01] 0x738870 ??:?
[CrashHandler] Warning: <02> ./spring() [0xb576df] TT_New_Context
[CrashHandler] Warning: [02] 0xb576df ??:?
...
Steps To Reproduce1. Download Spring 104.0 (or nightly) as spring-*-minimal-portable-linux64-static.7z
2. ./spring
Additional InformationFedora 31. Integrated Intel UHD Graphics 650. The full log attached (from the nightly version, but the stacktrace is similar to the one from 104.0).

Related thread on the forum: https://springrts.com/phpbb/viewtopic.php?f=11&t=41227
TagsNo tags attached.
Checked infolog.txt for ErrorsYes
Attached Files
  • txt file icon infolog.txt (14,970 bytes) 2020-05-10 23:15 -
    [DataDirLocater::FindWriteableDataDir] using writeable data-directory "/home/foobar/Downloads/springrts/"
    Using writeable configuration source: "/home/foobar/Downloads/springrts/springsettings.cfg"
    LogOutput initialized. Logging to /home/foobar/Downloads/springrts/infolog.txt
    ============== <Log Sections> ==============
      Available:
        ArchiveScanner
        AutohostInterface
        BumpWater
        CSMFGroundTextures
        CrashHandler
        CregSerializer
        DecalsDrawerGL4
        FarTextureHandler
        Font
        GameServer
        GroundMoveType
        KeyBindings
        LuaSocket
        Model
        Net
        Path
        Piece
        RoamMeshDrawer
        Shader
        SkyBox
        Sound
        Texture
        VFS
      Enabled:
        Sound (Notice)
        VFS (Info)
      
      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.
    ============== </Log Sections> ==============
    
    ============== <User Config> ==============
    ============== </User Config> ==============
    
    ============== <User System> ==============
      Spring Engine Version: 104.0.1-2070-gbdaa8d7 develop
          Build Environment: gcc libstdc++ version 20160609
           Compiler Version: gcc-5.4.0 20160609
           Operating System: Linux 5.6.8-200.fc31.x86_64 #1 SMP Wed Apr 29 19:10:01 UTC 2020 (x86_64)
            Hardware Config: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz; 15715MB RAM
           Binary Word Size: 64-bit (native)
              Process Clock: std::chrono::high_resolution_clock
         Physical CPU Cores: 6
          Logical CPU Cores: 12
    ============== </User System> ==============
    
    [CrashHandler] Core dumps enabled, not installing signal handler
    [CrashHandler] see /proc/sys/kernel/core_pattern where it gets written
    [good_fpu_init][STREFLOP_SSE]
    	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
    [WatchDog::Install] installed (hang-timeout: 10s)
    [WatchDog::RegisterThread] registering controls for thread [main]
    [GL::CheckAvailableVideoModes] desktop={1920x1200x24bpp@60Hz} current={1920x1200x24bpp@60Hz}
    	display=1 modes=17 bounds={x=0, y=0, w=1920, h=1200}
    		[ 1] 1920x1200x24bpp@60Hz
    		[ 2] 1920x1080x24bpp@60Hz
    		[ 4] 1680x1050x24bpp@60Hz
    		[ 6] 1440x900x24bpp@60Hz
    		[ 9] 1280x800x24bpp@60Hz
    		[10] 1280x720x24bpp@60Hz
    [GR::CreateSDLWindow] using 0x anti-aliasing and 24-bit depth-buffer (PF="SDL_PIXELFORMAT_RGB888") for main window
    [GR::CreateSDLWindow] using 0x anti-aliasing and 24-bit depth-buffer (PF="SDL_PIXELFORMAT_RGB888") for hidden window
    [GR::LogVersionInfo]
    	SDL version : 2.0.12 (linked) / 2.0.4 (compiled)
    	GL version  : 4.5 (Core Profile) Mesa 19.2.8
    	GL vendor   : Intel Open Source Technology Center
    	GL renderer : Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2) 
    	GLSL version: 4.50
    	GLEW version: 2.1.0
    	GPU memory  : unknown
    	SDL swap-int: 1
    	
    [GR::CheckGLExtensions] OpenGL extension "GLEW_EXT_texture_edge_clamp" not supported, ignoring
    [GR::CheckGLExtensions] OpenGL extension "GLEW_ARB_texture_border_clamp" not supported, ignoring
    [GR::CheckGLExtensions] OpenGL extension "GLEW_ARB_fragment_program" not supported, ignoring
    [GR::CheckGLExtensions] OpenGL extension "GLEW_ARB_shading_language_100" not supported, ignoring
    [GR::LogGLSupportInfo]
    	NVX GPU mem-info support  : 0
    	ATI GPU mem-info support  : 0
    	NPOT-texture support      : 1 (1)
    	texture query-LOD support : 1 (1)
    	24-bit Z-buffer support   : 1 (-)
    	primitive-restart support : 1 (1)
    	clip-space control support: 1 (1)
    	seamless cube-map support : 1 (1)
    	frag-depth layout support : 1 (-)
    	
    	max. FBO samples             : 16
    	max. texture size            : 16384
    	max. texture anisotropy level: 16.000000
    	max. vec4 varyings/attributes: 32/16
    	max. draw-buffers            : 8
    	max. rec. indices/vertices   : 3000/3000
    	max. uniform buffer-bindings : 84
    	max. uniform block-size      : 64KB
    	
    	run-time texture compression: 0
    	
    [GR::ToggleGLDebugOutput] OpenGL debug-context not installed (dbgErrors=0 dbgTraces=0)
    [GR::UpdateGLConfigs]
    [VSync::SetInterval] interval=0 (disabled)
    [GR::UpdateGLGeometry][1] winSize=<1,1>
    [GR::UpdateGLGeometry][2] winSize=<1920,1200>
    [GR::InitGLState] glAttribStatePtr=(nil)
    [GR::LogDisplayMode] display-mode set to 1920x1200x24bpp@60Hz (fullscreen::decorated)
    [TexMemPool::Resize] poolSize=268435456u allocSize=0u texCount=0u
    Warning: [Watchdog] Hang detection triggered for Spring 104.0.1-2070-gbdaa8d7 develop.
    Warning: 	(in threads: {main,load,audio,vfsi}={1,0,0,0})
    [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 104.0.1-2070-gbdaa8d7 develop:
    [CrashHandler] Warning:   <00>                                             sigaction.c:?  __restore_rt
    [CrashHandler] Warning: [00]                                                     0x14b20  sigaction.c:?
    [CrashHandler] Warning:   <01>                       ./spring(FT_DivFix+0x40) [0xb38870]  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)
    [CrashHandler] Warning: [01]                                                    0x738870  ??:?
    [CrashHandler] Warning:   <02>                                     ./spring() [0xb576df]  TT_New_Context
    [CrashHandler] Warning: [02]                                                    0xb576df  ??:?
    [CrashHandler] Warning:   <03>                                     ./spring() [0xb59b62]  TT_New_Context
    [CrashHandler] Warning: [03]                                                    0xb59b62  ??:?
    [CrashHandler] Warning:   <04>                                     ./spring() [0xb5b9d3]  TT_New_Context
    [CrashHandler] Warning: [04]                                                    0xb5b9d3  ??:?
    [CrashHandler] Warning:   <05>                                     ./spring() [0xb5cb2d]  TT_New_Context
    [CrashHandler] Warning: [05]                                                    0xb5cb2d  ??:?
    [CrashHandler] Warning:   <06>                                     ./spring() [0xb5d596]  TT_New_Context
    [CrashHandler] Warning: [06]                                                    0xb5d596  ??:?
    [CrashHandler] Warning:   <07>                                     ./spring() [0xb3bfbf]  FT_Outline_Transform
    [CrashHandler] Warning: [07]                                                    0xb3bfbf  ??:?
    [CrashHandler] Warning:   <08>                                     ./spring() [0xb076b7]  FcFontSetPrint
    [CrashHandler] Warning: [08]                                                    0xb076b7  ??:?
    [CrashHandler] Warning:   <09>                                     ./spring() [0xb07ca5]  FcFontSetPrint
    [CrashHandler] Warning: [09]                                                    0xb07ca5  ??:?
    [CrashHandler] Warning:   <10>           ./spring(FcFreeTypeQueryFace+0x14eb) [0xb096ab]  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)
    [CrashHandler] Warning: [10]                                                    0x7096ab  ??:?
    [CrashHandler] Warning:   <11>                 ./spring(FcFreeTypeQuery+0x99) [0xb09c49]  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)
    [CrashHandler] Warning: [11]                                                    0x709c49  ??:?
    [CrashHandler] Warning:   <12>                                     ./spring() [0xb1e582]  FcFileIsDir
    [CrashHandler] Warning: [12]                                                    0xb1e582  ??:?
    [CrashHandler] Warning:   <13>                                     ./spring() [0xb1ea29]  FcFileIsDir
    [CrashHandler] Warning: [13]                                                    0xb1ea29  ??:?
    [CrashHandler] Warning:   <14>                                     ./spring() [0xb1ec53]  FcDirScan
    [CrashHandler] Warning: [14]                                                    0xb1ec53  ??:?
    [CrashHandler] Warning:   <15>                                     ./spring() [0xb1d5b4]  FcConfigAppFontClear
    [CrashHandler] Warning: [15]                                                    0xb1d5b4  ??:?
    [CrashHandler] Warning:   <16>              ./spring(FcConfigBuildFonts+0x3b) [0xb1d67b]  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)
    [CrashHandler] Warning: [16]                                                    0x71d67b  ??:?
    [CrashHandler] Warning:   <17>                                     ./spring() [0xb0a2c6]  FcInitLoadConfig
    [CrashHandler] Warning: [17]                                                    0xb0a2c6  ??:?
    [CrashHandler] Warning:   <18>                                     ./spring() [0xb1ac2d]  FcConfigDestroy
    [CrashHandler] Warning: [18]                                                    0xb1ac2d  ??:?
    [CrashHandler] Warning:   <19>                                     ./spring() [0xb1ac69]  FcConfigDestroy
    [CrashHandler] Warning: [19]                                                    0xb1ac69  ??:?
    [CrashHandler] Warning:   <20>                                     ./spring() [0x9bb759]  std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >::_M_default_append(unsigned long)
    [CrashHandler] Warning: [20]                                                    0x9bb759  ??:?
    [CrashHandler] Warning:   <21>                                     ./spring() [0x9bb9ab]  std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >::_M_default_append(unsigned long)
    [CrashHandler] Warning: [21]                                                    0x9bb9ab  ??:?
    [CrashHandler] Warning:   <22>                                          pthread_once.c:?  __pthread_once_slow
    [CrashHandler] Warning:   <22>                                                   0x1197f  pthread_once.c:?
    [CrashHandler] Warning:   <23>                                     ./spring() [0x9b396d]  std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >::_M_default_append(unsigned long)
    [CrashHandler] Warning: [23]                                                    0x9b396d  ??:?
    [CrashHandler] Warning:   <24>                                     ./spring() [0x9ba5c4]  std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >::_M_default_append(unsigned long)
    [CrashHandler] Warning: [24]                                                    0x9ba5c4  ??:?
    [CrashHandler] Warning:   <25>                                     ./spring() [0x9c5539]  void std::deque<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::emplace_back<char const (&) [1]>(char const (&) [1])
    [CrashHandler] Warning: [25]                                                    0x9c5539  ??:?
    [CrashHandler] Warning:   <26>                                     ./spring() [0x9bf19e]  std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >::_M_default_append(unsigned long)
    [CrashHandler] Warning: [26]                                                    0x9bf19e  ??:?
    [CrashHandler] Warning:   <27>                                     ./spring() [0x9c1add]  std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >::_M_default_append(unsigned long)
    [CrashHandler] Warning: [27]                                                    0x9c1add  ??:?
    [CrashHandler] Warning:   <28>                                     ./spring() [0x9c2361]  std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >::_M_default_append(unsigned long)
    [CrashHandler] Warning: [28]                                                    0x9c2361  ??:?
    [CrashHandler] Warning:   <29>                                     ./spring() [0x9c2744]  std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >::_M_default_append(unsigned long)
    [CrashHandler] Warning: [29]                                                    0x9c2744  ??:?
    [CrashHandler] Warning:   <30>                                     ./spring() [0xa2be43]  safe_strcat
    [CrashHandler] Warning: [30]                                                    0xa2be43  ??:?
    [CrashHandler] Warning:   <31>                                     ./spring() [0xa2c528]  safe_strcat
    [CrashHandler] Warning: [31]                                                    0xa2c528  ??:?
    [CrashHandler] Warning:   <32>                                     ./spring() [0xa14709]  std::_Sp_counted_ptr_inplace<std::__future_base::_Deferred_state<std::_Bind_simple<std::function<void (gzFile_s*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)> (gzFile_s*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)>, void>, std::allocator<std::__future_base::_Deferred_state<std::_Bind_simple<std::function<void (gzFile_s*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)> (gzFile_s*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)>, void> >, (__gnu_cxx::_Lock_policy)2>::_M_dispose()
    [CrashHandler] Warning: [32]                                                    0xa14709  ??:?
    [CrashHandler] Warning:   <33>                                     ./spring() [0x56fada]  std::_Sp_counted_ptr_inplace<std::thread::_Impl<std::_Bind_simple<std::_Bind<std::_Mem_fn<void (CGameServer::*)()> (CGameServer*)> ()> >, std::allocator<std::thread::_Impl<std::_Bind_simple<std::_Bind<std::_Mem_fn<void (CGameServer::*)()> (CGameServer*)> ()> > >, (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_ptr_inplace()
    [CrashHandler] Warning: [33]                                                    0x56fada  ??:?
    [CrashHandler] Warning:   <34> /lib64/libc.so.6(__libc_start_main+0xf3) [0x7fa9750d01a3]  __libc_start_main
    [CrashHandler] Warning:   <34>                                                   0x271a3  ??:?
    [CrashHandler] Warning:   <35>                          ./spring(_start+0x29) [0x58f789]  ??
    [CrashHandler] Warning:   <35>                                                  0x18f789  ??:0
    
    txt file icon infolog.txt (14,970 bytes) 2020-05-10 23:15 +

-Relationships
+Relationships

-Notes

~0020400

szpak (reporter)

As suggested by @ForbodingAngel on forum, adding "HangTimeout = -10" to the springsettings.cfg helped with detecting the app as irresponsive and after several more seconds the main menu appeared. I was able to select the game and play it.
+Notes

-Issue History
Date Modified Username Field Change
2020-05-10 23:15 szpak New Issue
2020-05-10 23:15 szpak File Added: infolog.txt
2020-05-11 00:13 szpak Note Added: 0020400
+Issue History