[Boost-bugs] [Boost C++ Libraries] #12608: boost::polygon crashing on get function after substruction operaion

Subject: [Boost-bugs] [Boost C++ Libraries] #12608: boost::polygon crashing on get function after substruction operaion
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-14 15:22:41


#12608: boost::polygon crashing on get function after substruction operaion
------------------------------+----------------------
 Reporter: shroman@… | Owner: ljsimons
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: polygon
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------
 I have one polygon set that was built from one polygon and I'm
 substracting other polygon set built from 17 polygons. assign operation
 passed successfully but then library is crashing on get operation when I'm
 trying to get vector with polygons with holes. Stackdump:

 ...:polygon::polygon_arbitrary_formation<long
 double>::active_tail_arbitrary*>
>::_M_insert<boost::polygon::polygon_arbitrary_formation<long
 double>::active_tail_arbitrary* const&>, FP=7fffffff5d30
 ...n::polygon_arbitrary_formation<long
 double>::active_tail_arbitrary*,std::allocator<boost::polygon::polygon_arbitrary_formation<long
 double>::active_tail_arbitrary*> >::push_back, FP=7fffffff5d50
 boost::polygon::polygon_arbitrary_formation<long
 double>::active_tail_arbitrary::addHole,
 FP=7fffffff5d70
 ...e>::vertex_half_edge*,std::vector<boost::polygon::scanline_base<long
 double>::vertex_half_edge,std::allocator<boost::polygon::scanline_base<long
 double>::vertex_half_edge> > > >, FP=7fffffff6440
 ...e>::vertex_half_edge*,std::vector<boost::polygon::scanline_base<long
 double>::vertex_half_edge,std::allocator<boost::polygon::scanline_base<long
 double>::vertex_half_edge> > > >, FP=7fffffff64a0
 ...::vector<boost::polygon::polygon_with_holes_data<long
 double>,std::allocator<boost::polygon::polygon_with_holes_data<long
 double> > >,boost::polygon::polygon_with_holes_concept>, FP=7fffffff6640
 ...on_set_data<long
 double>::get_dispatch<std::vector<boost::polygon::polygon_with_holes_data<long
 double>,std::allocator<boost::polygon::polygon_with_holes_data<long
 double> > > >, FP=7fffffff6670
 ...on::polygon_set_data<long
 double>::get<std::vector<boost::polygon::polygon_with_holes_data<long
 double>,std::allocator<boost::polygon::polygon_with_holes_data<long
 double> > > >, FP=7fffffff66a0
 main,
 FP=7fffffffb9a0

 Reproduction code is attached
 Thanks, Roman

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12608>
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:20 UTC