Index: src/obj_pstk.c =================================================================== --- src/obj_pstk.c (revision 38636) +++ src/obj_pstk.c (revision 38637) @@ -1148,6 +1148,8 @@ case PCB_PSSH_HSHADOW: return 0; /* there's no copper that could break */ case PCB_PSSH_CIRC: + if (shp->data.circ.dia <= 0) + return 0; /* historical: compat padstack loader will create 0 sized copper circles for the clearance side effect */ dist = sqrt((double)shp->data.circ.x*(double)shp->data.circ.x + (double)shp->data.circ.y*(double)shp->data.circ.y); neck = (double)(shp->data.circ.dia - hdia) / 2.0 - dist; break;