View Issue Details

IDProjectCategoryView StatusLast Update
0002295Spring engineGeneralpublic2011-03-08 21:15
ReporterBeherith Assigned TojK  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.82.7 
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.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

abma

2011-01-09 20:17

administrator   ~0006228

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

Kloot

2011-01-10 00:15

developer   ~0006235

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.

smoth

2011-01-11 17:42

reporter   ~0006252

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

Kloot

2011-01-11 17:51

developer   ~0006253

Last edited: 2011-01-11 17:52

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

smoth

2011-01-12 00:07

reporter   ~0006255

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)

jK

2011-03-08 20:37

developer   ~0006479

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

Kloot

2011-03-08 21:15

developer   ~0006480

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

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