Index: bug_files/TODO/drc_import_crash.lht =================================================================== --- bug_files/TODO/drc_import_crash.lht (revision 36375) +++ bug_files/TODO/drc_import_crash.lht (nonexistent) @@ -1,638 +0,0 @@ -ha:pcb-rnd-board-v8 { - - ha:attributes { - thickness=1mm - } - - ha:meta { - ha:size { - thermal_scale = 0.500000 - x = 100.0mm - y = 100.0mm - } - board_name = - ha:grid { - spacing = 0.1mm - offs_x = 0.0 - offs_y = 0.0 - } - } - - ha:data { - li:padstack_prototypes { - - ha:ps_proto_v6.0 { - hdia=0.3mm; hplated=1; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } - ha:combining { } - ha:layer_mask { - bottom = 1 - copper = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - intern = 1 - } - clearance=0.0 - } - } - } - - ha:ps_proto_v6.1 { - hdia=0.5mm; hplated=1; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } - ha:combining { } - ha:layer_mask { - bottom = 1 - copper = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - intern = 1 - } - clearance=0.0 - } - } - } - - ha:ps_proto_v6.2 { - hdia=1.2mm; hplated=1; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } - ha:combining { } - ha:layer_mask { - bottom = 1 - copper = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=3.5mm; } - ha:combining { } - ha:layer_mask { - copper = 1 - intern = 1 - } - clearance=0.0 - } - } - } - - ha:ps_proto_v6.3 { - hdia=0.8mm; hplated=1; htop=0; hbottom=0; - li:shape { - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } - ha:combining { } - ha:layer_mask { - copper = 1 - top = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } - ha:combining { } - ha:layer_mask { - bottom = 1 - copper = 1 - } - clearance=0.0 - } - - ha:ps_shape_v4 { - ha:ps_circ { x=0.0; y=0.0; dia=64.0mil; } - ha:combining { } - ha:layer_mask { - copper = 1 - intern = 1 - } - clearance=0.0 - } - } - } - } - - li:objects { - } - li:layers { - - ha:top-sig { - lid=0 - group=3 - ha:combining { } - - ha:attributes { - {pcb-rnd::key::vis}={l; Shiftt} - {pcb-rnd::key::select}={l; t} - } - - li:objects { - } - color = {#238b27} - } - - ha:bottom-sig { - lid=1 - group=10 - ha:combining { } - - ha:attributes { - {pcb-rnd::key::vis}={l; Shiftb} - {pcb-rnd::key::select}={l; b} - } - - li:objects { - } - color = {#38ee39} - } - - ha:top-gnd { - lid=2 - group=3 - ha:combining { } - - li:objects { - } - color = {#104e8b} - } - - ha:bottom-gnd { - lid=3 - group=10 - ha:combining { } - - li:objects { - } - color = {#6164ff} - } - - ha:outline { - lid=4 - group=7 - ha:combining { } - - li:objects { - } - color = {#00868b} - } - - ha:bottom-silk { - lid=5 - group=12 - ha:combining { auto=1; } - - ha:attributes { - {pcb-rnd::key::vis}={l; Shiftx} - {pcb-rnd::key::select}={l; x} - } - - li:objects { - } - color = {#000000} - } - - ha:top-silk { - lid=6 - group=1 - ha:combining { auto=1; } - - ha:attributes { - {pcb-rnd::key::vis}={l; Shifts} - {pcb-rnd::key::select}={l; s} - } - - li:objects { - } - color = {#000000} - } - - ha:top-paste { - lid=7 - group=0 - ha:combining { auto=1; } - - li:objects { - } - color = {#cd00cd} - } - - ha:top-mask { - lid=8 - group=2 - ha:combining { sub=1; auto=1; } - - li:objects { - } - color = {#ff0000} - } - - ha:bottom-mask { - lid=9 - group=11 - ha:combining { sub=1; auto=1; } - - li:objects { - } - color = {#ff0000} - } - - ha:bottom-paste { - lid=10 - group=13 - ha:combining { auto=1; } - - li:objects { - } - color = {#cd00cd} - } - - ha:slot-plated { - lid=11 - group=14 - ha:combining { auto=1; } - - li:objects { - } - color = {#8b7355} - } - - ha:slot-unplated { - lid=12 - group=15 - ha:combining { auto=1; } - - li:objects { - } - color = {#00868b} - } - - ha:top-assy { - lid=13 - group=16 - ha:combining { } - - li:objects { - } - color = {#444444} - } - - ha:bot-assy { - lid=14 - group=17 - ha:combining { } - - li:objects { - } - color = {#444444} - } - - ha:fab { - lid=15 - group=18 - ha:combining { auto=1; } - - li:objects { - } - color = {#222222} - } - - ha:top-courtyard { - lid=16 - group=8 - ha:combining { } - - li:objects { - } - color = {#104e8b} - } - - ha:bot-courtyard { - lid=17 - group=9 - ha:combining { } - - li:objects { - } - color = {#cd3700} - } - - ha:top-pwr { - lid=18 - group=3 - ha:combining { } - - li:objects { - } - color = {#c24744} - } - - ha:bottom-pwr { - lid=19 - group=10 - ha:combining { } - - li:objects { - } - color = {#ff5759} - } - } - } - - ha:netlists { - li:input { - ha:unnamed_net10 { - li:conn { D5-1; Q6-3; } - } - ha:unnamed_net11 { - li:conn { D5-2; R5-1; } - } - ha:USB3 { - li:conn { J2-A10; J2-B10; R4-2; } - } - ha:unnamed_net12 { - li:conn { D3-1; R3-2; } - } - ha:unnamed_net13 { - li:conn { D2-2; R2-2; } - } - ha:unnamed_net14 { - li:conn { D1-2; R1-1; } - } - ha:VCC { - li:conn { D3-2; J1-1; J1-3; J2-A2; J2-B2; J3-1; J3-2; R5-2; } - } - ha:GND { - li:conn { J1-2; J1-4; J2-S1; J2-S2; J2-S3; J2-S4; J3-3; Q6-2; R6-1; } - } - ha:USB2+ { - li:conn { J2-A6; J2-B6; R2-1; } - } - ha:unnamed_net1 { - li:conn { J1-5; J1-6; } - } - ha:USB2- { - li:conn { D2-1; J2-A7; J2-B7; } - } - ha:unnamed_net3 { - li:conn { J1-8; J1-9; } - } - ha:unnamed_net2 { - li:conn { D4-1; J1-7; } - } - ha:unnamed_net5 { - li:conn { J2-A3; J2-B11; } - } - ha:unnamed_net4 { - li:conn { J1-11; R3-1; } - } - ha:unnamed_net7 { - li:conn { J2-A11; J2-B3; } - } - ha:unnamed_net9 { - li:conn { D4-2; R4-1; } - } - ha:Rp { - li:conn { J2-A5; J2-B5; Q6-1; R6-2; } - } - ha:PWR+ { - li:conn { J2-A9; J2-B4; R1-2; } - } - ha:PWR- { - li:conn { D1-1; J2-A12; J2-B1; } - } - } - } - ha:layer_stack { - li:groups { - ha:0 { - name = top_paste - ha:type { top=1; paste=1; } - li:layers { 7; } - } - ha:1 { - name = top_silk - ha:type { silk=1; top=1; } - li:layers { 6; } - } - ha:2 { - name = top_mask - ha:type { top=1; mask=1; } - li:layers { 8; } - } - ha:3 { - name = top_copper - ha:type { copper=1; top=1; } - li:layers { 0; 18; 2; } - } - ha:4 { - name = grp_4 - ha:type { substrate=1; intern=1; } - li:layers { } - ha:attributes { - thickness={0.7375mm } - } - } - ha:5 { - name = grp_6 - ha:type { substrate=1; intern=1; } - li:layers { } - ha:attributes { - thickness={0.125mm } - } - } - ha:6 { - name = grp_8 - ha:type { substrate=1; intern=1; } - li:layers { } - ha:attributes { - thickness={0.7375mm } - } - } - ha:7 { - name = global_outline - ha:type { boundary=1; } - li:layers { 4; } - purpose = uroute - } - ha:8 { - name = top-courtyard - ha:type { top=1; doc=1; } - li:layers { 16; } - ha:attributes { - init-invis=true - } - purpose = ko.courtyard - } - ha:9 { - name = bot-courtyard - ha:type { bottom=1; doc=1; } - li:layers { 17; } - ha:attributes { - init-invis=true - } - purpose = ko.courtyard - } - ha:10 { - name = bottom_copper - ha:type { bottom=1; copper=1; } - li:layers { 1; 19; 3; } - } - ha:11 { - name = bottom_mask - ha:type { bottom=1; mask=1; } - li:layers { 9; } - } - ha:12 { - name = bottom_silk - ha:type { silk=1; bottom=1; } - li:layers { 5; } - } - ha:13 { - name = bottom_paste - ha:type { bottom=1; paste=1; } - li:layers { 10; } - } - ha:14 { - name = pmech - ha:type { mech=1; } - li:layers { 11; } - purpose = proute - } - ha:15 { - name = umech - ha:type { mech=1; } - li:layers { 12; } - purpose = uroute - } - ha:16 { - name = top_assy - ha:type { top=1; doc=1; } - li:layers { 13; } - ha:attributes { - init-invis=1 - } - purpose = assy - } - ha:17 { - name = bot_assy - ha:type { bottom=1; doc=1; } - li:layers { 14; } - ha:attributes { - init-invis=1 - } - purpose = assy - } - ha:18 { - name = fab - ha:type { top=1; doc=1; } - li:layers { 15; } - ha:attributes { - init-invis=1 - } - purpose = fab - } - } - } - li:pcb-rnd-conf-v1 { - ha:overwrite { - ha:plugins { - ha:import_sch { - li:args { - /home/kevredon/data/project/usb-ac_cable_tester/board/usb-ac_cable_tester.sch - } - import_fmt = lepton - } - } - ha:design { - via_proto = 0 - text_font_id = 0 - text_scale = 100 - min_slk = 0.15240000 mm - text_thickness = 0 - line_thickness = 200.00 um - ha:drc { - min_ring = 0.15 mm - min_copper_overlap = 5.0 mil - min_copper_clearance = 5.0 mil - min_drill = 0.3 mm - } - min_wid = 0.15240000 mm - bloat = 0.15240000 mm - clearance = 200.00 um - } - ha:editor { - grid_unit = mm - grids_idx = 9 - grid = 100.00 um - buffer_number = 0 - ha:view { - flip_x = 0 - flip_y = 0 - } - show_solder_side = 0 - } - ha:rc { - li:library_search_paths { - $(rc.path.design)/coraleda/subc - $(rc.path.share)/footprint - } - } - } - } - ha:pixmaps { - } -} Index: bug_files/TODO/drc_import_crash.txt =================================================================== --- bug_files/TODO/drc_import_crash.txt (revision 36375) +++ bug_files/TODO/drc_import_crash.txt (nonexistent) @@ -1,10 +0,0 @@ -here some additional details for the pcb-rnd doc/TODO entry: -? BUG: DRC: SIGSEGV when importing DRC rule (floating.tdx, and others). no crash when saved without conf and reopened: bug_files/TODO/drc_import_crash.lht [report: cuvoodoo] -> can't reproduce: need a precise list of steps and all files loaded/imported - -steps to reproduce: -- open bug_files/TODO/drc_import_crash.lht (from any directory, no project.lht additional conf) -- file -> preferences -> sizes & drc -> drc_query -- click import and select floating.tdx (from http://www.repo.hu/projects/edakrill/user/igor2/drc_query/floating.krill.tar.gz, also attached) -- pcb-rnd crashes (gdb reports a SIGSEGV) - -gdb backtrace is attached Index: bug_files/TODO/drc_import_floating.tdx =================================================================== --- bug_files/TODO/drc_import_floating.tdx (revision 36375) +++ bug_files/TODO/drc_import_floating.tdx (nonexistent) @@ -1,10 +0,0 @@ -tEDAx v1 - -begin drc_query_rule v1 floating-copper - type floating copper - title copper object not connected to any network - desc remove object or connect it to a network or set the 'floating' attribute to 'yes' - - query rule floating_copper - query assert (((@.type == PSTK) || (@.layer.type == COPPER)) && (@.a."floating" != "yes") && isvoid(@.net)) thus violation(DRCGRP1, @) -end drc_query_rule