|
Geometry : |
Subject: [geometry] more leaks in rtree
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2012-12-06 03:56:52
Hi Adam,
Valgrind reports more leaks. I hope this will help you.
Regards,
Christophe
==16094== 376 bytes in 1 blocks are definitely lost in loss record 6 of 8
==16094== at 0x4C26337: operator new(unsigned long) (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16094== by 0x96B547: void
boost::geometry::index::detail::rtree::visitors::detail::insert<boost::shared_ptr<(anonymous
namespace)::Item>, boost::shared_ptr<(anonymous namespace)::Item>,
boost::geometry::index::options::rtree<boost::geometry::index::linear<8ul,
3ul>, boost::geometry::index::insert_default_tag,
boost::geometry::index::choose_by_content_diff_tag,
boost::geometry::index::split_default_tag,
boost::geometry::index::linear_tag,
boost::geometry::index::node_d_mem_static_tag>, (anonymous
namespace)::Translator,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<std::allocator<boost::shared_ptr<(anonymous
namespace)::Item> >, boost::shared_ptr<(anonymous namespace)::Item>,
boost::geometry::index::linear<8ul, 3ul>,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::node_d_mem_static_tag>
>::split<boost::geometry::index::detail::rtree::dynamic_internal_node<boost::shared_ptr<(anonymous
namespace)::Item>, boost::geometry::index::linear<8ul, 3ul>,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<std::allocator<boost::shared_ptr<(anonymous
namespace)::Item> >, boost::shared_ptr<(anonymous namespace)::Item>,
boost::geometry::index::linear<8ul, 3ul>,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::node_d_mem_static_tag>,
boost::geometry::index::node_d_mem_static_tag>
>(boost::geometry::index::detail::rtree::dynamic_internal_node<boost::shared_ptr<(anonymous
namespace)::Item>, boost::geometry::index::linear<8ul, 3ul>,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<std::allocator<boost::shared_ptr<(anonymous
namespace)::Item> >, boost::shared_ptr<(anonymous namespace)::Item>,
boost::geometry::index::linear<8ul, 3ul>,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::node_d_mem_static_tag>,
boost::geometry::index::node_d_mem_static_tag>&) const
(new_allocator.h:89)
==16094== by 0x970677:
boost::geometry::index::detail::rtree::visitors::insert<boost::shared_ptr<(anonymous
namespace)::Item>, boost::shared_ptr<(anonymous namespace)::Item>,
boost::geometry::index::options::rtree<boost::geometry::index::linear<8ul,
3ul>, boost::geometry::index::insert_default_tag,
boost::geometry::index::choose_by_content_diff_tag,
boost::geometry::index::split_default_tag,
boost::geometry::index::linear_tag,
boost::geometry::index::node_d_mem_static_tag>, (anonymous
namespace)::Translator,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<std::allocator<boost::shared_ptr<(anonymous
namespace)::Item> >, boost::shared_ptr<(anonymous namespace)::Item>,
boost::geometry::index::linear<8ul, 3ul>,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::node_d_mem_static_tag>,
boost::geometry::index::insert_default_tag>::operator()(boost::geometry::index::detail::rtree::dynamic_internal_node<boost::shared_ptr<(anonymous
namespace)::Item>, boost::geometry::index::linear<8ul, 3ul>,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::detail::rtree::allocators<std::allocator<boost::shared_ptr<(anonymous
namespace)::Item> >, boost::shared_ptr<(anonymous namespace)::Item>,
boost::geometry::index::linear<8ul, 3ul>,
boost::geometry::model::box<boost::geometry::model::point<double, 2ul,
boost::geometry::cs::cartesian> >,
boost::geometry::index::node_d_mem_static_tag>,
boost::geometry::index::node_d_mem_static_tag>&) (insert.hpp:287)
Geometry list run by mateusz at loskot.net