View Issue Details

IDProjectCategoryView StatusLast Update
0002725Spring engineGeneralpublic2012-09-03 10:45
Reporterabma Assigned Toabma  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Summary0002725: assertion in float3.h:434 (validation test)
Descriptionspring-headless: /home/buildslave/full-linux/build/rts/System/float3.h:434: float3& float3::Normalize(): Assertion `SqLength() > NORMALIZE_EPS' failed.

see also: http://springrts.com:7778/builders/validationtests/builds/392/steps/validationtests_4/logs/stdio
Additional InformationProgram received signal SIGABRT, Aborted.
0x00007ffff5dec2d5 in raise () from /lib64/libc.so.6
#0 0x00007ffff5dec2d5 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff5dedbeb in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007ffff5de4c5e in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
0000003 0x00007ffff5de4d02 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
0000004 0x00007ffff0b9fc1d in float3::Normalize (this=0x7fffffffd7d0) at /home/buildslave/full-linux/build/rts/System/float3.h:434
        __PRETTY_FUNCTION__ = "float3& float3::Normalize()"
0000005 0x00007ffff0beb018 in CPathfinder::updateFollowers (this=0x24cbb10) at /home/buildslave/full-linux/build/AI/Skirmish/E323AI/CPathfinder.cpp:437
        uP = {static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 0, y = 0, z = 0}
        up = {static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = -nan(0x7fd7d0), y = 4.59163468e-41, z = -4.57772909e+29}
        uproj = {static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 1.40129846e-39, y = 0, z = -nan(0x7fd810)}
        uposonpath = 4.59163468e-41
        s1 = 0
        sl2 = 78.6225204
        l2 = 78.6225204
        length = 0
        unit = 0x6ba5d00
        s2 = 1
        sl1 = 78.6225204
        l1 = 78.6225204
        upos = {static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 2488.09058, y = 252.784119, z = 2248.90601}
        group = 0x82c38a0
        segment = 1
        waypoint = 1
        maxGroupLength = 240
        enableRegrouping = true
        currentFrame = 17512
        groupnr = 0
        u = {first = 19037, second = }
        M = std::map with 0 elements
        path = {first = 2, second = std::vector of length 3, capacity 13 = {{static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 2432, y = 294.761047, z = 2304}, {static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 2432, y = 304.761047, z = 2304}, {static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 2400, y = 284.761047, z = 2368}}}
#6 0x00007ffff0bcd375 in CE323AI::Update (this=0x6980610) at /home/buildslave/full-linux/build/AI/Skirmish/E323AI/CE323AI.cpp:638
        t = {static tasks = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {_M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x80fa6e0, _M_finish = 0x80fa720, _M_end_of_storage = 0x80fa720}}, <No data fields>}, static taskIDs = {_M_t = {_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x80f92a0, _M_left = 0x80f8f40, _M_right = 0x80f8dd0}, _M_node_count = 8}}}, static curTime = {_M_t = {_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned int> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x80f9240, _M_left = 0x80f8ee0, _M_right = 0x80f9000}, _M_node_count = 8}}}, static prevTime = {_M_t = {_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned int> > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x80f91e0, _M_left = 0x80f8e80, _M_right = 0x80f8fa0}, _M_node_count = 8}}}, cb = 0x2124b80, initialized = true, t1 = 2397517184, t2 = 4294957440, task = "following"}
        currentFrame = 17512
        localFrame = 17512
        aiframe = 17513
#7 0x00007ffff0c07947 in springLegacyAI::CAIUpdateEvent::Run (this=0x4473910, ai=..., globalAICallback=0x738f870) at /home/buildslave/full-linux/build/AI/Wrappers/LegacyCpp/Event/AIUpdateEvent.h:17
No locals.
#8 0x00007ffff0c06d52 in springLegacyAI::CAIAI::handleEvent (this=0x243e6c0, topic=3, data=0x7fffffffdd90) at /home/buildslave/full-linux/build/AI/Wrappers/LegacyCpp/AIAI.cpp:161
        e = 0x4473910
        ret = -1
#9 0x00007ffff0ba6369 in handleEvent (skirmishAIId=1, topic=3, data=0x7fffffffdd90) at /home/buildslave/full-linux/build/AI/Skirmish/E323AI/AIExport.cpp:114
No locals.
0000010 0x00000000011a7a25 in CSkirmishAILibrary::HandleEvent (this=0x4c16000, skirmishAIId=1, topic=3, data=0x7fffffffdd90) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAILibrary.cpp:95
        ret = 32512
#11 0x000000000119a8c7 in CSkirmishAI::HandleEvent (this=0x21246b0, topic=3, data=0x7fffffffdd90) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAI.cpp:57
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "AI t:1 id:1 E323AI 3.25.0", starttime = 46141}, autoShowGraph = false}
0000012 0x00000000011ac521 in CSkirmishAIWrapper::Update (this=0x2124590, frame=17512) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAIWrapper.cpp:378
        evtData = {frame = 17512}
0000013 0x0000000001173c93 in CEngineOutHandler::Update (this=0x49be0d0) at /home/buildslave/full-linux/build/rts/ExternalAI/EngineOutHandler.cpp:167
        ai = {first = 1 '\001', second = }
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "AI Total", starttime = 46141}, autoShowGraph = false}
        frame = 17512
0000014 0x0000000000abf26b in CGame::SimFrame (this=0x1dfa590) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:1412
        cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 46141}, autoShowGraph = true}
        forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "\240\336\377\377\377\177\000\000.)\253\000\000\000\000\000\001A\f\214\000\000\000\000\001\000\000\000\000\000\000\000\320\351\377\377\377\177\000\000\304\341\263\000\000\000\000\000\260x\023\b\000\000\000\000`n\334\006\001\000\000\000\320w\023\b\000\000\000\000\240g\272\006\000\000\000\000\200w\023\b\000\000\000\000\300w\023\b\000\000\000\000\240\024\241\006\001\000\000\000H\027=\a\000\000\000\000\220x\023\b\377\377\377\377\220w\023\b\000\000\000\000\240\342\377\377\377\177\000\000\030\345\034\001\000\000\000\000\220\343\377\377\000\000\000\000\240g\272\006\000\000\000\000PV\336\006\000\000\000\000\240g\272\006\000\000\000\000`\v\241\006\000\000\000\000\005\000\000\000\000\000\000\000\360x\023\b\000\000\000\000\200x\023\b\000\000\000\000pz\023\b\002\000\000\000\220\245\337\001\000\000\000\000\377\377\377\377\000\000\000\000\300\205\"\b\000\000\000\000\300\205\"\b\000\000\000\000\320\205\"\b\000\000\000\000\001g&\b\000\000\000\000\000\000\000\000\377"... <Address 0x7ffffffff000 out of bounds>, starttime = 11216425}, autoShowGraph = false}
#15 0x0000000000b3e1c4 in CGame::ClientReadNet (this=0x1dfa590) at /home/buildslave/full-linux/build/rts/Game/NetCommands.cpp:362
        inbuf = 0x7fffec000a20 "\002-"
        dataLength = 1
        packetCode = 2 '\002'
        packet = {px = 0x7fffec002360, pn = {pi_ = 0x7fffec002da0}}
        procstarttime = 45876
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
#16 0x0000000000abcbc3 in CGame::Update (this=0x1dfa590) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:886
        timeNow = 45876
        difTime = 503
        dif = 0.503000021
#17 0x00000000010c999d in SpringApp::UpdateSim (this=0x7fffffffeb70, ac=0x1dfa590) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:988
        ret = false
#18 0x00000000010c9a11 in SpringApp::Update (this=0x7fffffffeb70) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1063
        ret = 1
#19 0x00000000010c9c13 in SpringApp::Run (this=0x7fffffffeb70, argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1167
No locals.
0000020 0x00000000010a6e2b in MainFunc (argc=2, argv=0x7fffffffed38, ret=0x7fffffffec0c) at /home/buildslave/full-linux/build/rts/System/Main.cpp:51
        app = {cmdline = 0x1bffc10, lastRequiredDraw = 17392, static ogc = 0x0}
#21 0x00000000010a70be in Run (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:62
        ret = -1
        err = 0x15946a5
#22 0x00000000010a7157 in main (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:92
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2011-11-12 20:47

administrator   ~0007591

an other one:
http://springrts.com:7778/builders/validationtests/builds/429/steps/validationtests_1/logs/stdio

spring-headless: /home/buildslave/full-linux/build/rts/System/float3.h:434: float3& float3::Normalize(): Assertion `SqLength() > NORMALIZE_EPS' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff5dec2d5 in raise () from /lib64/libc.so.6
#0 0x00007ffff5dec2d5 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff5dedbeb in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007ffff5de4c5e in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
0000003 0x00007ffff5de4d02 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
0000004 0x0000000000a927e5 in float3::Normalize (this=0x7fffffffd940) at /home/buildslave/full-linux/build/rts/System/float3.h:434
        __PRETTY_FUNCTION__ = "float3& float3::Normalize()"
