MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002655Spring engineAIpublic2011-09-17 12:422012-03-26 21:54
Reporterhoijui 
Assigned To 
PrioritylowSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
Product Version89.0 
Target VersionFixed in Version 
Summary0002655: NAN in E323AI
Descriptionif i read it correctly, it seems to happen cause two path points (within the E323AI internal pathing stuff) are equal.
This happened after quite some ingame time (~30min maybe).

i can merge in E323 AI changes, if someone fixes this.
Additional Informationspring: rts/System/float3.h:434: float3& float3::Normalize(): Assertion `SqLength() > NORMALIZE_EPS' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff410d995 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff410d995 in raise () from /lib64/libc.so.6
#1 0x00007ffff410ed1f in abort () from /lib64/libc.so.6
0000002 0x00007ffff41068dd in __assert_fail () from /lib64/libc.so.6
0000003 0x00007fffd575560b in float3::Normalize (this=0x7fffffffc3c0) at rts/System/float3.h:434
0000004 0x00007fffd5751e99 in CPathfinder::updateFollowers (this=0x146f6460) at AI/Skirmish/E323AI/CPathfinder.cpp:437
0000005 0x00007fffd5731288 in CE323AI::Update (this=0x13b2f6d0) at AI/Skirmish/E323AI/CE323AI.cpp:638
0000006 0x00007fffd5792787 in springLegacyAI::CAIUpdateEvent::Run (this=0x69d7290, ai=..., globalAICallback=0x13f7e8a0) at AI/Wrappers/LegacyCpp/Event/AIUpdateEvent.h:17
0000007 0x00007fffd5791b87 in springLegacyAI::CAIAI::handleEvent (this=0x13b228f0, topic=3, data=0x7fffffffc990) at AI/Wrappers/LegacyCpp/AIAI.cpp:161
0000008 0x00007fffd5766a95 in handleEvent (skirmishAIId=3, topic=3, data=0x7fffffffc990) at AI/Skirmish/E323AI/AIExport.cpp:114
0000009 0x00000000011eae16 in CSkirmishAILibrary::HandleEvent (this=0x13fb6d10, skirmishAIId=3, topic=3, data=0x7fffffffc990) at rts/ExternalAI/SkirmishAILibrary.cpp:95
0000010 0x00000000011df041 in CSkirmishAI::HandleEvent (this=0x13fb5ee0, topic=3, data=0x7fffffffc990) at rts/ExternalAI/SkirmishAI.cpp:57
0000011 0x00000000011ef9df in CSkirmishAIWrapper::Update (this=0x13fb4ab0, frame=58000) at rts/ExternalAI/SkirmishAIWrapper.cpp:378
0000012 0x00000000011b8de9 in CEngineOutHandler::Update (this=0x58e2820) at rts/ExternalAI/EngineOutHandler.cpp:167
0000013 0x0000000000ae24ed in CGame::SimFrame (this=0x25b4e50) at rts/Game/Game.cpp:1416
0000014 0x0000000000b62d81 in CGame::ClientReadNet (this=0x25b4e50) at rts/Game/NetCommands.cpp:362
0000015 0x0000000000adfe0f in CGame::Update (this=0x25b4e50) at rts/Game/Game.cpp:889
0000016 0x0000000001107ea5 in SpringApp::UpdateSim (this=0x7fffffffd760, ac=0x25b4e50) at rts/System/SpringApp.cpp:982
0000017 0x0000000001107f19 in SpringApp::Update (this=0x7fffffffd760) at rts/System/SpringApp.cpp:1060
0000018 0x000000000110818d in SpringApp::Run (this=0x7fffffffd760, argc=2, argv=0x7fffffffd928) at rts/System/SpringApp.cpp:1164
0000019 0x00000000010e582b in MainFunc (argc=2, argv=0x7fffffffd928, ret=0x7fffffffd7fc) at rts/System/Main.cpp:51
0000020 0x00000000010e5abe in Run (argc=2, argv=0x7fffffffd928) at rts/System/Main.cpp:62
0000021 0x00000000010e5b57 in main (argc=2, argv=0x7fffffffd928) at rts/System/Main.cpp:92
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008509)
abma (administrator)
2012-03-26 21:54

still present: http://buildbot.springrts.com/builders/validationtests/builds/1100/steps/validation%20test_4/logs/stdio [^]

spring-headless: /home/buildslave/full-linux/build/rts/System/float3.h:442: 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.
0000002 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 0x00007ffff119fca1 in float3::Normalize (this=0x7fffffffd650) at /home/buildslave/full-linux/build/rts/System/float3.h:442
        __PRETTY_FUNCTION__ = "float3& float3::Normalize()"
0000005 0x00007ffff11eb090 in CPathfinder::updateFollowers (this=0x24abf00) 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(0x7fd650), y = 4.59163468e-41, z = -7.57099466e+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(0x7fd690)}
        uposonpath = 4.59163468e-41
        s1 = 0
        sl2 = 69.895874
        l2 = 69.895874
        length = 0
        unit = 0x7a12220
        s2 = 1
        sl1 = 69.895874
        l1 = 69.895874
        upos = {static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, x = 2489.7688, y = 265.610413, z = 2264.65283}
        group = 0x890fbe0
        segment = 1
        waypoint = 1
        maxGroupLength = 240
        enableRegrouping = true
        currentFrame = 21122
        groupnr = 0
        u = {first = 28495, second = }
        M = std::map with 0 elements
        path = {first = 22, second = std::vector of length 3, capacity 3 = {{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 = 2488.54248, y = 265.296448, z = 2263.39355}}}
0000006 0x00007ffff11cd3f9 in CE323AI::Update (this=0x23d0480) 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 = 0x718acd0, _M_finish = 0x718ad10, _M_end_of_storage = 0x718ad10}}, <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 = 0x22add50, _M_left = 0x7a17b60, _M_right = 0x1f2a890}, _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 = 0x77df590, _M_left = 0x74bea10, _M_right = 0x1e9e1c0}, _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 = 0x1ffa2f0, _M_left = 0x235b730, _M_right = 0x76efd00}, _M_node_count = 8}}}, cb = 0x23d05d0, initialized = true, t1 = 1347021087, t2 = 4294957056, task = "following"}
        currentFrame = 21122
        localFrame = 21122
        aiframe = 21123
0000007 0x00007ffff12079bf in springLegacyAI::CAIUpdateEvent::Run (this=0x8e677c0, ai=..., globalAICallback=0x252b180) at /home/buildslave/full-linux/build/AI/Wrappers/LegacyCpp/Event/AIUpdateEvent.h:17
No locals.
0000008 0x00007ffff1206dca in springLegacyAI::CAIAI::handleEvent (this=0x23d04a0, topic=3, data=0x7fffffffdc10) at /home/buildslave/full-linux/build/AI/Wrappers/LegacyCpp/AIAI.cpp:161
        e = 0x8e677c0
        ret = -1
0000009 0x00007ffff11a63ed in handleEvent (skirmishAIId=1, topic=3, data=0x7fffffffdc10) at /home/buildslave/full-linux/build/AI/Skirmish/E323AI/AIExport.cpp:114
No locals.
0000010 0x0000000001208171 in CSkirmishAILibrary::HandleEvent (this=0x7890ce0, skirmishAIId=1, topic=3, data=0x7fffffffdc10) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAILibrary.cpp:95
        ret = 32512
0000011 0x00000000011fb013 in CSkirmishAI::HandleEvent (this=0x23d0100, topic=3, data=0x7fffffffdc10) 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 = 125040}, autoShowGraph = false}
0000012 0x000000000120ccef in CSkirmishAIWrapper::Update (this=0x23cff70, frame=21122) at /home/buildslave/full-linux/build/rts/ExternalAI/SkirmishAIWrapper.cpp:378
        evtData = {frame = 21122}
0000013 0x00000000011d441d in CEngineOutHandler::Update (this=0x4e98a40) 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 = 125037}, autoShowGraph = false}
        frame = 21122
0000014 0x0000000000ae7c71 in CGame::SimFrame (this=0x1e816d0) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:1471
        cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "Game::SimFrame", starttime = 125037}, autoShowGraph = true}
        forced = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, name = "", starttime = 3962321456}, autoShowGraph = 255}
0000015 0x0000000000b68048 in CGame::ClientReadNet (this=0x1e816d0) at /home/buildslave/full-linux/build/rts/Game/NetCommands.cpp:392
        msgProcTimeSpent = 0
        dataLength = 1
        allowMsgProcessing = true
        inbuf = 0x7fffec2c3a10 "\002"
        packetCode = 2 '\002'
        packet = {px = 0x7fffec2c39f0, pn = {pi_ = 0x7fffec2c3a30}}
        msgProcStartTime = {_vptr.spring_time = 0x1683d80, static binder = {class_ = 0x1c82b20, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c460a0, name = 0x1683d28 "spring_time", size = 16, constructor = 0x110c86e <spring_time::_ConstructInstance(void*)>, destructor = 0x110c89a <spring_time::_DestructInstance(void*)>, nextBinder = 0x1c462a0}, static memberRegistrator = 0x1c46120, x = 125037}
        simDrawRatio = 1.25000322
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
        maxSimFPS = 164.116287
        minDrawFPS = 131.292694
        msgProcTimeLimit = 6.47408485
0000016 0x0000000000ae4c29 in CGame::Update (this=0x1e816d0) at /home/buildslave/full-linux/build/rts/Game/Game.cpp:883
        timeNow = {_vptr.spring_time = 0x1683d80, static binder = {class_ = 0x1c82b20, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1c460a0, name = 0x1683d28 "spring_time", size = 16, constructor = 0x110c86e <spring_time::_ConstructInstance(void*)>, destructor = 0x110c89a <spring_time::_DestructInstance(void*)>, nextBinder = 0x1c462a0}, static memberRegistrator = 0x1c46120, x = 125037}
        diffsecs = 0.824000001
0000017 0x0000000001129cec in GML::UpdateSim (ac=0x1e816d0) at /home/buildslave/full-linux/build/rts/lib/gml/gml_base.h:37
No locals.
0000018 0x00000000011278fa in SpringApp::Update (this=0x7fffffffeb40) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:928
        ret = 1
0000019 0x0000000001127a76 in SpringApp::Run (this=0x7fffffffeb40, argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/SpringApp.cpp:1009
No locals.
0000020 0x00000000011073e4 in MainFunc (argc=2, argv=0x7fffffffed38, ret=0x7fffffffec0c) at /home/buildslave/full-linux/build/rts/System/Main.cpp:51
        app = {cmdline = 0x1c7de30, binaryName = "/tmp/spring/tests/usr/local/bin/spring-headless"}
0000021 0x00000000011077a7 in Run (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:62
        ret = -1
        err = 0x15f35d5
0000022 0x0000000001107840 in main (argc=2, argv=0x7fffffffed38) at /home/buildslave/full-linux/build/rts/System/Main.cpp:92

- Issue History
Date Modified Username Field Change
2011-09-17 12:42 hoijui New Issue
2012-03-26 21:54 abma Note Added: 0008509
2012-03-26 21:54 abma Product Version => 89.0


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker