View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002954 | Spring engine | General | public | 2012-02-13 23:24 | 2013-05-06 00:45 | ||||
Reporter | abma | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002954: SIGFPE in Weapon.cpp:968 | ||||||||
Description | see: http://buildbot.springrts.com/builders/validationtests/builds/906/steps/validation%20test/logs/stdio | ||||||||
Additional Information | Program received signal SIGFPE, Arithmetic exception. 0x000000000123e16c in streflop_libm::__ieee754_acosf (x=<optimized out>) at /home/buildslave/full-linux/build/rts/lib/streflop/libm/flt-32/e_acosf.cpp:60 60 return (x-x)/(x-x); /* acos(|x|>1) is NaN */ #0 0x000000000123e16c in streflop_libm::__ieee754_acosf (x=<optimized out>) at /home/buildslave/full-linux/build/rts/lib/streflop/libm/flt-32/e_acosf.cpp:60 z = <optimized out> p = <optimized out> ix = 1065468772 r = <optimized out> df = <optimized out> s = <optimized out> hx = 1065468772 #1 0x0000000000ac37b8 in streflop::acos (x=1.01377535) at /home/buildslave/full-linux/build/rts/lib/streflop/SMath.h:231 No locals. #2 0x0000000000f58f74 in streflop::acosf (x=1.01377535) at /home/buildslave/full-linux/build/rts/lib/streflop/SMath.h:361 No locals. 0000003 0x00000000010c042d in CWeapon::TryTarget (this=0xb87d7f0, tgtPos=..., targetUnit=0xbbf5910) at /home/buildslave/full-linux/build/rts/Sim/Weapons/Weapon.cpp:968 targetNormDir = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 0.772926927, y = -0.572578549, z = -0.273381323} modMainDir = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 1.00313687, y = -0.30354175, z = -0.236381531} mainDirCurAngle = -nan(0x7fd3d0) mainDirMaxAngle = 0 targetPos = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 1495.99683, y = 187.78125, z = 470.634857} targetVec = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 280.266113, y = -207.61908, z = -99.1290588} heightDiff = -201.764496 weaponRange = 448.187073 targetDirNormalized = false targetDir = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 0.772926927, y = -0.572578549, z = -0.273381323} 0000004 0x00000000010b3ee8 in CMissileLauncher::TryTarget (this=0xb87d7f0, pos=..., userTarget=false, unit=0xbbf5910) at /home/buildslave/full-linux/build/rts/Sim/Weapons/MissileLauncher.cpp:85 dir = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = -nan(0x7fd560), y = 4.59163468e-41, z = -nan(0x7fd570)} 0000005 0x00000000010c0fbe in CWeapon::TryTargetHeading (this=0xb87d7f0, heading=19650, pos=..., userTarget=false, unit=0xbbf5910) at /home/buildslave/full-linux/build/rts/Sim/Weapons/Weapon.cpp:1045 tempfrontdir = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 0.0287371036, y = -0.166005656, z = -0.985704064} temprightdir = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 0.932940722, y = 0.318363011, z = -0.0264177099} tempHeading = 32463 val = 185 #6 0x00000000010c07f4 in CWeapon::TryTargetRotate (this=0xb87d7f0, unit=0xbbf5910, userTarget=false) at /home/buildslave/full-linux/build/rts/Sim/Weapons/Weapon.cpp:1005 tempTargetPos = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 1495.99683, y = 187.78125, z = 470.634857} appHeight = 177.78125 weaponHeading = 0 enemyHeading = 19650 #7 0x00000000010327eb in CMobileCAI::ExecuteAttack (this=0xa33d680, c=...) at /home/buildslave/full-linux/build/rts/Sim/Units/CommandAI/MobileCAI.cpp:759 w = 0xb87d7f0 b2 = false b4 = false edgeFactor = 0 b3 = false diff = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = -308.497925, y = 201.764496, z = 100.207489} diffLength2d = 0 __PRETTY_FUNCTION__ = "virtual void CMobileCAI::ExecuteAttack(Command&)" #8 0x0000000001030db2 in CMobileCAI::ExecuteFight (this=0xa33d680, c=...) at /home/buildslave/full-linux/build/rts/Sim/Units/CommandAI/MobileCAI.cpp:533 __PRETTY_FUNCTION__ = "virtual void CMobileCAI::ExecuteFight(Command&)" pos = {static binder = {class_ = 0x1c79db0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3e9a0, name = 0x168524f "float3", size = 12, constructor = 0x113d99a <float3::_ConstructInstance(void*)>, destructor = 0x113d9c6 <float3::_DestructInstance(void*)>, nextBinder = 0x1c3ea60}, static memberRegistrator = 0x1c3ea38, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 8.65899702e-33, y = 0, z = -nan(0x7fdad0)} #9 0x00000000010302eb in CMobileCAI::Execute (this=0xa33d680) at /home/buildslave/full-linux/build/rts/Sim/Units/CommandAI/MobileCAI.cpp:412 c = @0x9d94a78 0000010 0x00000000010301ed in CMobileCAI::SlowUpdate (this=0xa33d680) at /home/buildslave/full-linux/build/rts/Sim/Units/CommandAI/MobileCAI.cpp:399 wantToLand = false #11 0x00000000010628fe in CUnit::SlowUpdate (this=0xa24f620) at /home/buildslave/full-linux/build/rts/Sim/Units/Unit.cpp:898 No locals. 0000012 0x000000000108c880 in CUnitHandler::Update (this=0x612b420) at /home/buildslave/full-linux/build/rts/Sim/Units/UnitHandler.cpp:316 unit = 0xa24f620 myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Unit::SlowUpdate", starttime = 125029}, autoShowGraph = false} n = 6 __PRETTY_FUNCTION__ = "void CUnitHandler::Update()" 0000013 0x0000000000ae4de5 in CGame::SimFrame (this=0x1ffb470) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:1472 cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 125026}, autoShowGraph = true} forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame (Update)", starttime = 125026}, autoShowGraph = false} 0000014 0x0000000000b64c9f in CGame::ClientReadNet (this=0x1ffb470) at /home/buildslave/full-linux/build/rts/Game/NetCommands.cpp:370 inbuf = 0x7fffec330230 "\002" dataLength = 1 packetCode = 2 '\002' packet = {px = 0x7fffec3231d0, pn = {pi_ = 0x7fffec330250}} procstarttime = {_vptr.spring_time = 0x167c080, static binder = {class_ = 0x1c79b10, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3cea0, name = 0x167c028 "spring_time", size = 16, constructor = 0x1105592 <spring_time::_ConstructInstance(void*)>, destructor = 0x11055be <spring_time::_DestructInstance(void*)>, nextBinder = 0x1c3d0a0}, static memberRegistrator = 0x1c3cf20, x = 124999} __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()" #15 0x0000000000ae1e95 in CGame::Update (this=0x1ffb470) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:882 timeNow = {_vptr.spring_time = 0x167c080, static binder = {class_ = 0x1c79b10, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c3cea0, name = 0x167c028 "spring_time", size = 16, constructor = 0x1105592 <spring_time::_ConstructInstance(void*)>, destructor = 0x11055be <spring_time::_DestructInstance(void*)>, nextBinder = 0x1c3d0a0}, static memberRegistrator = 0x1c3cf20, x = 124999} diffsecs = 0.549000025 #16 0x0000000001122926 in GML::UpdateSim (ac=0x1ffb470) at /home/buildslave/full-linux/build/rts/lib/gml/gml_base.h:37 No locals. #17 0x000000000112056c in SpringApp::Update (this=0x7fffffffeb40) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:927 ret = 1 #18 0x00000000011206e8 in SpringApp::Run (this=0x7fffffffeb40, argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1008 No locals. #19 0x0000000001100108 in MainFunc (argc=2, argv=0x7fffffffed38, ret=0x7fffffffec0c) at /home/buildslave/full-linux/build/rts/System/Main.cpp:51 app = {cmdline = 0x1c74e20, binaryName = "/tmp/spring/tests/usr/local/bin/spring-headless"} 0000020 0x00000000011004cb in Run (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:62 ret = -1 err = 0x15ec005 #21 0x0000000001100564 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) 2012-02-13 23:27 |
SIGFPE on client too: [f=0026843] Error: Floating point exception (SIGFPE) in spring 85.0.1-198-g9e23367 release (Debug Headless) [f=0026843] Error: Stacktrace: [f=0026843] Error: <0> /lib64/libpthread.so.0(+0xeef0) [0x7f465dcb7ef0] [f=0026843] Error: <1> /home/buildslave/full-linux/build/rts/Rendering/Models/AssParser.cpp:69 [f=0026843] Error: <2> /home/buildslave/full-linux/build/rts/lib/lua/../streflop/SMath.h:231 [f=0026843] Error: <3> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../include/c++/4.6.1/bits/stl_vector.h:1244 [f=0026843] Error: <4> /home/buildslave/full-linux/build/rts/Lua/LuaSyncedMoveCtrl.cpp:656 [f=0026843] Error: <5> /home/buildslave/full-linux/build/rts/Lua/LuaSyncedCtrl.cpp:1098 [f=0026843] Error: <6> /home/buildslave/full-linux/build/rts/System/FastMath.h:196 [f=0026843] Error: <7> /home/buildslave/full-linux/build/rts/Lua/LuaSyncedMoveCtrl.cpp:712 [f=0026843] Error: <8> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../include/c++/4.6.1/bits/stl_tree.h:1151 [f=0026843] Error: <9> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../include/c++/4.6.1/bits/stl_tree.h:766 |
Kloot (developer) 2012-02-14 00:51 |
NaN's as early as CMobileCAI::ExecuteFight, not good |
jK (developer) 2013-05-06 00:45 |
codelines don't exist anymore |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-13 23:24 | abma | New Issue | |
2012-02-13 23:27 | abma | Note Added: 0008284 | |
2012-02-14 00:51 | Kloot | Note Added: 0008288 | |
2013-05-06 00:45 | jK | Note Added: 0010651 | |
2013-05-06 00:45 | jK | Status | new => resolved |
2013-05-06 00:45 | jK | Resolution | open => fixed |
2013-05-06 00:45 | jK | Assigned To | => jK |