Tfa085 — FACE_INNER_BOUND wrapping a single, non-closed edge crashes the reader (SIGSEGV) before any split-face logic can run

§12.3c face-sliver-sewing (sub-class: invalid single-edge (non-closed) FACE_INNER_BOUND — reader crash, not face-splitting repair behavior)

crash topology

Sources

Description

Rectangular face (10x5mm) whose `ADVANCED_FACE` references two `FACE_INNER_BOUND`s meant to represent interior "splitter" lines at X=3 and X=7, but each is encoded as an `EDGE_LOOP` with a single edge — not a closed wire, and not valid STEP topology for a bound. Loading this file segfaults OCCT's face translation; no diagnostic is emitted (crash happens deep enough that the message handler never flushes, consistent with `SEGFAULT_CHARACTERIZATION.md`'s other entries).

Reproducer recipe

`ADVANCED_FACE` whose `FACE_INNER_BOUND` wraps an `EDGE_LOOP` containing a single edge (open, not closed); load via ordinary `STEPControl_Reader`.

Expected kernel behavior

reject the malformed bound with a clear per-entity diagnostic (a bound wire must be closed); never crash.

Notes

Corrected 2026-07-16 (truth-in-labeling audit): retitled/redescribed — the original title/description claimed face-splitting repair's binary-split loop silently misses zones beyond the first pair; that method is never invoked (the reader crashes first). Root cause isolated by removal-test to the non-closed single-edge `FACE_INNER_BOUND`s. Same crash class as Tfa118. Synonyms: "single-edge inner bound crash", "open wire face bound segfault", "malformed splitter bound crashes reader".

Expected validation

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

Cross-references

