M035 — Single-item Constructive_Geometry_Representation crashes translator

§12.8 (sub-class: supplemental)

crash

Sources

Description

STEP `Constructive_Geometry_Representation` with only one representation item caused exception during translation.

Reproducer recipe

STEP CGR with a single `representation_item`.

Expected kernel behavior

Accept single-item representations; must not crash on single-item input.

Notes

Synonyms: "single-item CGR crashes translator", "constructive_geometry_representation crash", "CGR with one item silent-empty", "translator exception on tiny CGR". **See also**: Pf008. Validation observed: silent-empty rather than crash. Kernel-mishandling-by-silent-acceptance still demonstrates the defect class.

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Pf008

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M035: GEOMETRIC_CURVE_SET containing CONSTRUCTIVE_GEOMETRY_REPRESENTATION with exactly one PLANE item; input: AP242 STEP file where a constructive_geometry_representation has only a single representation_item (a PLANE); OCCT 1e1b83c (Mantis 0031472): translator threw exception on single-item CGR; fixed translators silently accept but produce empty output; kernel must accept single-item representations without crash and without silent-empty; OCC silently accepts (no diagnostic, empty result); GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty; synonyms: single-item CGR crashes translator, constructive_geometry_representation crash, CGR with one item silent-empty, translator exception on tiny CGR */
3HEADER;
4FILE_DESCRIPTION(('M035'),'2;1');
5FILE_NAME('M035.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF { 1 0 10303 442 1 1 4 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('cgr_origin',(0.,0.,0.));
11#2=DIRECTION('cgr_z',(0.,0.,1.));
12#3=DIRECTION('cgr_x',(1.,0.,0.));
13#4=AXIS2_PLACEMENT_3D('cgr_placement',#1,#2,#3);
14#5=PLANE('reference_plane',#4);
15#6=CONSTRUCTIVE_GEOMETRY_REPRESENTATION('single_item_cgr',(#5),$);
16#7=GEOMETRIC_CURVE_SET('single-item-cgr-crash',(#6,#5));
17#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
18#9051=PRODUCT('M035','M035','',(#9050));
19#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
20#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
21#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
22#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
23#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
24#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
25#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
26#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
27#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
28#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#7),#9060);
29#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
30ENDSEC;
31END-ISO-10303-21;