pcb

Activity log for bug #1797562

Date Who What changed Old value New value Message
2018-10-12 13:12:55 Chad Parker bug added bug
2018-10-12 13:15:59 Chad Parker description pcb crashes under certain conditions when a polygon, or a segment of a polygon has zero area. For example, creating a polygon with the following six points: 1 ______ 6 | | | | 3| | |\ | | \ | | \___| 2 4 5 If you then attempt to move point 2, pcb will die. Obviously this is not a shape that people are frequently interested in, but, a simpler case could happen accidentally quite easily: 1,3 ----------- 2 While debugging something else, I stumbled on this. In a debug build, there is failed assertion in polygon1.c: Assertion failed: (poly_Valid (np)), function original_poly, file ../../src/polygon.c, line 329. This appears to check the number of points in a polygon against the number of items found in an r_search. pcb crashes under certain conditions when a polygon, or a segment of a polygon has zero area. For example, creating a polygon with the following six points:  1 ______ 6   |******|   |******|  3|******|   |\*****|   |*\****|   |**\___|  2 4 5 (*'s are used so that the auto-formatting doesn't cause the ASCII art to collapse) If you then attempt to move point 2, pcb will die. Obviously this is not a shape that people are frequently interested in, but, a simpler case could happen accidentally quite easily: 1,3 ----------- 2 While debugging something else, I stumbled on this. In a debug build, there is failed assertion in polygon1.c: Assertion failed: (poly_Valid (np)), function original_poly, file ../../src/polygon.c, line 329. This appears to check the number of points in a polygon against the number of items found in an r_search.
2019-02-24 18:50:55 Chad Parker pcb: milestone future-bug-fix-release
2019-02-24 18:51:03 Chad Parker pcb: importance Undecided Low
2019-02-24 18:51:06 Chad Parker pcb: status New Confirmed