2025-07-18 05:26 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001439Spring engineGeneralpublic2009-06-15 09:11
ReporterKriegEm 
Assigned ToAuswaschbar 
PrioritynormalSeveritycrashReproducibilityunable to reproduce
StatusresolvedResolutionfixed 
Product Version0.79.1.0 
Target VersionFixed in Version 
Summary0001439: Spring crashed while playing green fields
DescriptionNo idea what I did to trigger it - here's the output from the error log:

[ 22112] Spring 0.79.1.0 (0.79.1-0-gd9642af{@}-cmake-tdm) has crashed.
[ 22112] Exception: Access violation (0xc0000005)
[ 22112] Exception Address: 0x00939d46
[ 22112] DLL information:
[ 22112] 0x00400000 spring
[ 22112] 0x7c900000 ntdll
[ 22112] 0x7c800000 kernel32
[ 22112] 0x10000000 DevIL
[ 22112] 0x77c10000 MSVCRT
[ 22112] 0x01c40000 ILU
[ 22112] 0x77dd0000 ADVAPI32
[ 22112] 0x77e70000 RPCRT4
[ 22112] 0x77fe0000 Secur32
[ 22112] 0x68b20000 GLU32
[ 22112] 0x5ed00000 OPENGL32
[ 22112] 0x77f10000 GDI32
[ 22112] 0x7e410000 USER32
[ 22112] 0x73760000 DDRAW
[ 22112] 0x73bc0000 DCIMAN32
[ 22112] 0x76c90000 IMAGEHLP
[ 22112] 0x6fbc0000 mingwm10
[ 22112] 0x7c9c0000 SHELL32
[ 22112] 0x77f60000 SHLWAPI
[ 22112] 0x71ab0000 WS2_32
[ 22112] 0x71aa0000 WS2HELP
[ 22112] 0x01c60000 SDL
[ 22112] 0x76b40000 WINMM
[ 22112] 0x7c340000 MSVCR71
[ 22112] 0x66fc0000 freetype6
[ 22112] 0x61b80000 zlib1
[ 22112] 0x6ed80000 glew32
[ 22112] 0x6b180000 vorbisfile
[ 22112] 0x63e00000 vorbis
[ 22112] 0x01cb0000 ogg
[ 22112] 0x01cd0000 OpenAL32
[ 22112] 0x76390000 IMM32
[ 22112] 0x773d0000 comctl32
[ 22112] 0x5d090000 comctl32
[ 22112] 0x5ad70000 uxtheme
[ 22112] 0x74720000 MSCTF
[ 22112] 0x755c0000 msctfime
[ 22112] 0x774e0000 ole32
[ 22112] 0x69500000 nvoglnt
[ 22112] 0x71a50000 mswsock
[ 22112] 0x662b0000 hnetcfg
[ 22112] 0x71a90000 wshtcpip
[ 22112] 0x72d20000 wdmaud
[ 22112] 0x76c30000 WINTRUST
[ 22112] 0x77a80000 CRYPT32
[ 22112] 0x77b20000 MSASN1
[ 22112] 0x72d10000 msacm32
[ 22112] 0x77be0000 MSACM32
[ 22112] 0x77bd0000 midimap
[ 22112] 0x73f10000 dsound
[ 22112] 0x77c00000 VERSION
[ 22112] 0x76fd0000 CLBCATQ
[ 22112] 0x77050000 COMRes
[ 22112] 0x77120000 OLEAUT32
[ 22112] 0x73ee0000 KsUser
[ 22112] 0x04560000 wrap_oal
[ 22112] 0x59a60000 DBGHELP
[ 22112] Stacktrace:
[ 22112] (0) C:\Program Files\Spring\spring.exe(skirmishAiCallback_Unit_CurrentCommand_0ARRAY1VALS0getParams+0x516) [0x00939D46]
[ 22112] (1) C:\Program Files\Spring\spring.exe(skirmishAiCallback_Unit_CurrentCommand_0ARRAY1VALS0getParams+0x116d7) [0x0094AF07]
[ 22112] (2) C:\Program Files\Spring\spring.exe [0x0085254C]
[ 22112] (3) C:\Program Files\Spring\spring.exe [0x0083325A]
[ 22112] (4) C:\Program Files\Spring\spring.exe [0x00837741]
[ 22112] (5) C:\Program Files\Spring\spring.exe [0x008525FF]
[ 22112] (6) C:\Program Files\Spring\spring.exe [0x00833DFD]
[ 22112] (7) C:\Program Files\Spring\spring.exe [0x0083734B]
[ 22112] (8) C:\Program Files\Spring\spring.exe [0x00805C4E]
[ 22112] (9) C:\Program Files\Spring\spring.exe [0x008080E6]
[ 22112] (10) C:\Program Files\Spring\spring.exe [0x00406576]
[ 22112] (11) C:\Program Files\Spring\spring.exe [0x00417A00]
[ 22112] (12) C:\Program Files\Spring\spring.exe [0x0041C182]
[ 22112] (13) C:\Program Files\Spring\spring.exe [0x008BB325]
[ 22112] (14) C:\Program Files\Spring\spring.exe [0x008C4A54]
[ 22112] (15) C:\Program Files\Spring\spring.exe [0x008BA10C]
[ 22112] (16) C:\Program Files\Spring\spring.exe [0x008BA2F6]
[ 22112] (17) C:\Program Files\Spring\spring.exe [0x0095FCA8]
[ 22112] (18) C:\Program Files\Spring\spring.exe [0x0040124B]
[ 22112] (19) C:\Program Files\Spring\spring.exe [0x004012B8]
[ 22112] (20) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817077]

TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0001434resolvedKloot New crash experienced during testing 
related to 0001447closed Spring crashed while replaying a game 
related to 0001450closed crash 
+Relationships

-Notes

~0003574

Kloot (developer)

Last edited: 2009-06-01 10:49

Looks like 0001434 wasn't isolated, there is probably memory corruption going on. See also

http://springrts.com/phpbb/viewtopic.php?f=11&t=19044
http://springrts.com/phpbb/viewtopic.php?p=354711#p354711
http://springrts.com/phpbb/viewtopic.php?p=354845#p354845

~0003576

imbaczek (reporter)

yes, the luaui errors hint strongly at a dangling pointer, from my ground decal experience.

~0003580

Kloot (developer)

Last edited: 2009-06-01 14:39

Indeed... all of these traces are quite possibly the result of the bug fixed by http://github.com/spring/spring/commit/d985b781a2c3cd67725a46bca9de8696a9a40cdd (a const& to cmdqueue.front() being passed around after pop()'ing front itself). Really good motivation to push out 0.79.2 IMO.

~0003583

imbaczek (reporter)

+1

~0003591

zerver (reporter)

Last edited: 2009-06-03 01:35

Just had the same crash with the MT build:
[ 91670] (0) C:\Program Files\Spring\spring.exe(skirmishAiCallback_Unit_CurrentCommand_0ARRAY1VALS0getParams+0x516) [0x00939D46]
[ 91670] (1) C:\Program Files\Spring\spring.exe(skirmishAiCallback_Unit_CurrentCommand_0ARRAY1VALS0getParams+0x116d7) [0x0094AF07]
[ 91670] (2) C:\Program Files\Spring\spring.exe [0x0085254C]
[ 91670] (3) C:\Program Files\Spring\spring.exe [0x0083325A]
[ 91670] (4) C:\Program Files\Spring\spring.exe [0x00837741]
[ 91670] (5) C:\Program Files\Spring\spring.exe [0x008525FF]
[ 91670] (6) C:\Program Files\Spring\spring.exe [0x00833DFD]
[ 91670] (7) C:\Program Files\Spring\spring.exe [0x0083734B]
[ 91670] (8) C:\Program Files\Spring\spring.exe [0x00805C4E]
[ 91670] (9) C:\Program Files\Spring\spring.exe [0x008080E6]
[ 91670] (10) C:\Program Files\Spring\spring.exe [0x00406576]
[ 91670] (11) C:\Program Files\Spring\spring.exe [0x00417A00]
[ 91670] (12) C:\Program Files\Spring\spring.exe [0x0041C182]
[ 91670] (13) C:\Program Files\Spring\spring.exe [0x008BB325]
[ 91670] (14) C:\Program Files\Spring\spring.exe [0x008C4A54]
[ 91670] (15) C:\Program Files\Spring\spring.exe [0x008BA10C]
[ 91670] (16) C:\Program Files\Spring\spring.exe [0x008BA2F6]
[ 91670] (17) C:\Program Files\Spring\spring.exe(aiInterfaceCallback_DataDirs_getWriteableDir+0x4008) [0x0095FCA8]
[ 91670] (18) C:\Program Files\Spring\spring.exe [0x0040124B]
[ 91670] (19) C:\Program Files\Spring\spring.exe [0x004012B8]
[ 91670] (20) C:\WINDOWS\system32\kernel32.dll(ProcessIdToSessionId+0x209) [0x77E6F23B]

Edit: Correction, it was the non-MT version.

~0003619

merijnvdk (reporter)

Had the same one it seems

http://spring.pastebin.ca/1458278

http://planetspring.free.fr/spring/stacktrace/0.79.1-spring_stktrc_0.79.1-0-gd9642af_1244843251.html
+Notes

-Issue History
Date Modified Username Field Change
2009-05-31 16:25 KriegEm New Issue
2009-06-01 10:37 Kloot Relationship added related to 0001434
2009-06-01 10:39 Kloot Note Added: 0003574
2009-06-01 10:49 Kloot Note Edited: 0003574
2009-06-01 12:15 imbaczek Note Added: 0003576
2009-06-01 14:35 Kloot Note Added: 0003580
2009-06-01 14:36 Kloot Note Edited: 0003580
2009-06-01 14:39 Kloot Note Edited: 0003580
2009-06-01 15:52 imbaczek Note Added: 0003583
2009-06-03 00:32 zerver Note Added: 0003591
2009-06-03 01:35 zerver Note Edited: 0003591
2009-06-07 23:51 Kloot Relationship added related to 0001447
2009-06-07 23:51 Kloot Relationship added related to 0001450
2009-06-13 00:06 merijnvdk Note Added: 0003619
2009-06-15 09:11 Auswaschbar Status new => resolved
2009-06-15 09:11 Auswaschbar Resolution open => fixed
2009-06-15 09:11 Auswaschbar Assigned To => Auswaschbar
+Issue History