Tfa086 — Rectangular face with three inner hole wires (not just a claimed 2-wire-vs-3-wire edge case) crashes the reader (SIGSEGV) as soon as the extra bound wire is present; loads cleanly with only the outer wire — coincident-edge wire merging is never reached

§12.3c

crash topology

Sources

Description

Rectangular face with three inner hole wires (not just a claimed 2-wire-vs-3-wire edge case) crashes the reader (SIGSEGV) as soon as the extra bound wire is present; loads cleanly with only the outer wire — coincident-edge wire merging is never reached

Reproducer recipe

Expected kernel behavior

Reject with a diagnostic naming the ADVANCED_FACE's extra inner-hole bound: isolation shows the outer wire alone loads cleanly but restoring even one of the three side-by-side inner hole wires reproduces a SIGSEGV, so a correct kernel must detect that a multi-bound face of this construction cannot be safely translated and refuse to build it (or the specific inner bound) with a diagnostic rather than crashing the process; if the inner bound is dropped, the face must still be built from the surviving outer wire and the diagnostic must say so, since silently completing the shell without the intended holes changes the model.

Notes

Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed coincident-edge wire merging handles the 2-wire coincidence case but misses the 3rd wire; that method is never reached because the file crashes (SIGSEGV) during shape translation before any wire-level healing pass runs. Isolation testing (stripping the extra bound wire) confirms the outer-bound-alone face loads cleanly; the crash is reproduced by restoring the additional wire. Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. Synonyms: "multi-bound face crashes reader, outer-alone loads clean", "any single inner hole (not just a 3rd) crashes the reader".

Expected validation

occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tfa086 - ShapeFix_Face.FixWiresTwoCoincEdges: 3-edge coincidence
3 * Face with three wires sharing a coincident edge. FixWiresTwoCoincEdges
4 * only handles the 2-wire case and skips the 3rd wire.
5 */
6HEADER;
7FILE_DESCRIPTION(('Tfa086 test case','Face with 3 wires sharing coincident edge; FixWiresTwoCoincEdges handles 2-wire only'),'2;1');
8FILE_NAME('Tfa086.stp','2026-06-15T00:00:00',(''),(''),'cad-research-suite','','');
9FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
10ENDSEC;
11DATA;
12#1=APPLICATION_CONTEXT('automotive_design');
13#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1);
14/* Plane at Z=0 */
15#10=CARTESIAN_POINT('',(0.0,0.0,0.0));
16#11=DIRECTION('',(0.0,0.0,1.0));
17#12=DIRECTION('',(1.0,0.0,0.0));
18#13=AXIS2_PLACEMENT_3D('',#10,#11,#12);
19#14=PLANE('base_plane',#13);
20/* Outer boundary: rectangle (0,0)-(12,10) */
21#20=CARTESIAN_POINT('',(0.0,0.0,0.0));
22#21=VERTEX_POINT('v0',#20);
23#22=CARTESIAN_POINT('',(12.0,0.0,0.0));
24#23=VERTEX_POINT('v1',#22);
25#24=CARTESIAN_POINT('',(12.0,10.0,0.0));
26#25=VERTEX_POINT('v2',#24);
27#26=CARTESIAN_POINT('',(0.0,10.0,0.0));
28#27=VERTEX_POINT('v3',#26);
29/* Outer edges */
30#30=DIRECTION('',(1.0,0.0,0.0));
31#31=VECTOR('',#30,1.0);
32#32=LINE('',#20,#31);
33#33=EDGE_CURVE('e_outer_0',#21,#23,#32,.T.);
34#34=DIRECTION('',(0.0,1.0,0.0));
35#35=VECTOR('',#34,1.0);
36#36=LINE('',#22,#35);
37#37=EDGE_CURVE('e_outer_1',#23,#25,#36,.T.);
38#38=DIRECTION('',(-1.0,0.0,0.0));
39#39=VECTOR('',#38,1.0);
40#40=LINE('',#24,#39);
41#41=EDGE_CURVE('e_outer_2',#25,#27,#40,.T.);
42#42=DIRECTION('',(0.0,-1.0,0.0));
43#43=VECTOR('',#42,1.0);
44#44=LINE('',#26,#43);
45#45=EDGE_CURVE('e_outer_3',#27,#21,#44,.T.);
46#46=ORIENTED_EDGE('',*,*,#33,.T.);
47#47=ORIENTED_EDGE('',*,*,#37,.T.);
48#48=ORIENTED_EDGE('',*,*,#41,.T.);
49#49=ORIENTED_EDGE('',*,*,#45,.T.);
50#50=EDGE_LOOP('outer_loop',(#46,#47,#48,#49));
51#51=FACE_OUTER_BOUND('',#50,.T.);
52/* Shared edge at Y=5 from (2,5) to (10,5) - used by 3 wires */
53#60=CARTESIAN_POINT('',(2.0,5.0,0.0));
54#61=VERTEX_POINT('v_shared_start',#60);
55#62=CARTESIAN_POINT('',(10.0,5.0,0.0));
56#63=VERTEX_POINT('v_shared_end',#62);
57#64=DIRECTION('',(1.0,0.0,0.0));
58#65=VECTOR('',#64,1.0);
59#66=LINE('',#60,#65);
60#67=EDGE_CURVE('e_shared_coincident',#61,#63,#66,.T.);
61/* First hole: (2,1)-(4,5) */
62#70=CARTESIAN_POINT('',(2.0,1.0,0.0));
63#71=VERTEX_POINT('v_h1_0',#70);
64#72=CARTESIAN_POINT('',(4.0,1.0,0.0));
65#73=VERTEX_POINT('v_h1_1',#72);
66#74=CARTESIAN_POINT('',(4.0,5.0,0.0));
67#75=VERTEX_POINT('v_h1_2',#74);
68#76=DIRECTION('',(1.0,0.0,0.0));
69#77=VECTOR('',#76,1.0);
70#78=LINE('',#70,#77);
71#79=EDGE_CURVE('e_h1_bottom',#71,#73,#78,.T.);
72#80=DIRECTION('',(0.0,1.0,0.0));
73#81=VECTOR('',#80,1.0);
74#82=LINE('',#72,#81);
75#83=EDGE_CURVE('e_h1_right',#73,#75,#82,.T.);
76#84=ORIENTED_EDGE('oe_h1_bot',*,*,#79,.T.);
77#85=ORIENTED_EDGE('oe_h1_right',*,*,#83,.T.);
78#86=ORIENTED_EDGE('oe_h1_shared_fwd',*,*,#67,.F.);
79#87=ORIENTED_EDGE('oe_h1_left',*,*,#45,.F.);
80#88=EDGE_LOOP('hole1_loop',(#84,#85,#86,#87));
81#89=FACE_INNER_BOUND('',#88,.T.);
82/* Second hole: (4,1)-(6,5) */
83#90=CARTESIAN_POINT('',(4.0,1.0,0.0));
84#91=VERTEX_POINT('v_h2_0',#90);
85#92=CARTESIAN_POINT('',(6.0,1.0,0.0));
86#93=VERTEX_POINT('v_h2_1',#92);
87#94=CARTESIAN_POINT('',(6.0,5.0,0.0));
88#95=VERTEX_POINT('v_h2_2',#94);
89#96=DIRECTION('',(1.0,0.0,0.0));
90#97=VECTOR('',#96,1.0);
91#98=LINE('',#90,#97);
92#99=EDGE_CURVE('e_h2_bottom',#91,#93,#98,.T.);
93#100=DIRECTION('',(0.0,1.0,0.0));
94#101=VECTOR('',#100,1.0);
95#102=LINE('',#92,#101);
96#103=EDGE_CURVE('e_h2_right',#93,#95,#102,.T.);
97#104=ORIENTED_EDGE('oe_h2_bot',*,*,#99,.T.);
98#105=ORIENTED_EDGE('oe_h2_right',*,*,#103,.T.);
99#106=ORIENTED_EDGE('oe_h2_shared',*,*,#67,.T.);
100#107=ORIENTED_EDGE('oe_h2_left',*,*,#45,.T.);
101#108=EDGE_LOOP('hole2_loop',(#104,#105,#106,#107));
102#109=FACE_INNER_BOUND('',#108,.T.);
103/* Third hole: (6,1)-(10,5) */
104#110=CARTESIAN_POINT('',(6.0,1.0,0.0));
105#111=VERTEX_POINT('v_h3_0',#110);
106#112=CARTESIAN_POINT('',(10.0,1.0,0.0));
107#113=VERTEX_POINT('v_h3_1',#112);
108#114=DIRECTION('',(1.0,0.0,0.0));
109#115=VECTOR('',#114,1.0);
110#116=LINE('',#110,#115);
111#117=EDGE_CURVE('e_h3_bottom',#111,#113,#116,.T.);
112#118=DIRECTION('',(0.0,1.0,0.0));
113#119=VECTOR('',#118,1.0);
114#120=LINE('',#112,#119);
115#121=EDGE_CURVE('e_h3_right',#113,#63,#120,.T.);
116#122=ORIENTED_EDGE('oe_h3_bot',*,*,#117,.T.);
117#123=ORIENTED_EDGE('oe_h3_right',*,*,#121,.T.);
118#124=ORIENTED_EDGE('oe_h3_shared_rev',*,*,#67,.F.);
119#125=ORIENTED_EDGE('oe_h3_left',*,*,#45,.F.);
120#126=EDGE_LOOP('hole3_loop',(#122,#123,#124,#125));
121#127=FACE_INNER_BOUND('',#126,.T.);
122/* Face with 3 inner bounds all using same coincident edge */
123#130=ADVANCED_FACE('face_3coincident',(#51,#89,#109,#127),#14,.T.);
124/* Minimal PRODUCT chain */
125#9000=PRODUCT_CONTEXT('',#1,'mechanical');
126#9001=PRODUCT('Tfa086','Tfa086','',(#9000));
127#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
128#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
129#9004=PRODUCT_DEFINITION('','',#9002,#9003);
130#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
131#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
132#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
133#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
134#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
135#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
136#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#9100));
137#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010);
138#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
139#9100=CLOSED_SHELL('shell_for_product',(#130));
140ENDSEC;
141END-ISO-10303-21;