View Issue Details

IDProjectCategoryView StatusLast Update
0002197AIAIpublic2010-11-10 20:30
Reporterhoijui Assigned ToKloot  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0002197: KAIK SIGSEGV near end of game
Descriptionlatest release branch spring (0.82.6.1-29-g5ef6c17), which includes the MicroPather base 0.0 -> 1.0 patch.
BA, Brazilian Battlefield Remake, KAIK vs KAIK

stack-trace is below.
ran it in GDB, which is why infolog does not contain the stack-trace.
Additional InformationProgram received signal SIGSEGV, Segmentation fault.
0x0000000000b5b663 in std::list<int, std::allocator<int> >::sort (this=0xd725c30) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/bits/list.tcc:306
(gdb) bt
#0 0x0000000000b5b663 in std::list<int, std::allocator<int> >::sort (this=0xd725c30) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/bits/list.tcc:306
#1 0x00007fffe540d392 in CUnitHandler::NumIdleUnits (this=0xd725ac0, category=CAT_BUILDER) at AI/Skirmish/KAIK/UnitHandler.cpp:591
#2 0x00007fffe545fa9c in CBuildUp::GetEconState (this=0xd727840, es=0xd727858) at AI/Skirmish/KAIK/BuildUp.cpp:69
0000003 0x00007fffe5460315 in CBuildUp::Update (this=0xd727840, frame=34380) at AI/Skirmish/KAIK/BuildUp.cpp:38
0000004 0x00007fffe545b64d in CKAIK::Update (this=0x2b9d560) at AI/Skirmish/KAIK/KAIK.cpp:283
0000005 0x00007fffe54a5702 in CAIUpdateEvent::Run (this=0xd9ef330, ai=..., globalAICallback=0xd354c50) at AI/Wrappers/LegacyCpp/Event/AIUpdateEvent.h:32
#6 0x00007fffe54a5500 in CAIAI::handleEvent (this=0x9b72280, topic=3, data=0x7fffffffc660) at AI/Wrappers/LegacyCpp/AIAI.cpp:173
#7 0x00007fffe546288a in handleEvent (teamId=0, topic=3, data=0x7fffffffc660) at AI/Skirmish/KAIK/AIExport.cpp:97
#8 0x0000000000e8364c in CSkirmishAILibrary::HandleEvent (this=0x9a60fb0, teamId=0, topic=3, data=0x7fffffffc660) at rts/ExternalAI/SkirmishAILibrary.cpp:87
#9 0x0000000000ebd92e in CSkirmishAI::HandleEvent (this=0x9a011e0, topic=3, data=0x7fffffffc660) at rts/ExternalAI/SkirmishAI.cpp:48
0000010 0x0000000000ea227c in CSkirmishAIWrapper::Update (this=0x2e1f510, frame=34380) at rts/ExternalAI/SkirmishAIWrapper.cpp:370
#11 0x0000000000e7d25d in CEngineOutHandler::Update (this=0x6366220) at rts/ExternalAI/EngineOutHandler.cpp:160
0000012 0x0000000000714f43 in CGame::SimFrame (this=0x7fffe819eb00) at rts/Game/Game.cpp:3587
0000013 0x000000000071d4fc in CGame::ClientReadNet (this=0x7fffe819eb00) at rts/Game/Game.cpp:3974
0000014 0x000000000072237e in CGame::Update (this=0x7fffe819eb00) at rts/Game/Game.cpp:2830
#15 0x0000000000dac056 in SpringApp::Update (this=0x7fffffffda10) at rts/System/SpringApp.cpp:1051
#16 0x0000000000db4e23 in SpringApp::Run (this=0x7fffffffda10, argc=1, argv=0x7fffffffdb78) at rts/System/SpringApp.cpp:1182
#17 0x0000000000de3fc6 in Run (argc=1, argv=0x7fffffffdb78) at rts/System/Main.cpp:55
#18 0x0000000000de41c1 in main (argc=1, argv=0x7fffffffdb78) at rts/System/Main.cpp:90
(gdb) list AI/Skirmish/KAIK/UnitHandler.cpp:591
Line 591 of "AI/Skirmish/KAIK/UnitHandler.cpp" starts at address 0x7fffe540d37a <_ZN12CUnitHandler12NumIdleUnitsE12UnitCategory+54> and ends at 0x7fffe540d392 <_ZN12CUnitHandler12NumIdleUnitsE12UnitCategory+78>.
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)

Relationships

related to 0002191 resolvedKloot AI KAIK SIGSEGV 
related to 0002212 resolvedKloot AI kaik/engine crash in current master , with /cheat + /give all 
related to 0002211 resolvedKloot Spring engine Crash in MouseHandler.cpp:776 with current master 

Activities

hoijui

2010-11-02 10:50

reporter   ~0005816

both of these crashes (see "related to") seem to be dealing with idle units.

Issue History

Date Modified Username Field Change
2010-11-02 10:49 hoijui New Issue
2010-11-02 10:49 hoijui File Added: infolog.txt
2010-11-02 10:49 hoijui Relationship added related to 0002191
2010-11-02 10:50 hoijui Note Added: 0005816
2010-11-07 17:11 Kloot Relationship added related to 0002212
2010-11-07 23:06 abma Relationship added parent of 0002211
2010-11-07 23:08 abma Relationship replaced related to 0002211
2010-11-10 20:30 Kloot Status new => resolved
2010-11-10 20:30 Kloot Resolution open => fixed
2010-11-10 20:30 Kloot Assigned To => Kloot