Boost C++ Libraries: Ticket #11421: [geometry] rstar segmentation fault boost version 1.58.0 https://svn.boost.org/trac10/ticket/11421 <h2 class="section" id="Notes:">Notes:</h2> <p> The segmentation fault does not occur with boost version 1.55.0.<br /> Discovered when upgrading from Boost 1.55.0 to Boost 1.58.0.<br /> When inserting large numbers (greater than 10<sup>4</sup>) of geometry::model::box objects into an geometry::index::rtree object that uses the boost::geometry::index::rstar algorithm, a segmentation fault occurs. </p> <h2 class="section" id="systeminformation:">system information:</h2> <p> gcc (Gentoo 4.8.2 p1.0, pie-0.5.8) 4.8.2<br /> </p> <p> Linux dctest1 3.4.0-gentoo-01 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1" title="#1: Bugs: boost.build causes ftjam to segfault (closed: Wont Fix)">#1</a> SMP Sun May 27 15:51:01 CDT 2012 x86_64 Intel(R) Xeon(R) CPU X5675 @ 3.07GHz <a class="missing wiki">GenuineIntel</a> GNU/Linux<br /> </p> <p> <a class="missing wiki">MemTotal</a>: 198094372 kB </p> <h2 class="section" id="testprogramusedtoreproducesegmentationfault:">test program used to reproduce segmentation fault:</h2> <pre class="wiki">// File: test.cpp #include &lt;iostream&gt; #include &lt;boost/geometry.hpp&gt; #include &lt;boost/geometry/index/rtree.hpp&gt; // NOTE: 1250, 800 makes 10^6 geo fences const int NUM_BOXES_LAT = 1250; const int NUM_BOXES_LON = 800; const float MAX_LAT_DEG = 61.2167f; // Anchorage AK const float MIN_LAT_DEG = 25.7877f; // Miami FL const float MAX_LON_DEG = -68.7703f; // Bangor ME const float MIN_LON_DEG = -149.9000f; // Anchorage AK const float DELTA_LAT_DEG = (MAX_LAT_DEG - MIN_LAT_DEG)/static_cast&lt;float&gt;(NUM_BOXES_LAT); const float DELTA_LON_DEG = (MAX_LON_DEG - MIN_LON_DEG)/static_cast&lt;float&gt;(NUM_BOXES_LON); using COORD_TYPE = boost::geometry::cs::cartesian; using Point = boost::geometry::model::point&lt;float, 2, COORD_TYPE&gt;; using Box = boost::geometry::model::box&lt;Point&gt;; using BoxIDPair = std::pair&lt;Box, unsigned&gt;; int main() { // Create a grid of boxes evenly distributed across North America. // Test Note: swap out rtree algorithms to isolate seg fault problem // boost::geometry::index::rtree&lt; BoxIDPair, boost::geometry::index::rstar&lt;16, 4&gt; &gt; locationGeometryTable; // seg fault @ 10^4 boxes boost::geometry::index::rtree&lt; BoxIDPair, boost::geometry::index::rstar&lt;16&gt; &gt; locationGeometryTable; // seg fault @ 10^4 boxes // boost::geometry::index::rtree&lt; BoxIDPair, boost::geometry::index::quadratic&lt;16&gt; &gt; locationGeometryTable; // pass @ 10^4 boxes; pass @ 10^6 for(unsigned idxLat=0; idxLat&lt;NUM_BOXES_LAT; ++idxLat) { float lat = idxLat*DELTA_LAT_DEG + MIN_LAT_DEG; for(unsigned idxLon=0; idxLon&lt;NUM_BOXES_LON; ++idxLon) { float lon = idxLon*DELTA_LON_DEG + MIN_LON_DEG; unsigned boxID = idxLat*idxLon; // Directly map to cartesian: lon is X; lat is Y Point pt0(lon, lat); Point pt1(lon+0.001f, lat+0.001f); Box box(pt0, pt1); locationGeometryTable.insert(std::make_pair(box, boxID)); } } return 0; } </pre><h2 class="section" id="build:">build:</h2> <p> $ gcc -std=c++11 -lstdc++ -I$BOOST_ROOT/include -DBUFFERSIZE=4096 -g -O0 test.cpp -o test </p> <h2 class="section" id="run:">run:</h2> <p> $ ./test<br /> Segmentation fault </p> <h2 class="section" id="debug:">debug:</h2> <pre class="wiki">$ gdb ./test GNU gdb (Gentoo 7.5 p1) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt; This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: &lt;http://bugs.gentoo.org/&gt;... Reading symbols from test...done. (gdb) catch throw Catchpoint 1 (throw) (gdb) run Starting program: test warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7651127 in __memmove_ssse3_back () from /lib64/libc.so.6 (gdb) backtrace #0 0x00007ffff7651127 in __memmove_ssse3_back () from /lib64/libc.so.6 #1 0x00000000004165fa in boost::geometry::index::detail::varray_detail::copy_dispatch&lt;boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;*, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;*&gt; (first=0x7fffffffc188, last=0x7fffffffc1b8, dst=0x406a6a &lt;boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;::apply_visitor&lt;boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt; &gt;(boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt;&amp;)+62&gt;) at /data/git/dependencies/boost-1.58.0/include/boost/geometry/index/detail/varray_detail.hpp:201 #2 0x0000000000413ee6 in boost::geometry::index::detail::varray_detail::copy&lt;boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;*, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;*&gt; ( first=0x7fffffffc188, last=0x7fffffffc1b8, dst=0x406a6a &lt;boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- ::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;::apply_visitor&lt;boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt; &gt;(boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt;&amp;)+62&gt;) at /data/git/dependencies/boost-1.58.0/include/boost/geometry/index/detail/varray_detail.hpp:224 #3 0x0000000000411a03 in boost::geometry::index::detail::varray&lt;boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_interna---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- l_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, 17ul&gt;::assign_dispatch&lt;boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;*&gt; ( this=0x406a62 &lt;boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;::apply_visitor&lt;boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt; &gt;(boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allo---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- cator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt;&amp;)+54&gt;, first=0x7fffffffc188, last=0x7fffffffc1b8) at /data/git/dependencies/boost-1.58.0/include/boost/geometry/index/detail/varray.hpp:1774 #4 0x00000000004100b4 in boost::geometry::index::detail::varray&lt;boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, 17ul&gt;::assign&lt;boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;*&gt; ( this=0x406a62 &lt;boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boos---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- t::detail::variant::void_&gt;::apply_visitor&lt;boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt; &gt;(boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt;&amp;)+54&gt;, first=0x7fffffffc188, last=0x7fffffffc1b8) at /data/git/dependencies/boost-1.58.0/include/boost/geometry/index/detail/varray.hpp:950 #5 0x000000000040e698 in boost::geometry::index::detail::rtree::redistribute_elements&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::rstar_tag&gt;::apply&lt;boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt; (n=..., second_node=..., box1=..., box2=..., parameters=..., translator=..., allocators=...) ---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit--- at /data/git/dependencies/boost-1.58.0/include/boost/geometry/index/detail/rtree/rstar/redistribute_elements.hpp:442 #6 0x0000000000000003 in ?? () #7 0x00007fffffffca00 in ?? () #8 0x000000000040b798 in boost::geometry::index::detail::rtree::visitors::rstar::level_insert&lt;1ul, boost::geometry::index::detail::rtree::ptr_pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::variant&lt;boost::geometry::index::detail::rtree::variant_leaf&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::variant_internal_node&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_&gt;*&gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::detail::rtree::options&lt;boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::index::detail::rtree::insert_reinsert_tag, boost::geometry::index::detail::rtree::choose_by_overlap_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::rstar_tag, boost::geometry::index::detail::rtree::node_variant_static_tag&gt;, boost::geometry::index::detail::translator&lt;boost::geometry::index::indexable&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, boost::geometry::index::equal_to&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt; &gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::allocators&lt;std::allocator&lt;std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt; &gt;, std::pair&lt;boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, unsigned int&gt;, boost::geometry::index::rstar&lt;16ul, 4ul, 4ul, 32ul&gt;, boost::geometry::model::box&lt;boost::geometry::model::point&lt;float, 2ul, boost::geometry::cs::cartesian&gt; &gt;, boost::geometry::index::detail::rtree::node_variant_static_tag&gt; &gt;::operator() ( this=&lt;error reading variable: Cannot access memory at address 0x18&gt;, n=&lt;error reading variable: Cannot access memory at address 0x10&gt;) at /data/git/dependencies/boost-1.58.0/include/boost/geometry/index/detail/rtree/rstar/insert.hpp:279 Backtrace stopped: previous frame inner to this frame (corrupt stack?) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11421 Trac 1.4.3 Celair <mathom.house@…> Fri, 26 Jun 2015 12:54:13 GMT summary changed https://svn.boost.org/trac10/ticket/11421#comment:1 https://svn.boost.org/trac10/ticket/11421#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">geometry rstar segmentation fault boost version 1.58.0</span> → <span class="trac-field-new">[geometry] rstar segmentation fault boost version 1.58.0</span> </li> </ul> Ticket viboes Sun, 05 Jul 2015 22:46:28 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11421#comment:2 https://svn.boost.org/trac10/ticket/11421#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Barend Gehrels</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">geometry</span> </li> </ul> Ticket awulkiew Tue, 14 Jul 2015 22:25:37 GMT <link>https://svn.boost.org/trac10/ticket/11421#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11421#comment:3</guid> <description> <p> Thanks for the report! Unfortunately I don't have a machine with the same setup as yours and I was unable to reproduce the problem on msvc-10, mingw-gcc-4.8.0 (win7) and gcc-4.8.4, clang-3.4 (linux mint 17). </p> <p> Currently I don't have an idea why you're experiencing this issue. Could you perform some debugging? </p> <p> E.g. detect exactly for which insert the segfault occurs, then break in file <code>boost/geometry/index/detail/rtree/rstar/insert.hpp</code> at line 279 and see when <code>this</code> and the address of <code>internal_node &amp; n</code> becomes invalid? Because it seems this is the problem, right? Or is this just some backtrace inaccuracy? </p> <p> In case the issue was related with the <code>memmove</code> itself could you in file <code>boost/geometry/index/detail/varray_detail.hpp</code> try to replace the line 224 with </p> <pre class="wiki">return std::copy(first, last, dst); </pre><p> and see if the problem persists? </p> </description> <category>Ticket</category> </item> <item> <author>mathom.house@…</author> <pubDate>Mon, 27 Jul 2015 20:31:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11421#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11421#comment:4</guid> <description> <p> Thank you for taking the time to review this report. I will investigate further, and post back here. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>awulkiew</dc:creator> <pubDate>Mon, 07 Sep 2015 12:53:58 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/11421#comment:5 https://svn.boost.org/trac10/ticket/11421#comment:5 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Barend Gehrels</span> to <span class="trac-author">awulkiew</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket awulkiew Mon, 27 Jun 2016 12:47:13 GMT <link>https://svn.boost.org/trac10/ticket/11421#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11421#comment:6</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/11421#comment:4" title="Comment 4">mathom.house@…</a>: </p> <blockquote class="citation"> <p> Thank you for taking the time to review this report. I will investigate further, and post back here. </p> </blockquote> <p> Were you able to figure out what's wrong? </p> </description> <category>Ticket</category> </item> </channel> </rss>