← Back to team overview

kicad-developers team mailing list archive

Re: Boost 1.58

 

On 4/30/2015 1:38 PM, jp charras wrote:
> Le 30/04/2015 18:53, Wayne Stambaugh a écrit :
>>
>>
>> On 4/30/2015 7:28 AM, jp charras wrote:
>>> Le 29/04/2015 15:11, Wayne Stambaugh a écrit :
>>>> Blair,
>>>>
>>>> Thanks for testing this.  I am curious if the boost::geometry issue has
>>>> been fixed.  I looked at the change log and there were a bunch of bug
>>>> fixes in the geometry library.  Although the bug report JP filed was not
>>>> among them.  Hopefully they solved this problem.  If someone could
>>>> verify that, I would appreciate it.
>>>>
>>>> Thanks,
>>>>
>>>> Wayne
>>>>
>>>
>>> The crash happens in 1.58, with my test program (the one I sent to the
>>> boost::polygon maintainer).
>>>
>>>
>> Sigh!!!  I guess it was wishful thinking.  It's been over two years
>> since this bug was filed and all we have is an acknowledgement that it
>> is indeed a problem.  After the stable release, maybe we need to look at
>> alternate polygon libraries.
> 
> There are not a lot of these libs (at least for FOSS).
> The last, not yet used or tested, (with an acceptable license) I know is
> CGAL.

Is there some test condition for the polygon that causes the crash that
we can use to at least prevent the crash?  I know it's less than ideal
but at least we can warn the user to change their clearances slightly
and refill the zone rather than allow Pcbnew to crash and potentially
cause data loss.

> 
> I am using Clipper for some operations not handled by Boost, but when
> combining polygons, the result is strange.
> 
> This bug is really annoying, but to tell the True, the issue with
> boost::context (on Windows, not supporting gcc) is for me a lot more
> annoying.
> 

For all the hype about Boost, they are not very cooperative when it
comes to fixing things.  I'm starting to regret that made kicad so
dependent on Boost.  Removing it now would probably be more work than
providing our own Boost patches.


Follow ups

References