View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002218 | Spring engine | AI | public | 2010-11-11 22:58 | 2010-11-24 01:15 |
| Reporter | hoijui | Assigned To | Kloot | ||
| Priority | normal | Severity | crash | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Fixed in Version | 0.82.7 | ||||
| Summary | 0002218: SIGABRT int AI/Skirmish/KAIK/ThreatMap.cpp:157 | ||||
| Description | i ran a game of KAIK vs KAIK. i walked away from the PC, and when i came back, only units of one team were left on the screen, and this assert was triggered (i ran it in GDB). so i guess this happened when the last enemy unit died. https://github.com/spring/spring/blob/master/AI/Skirmish/KAIK/ThreatMap.cpp#L157 | ||||
| Additional Information | see attached infolog.txt, contains full translated stack-trace | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
an other crash from current 0.82 branch: #0 0x00007f938628448d in __libc_waitpid (pid=5814, stat_loc=<value optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41 #1 0x0000000000db2c11 in X_MessageBox (msg=0x7f9374330a38 "Aborted (SIGABRT)", caption=0x7f93742cb128 "Spring crashed", flags=0) at /home/abma/dev/spring/0.82/rts/System/Platform/Linux/X_MessageBox.cpp:86 #2 0x0000000000daaf36 in ErrorMessageBox (msg=..., caption=..., flags=0) at /home/abma/dev/spring/0.82/rts/System/Platform/errorhandler.cpp:58 0000003 0x0000000000db6c8f in CrashHandler::HandleSignal (signal=6) at /home/abma/dev/spring/0.82/rts/System/Platform/Linux/CrashHandler.cpp:415 0000004 <signal handler called> 0000005 0x00007f9382fa3a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007f9382fa75c0 in *__GI_abort () at abort.c:92 #7 0x00007f9382f9c941 in *__GI___assert_fail ( assertion=0x7f9364d4a350 "((e.pos.x >= 0) && (e.pos.x < ai->GetCallbackHandler()->GetMapWidth() * SQUARE_SIZE) && (e.pos.z >= 0) && (e.pos.z < ai->GetCallbackHandler()->GetMapHeight() * SQUARE_SIZE))", file=<value optimized out>, line=157, function=0x7f9364d4a560 "void CThreatMap::AddEnemyUnit(const CThreatMap::EnemyUnit&, float)") at assert.c:81 #8 0x00007f9364c65c32 in CThreatMap::AddEnemyUnit (this=0xb16c0b0, e=..., s=1) at /home/abma/dev/spring/0.82/AI/Skirmish/KAIK/ThreatMap.cpp:157 #9 0x00007f9364c6605f in CThreatMap::Update (this=0xb16c0b0) at /home/abma/dev/spring/0.82/AI/Skirmish/KAIK/ThreatMap.cpp:210 0000010 0x00007f9364cdee15 in CBuildUp::Update (this=0x3404410, frame=21120) at /home/abma/dev/spring/0.82/AI/Skirmish/KAIK/BuildUp.cpp:35 #11 0x00007f9364c6a5aa in CKAIK::Update (this=0xa64d4b0) at /home/abma/dev/spring/0.82/AI/Skirmish/KAIK/KAIK.cpp:283 0000012 0x00007f9364d161c7 in CAIUpdateEvent::Run (this=0x7f93745a14d0, ai=..., globalAICallback=0xb8f9700) at /home/abma/dev/spring/0.82/AI/Wrappers/LegacyCpp/Event/AIUpdateEvent.h:32 0000013 0x00007f9364d1516b in CAIAI::handleEvent (this=0x2df13d0, topic=3, data=0x7fffa2a47f70) at /home/abma/dev/spring/0.82/AI/Wrappers/LegacyCpp/AIAI.cpp:173 0000014 0x00007f9364cd1b88 in handleEvent (teamId=0, topic=3, data=0x7fffa2a47f70) at /home/abma/dev/spring/0.82/AI/Skirmish/KAIK/AIExport.cpp:97 #15 0x0000000000e430e7 in CSkirmishAILibrary::HandleEvent (this=0xc6f54c0, teamId=0, topic=3, data=0x7fffa2a47f70) at /home/abma/dev/spring/0.82/rts/ExternalAI/SkirmishAILibrary.cpp:87 #16 0x0000000000e2add8 in CSkirmishAI::HandleEvent (this=0xcae4300, topic=3, data=0x7fffa2a47f70) at /home/abma/dev/spring/0.82/rts/ExternalAI/SkirmishAI.cpp:48 #17 0x0000000000e54d8d in CSkirmishAIWrapper::Update (this=0xbbb5cd0, frame=21120) at /home/abma/dev/spring/0.82/rts/ExternalAI/SkirmishAIWrapper.cpp:373 #18 0x0000000000e44dec in CEngineOutHandler::Update (this=0x6ada5d0) at /home/abma/dev/spring/0.82/rts/ExternalAI/EngineOutHandler.cpp:160 #19 0x00000000007da2e6 in CGame::SimFrame (this=0x2ed4d90) at /home/abma/dev/spring/0.82/rts/Game/Game.cpp:3589 0000020 0x00000000007dc0ed in CGame::ClientReadNet (this=0x2ed4d90) at /home/abma/dev/spring/0.82/rts/Game/Game.cpp:3976 #21 0x00000000007d628a in CGame::Update (this=0x2ed4d90) at /home/abma/dev/spring/0.82/rts/Game/Game.cpp:2832 #22 0x0000000000d8079f in SpringApp::Update (this=0x7fffa2a48cf0) at /home/abma/dev/spring/0.82/rts/System/SpringApp.cpp:1052 #23 0x0000000000d80b5d in SpringApp::Run (this=0x7fffa2a48cf0, argc=3, argv=0x7fffa2a48e68) at /home/abma/dev/spring/0.82/rts/System/SpringApp.cpp:1183 0000024 0x0000000000d85417 in Run (argc=3, argv=0x7fffa2a48e68) at /home/abma/dev/spring/0.82/rts/System/Main.cpp:55 #25 0x0000000000d8556f in main (argc=3, argv=0x7fffa2a48e68) at /home/abma/dev/spring/0.82/rts/System/Main.cpp:90 |
|
|
resolved with b98adba0 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-11-11 22:58 | hoijui | New Issue | |
| 2010-11-11 22:58 | hoijui | Status | new => assigned |
| 2010-11-11 22:58 | hoijui | Assigned To | => Kloot |
| 2010-11-11 22:58 | hoijui | File Added: infolog.txt | |
| 2010-11-23 01:46 | abma | Project | AI => Spring engine |
| 2010-11-23 19:04 | abma | Note Added: 0005968 | |
| 2010-11-23 19:05 | abma | Note Edited: 0005968 | |
| 2010-11-24 01:15 | Kloot | Note Added: 0005969 | |
| 2010-11-24 01:15 | Kloot | Status | assigned => resolved |
| 2010-11-24 01:15 | Kloot | Fixed in Version | => 0.82.6.1+git |
| 2010-11-24 01:15 | Kloot | Resolution | open => fixed |