[geos-devel] [GEOS] #874: Memory leaks in GEOSSTRTree_nearest
GEOS
geos-trac at osgeo.org
Wed May 30 18:15:07 PDT 2018
#874: Memory leaks in GEOSSTRTree_nearest
------------------------+--------------------------
Reporter: dbaston | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.6.3
Component: Default | Version: 3.6.2
Severity: Unassigned | Keywords:
------------------------+--------------------------
Output from Valgrind on unit tests:
{{{
16,480 (5,768 direct, 10,712 indirect) bytes in 103 blocks are definitely
lost in loss record 15 of 16
operator new(unsigned long)
geos::geom::GeometryFactory::createPoint(geos::geom::CoordinateSequence*)
const
geos::geom::GeometryFactory::createPoint(geos::geom::Coordinate const&)
const
geos::geom::GeometryFactory::toGeometry(geos::geom::Envelope const*) const
geos::geom::Geometry::getEnvelope() const
GEOSSTRtree_nearest_r
GEOSSTRtree_nearest
void tut::test_object<tut::test_capistrtree_data>::test<1>()
tut::test_group<tut::test_capistrtree_data, 50>::run_test_seh_(void
(tut::test_object<tut::test_capistrtree_data>::*)(),
tut::test_group<tut::test_capistrtree_data,
50>::safe_holder<tut::test_object>&, std::__cxx11::basic_string<char,
std::char_traits, std::allocator>&, int)
tut::test_group<tut::test_capistrtree_data,
50>::run_test_(std::_Rb_tree_iterator<std::pair> const&,
tut::test_group<tut::test_capistrtree_data,
50>::safe_holder<tut::test_object>&, tut::test_result&)
tut::test_group<tut::test_capistrtree_data,
50>::run_next(tut::test_result&)
tut::test_runner::run_all_tests_in_group_(std::_Rb_tree_const_iterator<std::pair>)
const
448 (64 direct, 384 indirect) bytes in 1 blocks are definitely lost in
loss record 10 of 16
operator new(unsigned long)
geos::geom::GeometryFactory::createPolygon(geos::geom::LinearRing*,
std::vector<geos::geom::Geometry*, std::allocator>*) const
geos::geom::GeometryFactory::toGeometry(geos::geom::Envelope const*) const
geos::geom::Geometry::getEnvelope() const
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/874>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list