2024-04-24 02:23 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004533Spring engineGeneralpublic2014-09-05 00:11
Reporterabma 
Assigned TojK 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version97.0.1+git 
Target Version98.0Fixed in Version 
Summary0004533: 97.0.1-363-g81eb79c: failing assert in rts/Sim/Path/Default/PathFinder.cpp:376
Descriptionassertion fails instantly at game start:

http://buildbot.springrts.com/builders/validationtests/builds/4310/steps/analyze%20core%20dumps/logs/stdio

#0 0x00007f62a25359e9 in raise () from /lib64/libc.so.6
The program being debugged is not being run.
#0 0x00007f62a25359e9 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f62a25370f8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007f62a252e956 in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
0000003 0x00007f62a252ea02 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
0000004 0x0000000000c3caa3 in CPathFinder::AdjustFoundPath (this=0x11279340, moveDef=..., foundPath=..., nextPoint=..., previous=std::deque with 3 elements = {...}, curquare=...) at ../../rts/Sim/Path/Default/PathFinder.cpp:376
        __PRETTY_FUNCTION__ = "void CPathFinder::AdjustFoundPath(const MoveDef&, IPath::Path&, float3&, std::deque<type2<int> >&, int2) const"
        p2 = @0x433d4ad400c3d26c: <error reading variable>
        p1 = @0x42000000f4: <error reading variable>
        dirNow = {static binder = {class_ = 0x1ce10f0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954320 <type2<int>::memberRegistrator>, name = 0x1261f07 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xabd472 <type2<int>::_ConstructInstance(void*)>, destructor = 0xabd49e <type2<int>::_DestructInstance(void*)>, nextBinder = 0x1953ba0 <SyncedFloat3::binder>}, static memberRegistrator = 0x1954408 <int2mreg>, static hasVTable = <optimized out>, x = 1188425952, y = 32767}
        dirPrv = {static binder = {class_ = 0x1ce10f0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954320 <type2<int>::memberRegistrator>, name = 0x1261f07 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xabd472 <type2<int>::_ConstructInstance(void*)>, destructor = 0xabd49e <type2<int>::_DestructInstance(void*)>, nextBinder = 0x1953ba0 <SyncedFloat3::binder>}, static memberRegistrator = 0x1954408 <int2mreg>, static hasVTable = <optimized out>, x = 0, y = 244}
0000005 0x0000000000c3c810 in CPathFinder::FinishSearch (this=0x11279340, moveDef=..., pfDef=..., foundPath=...) at ../../rts/Sim/Path/Default/PathFinder.cpp:309
        pos = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 528, y = 189.292297, z = 1952}, {r = 528, g = 189.292297, b = 1952}, {x1 = 528, y1 = 189.292297, x2 = 1952}, {s = 528, t = 189.292297, p = 1952}, {xstart = 528, ystart = 189.292297, xend = 1952}}}
        square = {static binder = {class_ = 0x1ce10f0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954320 <type2<int>::memberRegistrator>, name = 0x1261f07 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xabd472 <type2<int>::_ConstructInstance(void*)>, destructor = 0xabd49e <type2<int>::_DestructInstance(void*)>, nextBinder = 0x1953ba0 <SyncedFloat3::binder>}, static memberRegistrator = 0x1954408 <int2mreg>, static hasVTable = <optimized out>, x = 66, y = 244}
        blockIdx = 124994
        previous = std::deque with 3 elements = {{static binder = {class_ = 0x1ce10f0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954320 <type2<int>::memberRegistrator>, name = 0x1261f07 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xabd472 <type2<int>::_ConstructInstance(void*)>, destructor = 0xabd49e <type2<int>::_DestructInstance(void*)>, nextBinder = 0x1953ba0 <SyncedFloat3::binder>}, static memberRegistrator = 0x1954408 <int2mreg>, static hasVTable = <optimized out>, x = -100, y = -100}, {static binder = {class_ = 0x1ce10f0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954320 <type2<int>::memberRegistrator>, name = 0x1261f07 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xabd472 <type2<int>::_ConstructInstance(void*)>, destructor = 0xabd49e <type2<int>::_DestructInstance(void*)>, nextBinder = 0x1953ba0 <SyncedFloat3::binder>}, static memberRegistrator = 0x1954408 <int2mreg>, static hasVTable = <optimized out>, x = -100, y = -100}, {static binder = {class_ = 0x1ce10f0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954320 <type2<int>::memberRegistrator>, name = 0x1261f07 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xabd472 <type2<int>::_ConstructInstance(void*)>, destructor = 0xabd49e <type2<int>::_DestructInstance(void*)>, nextBinder = 0x1953ba0 <SyncedFloat3::binder>}, static memberRegistrator = 0x1954408 <int2mreg>, static hasVTable = <optimized out>, x = -100, y = -100}}
