2025-08-02 07:37 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002787Spring engineGeneralpublic2011-11-28 17:26
Reporterabma 
Assigned To 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusclosedResolutionduplicate 
Product Version 
Target VersionFixed in Version 
Summary0002787: (validationtest) SIGSEV in SyncedFloat3.h:103
Descriptionhttp://buildbot.springrts.com/builders/validationtests/builds/546/steps/validation%20test_3/logs/stdio
Additional InformationProgram received signal SIGSEGV, Segmentation fault.
0x0000000000ae9306 in SyncedFloat3::operator+ (this=0x485cbac, f=...) at /home/buildslave/full-linux/build/rts/System/Sync/SyncedFloat3.h:103
103 return float3(x+f.x, y+f.y, z+f.z);
#0 0x0000000000ae9306 in SyncedFloat3::operator+ (this=0x485cbac, f=...) at /home/buildslave/full-linux/build/rts/System/Sync/SyncedFloat3.h:103
No locals.
#1 0x0000000000b765da in TestConeHelper (from=..., weaponDir=..., length=451.413055, spread=0, obj=0x485cab0) at /home/buildslave/full-linux/build/rts/Game/TraceRay.cpp:35
        objDir = {static binder = {class_ = 0x1c12b30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1bd84c0, name = 0x1632b8f "float3", size = 12, constructor = 0x10f0162 <float3::_ConstructInstance(void*)>, destructor = 0x10f018e <float3::_DestructInstance(void*)>, nextBinder = 0x1bd8580}, static memberRegistrator = 0x1bd8558, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 1.60015012e-37, y = 0, z = -nan(0x7fc7a0)}
        closeLength = 4.59163468e-41
        closeVect = {static binder = {class_ = 0x1c12b30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1bd84c0, name = 0x1632b8f "float3", size = 12, constructor = 0x10f0162 <float3::_ConstructInstance(void*)>, destructor = 0x10f018e <float3::_DestructInstance(void*)>, nextBinder = 0x1bd8580}, static memberRegistrator = 0x1bd8558, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 21.7502441, y = -12.4993372, z = 43.8023376}
        r = -nan(0x7fd7f0)
#2 0x0000000000b759ab in TraceRay::TestCone (from=..., dir=..., length=451.413055, spread=0, allyteam=1, testFriendly=false, testNeutral=false, testFeatures=true, owner=0x8137470) at /home/buildslave/full-linux/build/rts/Game/TraceRay.cpp:426
        f = 0x485cab0
        features = std::list = {[0] = 0x4d5ab10, [1] = 0x4d5a370, [2] = 0x485e000, [3] = 0x485cab0, [4] = 0x485bb70, [5] = 0x4858550, [6] = 0x4856250}
        featuresIt =
        quad = @0x259ccf0
        qi = 0x7fffffffc7f8
        quads = {119, 118, 134, 133, 1063614769, -1151546382, -14335, 32512, -14336, 1, 0, 1130403677, -9920, 32767, 135804584, 0, 133, 32767, 82471784, 1, -14112, 32767, -14144, 32767, 1092080908, 1060324548, -1047980789, 0, 1092080908, 1101004800, -14160, 32767, -14080, 32767, 12019473, 0, 1092080908, 1060324548, -1047980789, 1157902530, 75869296, 0, 0, 1130509076, -9648, 32767, 135804584, 0, 1092080908, 1060324548, -1047980789, 1128754347, 1116119584, -1076455680, 1097641216, 32767, 1151959040, 1128745684, 1157808128, 0, 1114066685, -1072161615, 1107258251, 0, -9840, 32767, 1101529088, 1115959900, -9760, 32767, 12016043, 0, 1063253798, -1122809733, 71478529, 0, -14080, 1, 0, 1130509076, -9648, 32767, 135804584, 0, 133, 32767, -9512, 32767, 1084227584, 1125273962, -1083500642, 0, -1094014817, 3, 1152957622, 1128754347, 1158139751, 32767, 38836688, 0, 1151856878, 1128754347, 1157902530, 0, 1158134937, 0, 0, 0, 0, 0, 11448280, 0, -13872, 32767, -158695949, 32767, -13856, 32767, 28925576, 0, -1022992836, 0, -1033393860, 0, 8, 0, 84948904, 0, -13792, 32767, 1, 0, -14512, 32767, 115201360, 0, 135839872, 0, 135839776, 0, 37212608, 0, -13744, 32767, -13728, 32767, 11331355, 0, 0, 133, 37212608, 0, -9504, 32767, -9520, 32767, -9392, 32767, 12016617, 0, -1083500642, 0, 8, 0, 84948736, 1, 0, 1077936128, 1025634892, -1185827048, 982923004, 1125273962, -9312, 32767, 133078360, 0, 133, 0, -1, -1, -13584, 32767, 18632947, 0, -13456, 1, 112817216, 0, 135839824, 0, 112817216, 0, -13536, 32767, 18598863, 0, -13312, 32767, 112817216, 0...}
        endQuad = 0x7fffffffc800
