step-examples/12-11-adversarial/Ad056.stp
Sources
- 18-other-issues.md I058 (OCCT #872)
Description
Applying an extreme non-uniform (general) transform to a face raises a construction-error exception across the API boundary, rather than returning a failure status. The user-visible symptom is "loading a model with very large scaling factors crashes".
Reproducer recipe
large general-transform scaling factor; instantiate transform.
Expected kernel behavior
Reject and return a failure status or an empty result; do not let an unhandled exception escape across the API boundary. Must not crash.
Notes
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
contains(b'CARTESIAN_TRANSFORMATION_OPERATOR_3D') and contains(b'1.0E+18')contains(b'1.0E+18')
Tier-3 assertions
load == "ok"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Ad056: general-transform constructor throws on extreme non-uniform scale: CARTESIAN_TRANSFORMATION_OPERATOR_3D with 1.0E+18 factor raises construction-error exception across API boundary; must return failure status, not crash; OCCT #872; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('Ad056'),'2;1'); 5FILE_NAME('Ad056.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=DIRECTION('x_axis',(1.0E+18,0.,0.)); 12#4=DIRECTION('y_axis',(0.,1.0E+18,0.)); 13#5=DIRECTION('z_axis',(0.,0.,1.0E+18)); 14#6=CARTESIAN_POINT('origin',(0.,0.,0.)); 15#7=CARTESIAN_TRANSFORMATION_OPERATOR_3D('extreme_scale',#3,#4,#6,1.0E+18,#5); 16#8=DIRECTION('nonuniform_x',(1.0E+18,1.0,1.0)); 17#9=CARTESIAN_POINT('origin2',(1.,2.,3.)); 18#10=CARTESIAN_TRANSFORMATION_OPERATOR_3D('nonuniform_scale',#8,#4,#9,1.0E+18,#5); 19ENDSEC; 20END-ISO-10303-21;