Subject: [Boost-bugs] [Boost C++ Libraries] #13025: Segmentation fault in difference(multipoint, multilinestring)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-11 13:39:33
#13025: Segmentation fault in difference(multipoint, multilinestring)
------------------------------------------------+--------------------------
Reporter: Vissarion Fisikopoulos <fisikop@â¦> | Type: Bugs
Status: new | Milestone: To Be
| Determined
Component: None | Version: Boost
| Development Trunk
Severity: Problem | Keywords:
------------------------------------------------+--------------------------
The following piece of code throws a segmentation fault. Produced on
Ubuntu 14.04.3 with gcc 4.8.4
{{{
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point_xy.hpp>
namespace bg = boost::geometry;
int main()
{
typedef bg::model::d2::point_xy<double> point;
bg::model::multi_linestring<bg::model::linestring<point> > mls2;
bg::read_wkt("MULTILINESTRING((0 1, 0 3))", mls2);
bg::model::multi_point<point> mpt2;
bg::read_wkt("MULTIPOINT(0 4)", mpt2);
bg::difference(mpt2, mls2, mpt2);
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/13025> 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-05-11 13:43:11 UTC