2025-07-22 11:03 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003601Spring engineGeneralpublic2013-03-20 20:15
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version93.2.1+git 
Target VersionFixed in Version 
Summary0003601: assertion fails in rts/System/float3.h:464 (called by GroundMoveType.cpp:2069)
Description[f=0033109] Error: Aborted (SIGABRT) in spring 93.2.1-61-g3b7b798 release (Debug OMP)
[f=0033109] Error: Stacktrace:
[f=0033109] Error: <0> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0) [0x7f40fcd24bd0]
[f=0033109] Error: <1> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f40f9862037]
[f=0033109] Error: <2> /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f40f9865698]
[f=0033109] Error: <3> /lib/x86_64-linux-gnu/libc.so.6(+0x2fe03) [0x7f40f985ae03]
[f=0033109] Error: <4> /lib/x86_64-linux-gnu/libc.so.6(+0x2feb2) [0x7f40f985aeb2]
[f=0033109] Error: <5> /home/abma/dev/spring/develop/rts/System/float3.h:464
[f=0033109] Error: <6> /var/tmp/home/dev/spring/develop/rts/Sim/MoveTypes/GroundMoveType.cpp:2069
[f=0033109] Error: <7> /var/tmp/home/dev/spring/develop/rts/Sim/Units/CommandAI/MobileCAI.cpp:813
[f=0033109] Error: <8> /var/tmp/home/dev/spring/develop/rts/Sim/Units/CommandAI/CommandAI.cpp:1333
[f=0033109] Error: <9> /var/tmp/home/dev/spring/develop/rts/Sim/Units/CommandAI/MobileCAI.cpp:414
[f=0033109] Error: <10> /var/tmp/home/dev/spring/develop/rts/Sim/Units/CommandAI/MobileCAI.cpp:396
[f=0033109] Error: <11> /var/tmp/home/dev/spring/develop/rts/Sim/Units/Unit.cpp:955
[f=0033109] Error: <12> /var/tmp/home/dev/spring/develop/rts/Sim/Units/UnitHandler.cpp:300
[f=0033109] Error: <13> /var/tmp/home/dev/spring/develop/rts/Game/Game.cpp:1519
[f=0033109] Error: <14> /var/tmp/home/dev/spring/develop/rts/Game/NetCommands.cpp:392
[f=0033109] Error: <15> /var/tmp/home/dev/spring/develop/rts/Game/Game.cpp:906
[f=0033109] Error: <16> /home/abma/dev/spring/develop/rts/System/Platform/Threading.cpp:365
[f=0033109] Error: <17> /var/tmp/home/dev/spring/develop/rts/System/SpringApp.cpp:951
[f=0033109] Error: <18> /var/tmp/home/dev/spring/develop/rts/System/SpringApp.cpp:1036
[f=0033109] Error: <19> /home/abma/dev/spring/develop/rts/System/Main.cpp:66
[f=0033109] Error: <20> /home/abma/dev/spring/develop/rts/System/Main.cpp:151
[f=0033109] Error: <21> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f40f984cea5]
[f=0033109] Error: <22> ??:?
Additional Information(gdb) bt full
#0 0x00007f40fcd24777 in __libc_waitpid (pid=<optimized out>, stat_loc=<optimized out>,
    options=<optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:40
        resultvar = 18446744073709551104
        oldtype = 1
        result = <optimized out>
#1 0x0000000000ce9510 in Platform::MsgBox (message=..., caption=..., flags=@0x7fffe6cd2e6c: 9)
    at rts/System/Platform/Linux/MessageBox.cpp:104
        okButton = 249
        caption2 = "Spring crashed\n", '\000' <repeats 83 times> <incomplete sequence \346>
        pid = 2289
        status = 32576
        len = 109
        msg2 = "Spring has crashed:\nAborted (SIGABRT).\n\nA stacktrace has been written to:\n /var/tmp/home/.spring/infolog.txt\n", '\000' <repeats 889 times>
