2020-08-09 20:13 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002987Spring engineGeneralpublic2012-02-29 17:34
Reporterabma 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version86.0.1+git 
Target VersionFixed in Version86.0.1+git 
Summary0002987: MoveType.cpp:53: virtual void AMoveType::SetMaxSpeed(float): Assertion `speed > 0.0f' failed.
Descriptionassertion failed in test game
Additional Information(gdb) bt full
#0 0x00007f8b03d21c3d in __libc_waitpid (pid=<optimized out>, stat_loc=<optimized out>,
    options=<optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:41
        resultvar = <optimized out>
        oldtype = 1
        result = <optimized out>
#1 0x00000000009c7ce1 in Platform::MsgBox ()
No locals.
#2 0x000000000095bab4 in ExitMessage ()
No locals.
0000003 0x000000000095c1a8 in ErrorMessageBox ()
No locals.
0000004 0x00000000009c5179 in CrashHandler::HandleSignal ()
No locals.
0000005 <signal handler called>
No symbol table info available.
#6 0x00007f8b00bbd3a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = 0
        pid = <optimized out>
        selftid = <optimized out>
#7 0x00007f8b00bc0b0b in __GI_abort () at abort.c:92
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x35, sa_sigaction = 0x35}, sa_mask = {__val = {
              140234990698881, 13885920, 140234990690778, 140734834011216, 140234989694322, 53,
              206158430232, 140734834011232, 140734834011008, 4, 206158430256, 56512352,
---Type <return> to continue, or q <return> to quit---
              140234993045952, 56512492, 0, 140734834022815}}, sa_flags = 13509082,
          sa_restorer = 0xd3e088}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#8 0x00007f8b00bb5d4d in __GI___assert_fail (assertion=0xce1cf3 "speed > 0.0f",
    file=<optimized out>, line=53, function=<optimized out>) at assert.c:81
        buf = 0x35e4f60 "spring: /home/abma/dev/spring/develop/rts/Sim/MoveTypes/MoveType.cpp:53: virtual void AMoveType::SetMaxSpeed(float): Assertion `speed > 0.0f' failed.\n"
#9 0x0000000000813d10 in AMoveType::SetMaxSpeed ()
No locals.
0000010 0x00000000008a88ba in CMobileCAI::StopSlowGuard ()
No locals.
#11 0x0000000000891a0d in CBuilderCAI::ExecuteGuard ()
No locals.
0000012 0x000000000088d2af in CBuilderCAI::SlowUpdate ()
No locals.
0000013 0x00000000008cf2ca in CUnit::SlowUpdate ()
No locals.
0000014 0x00000000008f2ca3 in CBuilder::SlowUpdate ()
No locals.
#15 0x00000000008ec13a in CUnitHandler::Update ()
No locals.
#16 0x00000000004c139b in CGame::SimFrame ()
No locals.
#17 0x0000000000514877 in CGame::ClientReadNet ()
---Type <return> to continue, or q <return> to quit---
No locals.
#18 0x00000000004c3ecd in CGame::Update ()
No locals.
#19 0x0000000000961342 in SpringApp::Update ()
No locals.
0000020 0x00000000009691d2 in SpringApp::Run ()
No locals.
#21 0x0000000000946f90 in MainFunc ()
No locals.
#22 0x00000000009471ca in Run ()
No locals.
#23 0x000000000094725d in main ()
No locals.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0008365

abma (administrator)

(damn, recompiling DEBUG2)


(gdb) bt full
#0 0x00007ffff47d33a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = 0
        pid = <optimized out>
        selftid = <optimized out>
#1 0x00007ffff47d6b0b in __GI_abort () at abort.c:92
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x35, sa_sigaction = 0x35warning: (Internal error: pc 0x35 in read in psymtab, but not in symtab.)

}, sa_mask = {__val = {140737296441729, 23712448, 140737296433626,
              140737488344224, 140737295437170, 53, 206158430232, 140737488344240, 140737488344016, 4, 206158430256, 140736484005744,
              140736481722400, 140736484005884, 0, 140737488349572}}, sa_flags = -191921702, sa_restorer = 0x169d208}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff47cbd4d in __GI___assert_fail (assertion=0x169d245 "speed > 0.0f", file=<optimized out>, line=53, function=<optimized out>)
    at assert.c:81
        buf = 0x7fffc422d770 "spring: /home/abma/dev/spring/develop/rts/Sim/MoveTypes/MoveType.cpp:53: virtual void AMoveType::SetMaxSpeed(float): Assertion `speed > 0.0f' failed.\n"