#6 0x0000000000c2d0f0 in IPathFinder::GetPath (this=0x11279340, moveDef=..., pfDef=..., owner=0x0, startPos=..., path=..., maxNodes=8192) at ../../rts/Sim/Path/Default/IPathFinder.cpp:125
        __PRETTY_FUNCTION__ = "IPath::SearchResult IPathFinder::GetPath(const MoveDef&, const CPathFinderDef&, const CSolidObject*, float3, IPath::Path&, unsigned int)"
        goalBlock = {static binder = {class_ = 0x1ce10f0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954320 <type2<int>::memberRegistrator>, name = 0x1261f07 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xabd472 <type2<int>::_ConstructInstance(void*)>, destructor = 0xabd49e <type2<int>::_DestructInstance(void*)>, nextBinder = 0x1953ba0 <SyncedFloat3::binder>}, static memberRegistrator = 0x1954408 <int2mreg>, static hasVTable = <optimized out>, x = 75, y = 253}
        ci = 0x0
        result = IPath::Ok
#7 0x0000000000c44092 in CPathManager::MedRes2MaxRes (this=0x6cdc3c0, multiPath=..., startPos=..., owner=0x0, synced=true) at ../../rts/Sim/Path/Default/PathManager.cpp:305
        __PRETTY_FUNCTION__ = "void CPathManager::MedRes2MaxRes(CPathManager::MultiPath&, const float3&, const CSolidObject*, bool) const"
        goalPos = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 536, y = 189.292297, z = 2008}, {r = 536, g = 189.292297, b = 2008}, {x1 = 536, y1 = 189.292297, x2 = 2008}, {s = 536, t = 189.292297, p = 2008}, {xstart = 536, ystart = 189.292297, xend = 2008}}}
        maxResPath = @0x129ed6a0: {desiredGoal = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{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}}}, pathGoal = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{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}}}, path = std::vector of length 0, capacity 0, squares = std::vector of length 0, capacity 0, goalRadius = -1, pathCost = inf}
        medResPath = @0x129ed650: {desiredGoal = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{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}}}, pathGoal = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 536, y = 189.292297, z = 2008}, {r = 536, g = 189.292297, b = 2008}, {x1 = 536, y1 = 189.292297, x2 = 2008}, {s = 536, t = 189.292297, p = 2008}, {xstart = 536, ystart = 189.292297, xend = 2008}}}, path = std::vector of length 0, capacity 2, squares = std::vector of length 0, capacity 0, goalRadius = -1, pathCost = 10.0570374}
        lowResPath = @0x129ed600: {desiredGoal = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{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}}}, pathGoal = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{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}}}, path = std::vector of length 0, capacity 0, squares = std::vector of length 0, capacity 0, goalRadius = -1, pathCost = -1}
        rangedGoalPFD = {<CPathFinderDef> = {_vptr.CPathFinderDef = 0x1284d30 <vtable for CCircularSearchConstraint+16>, goal = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 536, y = 189.292297, z = 2008}, {r = 536, g = 189.292297, b = 2008}, {x1 = 536, y1 = 189.292297, x2 = 2008}, {s = 536, t = 189.292297, p = 2008}, {xstart = 536, ystart = 189.292297, xend = 2008}}}, sqGoalRadius = 128, startInGoalRadius = false, constraintDisabled = false, testMobile = true, needPath = true, exactPath = true, dirIndependent = false, synced = true, goalSquareX = 67, goalSquareZ = 251}, halfWayX = 64, halfWayZ = 245, searchRadiusSq = 1116}
        result = IPath::Error
