2025-07-20 20:24 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004501Spring engineGeneralpublic2014-08-12 05:50
Reporterabma 
Assigned TojK 
PrioritynormalSeverityblockReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version97.0.1+git 
Target Version98.0Fixed in Version 
Summary0004501: SIGSEV in in PathNodeStateBuffer::ClearSquare () at rts/Sim/Path/Default/PathDataTypes.h:101 (spring 97.0.1-225-g99295e5)
Description(gdb) bt
#0 0x0000000000ac7bc3 in PathNodeStateBuffer::ClearSquare (this=0x9d0dfa0, idx=1035) at rts/Sim/Path/Default/PathDataTypes.h:101
#1 0x0000000000ac72bb in IPathFinder::ResetSearch (this=0x9bcdf70) at rts/Sim/Path/Default/IPathFinder.cpp:71
#2 0x0000000000ad7400 in CPathFinder::InitSearch (this=0x9bcdf70, moveDef=..., pfDef=..., owner=0x0, peCall=true, synced=true) at rts/Sim/Path/Default/PathFinder.cpp:179
0000003 0x0000000000ad706b in CPathFinder::GetPath (this=0x9bcdf70, moveDef=..., pfDef=..., owner=0x0, startPos=..., path=..., maxNodes=16384, testMobile=false, exactPath=true,
    needPath=false, peCall=true, synced=true) at rts/Sim/Path/Default/PathFinder.cpp:100
0000004 0x0000000000ace08e in CPathEstimator::CalculateVertex (this=0x80dbfc0, moveDef=..., parentBlockX=0, parentBlockZ=0, direction=1, threadNum=3)
    at rts/Sim/Path/Default/PathEstimator.cpp:353
0000005 0x0000000000acdce8 in CPathEstimator::CalculateVertices (this=0x80dbfc0, moveDef=..., blockX=0, blockZ=0, thread=3) at rts/Sim/Path/Default/PathEstimator.cpp:299
#6 0x0000000000acd70b in CPathEstimator::EstimatePathCosts (this=0x80dbfc0, blockIdx=0, threadNum=3) at rts/Sim/Path/Default/PathEstimator.cpp:223
#7 0x0000000000acd284 in CPathEstimator::CalcOffsetsAndPathCosts (this=0x80dbfc0, threadNum=3) at rts/Sim/Path/Default/PathEstimator.cpp:182
#8 0x0000000000ad6c3d in boost::_mfi::mf1<void, CPathEstimator, unsigned int>::operator() (this=0xa78e2b8, p=0x80dbfc0, a1=3)
    at /usr/include/boost/bind/mem_fn_template.hpp:165
#9 0x0000000000ad6b79 in boost::_bi::list2<boost::_bi::value<CPathEstimator*>, boost::_bi::value<unsigned int> >::operator()<boost::_mfi::mf1<void, CPathEstimator, unsigned int>, boost::_bi::list0> (this=0xa78e2c8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:313
0000010 0x0000000000ad69a1 in boost::_bi::bind_t<void, boost::_mfi::mf1<void, CPathEstimator, unsigned int>, boost::_bi::list2<boost::_bi::value<CPathEstimator*>, boost::_bi::value<unsigned int> > >::operator() (this=0xa78e2b8) at /usr/include/boost/bind/bind_template.hpp:20
#11 0x0000000000ad67c2 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CPathEstimator, unsigned int>, boost::_bi::list2<boost::_bi::value<CPathEstimator*>, boost::_bi::value<unsigned int> > > >::run (this=0xa78e100) at /usr/include/boost/thread/detail/thread.hpp:117
0000012 0x00007ffff545fd3a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.55.0
0000013 0x00007ffff78bf165 in start_thread (arg=0x7fffbf6ce700) at pthread_create.c:309
0000014 0x00007ffff44fc4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Additional Information(gdb) bt full
#0 0x0000000000ac7bc3 in PathNodeStateBuffer::ClearSquare (this=0x9d0dfa0, idx=1035) at rts/Sim/Path/Default/PathDataTypes.h:101
No locals.
#1 0x0000000000ac72bb in IPathFinder::ResetSearch (this=0x9bcdf70) at rts/Sim/Path/Default/IPathFinder.cpp:71
No locals.
#2 0x0000000000ad7400 in CPathFinder::InitSearch (this=0x9bcdf70, moveDef=..., pfDef=..., owner=0x0, peCall=true, synced=true) at rts/Sim/Path/Default/PathFinder.cpp:179
        __PRETTY_FUNCTION__ = "IPath::SearchResult CPathFinder::InitSearch(const MoveDef&, const CPathFinderDef&, const CSolidObject*, bool, bool)"
        isStartGoal = false
        os = 0x7fff00000008
        result = 32767
0000003 0x0000000000ad706b in CPathFinder::GetPath (this=0x9bcdf70, moveDef=..., pfDef=..., owner=0x0, startPos=..., path=..., maxNodes=16384, testMobile=false, exactPath=true,
    needPath=false, peCall=true, synced=true) at rts/Sim/Path/Default/PathFinder.cpp:100
        result = 32767
0000004 0x0000000000ace08e in CPathEstimator::CalculateVertex (this=0x80dbfc0, moveDef=..., parentBlockX=0, parentBlockZ=0, direction=1, threadNum=3)
    at rts/Sim/Path/Default/PathEstimator.cpp:353
        childBlockX = 1
        vertexNbr = 131073
        childSquare = {static binder = {class_ = 0x19c9e30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x192c420 <type2<int>::memberRegistrator>,
            name = 0x12a0557 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xccf0ca <type2<int>::_ConstructInstance(void*)>,
            destructor = 0xccf0f6 <type2<int>::_DestructInstance(void*)>, nextBinder = 0x192bfe0 <SyncedFloat3::binder>}, static memberRegistrator = 0x192c508 <int2mreg>,
          static hasVTable = <optimized out>, x = 11, y = 11}
        childBlockNbr = 129
        parentSquare = {static binder = {class_ = 0x19c9e30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x192c420 <type2<int>::memberRegistrator>,
            name = 0x12a0557 "int2", size = 8, alignment = 4, hasVTable = false, constructor = 0xccf0ca <type2<int>::_ConstructInstance(void*)>,
            destructor = 0xccf0f6 <type2<int>::_DestructInstance(void*)>, nextBinder = 0x192bfe0 <SyncedFloat3::binder>}, static memberRegistrator = 0x192c508 <int2mreg>,
          static hasVTable = <optimized out>, x = 3, y = 3}
        startPos = @0x7fffbf6cdb70: {static binder = {class_ = 0x19c9d30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x192c520 <float3::memberRegistrator>,
            name = 0x12a06ce "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xccf5ce <float3::_ConstructInstance(void*)>,
            destructor = 0xccf5fa <float3::_DestructInstance(void*)>, nextBinder = 0x192c4a0 <type2<float>::binder>}, static memberRegistrator = 0x192c608 <float3mreg>,
          static hasVTable = false, static CMP_EPS = 9,99999975e-05, static NORMALIZE_EPS = 9,99999996e-13, static maxxpos = 8191, static maxzpos = 8191, {{x = 24,
              y = -61,9794464, z = 24}, {r = 24, g = -61,9794464, b = 24}, {x1 = 24, y1 = -61,9794464, x2 = 24}, {s = 24, t = -61,9794464, p = 24}, {xstart = 24,
              ystart = -61,9794464, xend = 24}}}
        goalPos = @0x7fffbf6cdb80: {static binder = {class_ = 0x19c9d30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x192c520 <float3::memberRegistrator>,
            name = 0x12a06ce "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xccf5ce <float3::_ConstructInstance(void*)>,
            destructor = 0xccf5fa <float3::_DestructInstance(void*)>, nextBinder = 0x192c4a0 <type2<float>::binder>}, static memberRegistrator = 0x192c608 <float3mreg>,
          static hasVTable = false, static CMP_EPS = 9,99999975e-05, static NORMALIZE_EPS = 9,99999996e-13, static maxxpos = 8191, static maxzpos = 8191, {{x = 88,
              y = -58,1005669, z = 88}, {r = 88, g = -58,1005669, b = 88}, {x1 = 88, y1 = -58,1005669, x2 = 88}, {s = 88, t = -58,1005669, p = 88}, {xstart = 88,
              ystart = -58,1005669, xend = 88}}}