0000003 0x0000000000f89f50 in AMoveType::SetMaxSpeed (this=0x7fffc41a9b70, speed=0)
    at /home/abma/dev/spring/develop/rts/Sim/MoveTypes/MoveType.cpp:53
        __PRETTY_FUNCTION__ = "virtual void AMoveType::SetMaxSpeed(float)"
0000004 0x000000000105ce5f in CMobileCAI::StopSlowGuard (this=0x7fffc40150a0)
    at /home/abma/dev/spring/develop/rts/Sim/Units/CommandAI/MobileCAI.cpp:1088
No locals.
0000005 0x000000000103c83f in CBuilderCAI::ExecuteGuard (this=0x7fffc40150a0, c=...)
    at /home/abma/dev/spring/develop/rts/Sim/Units/CommandAI/BuilderCAI.cpp:728
        nc = {static binder = {class_ = 0x1cfb4c0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c8b320, name = 0x16af13f "Command",
            size = 56, constructor = 0x1042c36 <Command::_ConstructInstance(void*)>, destructor = 0x1042c8e <Command::_DestructInstance(void*)>,
---Type <return> to continue, or q <return> to quit---
            nextBinder = 0x1c8b1c0}, static memberRegistrator = 0x1c8b3f0, aiCommandId = 1039294464, options = 192 '\300',
          params = {<std::vector<float, std::allocator<float> >> = {<std::_Vector_base<float, std::allocator<float> >> = {
                _M_impl = {<std::allocator<float>> = {<__gnu_cxx::new_allocator<float>> = {<No data fields>}, <No data fields>},
                  _M_start = 0x7fffe09b2cb0, _M_finish = 0x7fffffffd5e0, _M_end_of_storage = 0x43a0280000d5d3ed}}, <No data fields>},
            static binder = {class_ = 0x1cfa340, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c944c0,
              name = 0x16c6d39 "safe_vector<float>", size = 32, constructor = 0x1141e4a <safe_vector<float>::_ConstructInstance(void*)>,
              destructor = 0x1141ea2 <safe_vector<float>::_DestructInstance(void*)>, nextBinder = 0x1c94000}, static memberRegistrator = 0x0,
            showError = false}, tag = 0, timeOut = 0, id = -10736}
        pushRepairCommand = true
        b = 0x7fffc4154240
        builder = 0x7fffc4235d40
        guardee = 0x7fffc4154240
        curPos = {static binder = {class_ = 0x1cfa180, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c95900,
            name = 0x16cc82b "float3", size = 12, constructor = 0x1164932 <float3::_ConstructInstance(void*)>,
            destructor = 0x116495e <float3::_DestructInstance(void*)>, nextBinder = 0x1c958a0}, static memberRegistrator = 0x1c95998,
          static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 10239, static maxzpos = 5119,
          x = -nan(0x7fd610), y = 4.59163468e-41, z = 320.3125}
        dif = {static binder = {class_ = 0x1cfa180, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c95900, name = 0x16cc82b "float3",
            size = 12, constructor = 0x1164932 <float3::_ConstructInstance(void*)>, destructor = 0x116495e <float3::_DestructInstance(void*)>,
            nextBinder = 0x1c958a0}, static memberRegistrator = 0x1c95998, static CMP_EPS = 9.99999975e-05,
          static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 10239, static maxzpos = 5119, x = -nan(0x7fd64c), y = 4.59163468e-41,
          z = -nan(0x7fd648)}
        goal = {static binder = {class_ = 0x1cfa180, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c95900,
            name = 0x16cc82b "float3", size = 12, constructor = 0x1164932 <float3::_ConstructInstance(void*)>,
---Type <return> to continue, or q <return> to quit---
            destructor = 0x116495e <float3::_DestructInstance(void*)>, nextBinder = 0x1c958a0}, static memberRegistrator = 0x1c95998,
          static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 10239, static maxzpos = 5119,
          x = -517.291016, y = 4.59163468e-41, z = -nan(0x7fd650)}
#6 0x000000000103b2ab in CBuilderCAI::SlowUpdate (this=0x7fffc40150a0)
    at /home/abma/dev/spring/develop/rts/Sim/Units/CommandAI/BuilderCAI.cpp:483
        builder = 0x7fffc4235d40
        c = @0x3774780
        boi = {_M_node = 0x7fffc40152a0}
#7 0x000000000108a3ce in CUnit::SlowUpdate (this=0x7fffc4235d40) at /home/abma/dev/spring/develop/rts/Sim/Units/Unit.cpp:897
No locals.
#8 0x00000000010c1a40 in CBuilder::SlowUpdate (this=0x7fffc4235d40) at /home/abma/dev/spring/develop/rts/Sim/Units/UnitTypes/Builder.cpp:414
No locals.
#9 0x00000000010b3c5d in CUnitHandler::Update (this=0x7fffd41743c0) at /home/abma/dev/spring/develop/rts/Sim/Units/UnitHandler.cpp:316
        unit = 0x7fffc4235d40
        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 = 0x7fffc418b578 "Unit::SlowUpdate"}}, starttime = 119125}, autoShowGraph = false}
        n = 4
        __PRETTY_FUNCTION__ = "void CUnitHandler::Update()"
