In001 — Model marked Loaded without entities; load skipped silently

§12.1c (sub-class: interface state-unloaded)

P1 — silent data loss

syntax

Sources

Sender

deduced — OCCT uncovered-class sweep

Description

A reader's data state is "Unloaded"; the file was opened but the entity table was never populated (e.g., parser bailed silently after the header). Downstream consumers see an empty model and may not realize the load was incomplete. Bug-reporter language: "STEP loaded but empty", "no entities in file", "kernel imports nothing silently".

Reproducer recipe

A Part-21 file with a valid HEADER but a DATA section that contains only a comment, no entities; `ENDSEC` ends the section.

Expected kernel behavior

Reject load failures explicitly: distinguish "empty data" from "load failed" with separate diagnostic codes; never let the consumer see an empty model from a load failure. Must not silently accept failed load.

Notes

Bug-reporter synonyms: "silent empty load", "model unloaded". Provenance tier: runtime-only; bytes alone cannot demonstrate this defect; the symptom is a kernel-internal load-state value (Unloaded vs. Loaded) and a missing diagnostic, both of which manifest only at parse/load time. A behavioral test against a reader implementation is the appropriate venue. Synonyms: "STEP loaded but empty", "no entities loaded silently", "model unloaded after parse", "load skipped without error", "empty model after STEP read".

Expected validation

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

Provenance tier

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

Byte assertions

Tier-3 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/* In001: Model marked Loaded without entities; load skipped silently; OCCT Interface_InterfaceModel.cxx:276 (Interface_StateUnloaded); a reader data state is Unloaded when the file was opened but the entity table was never populated — e.g. parser bailed silently after the header; defect: a Part-21 file with a valid HEADER but a DATA section containing only a comment and no entities; ENDSEC closes the section; downstream consumers see an empty model without a diagnostic; receiver must distinguish empty-data from load-failed with separate diagnostic codes; never let the consumer see an empty model from a load failure; must not silently accept failed load; bug-reporter synonyms: STEP loaded but empty, no entities in file, kernel imports nothing silently; GEOMETRIC_CURVE_SET IS NOT used — DATA section intentionally empty of entities */
3HEADER;
4FILE_DESCRIPTION(('In001'),'2;1');
5FILE_NAME('In001.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9/* This DATA section is intentionally empty of entities. */
10ENDSEC;
11END-ISO-10303-21;