---Type <return> to continue, or q <return> to quit---
        pfDef = {<CPathFinderDef> = {_vptr.CPathFinderDef = 0x1261c30 <vtable for CRectangularSearchConstraint+16>, goal = {static binder = {class_ = 0x19c9d30, base = 0x0,
                flags = creg::CF_None, memberRegistrator = 0x192c520 <float3::memberRegistrator>, name = 0x12a06ce "float3", size = 12, alignment = 4, hasVTable = false,
                constructor = 0xccf5ce <float3::_ConstructInstance(void*)>, destructor = 0xccf5fa <float3::_DestructInstance(void*)>,
                nextBinder = 0x192c4a0 <type2<float>::binder>}, static memberRegistrator = 0x192c608 <float3mreg>, static hasVTable = false, static CMP_EPS = 9,99999975e-05,
              static NORMALIZE_EPS = 9,99999996e-13, static maxxpos = 8191, static maxzpos = 8191, {{x = 88, y = -58,1005669, z = 88}, {r = 88, g = -58,1005669, b = 88}, {
                  x1 = 88, y1 = -58,1005669, x2 = 88}, {s = 88, t = -58,1005669, p = 88}, {xstart = 88, ystart = -58,1005669, xend = 88}}}, sqGoalRadius = 128,
            startInGoalRadius = false, constraintDisabled = false, goalSquareX = 11, goalSquareZ = 11}, parentBlockRect = {static binder = {class_ = 0x19c9fb0, base = 0x0,
              flags = creg::CF_None, memberRegistrator = 0x192a440 <SRectangle::memberRegistrator>, name = 0x129869f "SRectangle", size = 16, alignment = 4, hasVTable = false,
              constructor = 0xca0df2 <SRectangle::_ConstructInstance(void*)>, destructor = 0xca0e1e <SRectangle::_DestructInstance(void*)>,
              nextBinder = 0x1929c20 <CObject::binder>}, static memberRegistrator = 0x192a528 <SRectanglemreg>, static hasVTable = false, {x1 = 0, left = 0}, {z1 = 0, y1 = 0,
              top = 0}, {x2 = 8, right = 8}, {z2 = 8, y2 = 8, bottom = 8}}, childBlockRect = {static binder = {class_ = 0x19c9fb0, base = 0x0, flags = creg::CF_None,
              memberRegistrator = 0x192a440 <SRectangle::memberRegistrator>, name = 0x129869f "SRectangle", size = 16, alignment = 4, hasVTable = false,
              constructor = 0xca0df2 <SRectangle::_ConstructInstance(void*)>, destructor = 0xca0e1e <SRectangle::_DestructInstance(void*)>,
              nextBinder = 0x1929c20 <CObject::binder>}, static memberRegistrator = 0x192a528 <SRectanglemreg>, static hasVTable = false, {x1 = 8, left = 8}, {z1 = 8, y1 = 8,
              top = 8}, {x2 = 16, right = 16}, {z2 = 16, y2 = 16, bottom = 16}}}
        childBlockZ = 1
        parentBlockNbr = 0
        path = {desiredGoal = {static binder = {class_ = 0x19c9d30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x192c520 <float3::memberRegistrator>,
              name = 0x12a06ce "float3", size = 12, alignment = 4, hasVTable = false, constructor = 0xccf5ce <float3::_ConstructInstance(void*)>,
              destructor = 0xccf5fa <float3::_DestructInstance(void*)>, nextBinder = 0x192c4a0 <type2<float>::binder>}, static memberRegistrator = 0x192c608 <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}}}, pathGoal = {static binder = {
              class_ = 0x19c9d30, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x192c520 <float3::memberRegistrator>, name = 0x12a06ce "float3", size = 12,
              alignment = 4, hasVTable = false, constructor = 0xccf5ce <float3::_ConstructInstance(void*)>, destructor = 0xccf5fa <float3::_DestructInstance(void*)>,
              nextBinder = 0x192c4a0 <type2<float>::binder>}, static memberRegistrator = 0x192c608 <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}}}, path = std::vector of length 0, capacity 0, squares = std::vector of length 0, capacity 0,
          goalRadius = -1, pathCost = inf}
        result = IPath::Ok
