2024-05-17 00:39 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001608Spring engineGeneralpublic2009-10-17 22:42
ReporterRegret 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.80.2.0 
Target Version0.81.0.0Fixed in Version0.80.4.0+git 
Summary0001608: Unknown crash
Descriptionhttp://replays.adune.nl/?1594

[ 35425] Spring 0.80.2.0 (0.80.2-0-ged79d6b{@}-cmake-mingw32) has crashed.
[ 35425] Exception: Access violation (0xc0000005)
[ 35425] Exception Address: 0x0069832d
[ 35425] DLL information:
[ 35425] 0x00400000 spring
[ 35425] 0x7c900000 ntdll
[ 35425] 0x7c800000 kernel32
[ 35425] 0x10000000 DevIL
[ 35425] 0x77c10000 MSVCRT
[ 35425] 0x003e0000 ILU
[ 35425] 0x77dd0000 ADVAPI32
[ 35425] 0x77e70000 RPCRT4
[ 35425] 0x68b20000 GLU32
[ 35425] 0x5ed00000 OPENGL32
[ 35425] 0x77f10000 GDI32
[ 35425] 0x77d40000 USER32
[ 35425] 0x73760000 DDRAW
[ 35425] 0x73bc0000 DCIMAN32
[ 35425] 0x76c90000 IMAGEHLP
[ 35425] 0x6fbc0000 mingwm10
[ 35425] 0x7c9c0000 SHELL32
[ 35425] 0x77f60000 SHLWAPI
[ 35425] 0x71ab0000 WS2_32
[ 35425] 0x71aa0000 WS2HELP
[ 35425] 0x6e940000 libgcc_s_dw2-1
[ 35425] 0x01ba0000 SDL
[ 35425] 0x76b40000 WINMM
[ 35425] 0x7c340000 MSVCR71
[ 35425] 0x66fc0000 freetype6
[ 35425] 0x61b80000 zlib1
[ 35425] 0x6ed80000 glew32
[ 35425] 0x6b180000 vorbisfile
[ 35425] 0x63e00000 vorbis
[ 35425] 0x01bf0000 ogg
[ 35425] 0x01c10000 OpenAL32
[ 35425] 0x773d0000 comctl32
[ 35425] 0x5d090000 comctl32
[ 35425] 0x5ad70000 uxtheme
[ 35425] 0x69500000 nvoglnt
[ 35425] 0x72d20000 wdmaud
[ 35425] 0x76c30000 WINTRUST
[ 35425] 0x77a80000 CRYPT32
[ 35425] 0x77b20000 MSASN1
[ 35425] 0x72d10000 msacm32
[ 35425] 0x77be0000 MSACM32
[ 35425] 0x77bd0000 midimap
[ 35425] 0x774e0000 ole32
[ 35425] 0x73f10000 dsound
[ 35425] 0x77c00000 VERSION
[ 35425] 0x76fd0000 CLBCATQ
[ 35425] 0x77120000 OLEAUT32
[ 35425] 0x77050000 COMRes
[ 35425] 0x73ee0000 KsUser
[ 35425] 0x04850000 wrap_oal
[ 35425] 0x59a60000 DBGHELP
[ 35425] Stacktrace:
[ 35425] (0) D:\Spring\spring.exe [0x0069832D]
[ 35425] (1) D:\Spring\spring.exe [0x00751DB7]
[ 35425] (2) D:\Spring\spring.exe [0x0077172A]
[ 35425] (3) D:\Spring\spring.exe [0x007308EC]
[ 35425] (4) D:\Spring\spring.exe [0x0073421E]
[ 35425] (5) D:\Spring\spring.exe [0x00406D1F]
[ 35425] (6) D:\Spring\spring.exe [0x0041FFAD]
[ 35425] (7) D:\Spring\spring.exe [0x0042398C]
[ 35425] (8) D:\Spring\spring.exe [0x007E75EA]
[ 35425] (9) D:\Spring\spring.exe [0x007EE3E7]
[ 35425] (10) D:\Spring\spring.exe [0x007E6415]
[ 35425] (11) D:\Spring\spring.exe [0x007E68E6]
[ 35425] (12) D:\Spring\spring.exe [0x0086AEE8]
[ 35425] (13) D:\Spring\spring.exe [0x0040124B]
[ 35425] (14) D:\Spring\spring.exe [0x004012B8]
[ 35425] (15) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816D4F]
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0001682resolvedKloot different crashes in 1 demo 
+Relationships

-Notes

~0004032

Kloot (developer)

Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 0xb56a16e0 (LWP 11058)]
0x0849d201 in CAirBaseHandler::FindAirBase (this=0xd50b8f8, unit=0x181d0d40, minPower=0) at rts/Sim/Misc/AirBaseHandler.cpp:118
118 if (baseUnit->pos.SqDistance(unit->pos) >= closest || baseUnit->unitDef->buildSpeed < minPower) {

(gdb) p gs->frameNum
$1 = 35425

(gdb) bt
#0 0x0849d201 in CAirBaseHandler::FindAirBase (this=0xd50b8f8, unit=0x181d0d40, minPower=0) at rts/Sim/Misc/AirBaseHandler.cpp:118
#1 0x083207fb in CMobileCAI::LandRepairIfNeeded (this=0x1befa638) at rts/Sim/Units/CommandAI/MobileCAI.cpp:347
#2 0x083491a8 in CAirCAI::SlowUpdate (this=0x1befa638) at rts/Sim/Units/CommandAI/AirCAI.cpp:215
0000003 0x082f283a in CUnit::SlowUpdate (this=0x181d0d40) at rts/Sim/Units/Unit.cpp:759
0000004 0x0830a3d5 in CUnitHandler::Update (this=0xd1f1fb8) at rts/Sim/Units/UnitHandler.cpp:329
0000005 0x087b79bb in CGame::SimFrame (this=0xbe3d2f0) at rts/Game/Game.cpp:3429
#6 0x087becbc in CGame::ClientReadNet (this=0xbe3d2f0) at rts/Game/Game.cpp:3726
#7 0x087c22be in CGame::Update (this=0xbe3d2f0) at rts/Game/Game.cpp:2740
#8 0x087b2819 in CGame::Skip (this=0xbe3d2f0, toFrame=1050000) at rts/Game/Game.cpp:4791
#9 0x087bd552 in CGame::ActionReceived (this=0xbe3d2f0, action=@0xbf8b6824, playernum=255) at rts/Game/Game.cpp:2677
0000010 0x087c1721 in CGame::ClientReadNet (this=0xbe3d2f0) at rts/Game/Game.cpp:4120
#11 0x087c22be in CGame::Update (this=0xbe3d2f0) at rts/Game/Game.cpp:2740
0000012 0x08539eb9 in SpringApp::Update (this=0xbf8b6c90) at rts/System/SpringApp.cpp:835
0000013 0x08541ebd in SpringApp::Run (this=0xbf8b6c90, argc=2, argv=0xbf8b6d74) at rts/System/SpringApp.cpp:959
0000014 0x08537604 in Run (argc=2, argv=0xbf8b6d74) at rts/System/Main.cpp:115
#15 0x08537667 in main (argc=2, argv=0xbf8b6d74) at rts/System/Main.cpp:132

(gdb) frame 0
#0 0x0849d201 in CAirBaseHandler::FindAirBase (this=0xd50b8f8, unit=0x181d0d40, minPower=0) at rts/Sim/Misc/AirBaseHandler.cpp:118
118 if (baseUnit->pos.SqDistance(unit->pos) >= closest || baseUnit->unitDef->buildSpeed < minPower) {
(gdb) p baseUnit
$2 = (class CUnit *) 0x10894498
(gdb) p unit
$3 = (class CUnit *) 0x181d0d40
(gdb) p baseUnit->unitDef
$4 = (const UnitDef *) 0x2900

~0004105

hoijui (reporter)

does this mean the baseUnit->unitDef is the problem (too low memory address to be feasable)?
if so, would it be a mod problem (bad unitDef)?
does this alreayd include the "bad UnitDefs are set to NULL" patch of you, kloot?
+Notes

-Issue History
Date Modified Username Field Change
2009-08-30 02:19 Regret New Issue
2009-08-30 15:43 Kloot Note Added: 0004032
2009-09-11 14:41 hoijui Note Added: 0004105
2009-10-03 10:46 imbaczek Target Version => 0.81.0.0
2009-10-17 12:01 Kloot Relationship added related to 0001682
2009-10-17 22:42 Kloot Status new => resolved
2009-10-17 22:42 Kloot Fixed in Version => 0.80.4.0+git
2009-10-17 22:42 Kloot Resolution open => fixed
2009-10-17 22:42 Kloot Assigned To => Kloot
+Issue History