I compiled Spring on Windows. After a bit of a problem with mismatching mingw versions and whatnot and a few fresh reinstallers later, I managed to compile it all error-free.
But when I run it, it crashed with "Invalid handler". Here's the full infolog.txt:
Code: Select all
Using configuration source: "C:\Users\tzaeru\Documents\spring\build\springsettings.cfg"
Using additional configuration source: "C:\Users\tzaeru\Documents\My Games\Spring\springsettings.cfg"
Available log sections: KeyBindings, SkyBox, Net, GameServer, DecalsDrawerGL4, Model, ArchiveScanner, FarTextureHandler, Piece, BumpWater, GroundMoveType, DynWater, OBJParser, LuaSocket, CregSerializer, VFS, Texture, CSMFGroundTextures, Path, ModelRenderContainer, Font, AutohostInterface, Sound, Shader, RoamMeshDrawer
Enabled log sections: 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.
LogOutput initialized.
============== <User Config> ==============
InputTextGeo = 0.26 0.73 0.02 0.028
LastSelectedMap = AlienDesert
LastSelectedMod = Balanced Annihilation V9.46
LastSelectedScript = Player vs. AI: NullAI 0.1
LastSelectedSetting = 3DTrees
ShadowMapSize = 6144
Shadows = 1
ShowPlayerInfo = 0
SpringData = C:/Users/tzaeru/Documents/spring/build;C:/Users/tzaeru/Documents/spring/cont
snd_volmaster = 58
============== </User Config> ==============
============== <User System> ==============
Spring 103.0.1-645-gd4dcac0a7 develop
Build Environment: boost-105500, GNU libstdc++ version 20140716
Compiler Version: gcc-4.9.1
Operating System: Microsoft Windows
Microsoft Home Premium Edition, 64-bit (build 9200)
Intel(R) Core(TM) i5-2550K CPU @ 3.40GHz; 12236MB RAM, 14092MB pagefile
Word Size: 32-bit (emulated)
CPU Clock: std::chrono::high_resolution_clock
Physical CPU Cores: 4
Logical CPU Cores: 4
============== </User System> ==============
[good_fpu_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
[GL::PrintAvailableResolutions]
display: 1, bounds: {x=0, y=0, w=1920, h=1080}, FS modes:
[ 1] 1920x1080x24bpp@60Hz
[ 2] 1680x1050x24bpp@60Hz
[ 5] 1600x1024x24bpp@60Hz
[ 7] 1600x900x24bpp@60Hz
[ 9] 1440x900x24bpp@60Hz
[15] 1280x800x24bpp@60Hz
[17] 1280x720x24bpp@60Hz
[GL::LoadExtensions]
SDL version: linked 2.0.4; compiled 2.0.4
GL version: 4.5.0 NVIDIA 376.53
GL vendor: NVIDIA Corporation
GL renderer: GeForce GTX 1060 6GB/PCIe/SSE2
GLSL version: 4.50 NVIDIA
GLEW version: 1.5.8
Video RAM: total 6144MB, available 5530MB
SwapInterval: 1
[GR::PostInit]
ARB support: 1, GLSL support: 1, ATI hacks: 0
FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
primitive-restart support: 1, clip-control support: 0
max. FBO samples: 32, max. texture size: 32768, compress MIP-map textures: 0
max. smooth point-size: 190, max. vec4 varyings/attributes: 31/16
max. draw-buffers: 8, max. recommended indices/vertices: 1048576/1048576
max. buffer-bindings: 84, max. block-size: 64kB
[VSync::SetInterval] interval=0 (disabled)
[InitOpenGL] video mode set to 1920x1080:24bit @60Hz
[WatchDogInstall] Installed (HangTimeout: 10sec)
[WatchDog::RegisterThread] registering controls for thread [main]
[DataDirs] Portable Mode!
Using read-write data directory: C:\Users\tzaeru\Documents\spring\build\
Using read-only data directory: C:\Users\tzaeru\Documents\My Games\Spring\
Using read-only data directory: C:\Users\tzaeru\Documents\Spring\
Using read-only data directory: C:/Users/tzaeru/Documents/spring/cont\
Scanning: C:/Users/tzaeru/Documents/spring/cont\base
Scanning: C:\Users\tzaeru\Documents\My Games\Spring\maps
Scanning: C:\Users\tzaeru\Documents\My Games\Spring\games
Scanning: C:\Users\tzaeru\Documents\My Games\Spring\packages
Scanning: C:\Users\tzaeru\Documents\spring\build\base
[~ScopedOnceTimer][CArchiveScanner::ScanAllDirs] 38ms
[ThreadPool::SetThreadCount][1] wanted=3 current=1 maximum=4
[ThreadPool::SetThreadCount][2] workers=2
[Threading] Main thread CPU affinity mask set: 12
[f=-000001] [Sound] [Sound::InitThread] OpenAL info:
[f=-000001] [Sound] Available Devices:
[f=-000001] [Sound] Generic Software
[f=-000001] [Sound] Device: Generic Software
[f=-000001] [Sound] Vendor: Creative Labs Inc.
[f=-000001] [Sound] Version: 1.1
[f=-000001] [Sound] Renderer: Software
[f=-000001] [Sound] AL Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
[f=-000001] [Sound] ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX
[f=-000001] [Sound] Max Sounds: 128
[f=-000001] [Sound] EFX is supported but software does not seem to work properly
[f=-000001] [Sound] [Sound::UpdateThread][1] maxSounds=128
[f=-000001] [WatchDog::RegisterThread] registering controls for thread [audio]
[f=-000001] [Sound] [Sound::UpdateThread][2]
[f=-000001] Joysticks found: 0
[f=-000001] Warning: AI Interface property 'supportsLookup' could not be found.
[f=-000001] [VSync::SetInterval] interval=0 (disabled)
[f=-000001] [InitOpenGL] video mode set to 1920x1080:24bit @60Hz
[f=-000001] [PreGame] hosting on: localhost:8452
[f=-000001] Connecting to local server
[f=-000001] [AddGameSetupArchivesToVFS] using map: AlienDesert
[f=-000001] Checksums: game=0x8278E680 map=0x2C1C8F26
[f=-000001] Error: Spring 103.0.1-645-gd4dcac0a7 develop has crashed.
[f=-000001] Error: DLL information:
[f=-000001] Error: 0x00400000 spring
[f=-000001] Error: 0x76f00000 ntdll
[f=-000001] Error: 0x75960000 KERNEL32
[f=-000001] Error: 0x75c30000 KERNELBASE
[f=-000001] Error: 0x75bb0000 ADVAPI32
[f=-000001] Error: 0x76350000 msvcrt
[f=-000001] Error: 0x10000000 DevIL
[f=-000001] Error: 0x766f0000 sechost
[f=-000001] Error: 0x73c60000 RPCRT4
[f=-000001] Error: 0x739c0000 SspiCli
[f=-000001] Error: 0x739b0000 CRYPTBASE
[f=-000001] Error: 0x76290000 bcryptPrimitives
[f=-000001] Error: 0x76410000 IMAGEHLP
[f=-000001] Error: 0x75ad0000 ucrtbase
[f=-000001] Error: 0x74160000 SHELL32
[f=-000001] Error: 0x64a60000 GLU32
[f=-000001] Error: 0x74120000 cfgmgr32
[f=-000001] Error: 0x76750000 windows.storage
[f=-000001] Error: 0x56260000 OPENGL32
[f=-000001] Error: 0x73d60000 combase
[f=-000001] Error: 0x76430000 USER32
[f=-000001] Error: 0x766a0000 powrprof
[f=-000001] Error: 0x75810000 win32u
[f=-000001] Error: 0x75840000 GDI32
[f=-000001] Error: 0x73ad0000 shlwapi
[f=-000001] Error: 0x756b0000 gdi32full
[f=-000001] Error: 0x61e40000 MSVCP80
[f=-000001] Error: 0x76e00000 kernel.appcore
[f=-000001] Error: 0x73b20000 shcore
[f=-000001] Error: 0x61da0000 MSVCR80
[f=-000001] Error: 0x76740000 profapi
[f=-000001] Error: 0x739e0000 WS2_32
[f=-000001] Error: 0x55920000 DDRAW
[f=-000001] Error: 0x70780000 vorbisfile
[f=-000001] Error: 0x62e80000 zlib1
[f=-000001] Error: 0x70e40000 libfreetype-6
[f=-000001] Error: 0x65180000 libfontconfig-1
[f=-000001] Error: 0x62aa0000 glew32
[f=-000001] Error: 0x000d0000 OpenAL32
[f=-000001] Error: 0x6c740000 SDL2
[f=-000001] Error: 0x64a50000 DCIMAN32
[f=-000001] Error: 0x73d30000 IMM32
[f=-000001] Error: 0x68140000 ogg
[f=-000001] Error: 0x75870000 ole32
[f=-000001] Error: 0x64cc0000 vorbis
[f=-000001] Error: 0x68f40000 libexpat-1
[f=-000001] Error: 0x761f0000 OLEAUT32
[f=-000001] Error: 0x73a50000 msvcp_win
[f=-000001] Error: 0x71140000 WINMM
[f=-000001] Error: 0x733a0000 VERSION
[f=-000001] Error: 0x0fee0000 WINMMBASE
[f=-000001] Error: 0x60fd0000 nvapi
[f=-000001] Error: 0x75de0000 SETUPAPI
[f=-000001] Error: 0x64090000 dxgi
[f=-000001] Error: 0x73490000 uxtheme
[f=-000001] Error: 0x76cc0000 MSCTF
[f=-000001] Error: 0x715f0000 dwmapi
[f=-000001] Error: 0x12fb0000 nvoglv32
[f=-000001] Error: 0x732f0000 WTSAPI32
[f=-000001] Error: 0x6d680000 DEVOBJ
[f=-000001] Error: 0x73bb0000 WINTRUST
[f=-000001] Error: 0x75830000 MSASN1
[f=-000001] Error: 0x73f80000 CRYPT32
[f=-000001] Error: 0x6ecd0000 ntmarta
[f=-000001] Error: 0x6f6f0000 WINSTA
[f=-000001] Error: 0x75a40000 clbcatq
[f=-000001] Error: 0x70f20000 shfolder
[f=-000001] Error: 0x59ef0000 dsound
[f=-000001] Error: 0x62490000 MMDevApi
[f=-000001] Error: 0x730b0000 PROPSYS
[f=-000001] Error: 0x62410000 AUDIOSES
[f=-000001] Error: 0x64970000 wintypes
[f=-000001] Error: 0x57100000 wdmaud
[f=-000001] Error: 0x570f0000 ksuser
[f=-000001] Error: 0x68320000 AVRT
[f=-000001] Error: 0x570d0000 msacm32
[f=-000001] Error: 0x64700000 MSACM32
[f=-000001] Error: 0x570c0000 midimap
[f=-000001] Error: 0x1ac90000 wrap_oal
[f=-000001] Error: 0x59d50000 dinput8
[f=-000001] Error: 0x57140000 HID
[f=-000001] Error: 0x570e0000 XInput1_4
[f=-000001] Error: 0x736f0000 dbghelp
[f=-000001] Error: Exception: Invalid handle (0xc0000008)
[f=-000001] Error: Exception Address: 0x76f26e63
[f=-000001] Error: Stacktrace for Spring 103.0.1-645-gd4dcac0a7 develop:
[f=-000001] Error: (0) C:\WINDOWS\SYSTEM32\ntdll.dll [0x00026E63]
[f=-000001] Error: (1) C:\WINDOWS\SYSTEM32\ntdll.dll [0x00040045]
[f=-000001] Error: (2) C:\WINDOWS\SYSTEM32\ntdll.dll [0x0003FF65]
[f=-000001] Error: (3) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x0090FAB7]
[f=-000001] Error: (4) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x00911EC9]
[f=-000001] Error: (5) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x0051EC15]
[f=-000001] Error: (6) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x0052098B]
[f=-000001] Error: (7) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x00455204]
[f=-000001] Error: (8) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x0080535D]
[f=-000001] Error: (9) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x00D235E0]
[f=-000001] Error: (10) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x00A1C89D]
[f=-000001] Error: (11) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x00C2171E]
[f=-000001] Error: (12) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x00A19E85]
[f=-000001] Error: (13) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x00D637D4]
[f=-000001] Error: (14) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x008567E4]
[f=-000001] Error: (15) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x0083ACDF]
[f=-000001] Error: (16) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x00E6E974]
[f=-000001] Error: (17) C:\Users\tzaeru\Documents\spring\build\spring.exe [0x004013DE]
[f=-000001] Error: (18) C:\WINDOWS\System32\KERNEL32.DLL [0x000162C4]
[f=-000001] Error: (19) C:\WINDOWS\SYSTEM32\ntdll.dll [0x00060FD9]
[f=-000001] Error: (20) C:\WINDOWS\SYSTEM32\ntdll.dll [0x00060FA4]
[f=-000001] Error: [ErrorMessageBox][1] msg="Spring has crashed:
Invalid handle.
A stacktrace has been written to:
C:\Users\tzaeru\Documents\spring\build\infolog.txt" IsMainThread()=1 fromMain=0
[f=-000001] Error: [ErrorMessageBox][2]
[f=-000001] [SpringApp::ShutDown][1]
[f=-000001] [ThreadPool::SetThreadCount][1] wanted=0 current=3 maximum=4
[f=-000001] [async=0] threads=3 tasks=8 {sum,avg}{exec,wait}time={{0.000, 0.000}, {0.000, 0.000}}ms
[f=-000001] thread=1 tasks=6 (0.000%) {sum,min,max,avg}{exec,wait}time={{-0.000, 0.000, 2.000, -0.000}, {0.000, 0.000, 0.000, 0.000}}ms
[f=-000001] thread=2 tasks=2 (0.000%) {sum,min,max,avg}{exec,wait}time={{0.000, 0.000, 0.000, 0.000}, {0.000, 0.000, 0.000, 0.000}}ms
[f=-000001] [async=1] threads=3 tasks=2 {sum,avg}{exec,wait}time={{0.000, 0.000}, {-0.000, -0.000}}ms
[f=-000001] thread=1 tasks=1 (0.000%) {sum,min,max,avg}{exec,wait}time={{0.000, 0.000, 0.000, 0.000}, {0.000, 0.000, 0.000, 0.000}}ms
[f=-000001] thread=2 tasks=1 (0.000%) {sum,min,max,avg}{exec,wait}time={{0.000, 0.000, 0.000, 0.000}, {-0.000, -0.000, -0.000, -0.000}}ms
[f=-000001] [ThreadPool::SetThreadCount][2] workers=0
[f=-000001] [SpringApp::ShutDown][2]
[f=-000001] [WatchDog::DeregisterThread] deregistering controls for thread [audio]
[f=-000001] [Sound] [Sound::UpdateThread][3] efx=1038d448
[f=-000001] [Sound] [Sound::UpdateThread][4]
[f=-000001] [SpringApp::ShutDown][3]
[f=-000001] Statistics for local connection:
Received: 0 bytes
Sent: 17 bytes
[f=-000001] [SpringApp::ShutDown][4]
[f=-000001] [SpringApp::ShutDown][5]
[f=-000001] [SpringApp::ShutDown][6]
[f=-000001] [SpringApp::ShutDown][7]
[LuaSocket] Dumping luasocket rules:
[LuaSocket] TCP_CONNECT ALLOW * -1
[LuaSocket] TCP_LISTEN ALLOW * -1
[LuaSocket] UDP_LISTEN ALLOW * -1
[SpringApp::ShutDown][8]
[WatchDog::DeregisterThread] deregistering controls for thread [main]
[WatchDog::Uninstall][1] hangDetectorThread=1033a4d8
[WatchDog::Uninstall][2]
[WatchDog::Uninstall][3]
[SpringApp::ShutDown][9]
Error: [ErrorMessageBox][3]
Error: [ErrorMessageBox][4]
Fatal: Spring: Unhandled exception
Spring has crashed:
Invalid handle.
A stacktrace has been written to:
C:\Users\tzaeru\Documents\spring\build\infolog.txt