Tfa118

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tfa085 - ShapeFix_Face.FixSplitFace: split-result multiplicity
3 * Face split by an interior edge into N > 2 sub-faces. FixSplitFace's loop
4 * assumes binary split (N=2) and misses sub-faces when N=3+.
5 * Uses a rectangular face with two parallel interior edges creating 3 zones.
6 */
7HEADER;
8FILE_DESCRIPTION(('Tfa085 test case','Face split into 3+ sub-faces; FixSplitFace binary-split loop misses extras'),'2;1');
9FILE_NAME('Tfa085.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/* Plane at Z=0 */
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('split_face_plane',#13);
21/* Outer boundary: rectangle (0,0)-(10,5) */
22#20=CARTESIAN_POINT('',(0.0,0.0,0.0));
23#21=VERTEX_POINT('v0',#20);
24#22=CARTESIAN_POINT('',(10.0,0.0,0.0));
25#23=VERTEX_POINT('v1',#22);
26#24=CARTESIAN_POINT('',(10.0,5.0,0.0));
27#25=VERTEX_POINT('v2',#24);
28#26=CARTESIAN_POINT('',(0.0,5.0,0.0));
29#27=VERTEX_POINT('v3',#26);
30/* Outer edges: bottom, right, top, left */
31#30=DIRECTION('',(1.0,0.0,0.0));
32#31=VECTOR('',#30,1.0);
33#32=LINE('',#20,#31);
34#33=EDGE_CURVE('e_outer_bottom',#21,#23,#32,.T.);
35#34=DIRECTION('',(0.0,1.0,0.0));
36#35=VECTOR('',#34,1.0);
37#36=LINE('',#22,#35);
38#37=EDGE_CURVE('e_outer_right',#23,#25,#36,.T.);
39#38=DIRECTION('',(-1.0,0.0,0.0));
40#39=VECTOR('',#38,1.0);
41#40=LINE('',#24,#39);
42#41=EDGE_CURVE('e_outer_top',#25,#27,#40,.T.);
43#42=DIRECTION('',(0.0,-1.0,0.0));
44#43=VECTOR('',#42,1.0);
45#44=LINE('',#26,#43);
46#45=EDGE_CURVE('e_outer_left',#27,#21,#44,.T.);
47#46=ORIENTED_EDGE('oe_ob',*,*,#33,.T.);
48#47=ORIENTED_EDGE('oe_or',*,*,#37,.T.);
49#48=ORIENTED_EDGE('oe_ot',*,*,#41,.T.);
50#49=ORIENTED_EDGE('oe_ol',*,*,#45,.T.);
51#50=EDGE_LOOP('outer_split',(#46,#47,#48,#49));
52#51=FACE_OUTER_BOUND('',#50,.T.);
53/* Inner edges (splits): two vertical lines at X=3 and X=7
54   Creates 3 zones: [0,3], [3,7], [7,10]
55*/
56/* First split edge: X=3, from (3,0) to (3,5) */
57#60=CARTESIAN_POINT('',(3.0,0.0,0.0));
58#61=VERTEX_POINT('v_split1_a',#60);
59#62=CARTESIAN_POINT('',(3.0,5.0,0.0));
60#63=VERTEX_POINT('v_split1_b',#62);
61#64=DIRECTION('',(0.0,1.0,0.0));
62#65=VECTOR('',#64,1.0);
63#66=LINE('',#60,#65);
64#67=EDGE_CURVE('e_split1',#61,#63,#66,.T.);
65#68=ORIENTED_EDGE('oe_split1_fwd',*,*,#67,.T.);
66#69=ORIENTED_EDGE('oe_split1_bwd',*,*,#67,.F.);
67/* Second split edge: X=7, from (7,0) to (7,5) */
68#70=CARTESIAN_POINT('',(7.0,0.0,0.0));
69#71=VERTEX_POINT('v_split2_a',#70);
70#72=CARTESIAN_POINT('',(7.0,5.0,0.0));
71#73=VERTEX_POINT('v_split2_b',#72);
72#74=DIRECTION('',(0.0,1.0,0.0));
73#75=VECTOR('',#74,1.0);
74#76=LINE('',#70,#75);
75#77=EDGE_CURVE('e_split2',#71,#73,#76,.T.);
76#78=ORIENTED_EDGE('oe_split2_fwd',*,*,#77,.T.);
77#79=ORIENTED_EDGE('oe_split2_bwd',*,*,#77,.F.);
78/* Inner bounds (holes): none yet; splits are represented as interior edges in the loop */
79/* Complete outer loop including split edges at intermediate vertices
80   Path: (0,0) -> (3,0) -> (3,5) -> (0,5) -> (0,0) [zone 1]
81         (3,0) -> (7,0) -> (7,5) -> (3,5) -> (3,0) [zone 2]
82         (7,0) -> (10,0) -> (10,5) -> (7,5) -> (7,0) [zone 3]
83   Represented as single loop with multiple inner bounds or split representation.
84   Simplified: single loop as if exterior, with split edges marked as inner bounds.
85*/
86/* Inner bound 1: zone boundary along split1, pointing inward */
87#80=ORIENTED_EDGE('ie_split1',*,*,#67,.F.);
88#81=EDGE_LOOP('inner_split1',(#80));
89#82=FACE_INNER_BOUND('bound_split1',#81,.T.);
90/* Inner bound 2: zone boundary along split2, pointing inward */
91#83=ORIENTED_EDGE('ie_split2',*,*,#77,.F.);
92#84=EDGE_LOOP('inner_split2',(#83));
93#85=FACE_INNER_BOUND('bound_split2',#84,.T.);
94/* DEFECT: Face with two inner bounds creates 3 zones when split
95   FixSplitFace loop assumes binary split (1 inner bound -> 2 zones)
96   and misses zone 2 or zone 3.
97*/
98#90=ADVANCED_FACE('split_face_3zones',(#51,#82,#85),#14,.T.);
99/* Minimal PRODUCT chain */
100#9000=PRODUCT_CONTEXT('',#1,'mechanical');
101#9001=PRODUCT('Tfa085','Tfa085','',(#9000));
102#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
103#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
104#9004=PRODUCT_DEFINITION('','',#9002,#9003);
105#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
106#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
107#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
108#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
109#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
110#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
111#9021=SHELL_BASED_SURFACE_MODEL('sbsm',(#9100));
112#9022=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#9021),#9010);
113#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
114#9100=CLOSED_SHELL('shell_for_product',(#90));
115ENDSEC;
116END-ISO-10303-21;