0000005 0x0000000001066230 in CWeapon::Update (this=0x92dabe0) at /home/buildslave/full-linux/build/rts/Sim/Weapons/Weapon.cpp:454
        rockDir = {static binder = {class_ = 0x1c05ae0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1bcaf80, name = 0x16273cf "float3", size = 12, constructor = 0x10e700a <float3::_ConstructInstance(void*)>, destructor = 0x10e7036 <float3::_DestructInstance(void*)>, nextBinder = 0x1bcb040}, static memberRegistrator = 0x1bcb018, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 0, y = 0, z = 0}
        projectiles = 0
        canFire = true
        fpsPlayer = 0x0
#6 0x0000000001053e8c in CCannon::Update (this=0x92dabe0) at /home/buildslave/full-linux/build/rts/Sim/Weapons/Cannon.cpp:99
No locals.
#7 0x000000000100aff3 in CUnit::Update (this=0x9749ea0) at /home/buildslave/full-linux/build/rts/Sim/Units/Unit.cpp:740
        wi =
        oldInAir = false
        oldInWater = false
#8 0x00000000010320e5 in CUnitHandler::Update (this=0x440f6b0) at /home/buildslave/full-linux/build/rts/Sim/Units/UnitHandler.cpp:298
        unit = 0x9749ea0
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Unit::Update", starttime = 34718}, autoShowGraph = false}
        usi =
        __PRETTY_FUNCTION__ = "void CUnitHandler::Update()"
