Re: [Boost-bugs] [Boost C++ Libraries] #11421: [geometry] rstar segmentation fault boost version 1.58.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11421: [geometry] rstar segmentation fault boost version 1.58.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-07-14 22:25:37


#11421: [geometry] rstar segmentation fault boost version 1.58.0
--------------------------------------+----------------------------
  Reporter: Celair <mathom.house@…> | Owner: barendgehrels
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.58.0 | Severity: Problem
Resolution: | Keywords: geometry rstar
--------------------------------------+----------------------------

Comment (by awulkiew):

 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).

 Currently I don't have an idea why you're experiencing this issue.
 Could you perform some debugging?

 E.g. detect exactly for which insert the segfault occurs, then break in
 file `boost/geometry/index/detail/rtree/rstar/insert.hpp` at line 279 and
 see when `this` and the address of `internal_node & n` becomes invalid?
 Because it seems this is the problem, right? Or is this just some
 backtrace inaccuracy?

 In case the issue was related with the `memmove` itself could you in file
 `boost/geometry/index/detail/varray_detail.hpp` try to replace the line
 224 with

 {{{
 return std::copy(first, last, dst);
 }}}

 and see if the problem persists?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11421#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC