2025-07-20 21:00 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001396AIAIpublic2009-09-13 10:01
Reporterimbaczek 
Assigned Tohoijui 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Summary0001396: crashes in AI interface
Descriptionalways seems to crash on ifs like this:

        if (skirmishAIs[at]
            && !teamHandler->Ally(teamHandler->AllyTeam(at), damaged.allyteam)
            && (skirmishAIs[at]->IsCheatEventsEnabled()

or similar
Additional Informationrts/ExternalAI/EngineOutHandler.cpp:301
rts/Sim/Units/Unit.cpp:1909
rts/Sim/Units/Unit.cpp:1110
rts/Game/GameHelper.h:65 [~WaitingDamage]
rts/Game/GameHelper.cpp:1031
rts/Game/Game.cpp:3186
rts/System/Sync/SyncChecker.h:40 [CSyncChecker::GetChecksum()]
rts/Game/Game.cpp:3500
rts/Game/Game.cpp:2540
rts/System/SpringApp.cpp:856
rts/System/SpringApp.cpp:1104
rts/System/Main.cpp:60 [Run(int, char**)]
rts/System/Main.cpp:121 [WinMain@16]
dyncast.cc:0
UnitSet.cpp:0
UnitSet.cpp:0
UNTRANSLATED: C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817077]
--
 profile=default file=http://pastebin.com/pastebin.php?dl=m10456831 buildsys=cmake toolchain=tdm auto=yes vcs=git rev=0.79.0-0-g1c77feb tag=0.79.0 links=yes


rts/ExternalAI/EngineOutHandler.cpp:347
rts/Sim/Units/Unit.cpp:1108
rts/Game/GameHelper.h:65 [~WaitingDamage]
rts/Game/GameHelper.cpp:1031
rts/Game/Game.cpp:3186
rts/System/Sync/SyncChecker.h:40 [CSyncChecker::GetChecksum()]
rts/Game/Game.cpp:3500
rts/Game/Game.cpp:2540
rts/System/SpringApp.cpp:856
rts/System/SpringApp.cpp:1104
rts/System/Main.cpp:60 [Run(int, char**)]
rts/System/Main.cpp:121 [WinMain@16]
dyncast.cc:0
UnitSet.cpp:0
UnitSet.cpp:0
UNTRANSLATED: C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817077]
--
 profile=default file=http://pastebin.com/pastebin.php?dl=d6c9a6608 buildsys=cmake toolchain=tdm auto=yes vcs=git rev=0.79.0-0-g1c77feb tag=0.79.0 links=yes

TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0003744

hoijui (reporter)

i found a bug, hope this was the problem.
commit: 57759eb89c9dacdf830a59c88ec2dee0e7afe0e2

i never was able to reproduce this bug, so ...
please someone test latest spring master, thanks!

~0004120

hoijui (reporter)

looks like the fix mentioned in previous comment worked, no more reports of this bug since then.
+Notes

-Issue History
Date Modified Username Field Change
2009-05-20 18:04 imbaczek New Issue
2009-06-15 23:01 hoijui Project Spring engine => AI
2009-07-22 15:26 hoijui Note Added: 0003744
2009-07-22 15:26 hoijui Assigned To => hoijui
2009-07-22 15:26 hoijui Status new => feedback
2009-09-13 10:01 hoijui Note Added: 0004120
2009-09-13 10:01 hoijui Status feedback => resolved
2009-09-13 10:01 hoijui Resolution open => fixed
+Issue History