0000010 0x0000000000b03271 in CGame::SimFrame (this=0x7fffe00081f0) at /home/abma/dev/spring/develop/rts/Game/Game.cpp:1472
        cputimer = {<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 = 0x7fffc4150f88 "Game::SimFrame"}}, starttime = 119120}, autoShowGraph = true}
---Type <return> to continue, or q <return> to quit---
        forced = {<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 = 0x7fffc4020908 "Game::SimFrame (Update)"}}, starttime = 119120}, autoShowGraph = false}
#11 0x0000000000b843e7 in CGame::ClientReadNet (this=0x7fffe00081f0) at /home/abma/dev/spring/develop/rts/Game/NetCommands.cpp:370
        inbuf = 0x7fffcf84bc60 "\002RK\340\377\177"
        dataLength = 1
        packetCode = 2 '\002'
        packet = {px = 0x7fffcfa2f4e0, pn = {pi_ = 0x7fffe04b5280}}
        procstarttime = {_vptr.spring_time = 0x16c34e0, static binder = {class_ = 0x1cfa420, base = 0x0, flags = creg::CF_None,
            memberRegistrator = 0x1c93e00, name = 0x16c3488 "spring_time", size = 16,
            constructor = 0x112bb7a <spring_time::_ConstructInstance(void*)>, destructor = 0x112bba6 <spring_time::_DestructInstance(void*)>,
            nextBinder = 0x1c93400}, static memberRegistrator = 0x1c93e80, x = 119106}
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
0000012 0x0000000000b0036b in CGame::Update (this=0x7fffe00081f0) at /home/abma/dev/spring/develop/rts/Game/Game.cpp:882
        timeNow = {_vptr.spring_time = 0x16c34e0, static binder = {class_ = 0x1cfa420, base = 0x0, flags = creg::CF_None,
            memberRegistrator = 0x1c93e00, name = 0x16c3488 "spring_time", size = 16,
            constructor = 0x112bb7a <spring_time::_ConstructInstance(void*)>, destructor = 0x112bba6 <spring_time::_DestructInstance(void*)>,
            nextBinder = 0x1c93400}, static memberRegistrator = 0x1c93e80, x = 119106}
        diffsecs = 0.666999996
0000013 0x00000000011498aa in GML::UpdateSim (ac=0x7fffe00081f0) at /home/abma/dev/spring/develop/rts/lib/gml/gml_base.h:37
No locals.
0000014 0x0000000001147534 in SpringApp::Update (this=0x7fffffffe490) at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:927
        ret = 1
#15 0x000000000114771c in SpringApp::Run (this=0x7fffffffe490, argc=2, argv=0x7fffffffe688)
---Type <return> to continue, or q <return> to quit---
    at /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:1008
No locals.
#16 0x0000000001126750 in MainFunc (argc=2, argv=0x7fffffffe688, ret=0x7fffffffe56c) at /home/abma/dev/spring/develop/rts/System/Main.cpp:51
        app = {cmdline = 0x1cf98d0, binaryName = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
              _M_p = 0x1cf9e38 "/var/tmp/home/local/spring/develop/bin/spring"}}}
#17 0x0000000001126b07 in Run (argc=2, argv=0x7fffffffe688) at /home/abma/dev/spring/develop/rts/System/Main.cpp:62
        ret = -1
        err = 0x255
#18 0x0000000001126ba0 in main (argc=2, argv=0x7fffffffe688) at /home/abma/dev/spring/develop/rts/System/Main.cpp:92
No locals.

~0008367

Kloot (developer)

note to self: unit was probably a nano-tower
+Notes

-Issue History
Date Modified Username Field Change
2012-02-29 00:02 abma New Issue
2012-02-29 00:16 abma Note Added: 0008365
2012-02-29 00:18 abma File Added: 20120228_234959_DeltaSiegeDry_86.0.1-23-g5ccb591 develop.sdf
2012-02-29 00:19 abma File Added: chickens.sdd.7z
2012-02-29 00:21 abma File Added: infolog.txt
2012-02-29 11:59 Kloot Note Added: 0008367
2012-02-29 17:34 Kloot Status new => resolved
2012-02-29 17:34 Kloot Fixed in Version => 86.0.1+git
2012-02-29 17:34 Kloot Resolution open => fixed
2012-02-29 17:34 Kloot Assigned To => Kloot
+Issue History