View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002652 | Spring engine | AI | public | 2011-09-15 20:23 | 2011-09-16 11:00 | ||||
Reporter | abma | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | major | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002652: SIGFPE in RAI/Builder.cpp:769 | ||||||||
Description | Program received signal SIGFPE, Arithmetic exception. #0 0x00007ffff0c2769d in cBuilder::UBuilderIdle (this=0x7466cf0, unit=@0x7fffffffd784, U=0x8807e28) at /home/buildslave/full-linux/build/AI/Skirmish/RAI/Builder.cpp:769 Demand = {-nan(0x7fcff0), 0, 3, 3, 1.40129846e-45, -nan(0x7fffff), 5.12055441e-35, 0} iBest = 35452912 iFrame = 90 MRatio = 1 ERatio = 1 MetalRate = 2.25 EnergyRate = 33 c = {id = 0, aiCommandId = -1, options = 0 '\000', params = std::vector of length 0, capacity 0, tag = 0, timeOut = 2147483647} OnOffPower = -0 fWeaponPower = 6.25 HaveOrders = false #1 0x00007ffff0c08c3a in cUnitManager::UnitIdle (this=0x7466a60, unit=24419, U=0x8807e28) at /home/buildslave/full-linux/build/AI/Skirmish/RAI/UnitManager.cpp:115 No locals. #2 0x00007ffff0bc5191 in cRAI::UnitIdle (this=0x7382560, unit=24419) at /home/buildslave/full-linux/build/AI/Skirmish/RAI/RAI.cpp:517 U = 0x8807e28 0000003 0x00007ffff0bc81c1 in cRAI::Update (this=0x7382560) at /home/buildslave/full-linux/build/AI/Skirmish/RAI/RAI.cpp:873 i = {first = 24419, second = {ud = , udr = , udrBL = , area = , BuildQ = , CloakUI = , OnOffUI = , SWeaponUI = , group = , E = , enemyEff = , UE = , AIDisabled = false, humanCommand = false, unitBeingBuilt = false, inCombat = false, lastUnitIdleFrame = 90, lastUnitDamagedFrame = 0, RS = , UGuards = std::map with 0 elements, UGuarding = std::map with 0 elements, URepair = std::map with 0 elements, UDefences = std::map with 0 elements, UDefending = std::map with 0 elements, enemyID = -1}} 0000004 0x00007ffff0c37659 in springLegacyAI::CAIUpdateEvent::Run (this=0x21a19e0, ai=..., globalAICallback=0x7575a40) at /home/buildslave/full-linux/build/AI/Wrappers/LegacyCpp/Event/AIUpdateEvent.h:17 No locals. 0000005 0x00007ffff0c36a4e in springLegacyAI::CAIAI::handleEvent (this=0x6d36e60, topic=3, data=0x7fffffffdda0) at /home/buildslave/full-linux/build/AI/Wrappers/LegacyCpp/AIAI.cpp:161 e = 0x21a19e0 ret = -1 #6 0x00007ffff0c04fc2 in handleEvent (skirmishAIId=0, topic=3, data=0x7fffffffdda0) at /home/buildslave/full-linux/build/AI/Skirmish/RAI/AIExport.cpp:99 No locals. #7 0x0000000001155f95 in CSkirmishAILibrary::HandleEvent (this=0x21b4cb0, skirmishAIId=0, topic=3, data=0x7fffffffdda0) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAILibrary.cpp:95 ret = 0 #8 0x0000000001148e37 in CSkirmishAI::HandleEvent (this=0x1f44e90, topic=3, data=0x7fffffffdda0) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAI.cpp:57 myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "AI t:0 id:0 RAI 0.601", starttime = 9067}, autoShowGraph = false} #9 0x000000000115a9bc in CSkirmishAIWrapper::Update (this=0x24abb80, frame=90) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAIWrapper.cpp:378 evtData = {frame = 90} 0000010 0x0000000001122461 in CEngineOutHandler::Update (this=0x4ae8a90) at /home/buildslave/full-linux/build/rts/ExternalAI/EngineOutHandler.cpp:167 ai = {first = 0 '\000', second = } myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "AI Total", starttime = 9067}, autoShowGraph = false} frame = 90 #11 0x0000000000a7a533 in CGame::SimFrame (this=0x1d93fe0) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:1416 cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 9067}, autoShowGraph = true} forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "\260\336\377\377\377\177\000\000\316\333\246\000\000\000\000\000\352Z\000\026\000\000\000\000\001\000\000\000\000\000\000\000\320\351\377\377\377\177\000\000\210\214\257\000\000\000\000\000\060\215\203\b\000\000\000\000\320x\323\006\000\000\000\000\340\214\203\b\000\000\000\000 \215\203\b\000\000\000\000 \215\203\b\001\000\000\000\310x\376\006\000\000\000\000\220\215\203\b\377\377\377\377\360\214\203\b\000\000\000\000\240\342\377\377\377\177\000\000(\312\027\001", '\000' <repeats 12 times>"\320, x\323\006\000\000\000\000\300\354\352\006\000\000\000\000\320x\323\006\000\000\000\000\340!\301\006\000\000\000\000\005\000\000\000\000\000\000\000P\216\203\b\000\000\000\000\340\215\203\b\000\000\000\000\340\215\203\b\002\000\000\000\030y\376\006\000\000\000\000@L\002\a\000\000\000\000\340?\331\001\000\000\000\000\260\215\203\b\000\000\000\000 \000\000\000\000\000\000\000\000yu\b\000\000\000\000\020\216\203\b\000\000\000\000\020\216\203\b\000\000\000\000\020\216\365\006\000\000\000\000\200\215\203\b\000\000\000\000\220"... <Address 0x7ffffffff000 out of bounds>, starttime = 10934473}, autoShowGraph = false} 0000012 0x0000000000af8c88 in CGame::ClientReadNet (this=0x1d93fe0) at /home/buildslave/full-linux/build/rts/Game/NetCommands.cpp:362 inbuf = 0x7fffec001f20 "\002\037" dataLength = 1 packetCode = 2 '\002' packet = {px = 0x7fffec001f60, pn = {pi_ = 0x7fffec001f40}} procstarttime = 9064 __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()" 0000013 0x0000000000a77e8b in CGame::Update (this=0x1d93fe0) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:889 timeNow = 9064 difTime = 8 dif = 0.00800000038 0000014 0x000000000107ae65 in SpringApp::UpdateSim (this=0x7fffffffeb70, ac=0x1d93fe0) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:982 ret = false #15 0x000000000107aed9 in SpringApp::Update (this=0x7fffffffeb70) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1060 ret = 1 #16 0x000000000107b0db in SpringApp::Run (this=0x7fffffffeb70, argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1164 No locals. #17 0x00000000010599c7 in MainFunc (argc=2, argv=0x7fffffffed38, ret=0x7fffffffec0c) at /home/buildslave/full-linux/build/rts/System/Main.cpp:51 app = {cmdline = 0x1ba59c0, lastRequiredDraw = 60, static ogc = 0x0} #18 0x0000000001059c5a in Run (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:62 ret = -1 err = 0x1542bb5 #19 0x0000000001059cf3 in main (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:92 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2011-09-16 11:00 |
https://github.com/spring/spring/commit/57e7b49352100365a0649a3b5e81429377078607 |