#8 0x0000000000c43c50 in CPathManager::RequestPath (this=0x6cdc3c0, moveDef=0x3f9c608, startPos=..., goalPos=..., pfDef=0x12b609b0, caller=0x0, synced=true) at ../../rts/Sim/Path/Default/PathManager.cpp:231
        __PRETTY_FUNCTION__ = "unsigned int CPathManager::RequestPath(const MoveDef*, const float3&, const float3&, CPathFinderDef*, CSolidObject*, bool)"
        newPath = 0x129ed600
        pathID = 0
        heuristicGoalDist2D = 31.5115376
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 2378, starttime = {static binder = {class_ = 0x1ce1370, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x19514e0 <spring_time::memberRegistrator>, name = 0x1250b69 "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xa57b62 <spring_time::_ConstructInstance(void*)>, destructor = 0xa57b8e <spring_time::_DestructInstance(void*)>, nextBinder = 0x1951400 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1951600 <spring_timemreg>, static hasVTable = false, x = 30801589709, static xs = 1409824661655595070}, nameIterator = {first = 2378, second = "PathManager::RequestPath"}}, autoShowGraph = false, it = {first = 2378, second = 1}}
        result = IPath::Ok
#9 0x0000000000c43220 in CPathManager::RequestPath (this=0x6cdc3c0, caller=0x0, moveDef=0x3f9c608, startPos=..., goalPos=..., goalRadius=128, synced=true) at ../../rts/Sim/Path/Default/PathManager.cpp:92
        sp = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 496, y = 179.292297, z = 1924}, {r = 496, g = 179.292297, b = 1924}, {x1 = 496, y1 = 179.292297, x2 = 1924}, {s = 496, t = 179.292297, p = 1924}, {xstart = 496, ystart = 179.292297, xend = 1924}}}
        gp = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 602, y = 0, z = 2031}, {r = 602, g = 0, b = 2031}, {x1 = 602, y1 = 0, x2 = 2031}, {s = 602, t = 0, p = 2031}, {xstart = 602, ystart = 0, xend = 2031}}}
        pfDef = 0x12b609b0
