2025-07-31 21:07 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002114Spring engineGeneralpublic2010-11-30 01:33
Reporterspliff 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionunable to reproduce 
Product Version0.82.5 
Target VersionFixed in Version 
Summary0002114: Spring crashes when run for the very first time
DescriptionAfter cross-compiling a win32 build I've noticed it seems to consistently crash the first time it is built and run (and ONLY the first time).
Additional InformationThe issue appears to be that there are certain files/folders the engine creates on the fly and it crashes while creating them. I noticed after the crash and a restart it created the log directory so perhaps this is one possible culprit (trying to access this directory or _infolog.txt before it's created).

I suspect it hasn't affected normal users because the installer has a copy of the problem file or folder. Just guessing though.

I'm running spring.exe, not the mt executable.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (7,877 bytes) 2010-09-13 18:50 -
    LogOutput initialized.
    Spring 0.82+.4.0 (Debug)
    Build date/time: Sep 13 2010 21:01:29
    Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound
    Enabled log subsystems: CollisionVolume, Sound
    Enable or disable log subsystems using the LogSubsystems configuration key
      or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
    default config file: C:\Documents and Settings\User1\Local Settings\Application Data\springsettings.cfg
    using default configuration source "C:\Documents and Settings\User1\Local Settings\Application Data\springsettings.cfg"
    [CMyMath::Init] CPU SSE mask: 120, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  0
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 0,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    OS: Microsoft Windows
    Microsoft Windows XP Professional Service Pack 2 (build 2600)
                  Intel(R) Pentium(R) D CPU 3.40GHz; 2047MB RAM, 3943MB pagefile
    OS: 32bit native mode
    Adding r:\springtest\final\ to directories
    Adding R:\SpringTest\final\ to directories
    Adding C:\Documents and Settings\User1\My Documents\My Games\Spring\ to directories
    Adding C:\Documents and Settings\User1\My Documents\Spring\ to directories
    Adding C:\Documents and Settings\All Users\Application Data\Spring\ to directories
    Using read-write data directory: r:\springtest\final\
    Using read-only data directory: R:\SpringTest\final\
    Using read-only data directory: C:\Documents and Settings\User1\My Documents\My Games\Spring\
    Using read-only data directory: C:\Documents and Settings\User1\My Documents\Spring\
    Using read-only data directory: C:\Documents and Settings\All Users\Application Data\Spring\
    ERROR in r:\springtest\final\cache\ArchiveCacheV9.lua: could not open file: r:\springtest\final\cache\ArchiveCacheV9.lua
    Scanning: C:\Documents and Settings\User1\My Documents\My Games\Spring\maps
    Scanning: C:\Documents and Settings\User1\My Documents\My Games\Spring\mods
    Scanning: R:\SpringTest\final\maps
    Scanning: R:\SpringTest\final\base
    Scanning: R:\SpringTest\final\mods
    Scanning: r:\springtest\final\maps
    Scanning: r:\springtest\final\base
    Scanning: r:\springtest\final\mods
    Supported Video modes: 2560x1600, 2048x1536, 1920x1440, 1920x1200, 1920x1080, 1680x1050, 1600x1200, 1600x1024, 1600x900, 1360x768, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480
    Video mode set to 1024x768/32bit (windowed)
    [      0] SDL:  1.2.10
    [      0] GL:   3.3.0
    [      0] GL:   NVIDIA Corporation
    [      0] GL:   GeForce 8800 GT/PCI/SSE2
    [      0] GLSL: 3.30 NVIDIA via Cg compiler
    [      0] GLEW: 1.5.4
    [      0] Joysticks found: 0
    [      0] Joystick 0 not found
    [      0] Connecting to local server
    [      0] Sound: OpenAL info:
    [      0] Sound:   Vendor:     OpenAL Community
    [      0] Sound:   Version:    1.1 ALSOFT 1.11.753
    [      0] Sound:   Renderer:   OpenAL Soft
    [      0] Sound:   AL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
    [      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
    [      0] Sound:                   ALC_EXT_EFX found (required for air absorption): yes
    [      0] Sound:   Device:     DirectSound Software
    [      0] Sound:   Available Devices:  
    [      0] Sound:                       DirectSound Software
    [      0] Sound: air absorption disabled
    [      0] Starting GameServer: 59 ms
    [      0] Starting demo recording
    [      0] Using map 3_Bridges
    [      0] Recording demo demos/20100914_023430_3_Bridges_0.82+.4.sdf
    [      0] Using mod Metalstorm 0.02
    [      0] Using mod archive Metalstorm-002.sdd
    [      0] Loading client data: 434 ms
    [      0] User number 0 (team 0, allyteam 0)
    [      0] Loading Radar Icons
    [      0] Loading GameData Definitions
    [      0] Loading all definitions:  0.062000
    [      0] Loading GameData Definitions: 69 ms
    [      0] Loading Sound Definitions
    [      0] Sound:  parsed 4 sounds from gamedata/sounds.lua
    [      0] Loading Sound Definitions: 20 ms
    [      0] Parsing Map Information
    [      0] Loading SMF
    [      0] Loading Map
    [      0] Creating Smooth Height Mesh
    [      0] Creating Smooth Mesh: 6010 ms
    [      0] Creating QuadField & CEGs
    [      0] Number of damage types: 19
    [      0] Creating Unit Textures
    [      0] Loading Weapon Definitions
    [      0] Loading Unit Definitions
    [      0] Spring 0.82+.4.0 (Debug) has crashed.
    [      0] Exception: Access violation (0xc0000005)
    [      0] Exception Address: 0x77c35ca5
    [      0] DLL information:
    [      0] 0x00400000	spring
    [      0] 0x7c900000	ntdll
    [      0] 0x7c800000	kernel32
    [      0] 0x10000000	DevIL
    [      0] 0x77c10000	MSVCRT
    [      0] 0x77dd0000	ADVAPI32
    [      0] 0x77e70000	RPCRT4
    [      0] 0x68b20000	GLU32
    [      0] 0x5ed00000	OPENGL32
    [      0] 0x77f10000	GDI32
    [      0] 0x77d40000	USER32
    [      0] 0x73760000	DDRAW
    [      0] 0x73bc0000	DCIMAN32
    [      0] 0x76c90000	IMAGEHLP
    [      0] 0x6fbc0000	mingwm10
    [      0] 0x7c9c0000	SHELL32
    [      0] 0x77f60000	SHLWAPI
    [      0] 0x71ab0000	WS2_32
    [      0] 0x71aa0000	WS2HELP
    [      0] 0x6cec0000	libgcc_s_sjlj-1
    [      0] 0x61b80000	zlib1
    [      0] 0x70780000	vorbisfile
    [      0] 0x68140000	ogg
    [      0] 0x64cc0000	vorbis
    [      0] 0x6b600000	OpenAL32
    [      0] 0x76b40000	WINMM
    [      0] 0x66fc0000	freetype6
    [      0] 0x62aa0000	glew32
    [      0] 0x07de0000	SDL
    [      0] 0x7c340000	MSVCR71
    [      0] 0x773d0000	comctl32
    [      0] 0x5d090000	comctl32
    [      0] 0x73f10000	dsound
    [      0] 0x774e0000	ole32
    [      0] 0x77c00000	VERSION
    [      0] 0x76c30000	WINTRUST
    [      0] 0x77a80000	CRYPT32
    [      0] 0x77b20000	MSASN1
    [      0] 0x72d20000	wdmaud
    [      0] 0x72d10000	msacm32
    [      0] 0x77be0000	MSACM32
    [      0] 0x77bd0000	midimap
    [      0] 0x0ba00000	OAwatch
    [      0] 0x77120000	oleaut32
    [      0] 0x71ad0000	wsock32
    [      0] 0x76d60000	IPHLPAPI
    [      0] 0x77fe0000	Secur32
    [      0] 0x76f50000	wtsapi32
    [      0] 0x76360000	WINSTA
    [      0] 0x5b860000	NETAPI32
    [      0] 0x0b9d0000	UnlockerHook
    [      0] 0x69500000	nvoglnt
    [      0] 0x72280000	DINPUT
    [      0] 0x688f0000	HID
    [      0] 0x77920000	SETUPAPI
    [      0] 0x73ee0000	KsUser
    [      0] 0x71a50000	mswsock
    [      0] 0x662b0000	hnetcfg
    [      0] 0x71a90000	wshtcpip
    [      0] 0x59a60000	DBGHELP
    [      0] Stacktrace:
    [      0] (0) C:\WINDOWS\system32\MSVCRT.dll(except_handler3+0x11) [0x77C35CA5]
    [      0] (1) R:\SpringTest\final\libgcc_s_sjlj-1.dll(Unwind_SjLj_RaiseException+0x61) [0x6CEC6031]
    [      0] (2) R:\SpringTest\final\spring.exe [0x01073A08]
    [      0] (3) R:\SpringTest\final\spring.exe [0x00897DA4]
    [      0] (4) R:\SpringTest\final\spring.exe [0x008A70F0]
    [      0] (5) R:\SpringTest\final\spring.exe [0x008A6816]
    [      0] (6) R:\SpringTest\final\spring.exe [0x0044ACC9]
    [      0] (7) R:\SpringTest\final\spring.exe [0x004481FE]
    [      0] (8) R:\SpringTest\final\spring.exe [0x00480609]
    [      0] (9) R:\SpringTest\final\spring.exe [0x004814C5]
    [      0] (10) R:\SpringTest\final\spring.exe [0x004412BB]
    [      0] (11) R:\SpringTest\final\spring.exe [0x0043FF04]
    [      0] (12) R:\SpringTest\final\spring.exe [0x00942A33]
    [      0] (13) R:\SpringTest\final\spring.exe [0x00942EFB]
    [      0] (14) R:\SpringTest\final\spring.exe [0x0095934E]
    [      0] (15) R:\SpringTest\final\spring.exe [0x00CD1C16]
    [      0] (16) R:\SpringTest\final\spring.exe [0x00B737BD]
    [      0] (17) C:\WINDOWS\system32\MSVCRT.dll(endthreadex+0xa9) [0x77C3A3B0]
    [      0] (18) C:\WINDOWS\system32\kernel32.dll(GetModuleFileNameA+0x1b4) [0x7C80B683]
    
    txt file icon infolog.txt (7,877 bytes) 2010-09-13 18:50 +

-Relationships
+Relationships

-Notes

~0005520

hoijui (reporter)

[ 0] (0) C:\WINDOWS\system32\MSVCRT.dll(except_handler3+0x11) [0x77C35CA5]

[ 0] (1) R:\SpringTest\final\libgcc_s_sjlj-1.dll(Unwind_SjLj_RaiseException+0x61) [0x6CEC6031]
this indicates that you are using SJLJ exceptions, while it should be dw (== dwarf2). This means, you have to use an other cross compiler.
i guess this is not causing this crash, but surely is something that you should change, if possible.

The thing with the log is a good guess. If i remember right, the log dir is by default only created by debug builds of the engine. As we already discussed in #sy, we can not translate the stack trace on the buildbot, as you compiled yourself. so... either you have to try to translate yourself, or install mingw GDB on windows. i would guess that this is not too hard, as it should not have too many dependencies.

~0006007

abma (administrator)

Last edited: 2010-11-30 01:33

please give instructions how to reproduce this crash or attach an translateable-stacktrace...

+Notes

-Issue History
Date Modified Username Field Change
2010-09-13 18:50 spliff New Issue
2010-09-13 18:50 spliff File Added: infolog.txt
2010-09-14 12:00 hoijui Note Added: 0005520
2010-11-30 01:33 abma Note Added: 0006007
2010-11-30 01:33 abma Status new => resolved
2010-11-30 01:33 abma Resolution open => unable to reproduce
2010-11-30 01:33 abma Assigned To => abma
2010-11-30 01:33 abma Note Edited: 0006007
+Issue History