Tfa091 — Face with two inner wires sharing a tangent-touch vertex crashes the reader (SIGSEGV) as soon as the extra bound wire is present; loads cleanly with only the outer wire — loop-wire repair is never reached

§12.3c

crash topology

Sources

Description

Face with two inner wires sharing a tangent-touch vertex crashes the reader (SIGSEGV) as soon as the extra bound wire is present; loads cleanly with only the outer wire — loop-wire repair is never reached

Reproducer recipe

Expected kernel behavior

Reject with a diagnostic naming the second FACE_INNER_BOUND (the tangent-touching inner wire): isolation shows the outer wire alone loads cleanly but restoring either inner wire reproduces a SIGSEGV, so a correct kernel must detect that this multi-bound construction cannot be safely translated and refuse to build the offending bound with a diagnostic rather than crashing; if the bound is dropped, the face must still be built from the outer wire and remaining valid bound, and the diagnostic must report the drop since it removes a hole from the intended geometry.

Notes

Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed loop-wire repair merges intersecting loops and produces a wire with a self-touch vertex; 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", "tangent-touching inner wire crashes reader, outer-alone loads clean".

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/* Tfa091 - ShapeFix_Face.FixLoopWire intersecting-loop touch
3 * Face with two inner wires that share a single tangent-touch point;
4 * FixLoopWire merge produces a wire with a self-touch vertex (vertex shared
5 * between two non-adjacent edges within the same loop). Tests face healing
6 * when merging intersecting loops creates a collapsed topology. */
7HEADER;
8FILE_DESCRIPTION(('Tfa091 test case','Face with tangent-touching inner wires triggering self-touch collapse'),'2;1');
9FILE_NAME('Tfa091.stp','2026-06-15T00:00:00',(''),(''),'cad-research-suite','','');
10FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
11ENDSEC;
12DATA;
13#1=APPLICATION_CONTEXT('automotive_design');
14#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1);
15/* === Outer boundary: unit square === */
16#10=CARTESIAN_POINT('',(0.0,0.0,0.0));
17#11=DIRECTION('',(0.0,0.0,1.0));
18#12=DIRECTION('',(1.0,0.0,0.0));
19#13=AXIS2_PLACEMENT_3D('',#10,#11,#12);
20#14=PLANE('face_plane',#13);
21#20=CARTESIAN_POINT('',(0.0,0.0,0.0));#21=VERTEX_POINT('',#20);
22#22=CARTESIAN_POINT('',(1.0,0.0,0.0));#23=VERTEX_POINT('',#22);
23#24=CARTESIAN_POINT('',(1.0,1.0,0.0));#25=VERTEX_POINT('',#24);
24#26=CARTESIAN_POINT('',(0.0,1.0,0.0));#27=VERTEX_POINT('',#26);
25#30=DIRECTION('',(1.0,0.0,0.0));#31=VECTOR('',#30,1.0);#32=LINE('',#20,#31);
26#33=EDGE_CURVE('outer_e1',#21,#23,#32,.T.);
27#34=DIRECTION('',(0.0,1.0,0.0));#35=VECTOR('',#34,1.0);#36=LINE('',#22,#35);
28#37=EDGE_CURVE('outer_e2',#23,#25,#36,.T.);
29#38=DIRECTION('',(-1.0,0.0,0.0));#39=VECTOR('',#38,1.0);#40=LINE('',#24,#39);
30#41=EDGE_CURVE('outer_e3',#25,#27,#40,.T.);
31#42=DIRECTION('',(0.0,-1.0,0.0));#43=VECTOR('',#42,1.0);#44=LINE('',#26,#43);
32#45=EDGE_CURVE('outer_e4',#27,#21,#44,.T.);
33#46=ORIENTED_EDGE('',*,*,#33,.T.);#47=ORIENTED_EDGE('',*,*,#37,.T.);
34#48=ORIENTED_EDGE('',*,*,#41,.T.);#49=ORIENTED_EDGE('',*,*,#45,.T.);
35#50=EDGE_LOOP('outer',(#46,#47,#48,#49));
36#51=FACE_OUTER_BOUND('',#50,.T.);
37/* === Inner wire 1: small loop from (0.3,0.3) to (0.5,0.3) to (0.5,0.5) to (0.3,0.5) back to (0.3,0.3) === */
38#60=CARTESIAN_POINT('',(0.3,0.3,0.0));#61=VERTEX_POINT('',#60);
39#62=CARTESIAN_POINT('',(0.5,0.3,0.0));#63=VERTEX_POINT('',#62);
40#64=CARTESIAN_POINT('',(0.5,0.5,0.0));#65=VERTEX_POINT('',#64);
41#66=CARTESIAN_POINT('',(0.3,0.5,0.0));#67=VERTEX_POINT('',#66);
42#70=DIRECTION('',(1.0,0.0,0.0));#71=VECTOR('',#70,0.2);#72=LINE('',#60,#71);
43#73=EDGE_CURVE('inner1_e1',#61,#63,#72,.T.);
44#74=DIRECTION('',(0.0,1.0,0.0));#75=VECTOR('',#74,0.2);#76=LINE('',#62,#75);
45#77=EDGE_CURVE('inner1_e2',#63,#65,#76,.T.);
46#78=DIRECTION('',(-1.0,0.0,0.0));#79=VECTOR('',#78,0.2);#80=LINE('',#64,#79);
47#81=EDGE_CURVE('inner1_e3',#65,#67,#80,.T.);
48#82=DIRECTION('',(0.0,-1.0,0.0));#83=VECTOR('',#82,0.2);#84=LINE('',#66,#83);
49#85=EDGE_CURVE('inner1_e4',#67,#61,#84,.T.);
50#86=ORIENTED_EDGE('',*,*,#73,.T.);#87=ORIENTED_EDGE('',*,*,#77,.T.);
51#88=ORIENTED_EDGE('',*,*,#81,.T.);#89=ORIENTED_EDGE('',*,*,#85,.T.);
52#90=EDGE_LOOP('inner1',(#86,#87,#88,#89));
53#91=FACE_INNER_BOUND('',#90,.T.);
54/* === Inner wire 2: small loop that touches inner1 at single point (0.5,0.3)
55 * Vertices: touch-point (0.5,0.3), then (0.7,0.3), (0.7,0.5), (0.5,0.5), back to touch-point
56 * This creates a shared vertex with inner1 at (0.5,0.3) === */
57#100=CARTESIAN_POINT('',(0.7,0.3,0.0));#101=VERTEX_POINT('',#100);
58#102=CARTESIAN_POINT('',(0.7,0.5,0.0));#103=VERTEX_POINT('',#102);
59/* Reuse #62 as shared touch point (0.5,0.3) */
60#104=CARTESIAN_POINT('',(0.5,0.5,0.0));#105=VERTEX_POINT('',#104);
61#110=DIRECTION('',(1.0,0.0,0.0));#111=VECTOR('',#110,0.2);#112=LINE('',#62,#111);
62#113=EDGE_CURVE('inner2_e1',#63,#101,#112,.T.);
63#114=DIRECTION('',(0.0,1.0,0.0));#115=VECTOR('',#114,0.2);#116=LINE('',#100,#115);
64#117=EDGE_CURVE('inner2_e2',#101,#103,#116,.T.);
65#118=DIRECTION('',(-1.0,0.0,0.0));#119=VECTOR('',#118,0.2);#120=LINE('',#102,#119);
66#121=EDGE_CURVE('inner2_e3',#103,#105,#120,.T.);
67#122=DIRECTION('',(0.0,-1.0,0.0));#123=VECTOR('',#122,0.2);#124=LINE('',#104,#123);
68#125=EDGE_CURVE('inner2_e4',#105,#63,#124,.T.);
69#126=ORIENTED_EDGE('',*,*,#113,.T.);#127=ORIENTED_EDGE('',*,*,#117,.T.);
70#128=ORIENTED_EDGE('',*,*,#121,.T.);#129=ORIENTED_EDGE('',*,*,#125,.T.);
71#130=EDGE_LOOP('inner2',(#126,#127,#128,#129));
72#131=FACE_INNER_BOUND('',#130,.T.);
73#140=ADVANCED_FACE('face_intersecting_loops',(#51,#91,#131),#14,.T.);
74/* === Mandatory product context chain === */
75#9000=PRODUCT_CONTEXT('',#1,'mechanical');
76#9001=PRODUCT('Tfa091','Tfa091','',(#9000));
77#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
78#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
79#9004=PRODUCT_DEFINITION('','',#9002,#9003);
80#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
81#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
82#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
83#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
84#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
85#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
86#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#9020));
87#9020=OPEN_SHELL('shell',(#140));
88#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010);
89#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
90ENDSEC;
91END-ISO-10303-21;