2019-07-23 03:23 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006218Spring engineGeneralpublic2019-05-05 17:44
ReporterGoogle_Frog 
Assigned Tohokomoko 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version104.0 +git 
Target VersionFixed in Version 
Summary0006218: Locally built 104.0.1-1771-g17688ff crashes on launch
DescriptionMy locally built develop crashes on launch with recent versions. I have been able to build up to https://github.com/spring/spring/commit/9c68e72427a4f021589370492b87ccc8cc926bb1 without issues.

hokomoko had me create some debug files, which I have attached.
TagsNo tags attached.
Checked infolog.txt for lua ErrorsYes
Attached Files
  • txt file icon infolog.txt (10,376 bytes) 2019-05-05 16:20 -
    [DataDirLocater::FindWriteableDataDir] using writeable data-directory "C:\Users\Tim\Documents\my games\Spring Dev\springCraft\"
    Using writeable configuration source: "C:\Users\Tim\Documents\my games\Spring Dev\springCraft\springsettings.cfg"
    Using additional read-only configuration source: "C:\Users\Tim\Documents\My Games\Spring\springsettings.cfg"
    LogOutput initialized. Logging to C:\Users\Tim\Documents\my games\Spring Dev\springCraft\infolog.txt
    ============== <Log Sections> ==============
      Available:
        ArchiveScanner
        AutohostInterface
        BumpWater
        CSMFGroundTextures
        CregSerializer
        DecalsDrawerGL4
        FarTextureHandler
        Font
        GameServer
        GroundMoveType
        KeyBindings
        LuaSocket
        Model
        Net
        Path
        Piece
        RoamMeshDrawer
        Shader
        SkyBox
        Sound
        Texture
        VFS
      Enabled:
        Sound (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.
    ============== </Log Sections> ==============
    
    ============== <User Config> ==============
      AllowDeferredMapRendering = 1
      AllowDeferredModelRendering = 1
      BumpWaterBlurReflection = 1
      BumpWaterTexSizeReflection = 128
      CamMode = 1
      CamTimeExponent = 4.0
      CamTimeFactor = 1.0
      DebugGL = 1
      DualScreenMiniMapOnLeft = 1
      EdgeMoveDynamic = 0
      EdgeMoveWidth = 0.003
      FPSFOV = 90
      FSAALevel = 4
      FeatureDrawDistance = 600000
      FeatureFadeDistance = 600000
      FontSize = 18
      ForceDisableClipCtrl = 1
      Fullscreen = 0
      GrassDetail = 4
      GroundDecals = 2
      GroundDetail = 100
      GuiOpacity = 0.9
      HangTimeout = 5
      HardwareCursor = 1
      InitialNetworkTimeout = 0
      InputTextGeo = 0.26 0.73 0.02 0.028
      LODScale = 1.000
      LODScaleReflection = 1.000
      LODScaleRefraction = 1.000
      LODScaleShadow = 1.000
      LastSelectedMap = Adansonia v4.1
      LastSelectedMod = SpringCraft $VERSION
      LastSelectedScript = Null AI
      MaxParticles = 15000
      MaxSounds = 32
      MaximumTransmissionUnit = 0
      MiddleClickScrollSpeed = -0.0015
      MiniMapMarker = 0
      MouseDragScrollThreshold = 0
      OverheadMaxHeightFactor = 1.39999998
      OverheadScrollSpeed = 50
      ReconnectTimeout = 0
      RotateLogFiles = 1
      ScreenshotCounter = 31
      ScrollWheelSpeed = -25
      ShadowMapSize = 2047
      Shadows = 1
      ShowFPS = 1
      ShowPlayerInfo = 0
      ShowSpeed = 1
      SplashScreenDir = ./MenuLoadscreens
      TeamHighlight = 0
      TreeRadius = 1200
      UnitIconDist = 151
      UnitLodDist = 9999
      UseDistToGroundForIcons = 1.10000002
      Water = 4
      WindowBorderless = 1
      WindowPosX = 0
      WindowPosY = 23
      XResolution = 1920
      XResolutionWindowed = 1920
      YResolution = 1080
      YResolutionWindowed = 1017
      snd_volmaster = 23
    ============== </User Config> ==============
    
    ============== <User System> ==============
      Spring Engine Version: 104.0.1-1771-g17688ff HEAD
          Build Environment: gcc libstdc++ version 20180502
           Compiler Version: gcc-8.1.0
           Operating System: Windows 10 April 2018 Update (build 17134)
            Hardware Config: Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz; 16303MB RAM, 27822MB pagefile
           Binary Word Size: 32-bit (emulated)
              Process Clock: std::chrono::high_resolution_clock
         Physical CPU Cores: 6
          Logical CPU Cores: 12
    ============== </User System> ==============
    
    [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: 5s)
    [WatchDog::RegisterThread] registering controls for thread [main]
    [GL::CheckAvailableVideoModes] desktop={1920x1080x24bpp@60Hz} current={1920x1080x24bpp@60Hz}
    	display=1 modes=32 bounds={x=0, y=0, w=1920, h=1080}
    		[ 1] 1920x1080x24bpp@60Hz
    		[ 2] 1680x1050x24bpp@60Hz
    		[ 4] 1600x1024x24bpp@60Hz
    		[ 6] 1600x900x24bpp@60Hz
    		[16] 1280x800x24bpp@75Hz
    		[20] 1280x720x24bpp@75Hz
    	display=2 modes=36 bounds={x=1920, y=0, w=1920, h=1080}
    		[ 1] 1920x1080x24bpp@60Hz
    		[ 3] 1680x1050x24bpp@60Hz
    		[ 5] 1600x1024x24bpp@60Hz
    		[ 7] 1600x900x24bpp@60Hz
    		[17] 1280x800x24bpp@75Hz
    		[21] 1280x720x24bpp@75Hz
    [GR::CreateSDLWindow] using 4x anti-aliasing and 24-bit depth-buffer (PF="SDL_PIXELFORMAT_RGB888") for main window
    [GR::CreateSDLWindow] using 4x anti-aliasing and 24-bit depth-buffer (PF="SDL_PIXELFORMAT_RGB888") for hidden window
    [GR::LogVersionInfo]
    	SDL version : 2.0.8 (linked) / 2.0.8 (compiled)
    	GL version  : 4.1.0 NVIDIA 388.71
    	GL vendor   : NVIDIA Corporation
    	GL renderer : GeForce GTX 1060 6GB/PCIe/SSE2
    	GLSL version: 4.10 NVIDIA via Cg compiler
    	GLEW version: 2.1.0
    	GPU memory  : 6144MB (total) / 1266MB (available)
    	SDL swap-int: 1
    	
    [GR::LogGLSupportInfo]
    	NVX GPU mem-info support  : 1
    	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: 0 (1)
    	seamless cube-map support : 1 (1)
    	frag-depth layout support : 0 (-)
    	
    	max. FBO samples             : 32
    	max. texture size            : 32768
    	max. texture anisotropy level: 16.000000
    	max. vec4 varyings/attributes: 31/16
    	max. draw-buffers            : 8
    	max. rec. indices/vertices   : 1048576/1048576
    	max. uniform buffer-bindings : 84
    	max. uniform block-size      : 64KB
    	
    	run-time texture compression: 0
    	
    [GR::ToggleGLDebugOutput] OpenGL debug-message callback enabled (source=DONT_CARE type=DONT_CARE severity=DONT_CARE)
    [GR::UpdateGLConfigs]
    [VSync::SetInterval] interval=0 (disabled)
    [GR::UpdateGLGeometry][1] winSize=<1,1>
    [GR::UpdateGLGeometry][2] winSize=<1920,1017>
    [GR::InitGLState] glAttribStatePtr=00000000
    [GR::LogDisplayMode] display-mode set to 1920x1017x24bpp@60Hz (windowed::decorated)
    [TexMemPool::Resize] poolSize=134217728u allocSize=0u texCount=0u
    [~ScopedOnceTimer][FtLibraryHandler::FontConfigInit (version 2.10.2)] 1ms
    [WatchDog::RegisterThread] registering controls for thread [vfsi]
    [DataDirLocater::FindWriteableDataDir] using writeable data-directory "C:\Users\Tim\Documents\my games\Spring Dev\springCraft\"
    [DataDirLocater::Check] Portable Mode!
    [DataDirLocater::FilterUsableDataDirs] using read-write data directory: C:\Users\Tim\Documents\my games\Spring Dev\springCraft\
    [DataDirLocater::FilterUsableDataDirs] using read-only data directory: C:\Users\Tim\Documents\My Games\Spring\
    Scanning: C:\Users\Tim\Documents\My Games\Spring\maps
    Scanning: C:\Users\Tim\Documents\My Games\Spring\games
    Scanning: C:\Users\Tim\Documents\My Games\Spring\packages
    Scanning: C:\Users\Tim\Documents\my games\Spring Dev\springCraft\base
    Scanning: C:\Users\Tim\Documents\my games\Spring Dev\springCraft\maps
    Scanning: C:\Users\Tim\Documents\my games\Spring Dev\springCraft\games
    [~ScopedOnceTimer][CArchiveScanner::ScanAllDirs] 175ms
    [WatchDog::DeregisterThread] deregistering controls for thread [vfsi]
    Error: Spring 104.0.1-1771-g17688ff HEAD has crashed.
    Error: DLL information:
    Error: 0x00400000	spring
    Error: 0x772b0000	ntdll
    Error: 0x75ce0000	KERNEL32
    Error: 0x75f30000	KERNELBASE
    Error: 0x759e0000	ADVAPI32
    Error: 0x766e0000	msvcrt
    Error: 0x6b440000	libcurl
    Error: 0x6b800000	OpenAL32
    Error: 0x70780000	vorbisfile
    Error: 0x76460000	CRYPT32
    Error: 0x76410000	sechost
    Error: 0x76ea0000	ole32
    Error: 0x752c0000	ucrtbase
    Error: 0x75bd0000	RPCRT4
    Error: 0x75040000	combase
    Error: 0x62e80000	zlib1
    Error: 0x73b70000	SspiCli
    Error: 0x73c70000	MSASN1
    Error: 0x73c10000	bcryptPrimitives
    Error: 0x73b60000	CRYPTBASE
    Error: 0x70e40000	libfreetype-6
    Error: 0x73bb0000	wldap32
    Error: 0x76950000	GDI32
    Error: 0x65180000	libfontconfig-1
    Error: 0x75a60000	gdi32full
    Error: 0x767a0000	IMAGEHLP
    Error: 0x767d0000	WS2_32
    Error: 0x768d0000	msvcp_win
    Error: 0x76120000	USER32
    Error: 0x73c80000	SHELL32
    Error: 0x73b90000	win32u
    Error: 0x6ef80000	glew32
    Error: 0x759a0000	cfgmgr32
    Error: 0x6c740000	SDL2
    Error: 0x76840000	shcore
    Error: 0x68140000	ogg
    Error: 0x76600000	IMM32
    Error: 0x64cc0000	vorbis
    Error: 0x753e0000	windows.storage
    Error: 0x77110000	OLEAUT32
    Error: 0x76690000	shlwapi
    Error: 0x767c0000	kernel.appcore
    Error: 0x752a0000	profapi
    Error: 0x68f40000	libexpat-1
    Error: 0x73a10000	IPHLPAPI
    Error: 0x74fe0000	powrprof
    Error: 0x67850000	OPENGL32
    Error: 0x74fd0000	FLTLIB
    Error: 0x72ae0000	WINMM
    Error: 0x73a50000	VERSION
    Error: 0x67810000	GLU32
    Error: 0x71dc0000	winmmbase
    Error: 0x214a0000	DevIL
    Error: 0x544d0000	MSVCR80
    Error: 0x54570000	MSVCP80
    Error: 0x540f0000	nvapi
    Error: 0x76a70000	SETUPAPI
    Error: 0x238a0000	dxgi
    Error: 0x715c0000	uxtheme
    Error: 0x762c0000	MSCTF
    Error: 0x524b0000	nvoglv32
    Error: 0x71810000	WTSAPI32
    Error: 0x70fb0000	DEVOBJ
    Error: 0x75c90000	WINTRUST
    Error: 0x70f70000	ntmarta
    Error: 0x71640000	dwmapi
    Error: 0x6e790000	WINSTA
    Error: 0x769e0000	clbcatq
    Error: 0x69e90000	TextInputFramework
    Error: 0x6f9e0000	CoreUIComponents
    Error: 0x6fd20000	CoreMessaging
    Error: 0x6fc40000	wintypes
    Error: 0x73a60000	shfolder
    Error: 0x6f2b0000	dbghelp
    Error: Exception: Access violation (0xc0000005)
    Error: Exception Address: 0x00dbff54
    Error: Stacktrace for Spring 104.0.1-1771-g17688ff HEAD:
    Error: 	[ProgCtr=00dbff54 StackPtr=629ffe90 FramePtr=00000002]
    Error: 	(0) C:\Users\Tim\Documents\my games\Spring Dev\springCraft\spring.exe [0x00DBFF54]
    Error: 	(1) C:\Users\Tim\Documents\my games\Spring Dev\springCraft\spring.exe [0x00CC0B6A]
    Error: 	(2) C:\Users\Tim\Documents\my games\Spring Dev\springCraft\spring.exe [0x00C9DE75]
    Error: 	(3) C:\Users\Tim\Documents\my games\Spring Dev\springCraft\spring.exe [0x00C9CEB9]
    Error: 	(4) C:\Users\Tim\Documents\my games\Spring Dev\springCraft\spring.exe [0x00C9E258]
    Error: 	(5) C:\WINDOWS\System32\msvcrt.dll [0x00066A81]
    Error: 	(6) C:\WINDOWS\System32\msvcrt.dll [0x00066B41]
    Error: 	(7) C:\WINDOWS\System32\KERNEL32.DLL [0x00018494]
    Error: 	(8) C:\WINDOWS\SYSTEM32\ntdll.dll [0x000641C8]
    Error: 	(9) C:\WINDOWS\SYSTEM32\ntdll.dll [0x00064198]
    Error: [ExitSpringProcess] errorMsg="Spring has crashed:
      Access violation.
    
    A stacktrace has been written to:
      C:\Users\Tim\Documents\my games\Spring Dev\springCraft\infolog.txt" msgCaption="Spring: Unhandled exception" mainThread=0
    
    txt file icon infolog.txt (10,376 bytes) 2019-05-05 16:20 +
  • txt file icon gdb.txt (3,020 bytes) 2019-05-05 16:20 -
    GNU gdb (GDB) 8.1
    Copyright (C) 2018 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i686-w64-mingw32".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from spring.exe...done.
    (gdb) r
    Starting program: C:\Users\Tim\Documents\my games\Spring Dev\springCraft\spring.exe
    [New Thread 10000.0x3ed4]
    [New Thread 10000.0x1348]
    [New Thread 10000.0x305c]
    [New Thread 10000.0x1454]
    [New Thread 10000.0x151c]
    [New Thread 10000.0x2250]
    [Thread 10000.0x2250 exited with code 0]
    [Thread 10000.0x151c exited with code 0]
    [New Thread 10000.0x1938]
    [New Thread 10000.0x1b3c]
    [Thread 10000.0x1938 exited with code 0]
    [Thread 10000.0x1b3c exited with code 0]
    [New Thread 10000.0x3354]
    [New Thread 10000.0x21ec]
    [New Thread 10000.0x3f70]
    [New Thread 10000.0x3afc]
    [New Thread 10000.0x3558]
    [New Thread 10000.0x2218]
    [New Thread 10000.0x1ea0]
    
    Thread 15 received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 10000.0x1ea0]
    std::shared_ptr<Threading::ThreadControls>::~shared_ptr (this=0x0, __in_chrg=<optimized out>)
        at F:/DevStuff/mingw-w64/i686-8.1.0-posix-sjlj-rt_v6-rev0/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/shared_ptr.h:103
    103         class shared_ptr : public __shared_ptr<_Tp>
    (gdb) bt
    #0  std::shared_ptr<Threading::ThreadControls>::~shared_ptr (this=0x0, __in_chrg=<optimized out>)
        at F:/DevStuff/mingw-w64/i686-8.1.0-posix-sjlj-rt_v6-rev0/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/shared_ptr.h:103
    #1  0x00cc0b6a in (anonymous namespace)::run(void*) ()
        at F:\DevStuff\SpringDev\engine\spring\rts\System\Platform\Threading.cpp:377
    #2  0x23777618 in ?? ()
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)
    (gdb) bt
    #0  std::shared_ptr<Threading::ThreadControls>::~shared_ptr (this=0x0, __in_chrg=<optimized out>)
        at F:/DevStuff/mingw-w64/i686-8.1.0-posix-sjlj-rt_v6-rev0/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/shared_ptr.h:103
    #1  0x00cc0b6a in (anonymous namespace)::run(void*) ()
        at F:\DevStuff\SpringDev\engine\spring\rts\System\Platform\Threading.cpp:377
    #2  0x23777618 in ?? ()
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)
    (gdb) r
    The program being debugged has been started already.
    Start it from the beginning? (y or n) n
    Program not restarted.
    (gdb) q
    A debugging session is active.
    
            Inferior 1 [process 10000] will be killed.
    
    Quit anyway? (y or n) y
    txt file icon gdb.txt (3,020 bytes) 2019-05-05 16:20 +
  • txt file icon addr2line.txt (385 bytes) 2019-05-05 16:21 -
    addr2line -e spring.exe
    0x00DBFF54
    F:/DevStuff/mingw-w64/i686-8.1.0-posix-sjlj-rt_v6-rev0/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/shared_ptr_base.h:711
    0x00CC0B6A
    addr2line: Dwarf Error: Could not find abbrev number 107.
    F:/DevStuff/SpringDev/engine/spring/rts/System/Sync/SyncedPrimitive.h:84
    0x00C9DE75
    thread.c:?
    0x00C9CEB9
    mutex.c:?
    0x00C9E258
    thread.c:?
    txt file icon addr2line.txt (385 bytes) 2019-05-05 16:21 +

-Relationships
+Relationships

-Notes

~0019983

Google_Frog (reporter)

Buildbot develop runs fine.
+Notes

-Issue History
Date Modified Username Field Change
2019-05-05 16:20 Google_Frog New Issue
2019-05-05 16:20 Google_Frog File Added: infolog.txt
2019-05-05 16:20 Google_Frog File Added: gdb.txt
2019-05-05 16:21 Google_Frog File Added: addr2line.txt
2019-05-05 16:40 Google_Frog Note Added: 0019983
2019-05-05 17:34 hokomoko Assigned To => hokomoko
2019-05-05 17:34 hokomoko Status new => assigned
2019-05-05 17:44 hokomoko Status assigned => resolved
2019-05-05 17:44 hokomoko Resolution open => fixed
+Issue History