View Issue Details

IDProjectCategoryView StatusLast Update
0002424Spring engineAIpublic2011-06-09 18:36
Reporterhoijui Assigned ToKloot  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.82.7+git 
Fixed in Version0.82.7+git 
Summary0002424: (master) KAIK: failed handling event with topic 3, error: -2
Descriptionexact message:
[f=0000060] Warning: AI for team 1 (ID: 0) failed handling event with topic 3, error: -2

Topic 3 is UPDATE, and -2 means that an uncaught exception was thrown.
It fails to handle the UPDATE event every 15th frame.
i guess the problem is either in (`grep -r "% 15"`):
UnitHandler.cpp:79 "make sure that all the builders are in action"
BuildUp.cpp:33 "thread map update"
Steps To Reproducestart a game with latest BA on spring master with the KAIK test script.
(i used Brazillian Battlefield as map)
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

related to 0002443 resolvedKloot (master) nearly instant crash with KAIK/RAI on start of BA7.41 

Activities

Kloot

2011-05-11 16:47

developer   ~0006647

Not reproducable, at least with:

* clean engine build d9aa5b2b3534387ceaa05a96231a3cc2b1188399
* clean KAIK build 631d00360a6559d55bba487f88a23f7e9ba1baf4
* script http://pastebin.com/ZSiThB0V (needs /cheat && /give corcom 1)

KAIK code does not generate (throw) any exceptions of its own, and neither does the legacy C++ interface wrapper that gets compiled into it, so I have no idea. Possibly some uncaught STL error is leaking through, does not seem likely the AI would remain stable in that case however (usually those indicate out-of-memory allocation failures).

abma

2011-06-01 00:05

administrator   ~0006684

Last edited: 2011-06-01 00:07

i get this error + crash, too. crashes also with RAI. see 0002443

tested with BA 7.50 and some maps (requires no /cheat)

git describe
0.82.3-1915-g23695d2

Issue History

Date Modified Username Field Change
2011-05-10 13:09 hoijui New Issue
2011-05-10 13:09 hoijui File Added: infolog.txt
2011-05-11 16:47 Kloot Note Added: 0006647
2011-05-31 23:57 abma Relationship added related to 0002443
2011-06-01 00:05 abma Note Added: 0006684
2011-06-01 00:05 abma Note Edited: 0006684
2011-06-01 00:06 abma Summary KAIK: failed handling event with topic 3, error: -2 => (master) KAIK: failed handling event with topic 3, error: -2
2011-06-01 00:07 abma Note Edited: 0006684
2011-06-09 18:36 Kloot Status new => resolved
2011-06-09 18:36 Kloot Fixed in Version => 0.82.7+git
2011-06-09 18:36 Kloot Resolution open => fixed
2011-06-09 18:36 Kloot Assigned To => Kloot