Boost C++ Libraries: Ticket #7984: In very rare cases, boost::polygon crashed or generate bad polygon when substracting 2 sets of polygons https://svn.boost.org/trac10/ticket/7984 <p> I am using boost:: polygon to calculate sum or difference of sets of polygons. Recently, When calcualting the difference of 2 sets of polygons, I found 2 cases creating a serious issue: Depending on the shape of polygons ( a slight change "fix" the bug) I have one case which create no polygon and one (in fact 2 samples) which crashes. </p> <p> In the sample which calculate the difference between 2 polygon sets, there are 2 polygon sets: one creates no polygon, and the other crashes. </p> <p> This it reproducible under Linux or Windows-gcc-mingw, with different gcc versions and boost version. (I tried to make the polygons as simple as possible) (see comments inside the sample). </p> <p> I have used a lot boost:: polygon, and I have only 2 cases which fails (Seems related to a particular shape, not to a polygon complexity) </p> <p> Thanks to the developpers. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7984 Trac 1.4.3 jp.charras@… Tue, 05 Feb 2013 19:26:18 GMT attachment set https://svn.boost.org/trac10/ticket/7984 https://svn.boost.org/trac10/ticket/7984 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test_boost_polygon.cpp</span> </li> </ul> <p> sample which generate bad polygon difference, or crashes (see comments inside the sample) </p> Ticket Andrii Sydorchuk Thu, 07 Mar 2013 22:16:28 GMT owner changed https://svn.boost.org/trac10/ticket/7984#comment:1 https://svn.boost.org/trac10/ticket/7984#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Lucanus Simonson</span> to <span class="trac-author">Andrii Sydorchuk</span> </li> </ul> Ticket Andrii Sydorchuk Sun, 16 Jun 2013 01:49:17 GMT <link>https://svn.boost.org/trac10/ticket/7984#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7984#comment:2</guid> <description> <p> Hi, </p> <p> Thanks for the report. I was able to reproduce the issue. Will have a closer look. </p> <p> Andrii </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrii Sydorchuk</dc:creator> <pubDate>Sun, 16 Jun 2013 01:55:49 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/7984#comment:3 https://svn.boost.org/trac10/ticket/7984#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket arantius@… Mon, 26 Jan 2015 19:53:36 GMT <link>https://svn.boost.org/trac10/ticket/7984#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7984#comment:4</guid> <description> <p> This bug hit me when using <a class="missing wiki">KiCad</a>: <a class="ext-link" href="https://bugs.launchpad.net/bugs/1408494"><span class="icon">​</span>https://bugs.launchpad.net/bugs/1408494</a> </p> <p> Has there been progress? </p> </description> <category>Ticket</category> </item> </channel> </rss>