Tfa263 — Face whose bounds list holds a bare edge loop where face-bound wrappers are declared

§12.3c faces (sub-class: wrong-type reference — face bounds-list element is a loop, not a face bound; reader crash)

P1 — silent data loss

crash spec-violation topology

Sources

Description

A planar disc of radius 5 whose boundary chain below the defect is complete and correct — closed circle, oriented edge, one-element `EDGE_LOOP` named `loop_listed_as_bound` — but the face's bounds list contains that loop DIRECTLY, skipping the face-bound wrapper (and with it the bound's orientation flag). One list element one level too deep is the file's only anomaly; every entity is referenced.

Reproducer recipe

a face in the face-surface spelling whose bounds list is `(#loop)` where `#loop` is an `EDGE_LOOP`; no face-bound entity of any kind in the file.

Expected kernel behavior

refuse at parse time with a reference-type diagnostic — the same schema-declared slot-type check that admits face-bound wrappers rejects a loop here — or recover by synthesizing the missing wrapper with default orientation. A hard crash on a reference whose type is checkable before any geometry is built is never acceptable.

Notes

RUNTIME-VERIFIED (2026-08-10, this worktree, OCP/OCCT 7.8.1): hard crash — process death by memory fault, in BOTH heal modes and in the mesh-based reader as well (all three exit with the segmentation-violation signal). The crash is decidable from the file alone: the mis-typed reference sits in a slot whose declared type a table lookup verifies at parse time, which is precisely the refusal the crash-defence section of the implementers roadmap describes. The non-kernel structural linter (which never builds geometry) reports it as `SLOT_TYPE` without crashing. Synonyms: "face bounds list contains edge loop directly", "missing face bound wrapper crash", "loop in bounds set reader crash", "wrong type in face boundary list". Provenance tier: bytes-sufficient.

Expected validation

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

Byte assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Tfa263: FACE_SURFACE whose bounds list is (EDGE_LOOP('loop_listed_as_bound')) — the loop sits directly in a list ISO 10303-42 declares as a set of FACE_BOUNDs; the wrapper level (and its orientation flag) is absent. Disc of radius 5 on a plane at z=0; the loop chain below the defect is complete and every entity is referenced */
3HEADER;
4FILE_DESCRIPTION(('Tfa263'),'2;1');
5FILE_NAME('Tfa263.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=DIRECTION('',(0.0,0.0,1.0));
12#3=DIRECTION('',(1.0,0.0,0.0));
13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3);
14#5=PLANE('',#4);
15#6=CIRCLE('',#4,5.0);
16#7=CARTESIAN_POINT('',(5.0,0.0,0.0));
17#8=VERTEX_POINT('',#7);
18#9=EDGE_CURVE('',#8,#8,#6,.T.);
19#10=ORIENTED_EDGE('',$,$,#9,.T.);
20#11=EDGE_LOOP('loop_listed_as_bound',(#10));
21#12=FACE_SURFACE('tfa263_disc',(#11),#5,.T.);
22#13=OPEN_SHELL('',(#12));
23#14=SHELL_BASED_SURFACE_MODEL('',(#13));
24#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
25#9051=PRODUCT('Tfa263','Tfa263','',(#9050));
26#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
27#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
28#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
29#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
30#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
31#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
32#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
33#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
34#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
35#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#14),#9060);
36#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
37ENDSEC;
38END-ISO-10303-21;