View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003286 | Spring engine | AI | public | 2012-09-24 12:45 | 2013-01-09 20:09 | ||||
Reporter | abma | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | crash | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 91.0.1+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003286: AAI crash in AAIGroup.cpp:91 | ||||||||
Description | to reproduce crash start with attached script: /cheat /team 0 ctrl + a / ctrl + d http://buildbot.springrts.com/builders/validationtests/builds/1760/steps/validation%20test_3/logs/stdio | ||||||||
Additional Information | #0 0x00007f1854346b32 in AAIGroup::AAIGroup (this=0x68a1da0, ai=0x2d52d60, def=0x9f4e4b0, unit_type=ASSAULT_UNIT, continent_id=<optimized out>) at /home/buildbot/slave/full-linux/build/AI/Skirmish/AAI/AAIGroup.cpp:91 91 avg_speed = bt->unitList[def->id-1]->speed; #0 0x00007f1854346b32 in AAIGroup::AAIGroup (this=0x68a1da0, ai=0x2d52d60, def=0x9f4e4b0, unit_type=ASSAULT_UNIT, continent_id=<optimized out>) at /home/buildbot/slave/full-linux/build/AI/Skirmish/AAI/AAIGroup.cpp:91 No locals. #1 0x00007f1854350a25 in AAIExecute::AddUnitToGroup (this=0x290cf40, unit_id=<optimized out>, def_id=70, category=109714848) at /home/buildbot/slave/full-linux/build/AI/Skirmish/AAI/AAIExecute.cpp:257 unit_type = ASSAULT_UNIT continent_id = 0 new_group = <optimized out> #2 0x00007f185434915a in AAI::UnitFinished (this=0x2d52d60, unit=<optimized out>) at /home/buildbot/slave/full-linux/build/AI/Skirmish/AAI/AAI.cpp:448 def = 0x679ac30 category = GROUND_ASSAULT 0000003 0x00007f1854386769 in springLegacyAI::CAIAI::handleEvent (this=0x2d3e350, topic=<optimized out>, data=<optimized out>) at /home/buildbot/slave/full-linux/build/AI/Wrappers/LegacyCpp/AIAI.cpp:171 e = 0x681ce80 ret = -1 0000004 0x00007f185434a30c in handleEvent (skirmishAIId=1491625760, topic=6, data=0x7fff8fbc1220) at /home/buildbot/slave/full-linux/build/AI/Skirmish/AAI/AIExport.cpp:97 No locals. 0000005 0x000000000098e95a in CSkirmishAILibrary::HandleEvent (this=0x9e46010, skirmishAIId=1, topic=6, data=0x7fff8fbc1220) at /home/buildbot/slave/full-linux/build/rts/ExternalAI/SkirmishAILibrary.cpp:95 ret = <optimized out> #6 0x0000000000987649 in CSkirmishAI::HandleEvent (this=0x2d3e240, topic=6, data=0x7fff8fbc1220) at /home/buildbot/slave/full-linux/build/rts/ExternalAI/SkirmishAI.cpp:57 myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "AI t:1 id:1 AAI 0.9", starttime = 25912}, autoShowGraph = false} #7 0x000000000099290b in CSkirmishAIWrapper::UnitFinished (this=<optimized out>, unitId=<optimized out>) at /home/buildbot/slave/full-linux/build/rts/ExternalAI/SkirmishAIWrapper.cpp:296 evtData = {unit = 24188} #8 0x000000000097110a in CEngineOutHandler::UnitFinished (this=0x5305770, unit=...) at /home/buildbot/slave/full-linux/build/rts/ExternalAI/EngineOutHandler.cpp:283 ai = 1 '\001' myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "AI Total", starttime = 25912}, autoShowGraph = false} teamId = 1 allyTeamId = 1 unitId = 24188 #9 0x000000000086d83e in CUnit::FinishedBuilding (this=0x2f89a60, postInit=<optimized out>) at /home/buildbot/slave/full-linux/build/rts/Sim/Units/Unit.cpp:1895 No locals. 0000010 0x000000000086d2d9 in CUnit::AddBuildPower (this=0x2f89a60, amount=<optimized out>, builder=0x6843670) at /home/buildbot/slave/full-linux/build/rts/Sim/Units/Unit.cpp:1764 metalCostPart = <optimized out> energyCostPart = <optimized out> #11 0x00000000008976ce in CFactory::UpdateBuild (this=this@entry=0x6843670, buildee=0x2f89a60) at /home/buildbot/slave/full-linux/build/rts/Sim/Units/UnitTypes/Factory.cpp:230 buildPiece = 1 buildPos = @0x7fff8fbc1410: {static binder = {class_ = 0x2692050, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x123a748, name = 0xce1588 "float3", size = 12, constructor = 0x90d220 <float3::_ConstructInstance(void*)>, destructor = 0x90d240 <float3::_DestructInstance(void*)>, nextBinder = 0x123a640}, static memberRegistrator = 0x123a798, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 3424, y = 179.792297, z = 2150} buildeePos = {static binder = {class_ = 0x2692050, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x123a748, name = 0xce1588 "float3", size = 12, constructor = 0x90d220 <float3::_ConstructInstance(void*)>, destructor = 0x90d240 <float3::_DestructInstance(void*)>, nextBinder = 0x123a640}, static memberRegistrator = 0x123a798, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 3424, y = <optimized out>, z = 2150} queue = <optimized out> mat = @0x7fff8fbc1420: {static binder = {class_ = 0x26922f0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1237d68, name = 0xcdba38 "CMatrix44f", size = 64, constructor = 0x8e22e0 <CMatrix44f::_ConstructInstance(void*)>, destructor = 0x8e2360 <CMatrix44f::_DestructInstance(void*)>, nextBinder = 0x12378a0}, static memberRegistrator = 0x1237db0, {m = {3424, 179.792297, 2150, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0}, md = {{3424, 179.792297, 2150, 0}, {1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}}}} h = <optimized out> 0000012 0x0000000000898578 in CFactory::Update (this=0x6843670) at /home/buildbot/slave/full-linux/build/rts/Sim/Units/UnitTypes/Factory.cpp:130 wantClose = <optimized out> 0000013 0x000000000088ae46 in CUnitHandler::Update (this=0x4fd4370) at /home/buildbot/slave/full-linux/build/rts/Sim/Units/UnitHandler.cpp:294 unit = 0x6843670 myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Unit::Update", starttime = 25912}, autoShowGraph = false} usi = 0000014 0x0000000000490443 in CGame::SimFrame (this=0x285ecc0) at /home/buildbot/slave/full-linux/build/rts/Game/Game.cpp:1506 cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 25911}, autoShowGraph = true} forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame (Update)", starttime = 25911}, autoShowGraph = false} #15 0x00000000004dca34 in CGame::ClientReadNet (this=0x285ecc0) at /home/buildbot/slave/full-linux/build/rts/Game/NetCommands.cpp:387 msgProcTimeSpent = <optimized out> dataLength = 1 allowMsgProcessing = true inbuf = <optimized out> packetCode = 2 '\002' packet = {px = 0x7f18402b13f0, pn = {pi_ = 0x7f18402b1430}} simDrawRatio = <optimized out> maxSimFPS = 5 minDrawFPS = <optimized out> #16 0x0000000000493310 in CGame::Update (this=0x285ecc0) at /home/buildbot/slave/full-linux/build/rts/Game/Game.cpp:895 diffsecs = <optimized out> #17 0x00000000008faae5 in UpdateSim (ac=<optimized out>) at /home/buildbot/slave/full-linux/build/rts/lib/gml/gml_base.h:43 No locals. #18 SpringApp::Update (this=this@entry=0x7fff8fbc1de0) at /home/buildbot/slave/full-linux/build/rts/System/SpringApp.cpp:924 ret = 1 #19 0x000000000090168c in SpringApp::Run (this=0x7fff8fbc1de0, argc=2, argv=0x7fff8fbc2078) at /home/buildbot/slave/full-linux/build/rts/System/SpringApp.cpp:1006 No locals. 0000020 0x00000000008e1d5a in MainFunc (argc=argc@entry=2, argv=argv@entry=0x7fff8fbc2078, ret=ret@entry=0x7fff8fbc1f6c) at /home/buildbot/slave/full-linux/build/rts/System/Main.cpp:57 app = {cmdline = 0x26917a0, binaryName = "/tmp/spring/tests/usr/local/bin/spring-headless"} #21 0x00000000008e2214 in Run (argc=2, argv=0x7fff8fbc2078) at /home/buildbot/slave/full-linux/build/rts/System/Main.cpp:68 ret = -1 err = <optimized out> #22 0x00007f1858af7735 in __libc_start_main () from /lib64/libc.so.6 No symbol table info available. #23 0x000000000046cb39 in _start () | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2012-10-07 01:35 |
easier way to reproduce: /aikill 0 |
abma (administrator) 2013-01-09 20:09 |
https://github.com/spring/spring/commit/4bf0e560466b3088454267c25592d8177e22ba1b |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-09-24 12:45 | abma | New Issue | |
2012-09-24 12:45 | abma | File Added: aai.txt | |
2012-09-24 14:10 | abma | Reproducibility | always => sometimes |
2012-10-07 01:35 | abma | Note Added: 0009247 | |
2013-01-09 20:09 | abma | Note Added: 0009578 | |
2013-01-09 20:09 | abma | Status | new => resolved |
2013-01-09 20:09 | abma | Resolution | open => fixed |
2013-01-09 20:09 | abma | Assigned To | => abma |