#9 0x0000000000abf3b9 in CGame::SimFrame (this=0x1e832e0) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:1430
        cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 34717}, autoShowGraph = true}
        forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame (Update)", starttime = 34717}, autoShowGraph = false}
0000010 0x0000000000b3e8b0 in CGame::ClientReadNet (this=0x1e832e0) at /home/buildslave/full-linux/build/rts/Game/NetCommands.cpp:362
        inbuf = 0x7fffec001ee0 "\002$"
        dataLength = 1
        packetCode = 2 '\002'
        packet = {px = 0x7fffec001990, pn = {pi_ = 0x7fffec002430}}
        procstarttime = 34242
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
#11 0x0000000000abcc13 in CGame::Update (this=0x1e832e0) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:886
        timeNow = 34242
        difTime = 502
        dif = 0.502000034
0000012 0x00000000010ca26d in SpringApp::UpdateSim (this=0x7fffffffeb70, ac=0x1e832e0) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:988
        ret = false
0000013 0x00000000010ca2eb in SpringApp::Update (this=0x7fffffffeb70) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1057
        updateSim = true
        ret = 1
0000014 0x00000000010ca4f3 in SpringApp::Run (this=0x7fffffffeb70, argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1168
No locals.
#15 0x00000000010a76fb in MainFunc (argc=2, argv=0x7fffffffed38, ret=0x7fffffffec0c) at /home/buildslave/full-linux/build/rts/System/Main.cpp:51
        app = {cmdline = 0x1c00c10, lastRequiredDraw = 15563, static ogc = 0x0}
#16 0x00000000010a798e in Run (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:62
        ret = -1
        err = 0x15950f5
#17 0x00000000010a7a27 in main (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:92
No locals.
A debugging session is active.

    Inferior 1 [process 30357] will be killed.

Issue History

Date Modified Username Field Change
2011-11-10 20:24 abma New Issue
2011-11-12 20:47 abma Note Added: 0007591
2012-09-03 10:45 abma Status new => closed
2012-09-03 10:45 abma Assigned To => abma
2012-09-03 10:45 abma Resolution open => unable to reproduce