0000005 0x0000000000acdce8 in CPathEstimator::CalculateVertices (this=0x80dbfc0, moveDef=..., blockX=0, blockZ=0, thread=3) at rts/Sim/Path/Default/PathEstimator.cpp:299
No locals.
#6 0x0000000000acd70b in CPathEstimator::EstimatePathCosts (this=0x80dbfc0, blockIdx=0, threadNum=3) at rts/Sim/Path/Default/PathEstimator.cpp:223
        md = 0x221a6f4
        i = 2
        x = 0
        z = 0
#7 0x0000000000acd284 in CPathEstimator::CalcOffsetsAndPathCosts (this=0x80dbfc0, threadNum=3) at rts/Sim/Path/Default/PathEstimator.cpp:182
---Type <return> to continue, or q <return> to quit---
        maxBlockIdx = 16383
        i = 16383
#8 0x0000000000ad6c3d in boost::_mfi::mf1<void, CPathEstimator, unsigned int>::operator() (this=0xa78e2b8, p=0x80dbfc0, a1=3)
    at /usr/include/boost/bind/mem_fn_template.hpp:165
No locals.
#9 0x0000000000ad6b79 in boost::_bi::list2<boost::_bi::value<CPathEstimator*>, boost::_bi::value<unsigned int> >::operator()<boost::_mfi::mf1<void, CPathEstimator, unsigned int>, boost::_bi::list0> (this=0xa78e2c8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:313
No locals.
0000010 0x0000000000ad69a1 in boost::_bi::bind_t<void, boost::_mfi::mf1<void, CPathEstimator, unsigned int>, boost::_bi::list2<boost::_bi::value<CPathEstimator*>, boost::_bi::value<unsigned int> > >::operator() (this=0xa78e2b8) at /usr/include/boost/bind/bind_template.hpp:20
        a = {<No data fields>}
#11 0x0000000000ad67c2 in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf1<void, CPathEstimator, unsigned int>, boost::_bi::list2<boost::_bi::value<CPathEstimator*>, boost::_bi::value<unsigned int> > > >::run (this=0xa78e100) at /usr/include/boost/thread/detail/thread.hpp:117
No locals.
0000012 0x00007ffff545fd3a in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.55.0
No symbol table info available.
0000013 0x00007ffff78bf165 in start_thread (arg=0x7fffbf6ce700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7fffbf6ce700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736404973312, 944761572503172138, 1, 0, 140736404974016, 140736404973312, -944901065487305686, -944743602718264278},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
0000014 0x00007ffff44fc4dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0013505

abma (administrator)

to reproduce clear pathcache, load "Small Supreme Battlefield V2"

~0013506

abma (administrator)

$ print peParentNodePos
$1 = std::vector of length 0, capacity 0
+Notes

-Issue History
Date Modified Username Field Change
2014-08-12 01:39 abma New Issue
2014-08-12 01:40 abma Severity minor => crash
2014-08-12 01:40 abma Product Version => 97.0.1+git
2014-08-12 01:40 abma Target Version => 98.0
2014-08-12 01:40 abma Summary SIGSEV in in PathNodeStateBuffer::ClearSquare () at rts/Sim/Path/Default/PathDataTypes.h:101 => SIGSEV in in PathNodeStateBuffer::ClearSquare () at rts/Sim/Path/Default/PathDataTypes.h:101 (spring 97.0.1-225-g99295e5)
2014-08-12 01:40 abma Note Added: 0013505
2014-08-12 01:42 abma Note Added: 0013506
2014-08-12 02:01 abma Severity crash => block
2014-08-12 05:50 jK Changeset attached => spring develop 6f346f26
2014-08-12 05:50 jK Assigned To => jK
2014-08-12 05:50 jK Status new => resolved
2014-08-12 05:50 jK Resolution open => fixed
+Issue History