Ad095 — STEP file from Pro/Engineer crashes (vendor-attribution)

§12.11 adversarial

adversarial

Sources

Sender

Pro/Engineer (legacy versions)

Description

STEP files from older Pro/Engineer versions emit valid syntax but combine entities in patterns the reader did not anticipate (e.g., `MAPPED_ITEM` referencing itself transitively, attribute order swapped on `STYLED_ITEM`). Reader crashes on these idiosyncratic patterns.

Reproducer recipe

AP203 file with vendor field "Pro/E v2001" containing a `STYLED_ITEM` whose `definition` parameter is in non-spec order (positional arguments swapped).

Expected kernel behavior

vendor-conditional handling; tolerate known legacy patterns when vendor field matches; reject cleanly otherwise.

Notes

**See also**: Ad081. **OCC behavior**: accepts with ERR diagnostic (empty result); outside catalog's allowed set ({reject}). Kernel-bug witnessed: receivers must reject this fixture per the catalog's stated invariant. Provenance tier: bytes-only (Q5 full-corpus 2026-07-01).

Expected validation

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

Provenance tier

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

Byte assertions

Tier-3 assertions

Cross-references

Ad081

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Ad095: Pro/Engineer legacy STEP files combine entities in patterns reader did not anticipate; STYLED_ITEM with positional arguments swapped from spec order; MAPPED_ITEM referencing itself transitively; vendor-conditional handling must tolerate known legacy patterns; OCCT MANTIS#0026461, #0025699; See also Ad081; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('Ad095'),'2;1');
5FILE_NAME('Ad095.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
10#2=GEOMETRIC_CURVE_SET('',(#1));
11#3=STYLED_ITEM('Pro/E_swapped_styled',(#2),());
12#4=/* Pro/E v2001 vendor string: Pro/Engineer 2001 legacy output */
13CARTESIAN_POINT('Pro/E_probe',(1.0,0.0,0.0));
14#5=MAPPED_ITEM('Pro_self_ref_mapped',#2,#5);
15ENDSEC;
16END-ISO-10303-21;