2025-07-21 16:58 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001317Spring engineGeneralpublic2010-09-16 17:13
Reporterimbaczek 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version0.78.2.1 
Target VersionFixed in Version 
Summary0001317: crash in DrawLineAndIcon
Description[ 18142] Spring 0.78.2.0 (0.78.2-0-g716ba18{@}-s) has crashed.
[ 18142] Exception: Access violation (0xc0000005)
[ 18142] Exception Address: 0x004428cd
[ 18142] DLL information:
[ 18142] 0x00400000 spring
[ 18142] 0x7c900000 ntdll
[ 18142] 0x7c800000 kernel32
[ 18142] 0x77dd0000 ADVAPI32
[ 18142] 0x77e70000 RPCRT4
[ 18142] 0x77fe0000 Secur32
[ 18142] 0x73f10000 dsound
[ 18142] 0x77c10000 msvcrt
[ 18142] 0x7e410000 USER32
[ 18142] 0x77f10000 GDI32
[ 18142] 0x774e0000 ole32
[ 18142] 0x76b40000 WINMM
[ 18142] 0x77c00000 VERSION
[ 18142] 0x68b20000 GLU32
[ 18142] 0x5ed00000 OPENGL32
[ 18142] 0x73760000 DDRAW
[ 18142] 0x73bc0000 DCIMAN32
[ 18142] 0x76c90000 IMAGEHLP
[ 18142] 0x6fbc0000 mingwm10
[ 18142] 0x7c9c0000 SHELL32
[ 18142] 0x77f60000 SHLWAPI
[ 18142] 0x71ad0000 WSOCK32
[ 18142] 0x71ab0000 WS2_32
[ 18142] 0x71aa0000 WS2HELP
[ 18142] 0x6ed80000 glew32
[ 18142] 0x10000000 SDL
[ 18142] 0x7c340000 MSVCR71
[ 18142] 0x00df0000 DevIL
[ 18142] 0x66fc0000 freetype6
[ 18142] 0x61b80000 zlib1
[ 18142] 0x003d0000 ILU
[ 18142] 0x773d0000 comctl32
[ 18142] 0x5d090000 comctl32
[ 18142] 0x5ad70000 uxtheme
[ 18142] 0x016d0000 ATKOGL32
[ 18142] 0x69500000 nvoglnt
[ 18142] 0x02e50000 atkosdx32
[ 18142] 0x77920000 SETUPAPI
[ 18142] 0x71a50000 mswsock
[ 18142] 0x662b0000 hnetcfg
[ 18142] 0x71a90000 wshtcpip
[ 18142] 0x72d20000 wdmaud
[ 18142] 0x76c30000 WINTRUST
[ 18142] 0x77a80000 CRYPT32
[ 18142] 0x77b20000 MSASN1
[ 18142] 0x72d10000 msacm32
[ 18142] 0x77be0000 MSACM32
[ 18142] 0x77bd0000 midimap
[ 18142] 0x73ee0000 KsUser
[ 18142] 0x59a60000 DBGHELP
[ 18142] Stacktrace:
[ 18142] (0) C:\Program Files\Spring 0.77b3\spring.exe [0x004428CD]
[ 18142] (1) C:\Program Files\Spring 0.77b3\spring.exe [0x006E9AF7]
[ 18142] (2) C:\Program Files\Spring 0.77b3\spring.exe [0x0082E8E9]
[ 18142] (3) C:\Program Files\Spring 0.77b3\spring.exe [0x00836EF9]
[ 18142] (4) C:\Program Files\Spring 0.77b3\spring.exe [0x005E21C6]
[ 18142] (5) C:\Program Files\Spring 0.77b3\spring.exe [0x005ED3B6]
[ 18142] (6) C:\Program Files\Spring 0.77b3\spring.exe [0x005E0ED1]
[ 18142] (7) C:\Program Files\Spring 0.77b3\spring.exe [0x005E10D9]
[ 18142] (8) C:\Program Files\Spring 0.77b3\spring.exe [0x00A57211]
[ 18142] (9) C:\Program Files\Spring 0.77b3\spring.exe [0x004010A7]
[ 18142] (10) C:\Program Files\Spring 0.77b3\spring.exe [0x00401123]
[ 18142] (11) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816FD7]
Additional Informationrts/Game/UI/CursorIcons.h:43 [Icon]
rts/Game/UI/CursorIcons.h:120 [CCursorIcons::AddIcon(int, float3 const&)]
rts/Sim/Units/CommandAI/LineDrawer.h:140 [CLineDrawer::DrawLineAndIcon(int, float3 const&, float const*)]
rts/Sim/Units/CommandAI/MobileCAI.cpp:1007
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/stl_tree.h:258 [std::_Rb_tree_const_iterator >::operator++()]
rts/Sim/Units/UnitSet.h:54 [CUnitSetConstIterator::operator++()]
rts/Lua/LuaUnsyncedCtrl.cpp:361
rts/Game/Game.cpp:2587
rts/Game/Game.cpp:2812
rts/System/SpringApp.cpp:949
rts/System/SpringApp.cpp:1158
rts/System/Main.cpp:60 [Run(int, char**)]
rts/System/Main.cpp:122 [WinMain@16]
Action.cpp:0
/src/mingw-runtime-3.13-20070825-1/crt1.c:237 [__mingw_CRTStartup]
/src/mingw-runtime-3.13-20070825-1/crt1.c:271
UNTRANSLATED: C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816FD7]
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0003773

hoijui (reporter)

translated stacktrace with code links:
http://planetspring.free.fr/spring/stacktrace/{scons}0.78.2-spring_stktrc_0.78.2-0-g716ba18_1248522269.html

only thing i could imagine is unit beeing NULL at:
http://github.com/spring/spring/blob/716ba1897efa777b4f44675731daa0bc2bca81ce/rts/Sim/Units/CommandAI/MobileCAI.cpp#L1007

do not know if that is possible, but if nobody else know.. it should not hurt performance much to check that.

~0005549

abma (administrator)

please try 0.82.5.1, if the problems still persist, please reopen this report.
+Notes

-Issue History
Date Modified Username Field Change
2009-02-02 14:41 imbaczek New Issue
2009-07-25 14:01 hoijui Note Added: 0003773
2010-09-16 17:13 abma Note Added: 0005549
2010-09-16 17:13 abma Status new => resolved
2010-09-16 17:13 abma Resolution open => fixed
2010-09-16 17:13 abma Assigned To => abma
+Issue History