Opened 7 years ago
Closed 7 years ago
#11709 closed Bugs (fixed)
is_simple segfault
Reported by: | Owned by: | Barend Gehrels | |
---|---|---|---|
Milestone: | Boost 1.60.0 | Component: | geometry |
Version: | Boost 1.58.0 | Severity: | Problem |
Keywords: | Cc: | mkaravel |
Description
I am getting a segfault when is_simple with a line geometry that is empty.
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 run 0x000000010835aa89 bool boost::geometry::detail::is_simple::has_self_intersections<mapnik::geometry::line_string<double> >(mapnik::geometry::line_string<double> const&) + 57 1 run 0x000000010835a26f bool mapnik::geometry::detail::geometry_is_simple::operator()<double>(mapnik::geometry::line_string<double> const&) const + 287
Change History (3)
comment:1 by , 7 years ago
comment:3 by , 7 years ago
Cc: | added |
---|---|
Milestone: | To Be Determined → Boost 1.60.0 |
Resolution: | → fixed |
Status: | new → closed |
Indeed is_simple was crashing with an empty linestring as input. This has been fixed as part of GitHub PR 334: https://github.com/boostorg/geometry/pull/334.
This segfault also affects mutliline strings