Pf025 — `ADVANCED_FACE` with internal-vertex `VERTEX_LOOP` `FACE_BOUND` (`.U.`) causes outer-wire-detection infinite loop (IFC-derived)

§12.10 (sub-class: multi-pass-healing)

P2 — spec deviation (no data loss)

crash performance

Sources

Sender

IFC → STEP path

Description

An `ADVANCED_FACE` carrying two `FACE_BOUND` entries — a normal outer rectangular bound plus a `VERTEX_LOOP`-based internal-vertex `FACE_BOUND` (often with orientation `.U.`) wrapping a single `VERTEX_POINT` inside the outer wire — caused outer-wire-detection (`ShapeAnalysis::OuterWire()`) to spin indefinitely.

Reproducer recipe

face with internal vertex sub-shape (common in IFC slab/wall models converted to STEP).

Expected kernel behavior

Heal and accept: skip internal sub-shapes, iterating only the relevant boundary topology.

Notes

Validation observed: this is a deliberately scaled-down representative; the structural pattern is present but the production-scale resource exhaustion / catastrophic timing is not exercised at fixture size. To trigger the documented kernel-crash, multiply the entity-replication factor by ~10^N as noted in the reproducer recipe. **See also**: Twi041. Provenance tier: runtime-only (Q5 reclassification 2026-07-01).

Expected validation

occt=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a

Provenance tier

runtime-only — defect not fully embodied in fixture bytes.

Byte assertions

Tier-3 assertions

Cross-references

Twi041

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Pf025: ADVANCED_FACE with outer rectangular FACE_OUTER_BOUND + internal VERTEX_LOOP FACE_BOUND (.U.) at centre: ShapeAnalysis::OuterWire() spins indefinitely iterating over sub-shapes including the vertex bound; the defect entity is emitted but sits unreachable from the shape-rep root (product chain roots a GEOMETRIC_CURVE_SET stub), so OCC loads only a 1-vertex stub (shape(1)); byte-present but oracle-invisible to the load-time shape-count oracles */
3HEADER;
4FILE_DESCRIPTION(('Pf025'),'2;1');
5FILE_NAME('Pf025.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=GEOMETRIC_CURVE_SET('',(#1));
12#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
13#9051=PRODUCT('Pf025','Pf025','',(#9050));
14#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
15#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
16#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
17#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
18#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
19#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
20#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
21#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
22#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
23#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#2),#9060);
24#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
25#9063=CARTESIAN_POINT('',(0.0,0.0,0.0));
26#9064=CARTESIAN_POINT('',(4.0,0.0,0.0));
27#9065=CARTESIAN_POINT('',(4.0,3.0,0.0));
28#9066=CARTESIAN_POINT('',(0.0,3.0,0.0));
29#9067=CARTESIAN_POINT('',(2.0,1.5,0.0));
30#9068=VERTEX_POINT('',#9063);
31#9069=VERTEX_POINT('',#9064);
32#9070=VERTEX_POINT('',#9065);
33#9071=VERTEX_POINT('',#9066);
34#9072=VERTEX_POINT('',#9067);
35#9073=DIRECTION('',(1.0,0.0,0.0));
36#9074=VECTOR('',#9073,4.0);
37#9075=LINE('',#9063,#9074);
38#9076=EDGE_CURVE('',#9068,#9069,#9075,.T.);
39#9077=DIRECTION('',(0.0,1.0,0.0));
40#9078=VECTOR('',#9077,3.0);
41#9079=LINE('',#9064,#9078);
42#9080=EDGE_CURVE('',#9069,#9070,#9079,.T.);
43#9081=DIRECTION('',(-1.0,0.0,0.0));
44#9082=VECTOR('',#9081,4.0);
45#9083=LINE('',#9065,#9082);
46#9084=EDGE_CURVE('',#9070,#9071,#9083,.T.);
47#9085=DIRECTION('',(0.0,-1.0,0.0));
48#9086=VECTOR('',#9085,3.0);
49#9087=LINE('',#9066,#9086);
50#9088=EDGE_CURVE('',#9071,#9068,#9087,.T.);
51#9089=ORIENTED_EDGE('',$,$,#9076,.T.);
52#9090=ORIENTED_EDGE('',$,$,#9080,.T.);
53#9091=ORIENTED_EDGE('',$,$,#9084,.T.);
54#9092=ORIENTED_EDGE('',$,$,#9088,.T.);
55#9093=EDGE_LOOP('',(#9089,#9090,#9091,#9092));
56#9094=FACE_OUTER_BOUND('',#9093,.T.);
57#9095=VERTEX_LOOP('',#9072);
58#9096=FACE_BOUND(#9095,.U.);
59#9097=CARTESIAN_POINT('',(0.0,0.0,0.0));
60#9098=DIRECTION('',(0.0,0.0,1.0));
61#9099=DIRECTION('',(1.0,0.0,0.0));
62#9100=AXIS2_PLACEMENT_3D('',#9097,#9098,#9099);
63#9101=PLANE('',#9100);
64#9102=ADVANCED_FACE('',(#9094,#9096),#9101,.T.);
65#9103=OPEN_SHELL('vertex_loop_shell',());
66#9104=OPEN_SHELL('vertex_loop_shell',(#9102));
67#9105=SHELL_BASED_SURFACE_MODEL('vertex_loop_sbsm',(#9104));
68ENDSEC;
69END-ISO-10303-21;