0000010 0x000000000079f0a9 in LuaPathFinder::RequestPath (L=0x9060c40) at ../../rts/Lua/LuaPathFinder.cpp:231
        end = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 602, y = 0, z = 2031}, {r = 602, g = 0, b = 2031}, {x1 = 602, y1 = 0, x2 = 2031}, {s = 602, t = 0, p = 2031}, {xstart = 602, ystart = 0, xend = 2031}}}
        radius = 128
        __FUNCTION__ = "RequestPath"
        synced = true
        pathID = 14584700
        idPtr = 0x7fff46d5f530
        moveDef = 0x3f9c608
        start = {static binder = {class_ = 0x1ce0ff0, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x1954420 <float3::memberRegistrator>, name = 0x1262094 "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xabd976 <float3::_ConstructInstance(void*)>, destructor = 0xabd9a2 <float3::_DestructInstance(void*)>, nextBinder = 0x19543a0 <type2<float>::binder>}, static memberRegistrator = 0x1954508 <float3mreg>, static hasVTable = false, static CMP_EPS = 9.99999975e-05, static NORMALIZE_EPS = 9.99999996e-13, static maxxpos = 4095, static maxzpos = 4095, {{x = 496, y = 179.292297, z = 1924}, {r = 496, g = 179.292297, b = 1924}, {x1 = 496, y1 = 179.292297, x2 = 1924}, {s = 496, t = 179.292297, p = 1924}, {xstart = 496, ystart = 179.292297, xend = 1924}}}
#11 0x0000000000dd27b3 in luaD_precall (L=0x9060c40, func=0xb496d00, nresults=1) at ../../rts/lib/lua/src/ldo.cpp:320
        ci = 0xa2be8f8
        n = 0
        cl = 0x9b20370
        funcr = 1136
0000012 0x0000000000de75f7 in luaV_execute (L=0x9060c40, nexeccalls=6) at ../../rts/lib/lua/src/lvm.cpp:613
        b = 9
        nresults = 1
        i = 75530972
        ra = 0xb496d00
        cl = 0x92e1530
        base = 0xb496c50
        k = 0x977dea0
        pc = 0x9972e1c
0000013 0x0000000000dd2a85 in luaD_call (L=0x9060c40, func=0xb4968b0, nResults=0) at ../../rts/lib/lua/src/ldo.cpp:378
No locals.
0000014 0x0000000000dca48d in f_call (L=0x9060c40, ud=0x7fff46d5fa90) at ../../rts/lib/lua/src/lapi.cpp:812
        c = 0x7fff46d5fa90
#15 0x0000000000dd1b59 in luaD_rawrunprotected (L=0x9060c40, f=0xdca458 <f_call(lua_State*, void*)>, ud=0x7fff46d5fa90) at ../../rts/lib/lua/src/ldo.cpp:116
        lj = {previous = 0x0, b = 1188428336, status = 0}
#16 0x0000000000dd2ecc in luaD_pcall (L=0x9060c40, func=0xdca458 <f_call(lua_State*, void*)>, u=0x7fff46d5fa90, old_top=32, ef=16) at ../../rts/lib/lua/src/ldo.cpp:464
        status = 0
        old_ci = 0
        old_errfunc = 0
        oldnCcalls = 0
        old_allowhooks = 1 '\001'
#17 0x0000000000dca54a in lua_pcall (L=0x9060c40, nargs=1, nresults=0, errfunc=1) at ../../rts/lib/lua/src/lapi.cpp:833
        c = {func = 0xb4968b0, nresults = 0}
        status = 32767
        func = 16
#18 0x0000000000756ccc in CLuaHandle::ScopedLuaCall::ScopedLuaCall (this=0x7fff46d5fba0, handle=0x9060738, state=0x9060c40, func=0x190e0b0 <CLuaHandle::GameFrame(int)::cmdStr>, _nInArgs=1, _nOutArgs=0, _errFuncIdx=1, _popErrFunc=false) at ../../rts/Lua/LuaHandle.cpp:276
        matTracker = @0x90608c0: {matrixData = std::map with 0 elements, listMode = false}
        prevMatState = std::map with 0 elements
#19 0x0000000000757057 in CLuaHandle::RunCallInTraceback (this=0x9060738, L=0x9060c40, hs=0x190e0b0 <CLuaHandle::GameFrame(int)::cmdStr>, inArgs=1, outArgs=0, errFuncIndex=1, tracebackMsg="", popErrorFunc=false) at ../../rts/Lua/LuaHandle.cpp:346
        fe = {fenv = {sse_mode = 6437, x87_mode = 114}}
        call = {luaState = 0x9060c40, luaHandle = 0x9060738, nInArgs = 1, nOutArgs = 0, errFuncIdx = 1, popErrFunc = false, top = 3, error = 0}
0000020 0x0000000000757129 in CLuaHandle::RunCallInTraceback (this=0x9060738, L=0x9060c40, hs=..., inArgs=1, outArgs=0, errFuncIndex=1, popErrFunc=false) at ../../rts/Lua/LuaHandle.cpp:356
        traceback = ""
        error = 0
#21 0x000000000075867b in CLuaHandle::GameFrame (this=0x9060738, frameNum=0) at ../../rts/Lua/LuaHandle.cpp:591
        __FUNCTION__ = "GameFrame"
        myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 293, starttime = {static binder = {class_ = 0x1ce1370, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x19514e0 <spring_time::memberRegistrator>, name = 0x1250b69 "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xa57b62 <spring_time::_ConstructInstance(void*)>, destructor = 0xa57b8e <spring_time::_DestructInstance(void*)>, nextBinder = 0x1951400 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1951600 <spring_timemreg>, static hasVTable = false, x = 30799943667, static xs = 1409824661655595070}, nameIterator = {first = 293, second = "Lua"}}, autoShowGraph = false, it = {first = 293, second = 1}}
        traceBack = {L = 0x9060c40, errFuncIdx = 1}
        cmdStr = {str = "GameFrame", hash = 2826900132}
#22 0x0000000000a30d36 in CEventHandler::GameFrame (this=0x194d260 <eventHandler>, gameFrame=0) at ../../rts/System/EventHandler.cpp:420
        ec = 0x9060738
        i = 0
#23 0x00000000005ba5d1 in CGame::StartPlaying (this=0x1f96410) at ../../rts/Game/Game.cpp:1505
        __PRETTY_FUNCTION__ = "void CGame::StartPlaying()"
0000024 0x000000000072e9b5 in CGame::ClientReadNet (this=0x1f96410) at ../../rts/Net/NetCommands.cpp:283
        timeToStart = 0
        packet = {px = 0x7f629000f190, pn = {pi_ = 0x7f629000f370}}
        inbuf = 0x7f629000f350 "\004"
        dataLength = 5
        packetCode = 4 '\004'
        msgProcEndTime = {static binder = {class_ = 0x1ce1370, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x19514e0 <spring_time::memberRegistrator>, name = 0x1250b69 "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xa57b62 <spring_time::_ConstructInstance(void*)>, destructor = 0xa57b8e <spring_time::_DestructInstance(void*)>, nextBinder = 0x1951400 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1951600 <spring_timemreg>, static hasVTable = false, x = 30506665573, static xs = 1409824661655595070}
        __FUNCTION__ = "ClientReadNet"
        __PRETTY_FUNCTION__ = "void CGame::ClientReadNet()"
#25 0x00000000005b7b88 in CGame::Update (this=0x1f96410) at ../../rts/Game/Game.cpp:992
No locals.
0000026 0x0000000000a8942d in SpringApp::Update (this=0x7fff46d60b10) at ../../rts/System/SpringApp.cpp:858
        ret = 1
        cputimer = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 1139, starttime = {static binder = {class_ = 0x1ce1370, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x19514e0 <spring_time::memberRegistrator>, name = 0x1250b69 "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xa57b62 <spring_time::_ConstructInstance(void*)>, destructor = 0xa57b8e <spring_time::_DestructInstance(void*)>, nextBinder = 0x1951400 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1951600 <spring_timemreg>, static hasVTable = false, x = 26549600, static xs = 1409824661655595070}, nameIterator = {first = 1188432448, second = ""}}, autoShowGraph = 54, it = {first = 1139, second = 0}}
        pre = {static binder = {class_ = 0x1ce1370, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x19514e0 <spring_time::memberRegistrator>, name = 0x1250b69 "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0xa57b62 <spring_time::_ConstructInstance(void*)>, destructor = 0xa57b8e <spring_time::_DestructInstance(void*)>, nextBinder = 0x1951400 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x1951600 <spring_timemreg>, static hasVTable = false, x = 30501661224, static xs = 1409824661655595070}
0000027 0x0000000000a89583 in SpringApp::Run (this=0x7fff46d60b10) at ../../rts/System/SpringApp.cpp:889
        __FUNCTION__ = "Run"
#28 0x0000000000a50169 in Run (argc=3, argv=0x7fff46d60d18) at ../../rts/System/Main.cpp:48
        app = {cmdline = 0x1ccb830}
        ret = -1
        err = 0x11b702f <__static_initialization_and_destruction_0(int, int)+495>
0000029 0x0000000000a50834 in main (argc=3, argv=0x7fff46d60d18) at ../../rts/System/Main.cpp:107
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
has duplicate 0004531resolvedabma 97.0.1-360 Desync 
+Relationships

-Notes

~0013593

cleanrock (reporter)

Probably a mistake by jk in 855c7a33:
+ assert(previous.size() == 2);
+ const int2& p1 = previous[1]; // two before curquare
+ const int2& p2 = previous[2]; // one before curquare
Looks like he wanted == 3.

~0013594

cleanrock (reporter)

If assert is changed to == 3 line 382 will assert when you move your com:
rts/Sim/Path/Default/PathFinder.cpp:382: void CPathFinder::AdjustFoundPath(const MoveDef&, IPath::Path&, float3&, std::deque<type2<int> >&, int2) const: Assertion `dirNow.x % PATH_NODE_SPACING == 0' failed.

~0013595

abma (administrator)

Last edited: 2014-09-04 23:15

View 2 revisions

97.0.1-364-g7d8b652 still fails:

(gdb) print dirNow.x
$1 = -359
(gdb) print PATH_NODE_SPACING
$2 = 2

spring: rts/Sim/Path/Default/PathFinder.cpp:381: void CPathFinder::AdjustFoundPath(const MoveDef&, IPath::Path&, float3&, std::deque<type2<int> >&, int2) const: Assertion `dirNow.x % PATH_NODE_SPACING == 0' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff4226d27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 0x00007ffff4226d27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff4228418 in __GI_abort () at abort.c:89
#2 0x00007ffff421fbd6 in __assert_fail_base (fmt=0x7ffff4370748 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x15166e8 "dirNow.x % PATH_NODE_SPACING == 0", file=file@entry=0x1516648 "rts/Sim/Path/Default/PathFinder.cpp", line=line@entry=381,
    function=function@entry=0x1516940 <CPathFinder::AdjustFoundPath(MoveDef const&, IPath::Path&, float3&, std::deque<type2<int>, std::allocator<type2<int> > >&, type2<int>) const::__PRETTY_FUNCTION__> "void CPathFinder::AdjustFoundPath(const MoveDef&, IPath::Path&, float3&, std::deque<type2<int> >&, int2) const") at assert.c:92
0000003 0x00007ffff421fc82 in __GI___assert_fail (assertion=0x15166e8 "dirNow.x % PATH_NODE_SPACING == 0", file=0x1516648 "rts/Sim/Path/Default/PathFinder.cpp", line=381,
    function=0x1516940 <CPathFinder::AdjustFoundPath(MoveDef const&, IPath::Path&, float3&, std::deque<type2<int>, std::allocator<type2<int> > >&, type2<int>) const::__PRETTY_FUNCTION__> "void CPathFinder::AdjustFoundPath(const MoveDef&, IPath::Path&, float3&, std::deque<type2<int> >&, int2) const") at assert.c:101
0000004 0x000000000115f60c in CPathFinder::AdjustFoundPath (this=0x1360df30, moveDef=..., foundPath=..., nextPoint=..., previous=std::deque with 2 elements = {...}, curquare=...)
    at rts/Sim/Path/Default/PathFinder.cpp:381
0000005 0x000000000115f2e6 in CPathFinder::FinishSearch (this=0x1360df30, moveDef=..., pfDef=..., foundPath=...) at rts/Sim/Path/Default/PathFinder.cpp:308
#6 0x000000000114e7ae in IPathFinder::GetPath (this=0x1360df30, moveDef=..., pfDef=..., owner=0x1c3aa2e0, startPos=..., path=..., maxNodes=8192)
    at rts/Sim/Path/Default/IPathFinder.cpp:125
#7 0x0000000001166afd in CPathManager::RequestPath (this=0x7602e00, moveDef=0x5f524fa, startPos=..., goalPos=..., pfDef=0x13197650, caller=0x1c3aa2e0, synced=true)
    at rts/Sim/Path/Default/PathManager.cpp:172
#8 0x000000000116658e in CPathManager::RequestPath (this=0x7602e00, caller=0x1c3aa2e0, moveDef=0x5f524fa, startPos=..., goalPos=..., goalRadius=8, synced=true)
    at rts/Sim/Path/Default/PathManager.cpp:92
#9 0x000000000112d295 in CGroundMoveType::GetNewPath (this=0x1bf2e720) at rts/Sim/MoveTypes/GroundMoveType.cpp:1241
0000010 0x000000000112ea3b in CGroundMoveType::StartEngine (this=0x1bf2e720, callScript=false) at rts/Sim/MoveTypes/GroundMoveType.cpp:1447
#11 0x000000000112d543 in CGroundMoveType::ReRequestPath (this=0x1bf2e720, callScript=false, forceRequest=true) at rts/Sim/MoveTypes/GroundMoveType.cpp:1263
0000012 0x0000000001127bea in CGroundMoveType::StartMoving (this=0x1bf2e720, moveGoalPos=..., moveGoalRadius=8) at rts/Sim/MoveTypes/GroundMoveType.cpp:428
0000013 0x000000000122583d in CMobileCAI::SetGoal (this=0x1bfb08b0, pos=..., goalRadius=8) at rts/Sim/Units/CommandAI/MobileCAI.cpp:959
---Type <return> to continue, or q <return> to quit---
0000014 0x0000000001222110 in CMobileCAI::ExecuteMove (this=0x1bfb08b0, c=...) at rts/Sim/Units/CommandAI/MobileCAI.cpp:434
#15 0x0000000001221f16 in CMobileCAI::Execute (this=0x1bfb08b0) at rts/Sim/Units/CommandAI/MobileCAI.cpp:400
#16 0x0000000001221e65 in CMobileCAI::SlowUpdate (this=0x1bfb08b0) at rts/Sim/Units/CommandAI/MobileCAI.cpp:389
#17 0x000000000120234f in CBuilderCAI::SlowUpdate (this=0x1bfb08b0) at rts/Sim/Units/CommandAI/BuilderCAI.cpp:505
#18 0x000000000120f929 in CCommandAI::GiveAllowedCommand (this=0x1bfb08b0, c=..., fromSynced=true) at rts/Sim/Units/CommandAI/CommandAI.cpp:851
#19 0x00000000012216d0 in CMobileCAI::GiveCommandReal (this=0x1bfb08b0, c=..., fromSynced=true) at rts/Sim/Units/CommandAI/MobileCAI.cpp:272
0000020 0x0000000001202033 in CBuilderCAI::GiveCommandReal (this=0x1bfb08b0, c=..., fromSynced=true) at rts/Sim/Units/CommandAI/BuilderCAI.cpp:466
#21 0x000000000120e99d in CCommandAI::GiveCommand (this=0x1bfb08b0, c=..., fromSynced=true) at rts/Sim/Units/CommandAI/CommandAI.cpp:611
#22 0x000000000066ad02 in CSelectedUnitsHandlerAI::GiveCommandNet (this=0x1a51940 <selectedUnitsAI>, c=..., player=0) at rts/Game/SelectedUnitsAI.cpp:121
#23 0x0000000000661a9b in CSelectedUnitsHandler::NetOrder (this=0x1a514c0 <selectedUnitsHandler>, c=..., playerId=0) at rts/Game/SelectedUnitsHandler.cpp:644
0000024 0x0000000000782c4a in CGame::ClientReadNet (this=0x2308c50) at rts/Net/NetCommands.cpp:587
#25 0x00000000005f6d97 in CGame::Update (this=0x2308c50) at rts/Game/Game.cpp:992
0000026 0x0000000000b20c02 in SpringApp::Update (this=0x7fffffffe200) at rts/System/SpringApp.cpp:858
0000027 0x0000000000b20d6b in SpringApp::Run (this=0x7fffffffe200) at rts/System/SpringApp.cpp:889
#28 0x0000000000ae5ac1 in Run (argc=1, argv=0x7fffffffe3e8) at rts/System/Main.cpp:48
0000029 0x0000000000ae6316 in main (argc=1, argv=0x7fffffffe3e8) at rts/System/Main.cpp:107

+Notes

-Issue History
Date Modified Username Field Change
2014-09-04 16:27 abma New Issue
2014-09-04 17:04 abma Product Version => 97.0.1+git
2014-09-04 17:24 cleanrock Note Added: 0013593
2014-09-04 17:50 abma Summary failing assert in rts/Sim/Path/Default/PathFinder.cpp:376 => 97.0.1-363-g81eb79c: failing assert in rts/Sim/Path/Default/PathFinder.cpp:376
2014-09-04 17:52 cleanrock Note Added: 0013594
2014-09-04 22:43 jK Changeset attached => spring develop 577c879f
2014-09-04 22:43 jK Assigned To => jK
2014-09-04 22:43 jK Status new => resolved
2014-09-04 22:43 jK Resolution open => fixed
2014-09-04 22:46 jK Changeset attached => spring develop 7d8b6526
2014-09-04 23:08 abma Note Added: 0013595
2014-09-04 23:08 abma Status resolved => new
2014-09-04 23:15 abma Note Edited: 0013595 View Revisions
2014-09-05 00:11 jK Status new => resolved
2014-09-05 00:25 abma Relationship added has duplicate 0004531
+Issue History