Boost C++ Libraries: Ticket #11709: is_simple segfault https://svn.boost.org/trac10/ticket/11709 <p> I am getting a segfault when is_simple with a line geometry that is empty. </p> <p> Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 </p> <p> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 run 0x000000010835aa89 bool boost::geometry::detail::is_simple::has_self_intersections&lt;mapnik::geometry::line_string&lt;double&gt; &gt;(mapnik::geometry::line_string&lt;double&gt; const&amp;) + 57 1 run 0x000000010835a26f bool mapnik::geometry::detail::geometry_is_simple::operator()&lt;double&gt;(mapnik::geometry::line_string&lt;double&gt; const&amp;) const + 287 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11709 Trac 1.4.3 flippmoke@… Tue, 06 Oct 2015 15:21:19 GMT <link>https://svn.boost.org/trac10/ticket/11709#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11709#comment:1</guid> <description> <p> This segfault also affects mutliline strings </p> </description> <category>Ticket</category> </item> <item> <author>flippmoke@…</author> <pubDate>Tue, 06 Oct 2015 15:21:51 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11709#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11709#comment:2</guid> <description> <p> I mean multi-line geometries :P </p> </description> <category>Ticket</category> </item> <item> <dc:creator>mkaravel</dc:creator> <pubDate>Wed, 18 Nov 2015 08:55:18 GMT</pubDate> <title>status, milestone changed; cc, resolution set https://svn.boost.org/trac10/ticket/11709#comment:3 https://svn.boost.org/trac10/ticket/11709#comment:3 <ul> <li><strong>cc</strong> <span class="trac-author">mkaravel</span> added </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.60.0</span> </li> </ul> <p> Indeed is_simple was crashing with an empty linestring as input. This has been fixed as part of <a class="missing wiki">GitHub</a> PR 334: <a class="ext-link" href="https://github.com/boostorg/geometry/pull/334"><span class="icon">​</span>https://github.com/boostorg/geometry/pull/334</a>. </p> Ticket