Hi! I was using gerbview to check my gebers that I generated with TopoR. And it crashed on some files. I narrowed it down a bit, it appears to be caused by AMROUNDRECTNOHOLE10 entries in the gerber file. At least, if I edit the pads so that there are only straight rectangles, it works fine.
Yep! Moreover, he pointed out that my gerber file is erroneous. He gave just enough pointers, so that I found the exact problem with the file rather quickly.
The line with numbers says: primitive filled polygon (4), positive (1), 9 vertices, 9*(x-y pairs)., rotation angle (0)
The problem is, for 9 vertices, there should be 10 x-y pairs, with the final one equal to the first one. But, TopoR listed only 9 pairs.
The actual wrong part is that the polygon should have 8 vertices (it’s a “+” shape, I think). If I replace these "9"s with "8"s, the file opens correctly.