2025-07-23 22:57 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002295Spring engineGeneralpublic2011-03-08 21:15
ReporterBeherith 
Assigned TojK 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.82.7 
Target VersionFixed in Version 
Summary0002295: Path calculation crashes on very large maps
DescriptionSpring crashes on pathing maps above 32x32. Try the map Epic (40x40) for an example.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (8,839 bytes) 2011-01-09 13:09 -
    LogOutput initialized.
    Spring 0.82.7.0 (0.82.7)
    Build date/time: Jan  2 2011 14:08:40
    Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound
    Enabled log subsystems: Sound
    Enable or disable log subsystems using the LogSubsystems configuration key
      or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
      Use "none" to disable the default log subsystems.
    using default configuration source "S:\Spring\/springsettings.cfg"
    [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
    OS: Microsoft Windows
    Microsoft Windows 7 Ultimate Edition, 64-bit (build 7600)
    Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz; 4087MB RAM, 8172MB pagefile
    OS: emulated 32bit mode
    Using read-write data directory: S:\Spring\
    Using read-only data directory: C:\Users\Peti\Documents\My Games\Spring\
    Scanning: C:\Users\Peti\Documents\My Games\Spring\maps
    Scanning: C:\Users\Peti\Documents\My Games\Spring\mods
    Failed to scan C:\Users\Peti\Documents\My Games\Spring\mods\swsdata.v036.sdz (missing files, could not determine archive type)
    Failed to scan C:\Users\Peti\Documents\My Games\Spring\mods\swssounds.v024.sd7 (missing files, could not determine archive type)
    Failed to scan C:\Users\Peti\Documents\My Games\Spring\mods\swstextures.v036.sd7 (missing files, could not determine archive type)
    Scanning: C:\Users\Peti\Documents\My Games\Spring\packages
    Scanning: S:\Spring\maps
    Error opening S:\Spring\maps\RedComet.sd7: Archive not found
    Unable to open archive: S:\Spring\maps\RedComet.sd7
    Scanning: S:\Spring\base
    Scanning: S:\Spring\games
    Scanning: S:\Spring\mods
    Failed to scan S:\Spring\mods\swsdata.v036.sdz (missing files, could not determine archive type)
    Failed to scan S:\Spring\mods\swssounds.v024.sd7 (missing files, could not determine archive type)
    Failed to scan S:\Spring\mods\swstextures.v036.sd7 (missing files, could not determine archive type)
    Scanning: S:\Spring\packages
    Supported Video modes: 1920x1200, 1920x1080, 1680x1050, 1600x1200, 1600x1024, 1600x900, 1360x768, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480
    Video mode set to 1920x1200/32bit (windowed)
    [f=0000000] SDL:  1.2.10
    [f=0000000] GL:   3.2.0
    [f=0000000] GL:   NVIDIA Corporation
    [f=0000000] GL:   GeForce 8800 GT/PCI/SSE2
    [f=0000000] GLSL: 1.50 NVIDIA via Cg compiler
    [f=0000000] GLEW: 1.5.4
    [f=0000000] Joysticks found: 0
    [f=0000000] Joystick 0 not found
    [f=0000000] Connecting to local server
    [f=0000000] [Sound] OpenAL info:
    [f=0000000] [Sound]   Vendor:     OpenAL Community
    [f=0000000] [Sound]   Version:    1.1 ALSOFT 1.11.753
    [f=0000000] [Sound]   Renderer:   OpenAL Soft
    [f=0000000] [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
    [f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
    [f=0000000] [Sound]                   ALC_EXT_EFX found (required for air absorption): yes
    [f=0000000] [Sound]   Device:     DirectSound Software
    [f=0000000] [Sound]   Available Devices:  
    [f=0000000] [Sound]                       DirectSound Software
    [f=0000000] [Sound] air absorption enabled: 0.1
    [f=0000000] Starting GameServer: 28 ms
    [f=0000000] Starting demo recording
    [f=0000000] Using map Epic
    [f=0000000] Recording demo demos/20110109_130707_Epic_0.82.7.sdf
    [f=0000000] Using mod Balanced Annihilation V7.19
    [f=0000000] Using mod archive BA719.sd7
    [f=0000000] Loading client data: 49 ms
    [f=0000000] User number 0 (team 0, allyteam 0)
    [f=0000000] [Sound]  parsed 25 sounds from gamedata/sounds.lua
    [f=0000000] Loading sounds: 1 ms
    [f=0000000] Camera and mouse: 66 ms
    [f=0000000] Parsing unit icons
    [f=0000000] Loading GameData Definitions
    [f=0000000] Loading all definitions:  0.349000
    [f=0000000] Loading GameData Definitions: 376 ms
    [f=0000000] Parsing Map Information
    [f=0000000] Loading SMF
    [f=0000000] Loading Map
    [f=0000000] Calculating smooth height mesh
    [f=0000000] Calculating smooth mesh: 892 ms
    [f=0000000] Number of damage types: 40
    [f=0000000] Creating unit textures
    [f=0000000] Loading weapon definitions
    [f=0000000] Loading unit definitions
    [f=0000000] Loading feature definitions
    [f=0000000] Initializing map features
    [f=0000000] Reading Estimate PathCosts [8]
    [f=0000000] Error opening cache\paths\Epic2554102283.pe.zip
    [f=0000000] Spring 0.82.7.0 (0.82.7) has crashed.
    [f=0000000] Exception: Access violation (0xc0000005)
    [f=0000000] Exception Address: 0x00998013
    [f=0000000] DLL information:
    [f=0000000] 0x00400000	spring
    [f=0000000] 0x776c0000	ntdll
    [f=0000000] 0x76760000	kernel32
    [f=0000000] 0x766b0000	KERNELBASE
    [f=0000000] 0x10000000	DevIL
    [f=0000000] 0x768a0000	MSVCRT
    [f=0000000] 0x770b0000	ADVAPI32
    [f=0000000] 0x75300000	sechost
    [f=0000000] 0x76b30000	RPCRT4
    [f=0000000] 0x75230000	SspiCli
    [f=0000000] 0x75220000	CRYPTBASE
    [f=0000000] 0x74d30000	GLU32
    [f=0000000] 0x72160000	OPENGL32
    [f=0000000] 0x77150000	GDI32
    [f=0000000] 0x76f20000	USER32
    [f=0000000] 0x77690000	LPK
    [f=0000000] 0x76230000	USP10
    [f=0000000] 0x72070000	DDRAW
    [f=0000000] 0x75150000	DCIMAN32
    [f=0000000] 0x76990000	SETUPAPI
    [f=0000000] 0x76960000	CFGMGR32
    [f=0000000] 0x76190000	OLEAUT32
    [f=0000000] 0x76470000	ole32
    [f=0000000] 0x76450000	DEVOBJ
    [f=0000000] 0x751d0000	dwmapi
    [f=0000000] 0x752c0000	IMAGEHLP
    [f=0000000] 0x6fbc0000	mingwm10
    [f=0000000] 0x75540000	SHELL32
    [f=0000000] 0x762d0000	SHLWAPI
    [f=0000000] 0x76860000	WS2_32
    [f=0000000] 0x752f0000	NSI
    [f=0000000] 0x61b80000	zlib1
    [f=0000000] 0x70780000	vorbisfile
    [f=0000000] 0x68140000	ogg
    [f=0000000] 0x64cc0000	vorbis
    [f=0000000] 0x6b600000	OpenAL32
    [f=0000000] 0x72a70000	WINMM
    [f=0000000] 0x66fc0000	freetype6
    [f=0000000] 0x62aa0000	glew32
    [f=0000000] 0x00330000	SDL
    [f=0000000] 0x7c340000	MSVCR71
    [f=0000000] 0x76700000	IMM32
    [f=0000000] 0x75460000	MSCTF
    [f=0000000] 0x73db0000	dsound
    [f=0000000] 0x74d60000	POWRPROF
    [f=0000000] 0x77020000	CLBCatQ
    [f=0000000] 0x726e0000	MMDevApi
    [f=0000000] 0x72890000	PROPSYS
    [f=0000000] 0x751a0000	wdmaud
    [f=0000000] 0x75180000	ksuser
    [f=0000000] 0x75190000	AVRT
    [f=0000000] 0x72490000	AUDIOSES
    [f=0000000] 0x73530000	msacm32
    [f=0000000] 0x72720000	MSACM32
    [f=0000000] 0x75110000	midimap
    [f=0000000] 0x73070000	profapi
    [f=0000000] 0x69500000	nvoglv32
    [f=0000000] 0x05e80000	nvapi
    [f=0000000] 0x73a80000	VERSION
    [f=0000000] 0x74de0000	DINPUT
    [f=0000000] 0x739c0000	HID
    [f=0000000] 0x75290000	WINTRUST
    [f=0000000] 0x76330000	CRYPT32
    [f=0000000] 0x76220000	MSASN1
    [f=0000000] 0x74820000	dbghelp
    [f=0000000] Stacktrace:
    [f=0000000] (0) S:\Spring\spring.exe [0x00998013]
    [f=0000000] (1) C:\Windows\syswow64\MSVCRT.dll(raise+0x18c) [0x76905E87]
    [f=0000000] (2) C:\Windows\syswow64\MSVCRT.dll(abort+0x37) [0x76908E8A]
    [f=0000000] (3) S:\Spring\spring.exe(aiInterfaceCallback_DataDirs_getWriteableDir+0x18c2d1) [0x00BAF6D1]
    [f=0000000] (4) S:\Spring\spring.exe(aiInterfaceCallback_DataDirs_getWriteableDir+0x90b49) [0x00AB3F49]
    [f=0000000] (5) S:\Spring\spring.exe(aiInterfaceCallback_DataDirs_getWriteableDir+0x2961d3) [0x00CB95D3]
    [f=0000000] (6) S:\Spring\spring.exe(aiInterfaceCallback_DataDirs_getWriteableDir+0x29b6ef) [0x00CBEAEF]
    [f=0000000] (7) S:\Spring\spring.exe(aiInterfaceCallback_DataDirs_getWriteableDir+0x29a685) [0x00CBDA85]
    [f=0000000] (8) S:\Spring\spring.exe(aiInterfaceCallback_DataDirs_getWriteableDir+0x217370) [0x00C3A770]
    [f=0000000] (9) S:\Spring\spring.exe [0x00837047]
    [f=0000000] (10) S:\Spring\spring.exe [0x008340AE]
    [f=0000000] (11) S:\Spring\spring.exe [0x0083525C]
    [f=0000000] (12) S:\Spring\spring.exe [0x0083B163]
    [f=0000000] (13) S:\Spring\spring.exe [0x00405572]
    [f=0000000] (14) S:\Spring\spring.exe [0x0041686E]
    [f=0000000] (15) S:\Spring\spring.exe [0x00491FBA]
    [f=0000000] (16) S:\Spring\spring.exe [0x00492E4D]
    [f=0000000] (17) S:\Spring\spring.exe [0x00988A41]
    [f=0000000] (18) S:\Spring\spring.exe [0x00993D99]
    [f=0000000] (19) S:\Spring\spring.exe [0x009940C4]
    [f=0000000] (20) S:\Spring\spring.exe [0x009948A0]
    [f=0000000] (21) S:\Spring\spring.exe [0x004010A7]
    [f=0000000] (22) S:\Spring\spring.exe [0x00401123]
    [f=0000000] (23) C:\Windows\syswow64\kernel32.dll(BaseThreadInitThunk+0x12) [0x76773677]
    [f=0000000] (24) C:\Windows\SysWOW64\ntdll.dll(RtlInitializeExceptionChain+0x63) [0x776F9D72]
    [f=0000000] (25) C:\Windows\SysWOW64\ntdll.dll(RtlInitializeExceptionChain+0x36) [0x776F9D45]
    
    txt file icon infolog.txt (8,839 bytes) 2011-01-09 13:09 +

-Relationships
+Relationships

-Notes

~0006228

abma (administrator)

Last edited: 2011-01-09 20:17

translated:

S:\Spring\spring.exe 0x00998013 rts/System/Platform/Win/CrashHandler.cpp:45
C:\Windows\syswow64\MSVCRT.dll 0x76905E87 ??:0
C:\Windows\syswow64\MSVCRT.dll 0x76908E8A ??:0
S:\Spring\spring.exe 0x00BAF6D1 GameData.cpp:0
S:\Spring\spring.exe 0x00AB3F49 GameData.cpp:0
S:\Spring\spring.exe 0x00CB95D3 GameData.cpp:0
S:\Spring\spring.exe 0x00CBEAEF GameData.cpp:0
S:\Spring\spring.exe 0x00CBDA85 GameData.cpp:0
S:\Spring\spring.exe 0x00C3A770 /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/ext/new_allocator.h:89
S:\Spring\spring.exe 0x00837047 /usr/lib/gcc/i586-mingw32msvc/4.4.2/include/c++/bits/stl_vector.h:851
S:\Spring\spring.exe 0x008340AE rts/Sim/Path/PathEstimator.cpp:143 https://github.com/spring/spring/blob/0.82.7/rts/Sim/Path/PathEstimator.cpp#L143
S:\Spring\spring.exe 0x0083525C rts/Sim/Path/PathEstimator.cpp:85
S:\Spring\spring.exe 0x0083B163 rts/Sim/Path/PathManager.cpp:23
S:\Spring\spring.exe 0x00405572 rts/Game/Game.cpp:514
S:\Spring\spring.exe 0x0041686E rts/Game/Game.cpp:320
S:\Spring\spring.exe 0x00491FBA rts/Game/PreGame.cpp:282
S:\Spring\spring.exe 0x00492E4D rts/Game/PreGame.cpp:157
S:\Spring\spring.exe 0x00988A41 rts/System/SpringApp.cpp:1051
S:\Spring\spring.exe 0x00993D99 rts/System/SpringApp.cpp:1182
S:\Spring\spring.exe 0x009940C4 rts/System/Main.cpp:55
S:\Spring\spring.exe 0x009948A0 rts/System/Main.cpp:91
S:\Spring\spring.exe 0x004010A7 buildd/mingw32-runtime-3.15.2/build_dir/src/mingwrt-3.15.2-mingw32/crt1.c:237
S:\Spring\spring.exe 0x00401123 buildd/mingw32-runtime-3.15.2/build_dir/src/mingwrt-3.15.2-mingw32/crt1.c:271
C:\Windows\syswow64\kernel32.dll 0x76773677 ??:0
C:\Windows\SysWOW64\ntdll.dll 0x776F9D72 ??:0
C:\Windows\SysWOW64\ntdll.dll 0x776F9D45 ??:0

~0006235

Kloot (developer)

Does not reproduce. The location of the crash suggests that operator new failed while constructing CPathFinder, so maybe it could not allocate the (large) contiguous block needed for the square-state buffer on a 40x40 map. Seems unlikely on a system with 4GB memory though.

~0006252

smoth (reporter)

http://pastebin.com/2KkMieYK
Grts_RiverValley_013
32x32 now crashes on the current release of spring. Did not before.

~0006253

Kloot (developer)

Last edited: 2011-01-11 17:52

smoth: disable hang detection (set HangTimeout to -1 in springsettings.cfg).

~0006255

smoth (reporter)

Last edited: 2011-01-12 00:12

why? People playing gundam do not have that setting.

(should note that it does start but want to avoid using non-standard settings)

~0006479

jK (developer)

endless loop problem
https://github.com/spring/spring/commit/dbbf137ad56343dad2165ed0476f69b2d04e966c

~0006480

Kloot (developer)

wrong, it was the OOM bug (that infinite loop would not be restricted to "very large" maps only)
+Notes

-Issue History
Date Modified Username Field Change
2011-01-09 13:09 Beherith New Issue
2011-01-09 13:09 Beherith File Added: infolog.txt
2011-01-09 20:17 abma Note Added: 0006228
2011-01-09 20:17 abma Note Edited: 0006228
2011-01-10 00:15 Kloot Note Added: 0006235
2011-01-11 17:42 smoth Note Added: 0006252
2011-01-11 17:51 Kloot Note Added: 0006253
2011-01-11 17:52 Kloot Note Edited: 0006253
2011-01-12 00:07 smoth Note Added: 0006255
2011-01-12 00:12 smoth Note Edited: 0006255
2011-03-08 20:37 jK Note Added: 0006479
2011-03-08 20:37 jK Status new => resolved
2011-03-08 20:37 jK Resolution open => fixed
2011-03-08 20:37 jK Assigned To => jK
2011-03-08 21:15 Kloot Note Added: 0006480
2011-03-08 21:15 Kloot Status resolved => assigned
2011-03-08 21:15 Kloot Resolution fixed => reopened
2011-03-08 21:15 Kloot Status assigned => resolved
2011-03-08 21:15 Kloot Resolution reopened => fixed
+Issue History