ID: | 5101 |
From: | rn...@igor2.repo.hu |
Date: | Fri, 27 Aug 2021 17:21:43 +0200 (CEST) |
Subject: | Re: [pcb-rnd] bug report: camv-rnd segfault |
in-reply-to: | 5100 from pc...@cuvoodoo.info |
replies: | 5102 from pc...@cuvoodoo.info |
Hi Cuvoodoo, On Fri, 27 Aug 2021, pcb-rnd@cuvoodoo.info wrote: >just try to open the attached gerber file (generated by kicad), and see the segmentation fault. Thanks, fixed in a series of commits ending at r323. Please test! The main problem was that my code tried to validate the aperture when drawing arc as part of a polygon contour, while aperture should be ignored in that case. After fixing that I still got a flood of warnings. This file has a few strangely expressed polygons with corner cases I haven't seen before. I've fixed 3 such corner cases, and now it loads without warnings. Note: since all y coordiantes are negative, zooming/panning will behave strange. This is a known issue, it will be fixed in librnd later, when I finally figure how to get rid of the "drawing area" constraint in a way that doesn't break pcb-rnd backward compatibility. Best regards, Igor2
Reply subtree:
5101 Re: [pcb-rnd] bug report: camv-rnd segfault from rn...@igor2.repo.hu
5102 Re: [pcb-rnd] bug report: camv-rnd segfault from pc...@cuvoodoo.info