0000003 0x000000000106450b in CMissileLauncher::TryTarget (this=0x7eec610, pos=..., userTarget=false, unit=0x813f000) at /home/buildslave/full-linux/build/rts/Sim/Weapons/MissileLauncher.cpp:150
        length = 451.413055
        dir = {static binder = {class_ = 0x1c12b30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1bd84c0, name = 0x1632b8f "float3", size = 12, constructor = 0x10f0162 <float3::_ConstructInstance(void*)>, destructor = 0x10f018e <float3::_DestructInstance(void*)>, nextBinder = 0x1bd8580}, static memberRegistrator = 0x1bd8558, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = -0.896419048, y = -0.00689427834, z = 0.443153799}
0000004 0x0000000001070178 in CWeapon::AttackUnit (this=0x7eec610, unit=0x813f000, userTarget=false) at /home/buildslave/full-linux/build/rts/Sim/Weapons/Weapon.cpp:552
        tempTargetPos = {static binder = {class_ = 0x1c12b30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1bd84c0, name = 0x1632b8f "float3", size = 12, constructor = 0x10f0162 <float3::_ConstructInstance(void*)>, destructor = 0x10f018e <float3::_DestructInstance(void*)>, nextBinder = 0x1bd8580}, static memberRegistrator = 0x1bd8558, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 1486.68079, y = 192.835144, z = 2185.91187}
        appHeight = 181.292297
0000005 0x0000000000fe24b2 in CMobileCAI::ExecuteFight (this=0x7e56c70, c=...) at /home/buildslave/full-linux/build/rts/Sim/Units/CommandAI/MobileCAI.cpp:537
        __PRETTY_FUNCTION__ = "virtual void CMobileCAI::ExecuteFight(Command&)"
        pos = {static binder = {class_ = 0x1c12b30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1bd84c0, name = 0x1632b8f "float3", size = 12, constructor = 0x10f0162 <float3::_ConstructInstance(void*)>, destructor = 0x10f018e <float3::_DestructInstance(void*)>, nextBinder = 0x1bd8580}, static memberRegistrator = 0x1bd8558, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 3.45201916e-34, y = 0, z = -nan(0x7fdb30)}
#6 0x0000000000fe1b57 in CMobileCAI::Execute (this=0x7e56c70) at /home/buildslave/full-linux/build/rts/Sim/Units/CommandAI/MobileCAI.cpp:426
        c = @0x7e37348
#7 0x0000000000fe1a5a in CMobileCAI::SlowUpdate (this=0x7e56c70) at /home/buildslave/full-linux/build/rts/Sim/Units/CommandAI/MobileCAI.cpp:413
        wantToLand = false
#8 0x00000000010141f8 in CUnit::SlowUpdate (this=0x8137470) at /home/buildslave/full-linux/build/rts/Sim/Units/Unit.cpp:934
No locals.
#9 0x000000000103ba90 in CUnitHandler::Update (this=0x4fbc700) at /home/buildslave/full-linux/build/rts/Sim/Units/UnitHandler.cpp:318
        unit = 0x8137470
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Unit::SlowUpdate", starttime = 27651}, autoShowGraph = false}
        n = 3
        __PRETTY_FUNCTION__ = "void CUnitHandler::Update()"
0000010 0x0000000000ac4925 in CGame::SimFrame (this=0x1dffaf0) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:1428
        cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 27650}, autoShowGraph = true}
        forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame (Update)", starttime = 27650}, autoShowGraph = false}
#11 0x0000000000b437d4 in CGame::ClientReadNet (this=0x1dffaf0) at /home/buildslave/full-linux/build/rts/Game/NetCommands.cpp:362
        inbuf = 0x7fffec0021f0 "\002\""
        dataLength = 1
        packetCode = 2 '\002'
        packet = {px = 0x7fffec002080, pn = {pi_ = 0x7fffec002210}}
        procstarttime = 27641
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
0000012 0x0000000000ac217f in CGame::Update (this=0x1dffaf0) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:884
        timeNow = 27641
        difTime = 36
        dif = 0.0360000022
0000013 0x00000000010d3381 in SpringApp::UpdateSim (this=0x7fffffffeb60, ac=0x1dffaf0) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1000
        ret = false
0000014 0x00000000010d33ff in SpringApp::Update (this=0x7fffffffeb60) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1069
        updateSim = true
        ret = 1
#15 0x00000000010d3621 in SpringApp::Run (this=0x7fffffffeb60, argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1191
No locals.
#16 0x00000000010b0486 in MainFunc (argc=2, argv=0x7fffffffed38, ret=0x7fffffffec0c) at /home/buildslave/full-linux/build/rts/System/Main.cpp:51
        app = {cmdline = 0x1c0dc10, lastRequiredDraw = 16319, static ogc = 0x0, binaryName = "/tmp/spring/tests/usr/local/bin/spring-headless"}
#17 0x00000000010b071c in Run (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:62
        ret = -1
        err = 0x159fd45
#18 0x00000000010b07b5 in main (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:92
No locals.
A debugging session is active.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
duplicate of 0002782resolvedKloot SIGSEGV in SyncedFloat3.h:103 
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2011-11-28 17:08 abma New Issue
2011-11-28 17:14 abma Relationship added related to 0002782
2011-11-28 17:15 abma Relationship replaced duplicate of 0002782
2011-11-28 17:26 abma Status new => closed
2011-11-28 17:26 abma Resolution open => duplicate
+Issue History