#2 0x0000000000c4797f in ExitMessage (msg=..., caption=..., flags=9, forced=false)
    at rts/System/Platform/errorhandler.cpp:41
No locals.
0000003 0x0000000000c47b6f in ErrorMessageBox (msg=..., caption=..., flags=9)
    at rts/System/Platform/errorhandler.cpp:99
        forcedExitThread = 0x1f141630
0000004 0x0000000000ce1b4e in CrashHandler::HandleSignal (signal=6)
    at rts/System/Platform/Linux/CrashHandler.cpp:560
        buf = <incomplete type>
        error = {static npos = <optimized out>,
---Type <return> to continue, or q <return> to quit---
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1dc79ba8 "Aborted (SIGABRT)"}}
        keepRunning = false
0000005 <signal handler called>
No locals.
#6 0x00007f40f9862037 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 484
        selftid = 484
#7 0x00007f40f9865698 in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x7fffe6cd5859, sa_sigaction = 0x7fffe6cd5859},
          sa_mask = {__val = {139917042309412, 18553254, 463, 140737065596512, 139917040928913,
              140737065596568, 19058304, 51116848752, 4, 140737065596448, 0, 0, 0,
              139917042308755, 21474836480, 139917042343840}}, sa_flags = -45637632,
          sa_restorer = 0x7f40f99b1578}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#8 0x00007f40f985ae03 in __assert_fail_base (
    fmt=0x7f40f99b1578 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x11b19ba "SqLength() > NORMALIZE_EPS",
    file=file@entry=0x11b19a6 "rts/System/float3.h", line=line@entry=463,
    function=function@entry=0x11b1af0 <float3::Normalize()::__PRETTY_FUNCTION__> "float3& float3::Normalize()") at assert.c:92
---Type <return> to continue, or q <return> to quit---
        str = 0x1b8caee0 "\240w\257\033"
        total = 4096
#9 0x00007f40f985aeb2 in __GI___assert_fail (assertion=0x11b19ba "SqLength() > NORMALIZE_EPS",
    file=0x11b19a6 "rts/System/float3.h", line=463,
    function=0x11b1af0 <float3::Normalize()::__PRETTY_FUNCTION__> "float3& float3::Normalize()")
    at assert.c:101
No locals.
0000010 0x0000000000529487 in float3::Normalize (this=0x7fffe6cd37d0) at rts/System/float3.h:463
        __PRETTY_FUNCTION__ = "float3& float3::Normalize()"
#11 0x0000000000a451e8 in CGroundMoveType::KeepPointingTo (this=0x1ca3fb00, pos=..., distance=720,
    aggressive=true) at rts/Sim/MoveTypes/GroundMoveType.cpp:2068
        frontWeapon = 0x1c5cd400
        dir1 = {static binder = {class_ = 0x379eb60, base = 0x0, flags = creg::CF_None,
            memberRegistrator = 0x18f6c60 <float3::memberRegistrator>, name = 0x126c251 "float3",
            size = 12, alignment = 8, hasVTable = false,
            constructor = 0xc7753a <float3::_ConstructInstance(void*)>,
            destructor = 0xc77566 <float3::_DestructInstance(void*)>,
            nextBinder = 0x18f6be0 <float2::binder>}, static memberRegistrator =
    0x18f6d28 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05,
          static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 8191, static maxzpos = 8191, {{
              x = 0, y = 0, z = 0}, {r = 0, g = 0, b = 0}, {x1 = 0, y1 = 0, x2 = 0}, {s = 0,
              t = 0, p = 0}, {xstart = 0, ystart = 0, xend = 0}}}
        dir2 = {static binder = {class_ = 0x379eb60, base = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

, flags = creg::CF_None,
            memberRegistrator = 0x18f6c60 <float3::memberRegistrator>, name = 0x126c251 "float3",
---Type <return> to continue, or q <return> to quit---
            size = 12, alignment = 8, hasVTable = false,
            constructor = 0xc7753a <float3::_ConstructInstance(void*)>,
            destructor = 0xc77566 <float3::_DestructInstance(void*)>,
            nextBinder = 0x18f6be0 <float2::binder>},
          static memberRegistrator = 0x18f6d28 <float3mreg>, static hasVTable = false,
          static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13,
          static maxxpos = 8191, static maxzpos = 8191, {{x = 531.613159, y = 674.663269,
              z = -763.921875}, {r = 531.613159, g = 674.663269, b = -763.921875}, {
              x1 = 531.613159, y1 = 674.663269, x2 = -763.921875}, {s = 531.613159,
              t = 674.663269, p = -763.921875}, {xstart = 531.613159, ystart = 674.663269,
              xend = -763.921875}}}
        heading = -6451
0000012 0x0000000000b468e4 in CMobileCAI::ExecuteAttack (this=0x1b887e00, c=...)
    at rts/Sim/Units/CommandAI/MobileCAI.cpp:809
        canChaseTarget = false
        targetBehind = false
        tryTargetRotate = true
        tryTargetHeading = true
        edgeFactor = 0
        targetMidPosVec = {static binder = {class_ = 0x379eb60, base = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

, flags = creg::CF_None,
            memberRegistrator = 0x18f6c60 <float3::memberRegistrator>, name = 0x126c251 "float3",
            size = 12, alignment = 8, hasVTable = false,
            constructor = 0xc7753a <float3::_ConstructInstance(void*)>,
            destructor = 0xc77566 <float3::_DestructInstance(void*)>,
---Type <return> to continue, or q <return> to quit---
            nextBinder = 0x18f6be0 <float2::binder>},
          static memberRegistrator = 0x18f6d28 <float3mreg>, static hasVTable = false,
          static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13,
          static maxxpos = 8191, static maxzpos = 8191, {{x = -531.603271, y = -663.36084,
              z = 763.911865}, {r = -531.603271, g = -663.36084, b = 763.911865}, {
              x1 = -531.603271, y1 = -663.36084, x2 = 763.911865}, {s = -531.603271,
              t = -663.36084, p = 763.911865}, {xstart = -531.603271, ystart = -663.36084,
              xend = 763.911865}}}
        targetGoalDist = 492.574524
        targetPosDist = 38697.0586
        minPointingDist = 720
        targetMidPosDist2D = 930.679016
        __PRETTY_FUNCTION__ = "virtual void CMobileCAI::ExecuteAttack(Command&)"
0000013 0x0000000000b3439d in CCommandAI::SlowUpdate (this=0x1b887e00)
    at rts/Sim/Units/CommandAI/CommandAI.cpp:1332
        c = @0x1bbe0a70: {static binder = {class_ = 0x379fea0, base = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

, flags = creg::CF_None,
            memberRegistrator = 0x18ea7a0 <Command::memberRegistrator>,
            name = 0x1246271 "Command", size = 56, alignment = 8, hasVTable = false,
            constructor = 0xb2cf12 <Command::_ConstructInstance(void*)>,
            destructor = 0xb2cf6a <Command::_DestructInstance(void*)>,
            nextBinder = 0x18ea620 <CBuilderCAI::binder>},
          static memberRegistrator = 0x18ea8c0 <Commandmreg>, static hasVTable = false,
          aiCommandId = -1, options = 8 '\b',
          params = {<std::vector<float, std::allocator<float> >> = {<std::_Vector_base<float, std::a---Type <return> to continue, or q <return> to quit---
llocator<float> >> = {
                _M_impl = {<std::allocator<float>> = {<__gnu_cxx::new_allocator<float>> = {<No data fields>}, <No data fields>}, _M_start = 0x1e3a2518, _M_finish = 0x1e3a2518,
                  _M_end_of_storage = 0x1e3a251c}}, <No data fields>}, static binder = {
              class_ = 0x379e9a0, base = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

, flags = creg::CF_None,
              memberRegistrator = 0x18f52a0 <safe_vector<float>::memberRegistrator>,
              name = 0x1265ac1 "safe_vector<float>", size = 32, alignment = 8, hasVTable = false,
              constructor = 0xc4d2b2 <safe_vector<float>::_ConstructInstance(void*)>,
              destructor = 0xc4d30a <safe_vector<float>::_DestructInstance(void*)>,
              nextBinder = 0x18f51e0 <SRectangle::binder>}, static memberRegistrator = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

,
            static hasVTable = <optimized out>, showError = true}, tag = 15, timeOut = 33233,
          id = 20}
