#994: Segfault in UnaryUnionOp (::buildGeometry, something with C++ strings!)
------------------------+---------------------------
 Reporter:  strk        |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  blocker     |   Milestone:
Component:  Default     |     Version:  master
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------
Description changed by strk:

Old description:

> #0  0x00007f52990da583 in std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> >::_M_dispose()
> (this=0x7ffde4bb7940)
>     at /usr/include/c++/7/bits/basic_string.h:220
> #1  0x00007f52990da583 in std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> >::~basic_string()
> (this=0x7ffde4bb7940, __in_chrg=<optimized out>) at
> /usr/include/c++/7/bits/basic_string.h:647
> #2  0x00007f52990da583 in
> geos::geom::GeometryFactory::buildGeometry<__gnu_cxx::__normal_iterator<geos::geom::Point
> const**, std::vector<geos::geom::Point const*,
> std::allocator<geos::geom::Point const*> > >
> >(__gnu_cxx::__normal_iterator<geos::geom::Point const**,
> std::vector<geos::geom::Point const*, std::allocator<geos::geom::Point
> const*> > >, __gnu_cxx::__normal_iterator<geos::geom::Point const**,
> std::vector<geos::geom::Point const*, std::allocator<geos::geom::Point
> const*> > >) const (toofar=..., from=..., this=<optimized out>)
>     at ../../../include/geos/geom/GeometryFactory.h:391
> #3  0x00007f52990da583 in
> geos::operation::geounion::UnaryUnionOp::Union() (this=0x7ffde4bb7940) at
> UnaryUnionOp.cpp:85

New description:

 See backtrace:

 {{{
 #0  0x00007f52990da583 in std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> >::_M_dispose()
 (this=0x7ffde4bb7940)
     at /usr/include/c++/7/bits/basic_string.h:220
 #1  0x00007f52990da583 in std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> >::~basic_string()
 (this=0x7ffde4bb7940, __in_chrg=<optimized out>) at
 /usr/include/c++/7/bits/basic_string.h:647
 #2  0x00007f52990da583 in
 
geos::geom::GeometryFactory::buildGeometry<__gnu_cxx::__normal_iterator<geos::geom::Point
 const**, std::vector<geos::geom::Point const*,
 std::allocator<geos::geom::Point const*> > >
 >(__gnu_cxx::__normal_iterator<geos::geom::Point const**,
 std::vector<geos::geom::Point const*, std::allocator<geos::geom::Point
 const*> > >, __gnu_cxx::__normal_iterator<geos::geom::Point const**,
 std::vector<geos::geom::Point const*, std::allocator<geos::geom::Point
 const*> > >) const (toofar=..., from=..., this=<optimized out>)
     at ../../../include/geos/geom/GeometryFactory.h:391
 #3  0x00007f52990da583 in geos::operation::geounion::UnaryUnionOp::Union()
 (this=0x7ffde4bb7940) at UnaryUnionOp.cpp:85
 }}}

--

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/994#comment:1>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite 
(JTS).
_______________________________________________
geos-devel mailing list
geos-devel@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geos-devel

Reply via email to