M201 — Tessellated solid with an empty items list

§12.8 mixed (sub-class: empty mandatory aggregate — tessellated solid with no items; reader crash)

P1 — silent data loss

crash

Sources

Description

An AP242 file whose only geometry is `TESSELLATED_SOLID('empty_items',(),$)` — the items list empty where the schema requires at least one tessellated structured item, the optional exact-geometry link unset — carried by a tessellated shape representation. Same producer bug as the empty-shell sibling (emitting the container before its contents and never filling it), one level up the tessellation hierarchy.

Reproducer recipe

a `TESSELLATED_SOLID` with `()` for its items and `$` for its geometric link, referenced by a `TESSELLATED_SHAPE_REPRESENTATION`.

Expected kernel behavior

refuse at parse time on the empty mandatory set and continue with the rest of the file; never abort on a countable emptiness.

Notes

RUNTIME-VERIFIED (2026-08-10, this worktree, OCP/OCCT 7.8.1): hard crash in BOTH heal modes and the mesh-based reader — confirming the empty-container crash reproduces at solid level exactly as at shell level. The non-kernel structural linter reports `EMPTY_AGGREGATE` without crashing. Synonyms: "tessellated solid empty items", "empty tessellation container solid", "AP242 tessellated solid no items crash", "container emitted before contents". 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/* M201: TESSELLATED_SOLID('empty_items',(),$) — the items list empty where the schema requires at least one tessellated structured item, the exact-geometry link unset; carried by a tessellated shape representation, so the empty container is what the receiver is asked to build */
3HEADER;
4FILE_DESCRIPTION(('M201'),'2;1');
5FILE_NAME('M201.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#1=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
10#2=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
11#3=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
12#4=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-6),#1,'distance_accuracy_value','');
13#5=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#4))GLOBAL_UNIT_ASSIGNED_CONTEXT((#1,#2,#3))REPRESENTATION_CONTEXT('part','3D'));
14#6=TESSELLATED_SOLID('empty_items',(),$);
15#7=TESSELLATED_SHAPE_REPRESENTATION('',(#6),#5);
16ENDSEC;
17END-ISO-10303-21;