Menu

#8 seg fault in getPointsFromNeighbors

1.0 (b2)
closed
None
fixed
program
critical
1.0b1
defect
2010-02-27
2010-01-21
No

When running mcc-lidar on real data it seg faults during the first pass with the following backtrace.

0 0x000000000047f937 in void std::make_heap<gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > > >(gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > >, gnu_cxx::normal_iterator<mcc::NeighborPoint*, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > >) ()

#1 0x000000000047fa1f in void std::heap_select<gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > > >(gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > >, gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > >, gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > >) ()
#2 0x000000000047fb43 in void std::partial_sort<gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > > >(gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > >, gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > >, gnu_cxx::normal_iterator<mcc::NeighborPoint, std::vector<mcc::NeighborPoint, std::allocator<mcc::NeighborPoint> > >) ()
#3 0x000000000047c3ec in mcc::getPointsFromNeighbors(mcc::Grid<mcc::InterpolationRegion>&, unsigned int, unsigned int, std::vector<mcc::IPoint const, std::allocator<mcc::IPoint const> >&) ()
#4 0x000000000047c88a in mcc::ensureEnoughPointsPerRegion(mcc::Grid<mcc::InterpolationRegion>&) ()
---Type <return> to continue, or q <return> to quit---
#5 0x000000000047e148 in mcc::DisjointRegions::subdivide(mcc::IPointVector const&, mcc::RasterSurface const&) ()
#6 0x0000000000471425 in mcc::SurfaceInterpolation::operator()(mcc::IPointVector const&, double, double) ()
#7 0x000000000046b00a in mcc::Algorithm::classifyPoints(mcc::IPointVector&, double, double) ()
#8 0x000000000048fdaa in main ()

Related

Wiki: Version

Discussion

  • Jimm Domingo

    Jimm Domingo - 2010-02-23
    • owner set to jimm_domingo
    • priority changed from major to critical
    • status changed from new to accepted
    • milestone set to 1.0 (b2)

    Reproduced the error on OS X (10.4).

     
  • Jimm Domingo

    Jimm Domingo - 2010-02-27
    • status changed from accepted to closed
    • resolution set to fixed

    Fixed in revision r84.

     

    Related

    Commit: [r84]


Log in to post a comment.