View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002783 | Spring engine | AI | public | 2011-11-27 05:45 | 2011-12-03 22:28 | ||||
Reporter | abma | ||||||||
Assigned To | hoijui | ||||||||
Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | 84.0.1 | |||||||
Summary | 0002783: SIGFPE in AAIAttackManager.cpp:172 | ||||||||
Description | http://buildbot.springrts.com/builders/validationtests/builds/532/steps/validation%20test_3/logs/stdio | ||||||||
Additional Information | Program received signal SIGFPE, Arithmetic exception. 0x00007ffff0bb9e61 in AAIAttackManager::LaunchAttack (this=0x7056c70) at /home/buildslave/full-linux/build/AI/Skirmish/AAI/AAIAttackManager.cpp:172 172 my_rating = (1.0f - sector->GetLostUnits(1.0f, 1.0f, 1.0f, 1.0f, 1.0f) / max_lost_units) * sector->enemy_structures * att_power / ( def_power * (float)(2 + sector->distance_to_base) ); #0 0x00007ffff0bb9e61 in AAIAttackManager::LaunchAttack (this=0x7056c70) at /home/buildslave/full-linux/build/AI/Skirmish/AAI/AAIAttackManager.cpp:172 y = 1 x = 2 lost_units = 0 def_power = 7.95829201 att_power = 45.5918732 dest = 0x0 sector = 0x656c498 total_combat_groups = 1 max_lost_units = 0 best_rating = 0 my_rating = 0 #1 0x00007ffff0bb9668 in AAIAttackManager::Update (this=0x7056c70) at /home/buildslave/full-linux/build/AI/Skirmish/AAI/AAIAttackManager.cpp:69 No locals. #2 0x00007ffff0c2d260 in AAI::Update (this=0x7256d80) at /home/buildslave/full-linux/build/AI/Skirmish/AAI/AAI.cpp:826 myScopedTimerFromMakro = {part = 0x7ffff0c5aefd "Check-Attack", profiler = 0x7256e20, startTime = 1322311402990} tick = 10021 0000003 0x00007ffff0c378e1 in springLegacyAI::CAIUpdateEvent::Run (this=0x4ebb3d0, ai=..., globalAICallback=0x6f52420) at /home/buildslave/full-linux/build/AI/Wrappers/LegacyCpp/Event/AIUpdateEvent.h:17 No locals. 0000004 0x00007ffff0c36cd2 in springLegacyAI::CAIAI::handleEvent (this=0x657b380, topic=3, data=0x7fffffffdd20) at /home/buildslave/full-linux/build/AI/Wrappers/LegacyCpp/AIAI.cpp:161 e = 0x4ebb3d0 ret = -1 0000005 0x00007ffff0bd71b2 in handleEvent (skirmishAIId=1, topic=3, data=0x7fffffffdd20) at /home/buildslave/full-linux/build/AI/Skirmish/AAI/AIExport.cpp:97 No locals. #6 0x00000000011b2835 in CSkirmishAILibrary::HandleEvent (this=0x68d1e70, skirmishAIId=1, topic=3, data=0x7fffffffdd20) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAILibrary.cpp:95 ret = 32512 #7 0x00000000011a56d7 in CSkirmishAI::HandleEvent (this=0x660b900, topic=3, data=0x7fffffffdd20) at /home/buildslave/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 = 20575}, autoShowGraph = false} #8 0x00000000011b7623 in CSkirmishAIWrapper::Update (this=0x6e92270, frame=10021) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAIWrapper.cpp:378 evtData = {frame = 10021} #9 0x000000000117d912 in CEngineOutHandler::Update (this=0x49bfbd0) at /home/buildslave/full-linux/build/rts/ExternalAI/EngineOutHandler.cpp:167 ai = {first = 1 '\001', second = } myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "AI Total", starttime = 20575}, autoShowGraph = false} frame = 10021 0000010 0x0000000000ac4027 in CGame::SimFrame (this=0x1df8480) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:1410 cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 20575}, autoShowGraph = true} forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "0\336\377\377\377\177\000\000>y\253\000\000\000\000\000$'\000\000\000\000\000\000\001\000\000\000\000\000\000\000\300\351\377\377\377\177\000\000P/\264\000\000\000\000\000 \351,\b\000\000\000\000@\351,\b\000\000\000\000\250\016\062\a\377\377\377\377\000\216\357\006\000\000\000\000\220\336\377\377\375\377\377\377\060\351,\b\000\000\000\000\360\336\377\377\377\177\000\000\320H\034\001\000\000\000\000\000\000\200?\001\000\000\000\300\303\325\a\377\377\377\377 \351,\b\000\000\000\000P\373\272\006\000\000\000\000 \351,\b\000\000\000\000 o\334\006\001\000\000\000@\350,\b\000\000\000\000P\373\272\006\000\000\000\000\360\347,\b\000\000\000\000\060\350,\b\000\000\000\000\360Cj\006\001\000\000\000\210\215\357\006\000\000\000\000\000\351,\b\377\377\377\377\200\204\337\001\000\000\000\000\220\342\377\377\377\177\000\000,\226\035\001\000\000\000\000`\337\377\377\000\000\000\000P\373\272\006\000\000\000\000 \340\350\006\000\000\000\000P\373\272\006\000\000\000\000\320\071j\006\000\000\000\000\005\000\000\000\000\000\000\000"... <Address 0x7ffffffff000 out of bounds>, starttime = 11236921}, autoShowGraph = false} #11 0x0000000000b42f50 in CGame::ClientReadNet (this=0x1df8480) at /home/buildslave/full-linux/build/rts/Game/NetCommands.cpp:362 inbuf = 0x7fffec0036e0 "\002\066" dataLength = 1 packetCode = 2 '\002' packet = {px = 0x7fffec001680, pn = {pi_ = 0x7fffec0036a0}} procstarttime = 20566 __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()" 0000012 0x0000000000ac197f in CGame::Update (this=0x1df8480) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:884 timeNow = 20566 difTime = 31 dif = 0.0310000014 0000013 0x00000000010d2e11 in SpringApp::UpdateSim (this=0x7fffffffeb60, ac=0x1df8480) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1000 ret = false 0000014 0x00000000010d2e8f in SpringApp::Update (this=0x7fffffffeb60) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1069 updateSim = true ret = 1 #15 0x00000000010d30b1 in SpringApp::Run (this=0x7fffffffeb60, argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1191 No locals. #16 0x00000000010afdf2 in MainFunc (argc=2, argv=0x7fffffffed38, ret=0x7fffffffec0c) at /home/buildslave/full-linux/build/rts/System/Main.cpp:51 app = {cmdline = 0x1c0cc10, lastRequiredDraw = 9537, static ogc = 0x0, binaryName = "/tmp/spring/tests/usr/local/bin/spring-headless"} #17 0x00000000010b0088 in Run (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:62 ret = -1 err = 0x159f7b5 #18 0x00000000010b0121 in main (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:92 No locals. A debugging session is active. Inferior 1 [process 31516] will be killed. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
hoijui (reporter) 2011-12-03 22:28 |
fixed in: https://github.com/spring/spring/commit/3cd3fca817eeb8f85a96a26f14ba79259dc3d8a7 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-27 05:45 | abma | New Issue | |
2011-11-27 05:45 | abma | Severity | minor => crash |
2011-12-03 21:17 | hoijui | Status | new => assigned |
2011-12-03 21:17 | hoijui | Assigned To | => hoijui |
2011-12-03 22:28 | hoijui | Note Added: 0007810 | |
2011-12-03 22:28 | hoijui | Status | assigned => resolved |
2011-12-03 22:28 | hoijui | Fixed in Version | => 84.0.1 |
2011-12-03 22:28 | hoijui | Resolution | open => fixed |