0000014 0x0000000000b43bf9 in CMobileCAI::Execute (this=0x1b887e00)
    at rts/Sim/Units/CommandAI/MobileCAI.cpp:413
        c = @0x1bbe0a70: {static binder = {class_ = 0x379fea0, base = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

, flags = creg::CF_None,
            memberRegistrator = 0x18ea7a0 <Command::memberRegistrator>,
            name = 0x1246271 "Command", size = 56, alignment = 8, hasVTable = false,
            constructor = 0xb2cf12 <Command::_ConstructInstance(void*)>,
            destructor = 0xb2cf6a <Command::_DestructInstance(void*)>,
            nextBinder = 0x18ea620 <CBuilderCAI::binder>},
          static memberRegistrator = 0x18ea8c0 <Commandmreg>, static hasVTable = false,
          aiCommandId = -1, options = 8 '\b',
          params = {<std::vector<float, std::allocator<float> >> = {<std::_Vector_base<float, std::allocator<float> >> = {
---Type <return> to continue, or q <return> to quit---
                _M_impl = {<std::allocator<float>> = {<__gnu_cxx::new_allocator<float>> = {<No data fields>}, <No data fields>}, _M_start = 0x1e3a2518, _M_finish = 0x1e3a2518,
                  _M_end_of_storage = 0x1e3a251c}}, <No data fields>}, static binder = {
              class_ = 0x379e9a0, base = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

, flags = creg::CF_None,
              memberRegistrator = 0x18f52a0 <safe_vector<float>::memberRegistrator>,
              name = 0x1265ac1 "safe_vector<float>", size = 32, alignment = 8, hasVTable = false,
              constructor = 0xc4d2b2 <safe_vector<float>::_ConstructInstance(void*)>,
              destructor = 0xc4d30a <safe_vector<float>::_DestructInstance(void*)>,
              nextBinder = 0x18f51e0 <SRectangle::binder>}, static memberRegistrator = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

,
            static hasVTable = <optimized out>, showError = true}, tag = 15, timeOut = 33233,
          id = 20}
#15 0x0000000000b43aaa in CMobileCAI::SlowUpdate (this=0x1b887e00)
    at rts/Sim/Units/CommandAI/MobileCAI.cpp:396
No locals.
#16 0x0000000000b79412 in CUnit::SlowUpdate (this=0x1eaf7600) at rts/Sim/Units/Unit.cpp:954
No locals.
#17 0x0000000000ba0cb4 in CUnitHandler::Update (this=0xf454280)
    at rts/Sim/Units/UnitHandler.cpp:299
        unit = 0x1eaf7600
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1fb75cf8 "Unit::SlowUpdate"}}, starttime = 1120489},
          autoShowGraph = false}
---Type <return> to continue, or q <return> to quit---
        n = 6
        __PRETTY_FUNCTION__ = "void CUnitHandler::Update()"
#18 0x0000000000555252 in CGame::SimFrame (this=0x42831e0) at rts/Game/Game.cpp:1518
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = {static npos = <optimized out>,
              _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1d8540a8 "SimFrame"}}, starttime = 1120487},
          autoShowGraph = false}
#19 0x00000000005df11d in CGame::ClientReadNet (this=0x42831e0) at rts/Game/NetCommands.cpp:387
        msgProcTimeSpent = 0
        dataLength = 1
        allowMsgProcessing = true
        inbuf = 0x1e3a3018 "\002\370\177\035"
        packetCode = 2 '\002'
        packet = {px = 0x1b9fcc50, pn = {pi_ = 0x1d4359c0}}
        msgProcStartTime = {static binder = {class_ = 0x379eee0, base = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

,
            flags = creg::CF_None, memberRegistrator = 0x18f4a00 <spring_time::memberRegistrator>,
            name = 0x125ff8a "spring_time", size = 4, alignment = 4, hasVTable = false,
            constructor = 0xc32e26 <spring_time::_ConstructInstance(void*)>,
            destructor = 0xc32e52 <spring_time::_DestructInstance(void*)>,
            nextBinder = 0x18f4940 <CRectangleOptimizer::binder>},
          static memberRegistrator = 0x18f4a78 <spring_timemreg>, static hasVTable = false,
          x = 1120487}
        simDrawRatio = 12.9741039
---Type <return> to continue, or q <return> to quit---
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
        maxSimFPS = 164.859589
        minDrawFPS = 12.7068186
        msgProcTimeLimit = 66.893219
0000020 0x0000000000552047 in CGame::Update (this=0x42831e0) at rts/Game/Game.cpp:904
        timeNow = {static binder = {class_ = 0x379eee0, base = 0x0warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

, flags = creg::CF_None,
            memberRegistrator = 0x18f4a00 <spring_time::memberRegistrator>,
            name = 0x125ff8a "spring_time", size = 4, alignment = 4, hasVTable = false,
            constructor = 0xc32e26 <spring_time::_ConstructInstance(void*)>,
            destructor = 0xc32e52 <spring_time::_DestructInstance(void*)>,
            nextBinder = 0x18f4940 <CRectangleOptimizer::binder>},
          static memberRegistrator = 0x18f4a78 <spring_timemreg>, static hasVTable = false,
          x = 1120487}
        diffsecs = 0.0280000009
#21 0x0000000000c4a970 in Threading::UpdateGameController (ac=0x42831e0)
    at rts/System/Platform/Threading.cpp:365
        ret = false
#22 0x0000000000c537a2 in SpringApp::Update (this=0x7fffe6cd45d0) at rts/System/SpringApp.cpp:951
        ret = 1
#23 0x0000000000c539d4 in SpringApp::Run (this=0x7fffe6cd45d0, argc=3, argv=0x7fffe6cd47c8)
    at rts/System/SpringApp.cpp:1036
No locals.
0000024 0x0000000000c2b7e0 in Run (argc=3, argv=0x7fffe6cd47c8) at rts/System/Main.cpp:66
        app = {cmdline = 0x380e340, binaryName = {static npos = <optimized out>,
---Type <return> to continue, or q <return> to quit---
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x3793b48 "\"/home/abma/local/spring/develop/bin/spring\""}}}
        ret = -1
        err = 0xc2bbea <SetOpenMpEnvVars(char**)+41>
#25 0x0000000000c2be6e in main (argc=3, argv=0x7fffe6cd47c8) at rts/System/Main.cpp:151
        restart = false
        ret = 0
        exe = {static npos = <optimized out>,
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x275 <Address 0x275 out of bounds>}}
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0010131

abma (administrator)

demo triggers failed assertion, too
+Notes

-Issue History
Date Modified Username Field Change
2013-03-20 02:10 abma New Issue
2013-03-20 02:11 abma File Added: 20130320_014826_Tundra_93.2.1-61-g3b7b798 release.sdf
2013-03-20 02:16 abma Note Added: 0010131
2013-03-20 02:16 abma Product Version => 93.2.1+git
2013-03-20 02:18 abma Summary assertion fails in rts/System/float3.h:464 => assertion fails in rts/System/float3.h:464 (called by GroundMoveType.cpp:2069)
2013-03-20 20:15 Kloot Changeset attached => spring release 2f4022b7
2013-03-20 20:15 Kloot Assigned To => Kloot
2013-03-20 20:15 Kloot Status new => resolved
2013-03-20 20:15 Kloot Resolution open => fixed
+Issue History