step-examples/12-1c-syntax/In011.stp
Sources
- OCCT Transfer_TransferOutput.cxx:67 (Transfer_TransferFailure raise
- binding null) (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
A C++ exception is thrown during the transfer of a single entity; the transfer record is "bound" but the bound result is null. Downstream consumers see "Done" status with no shape attached. Typical fixture: a B_SPLINE_CURVE_WITH_KNOTS whose CARTESIAN_POINT control points use extreme-magnitude IEEE-754 values (e.g., 1.0E+308 near the ceiling, or a subnormal like 5.0E-324) that overflow during arithmetic. Bug-reporter language: "kernel says done but produced nothing", "transfer succeeded with empty result", "extreme-magnitude coordinates overflow".
Reproducer recipe
An entity that triggers a transfer-time exception (e.g., a `B_SPLINE_CURVE_WITH_KNOTS` with NaN-valued, near-IEEE-ceiling (1.0E+308), or subnormal (5.0E-324) control point coordinates).
Expected kernel behavior
Reject and emit the underlying exception text: mark the transfer as Error, not Done; must not silently swallow exceptions.
Notes
Synonyms: "silent transfer failure". Provenance tier: runtime-only; bytes alone cannot demonstrate this defect; the symptom is a transfer-time C++ exception silently swallowed and replaced with a null binding plus a "Done" status. The static fixture only carries the trigger geometry; demonstrating the swallowed exception requires a kernel runtime trace. Synonyms: "STEP entity bound to null after exception", "B-spline with extreme coords gives null", "1.0E+308 control point swallows exception", "STEP transfer Done but shape null", "exception swallowed during STEP transfer".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Provenance tier
runtime-only — defect not fully embodied in fixture bytes.
Byte assertions
contains(b'DATA;')contains(b'HEADER;')count(b'ENDSEC;') >= 2
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* In011: Reader exception swallowed: entity bound to null when B_SPLINE control points use extreme-magnitude or subnormal coordinates (1.0E+308 / 5.0E-324); OCCT Transfer_TransferOutput.cxx:67 (Transfer_TransferFailure raise; binding null); a C++ exception is thrown during the transfer of a single entity; the transfer record is bound but the bound result is null; downstream consumers see Done status with no shape attached; defect: B_SPLINE_CURVE_WITH_KNOTS with CARTESIAN_POINT control points using 1.0E+308 (near IEEE-754 double ceiling) coordinates â any pairwise multiplication during length/norm evaluation overflows to +Inf, triggering the exception; also includes a subnormal control point (5.0E-324) for the underflow path; receiver must reject and emit the underlying exception text: mark transfer as Error, not Done; must not silently swallow exceptions; bug-reporter synonyms: kernel says done but produced nothing, transfer succeeded with empty result, extreme-magnitude coordinates overflow, STEP transfer Done but shape null, exception swallowed during STEP transfer; GEOMETRIC_CURVE_SET IS NOT used â B-spline entity is the defect carrier */ 3HEADER; 4FILE_DESCRIPTION(('In011'),'2;1'); 5FILE_NAME('In011.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9/* Control points with extreme-magnitude coordinates near the IEEE-754 double 10 ceiling. Any pairwise multiplication during length/norm evaluation 11 overflows to +Inf and triggers the transfer exception. */ 12#10=CARTESIAN_POINT('cp_extreme_a',(1.0E+308,0.0,0.0)); 13#11=CARTESIAN_POINT('cp_extreme_b',(1.0E+308,1.0E+308,0.0)); 14#12=CARTESIAN_POINT('cp_extreme_c',(1.0E+308,1.0E+308,1.0E+308)); 15/* Subnormal value (smallest positive double ~5e-324) for underflow path. */ 16#13=CARTESIAN_POINT('cp_subnormal',(5.0E-324,0.0,0.0)); 17#20=B_SPLINE_CURVE_WITH_KNOTS('exception_trigger',2,(#10,#11,#12),.UNSPECIFIED.,.F.,.F.,(3,3),(0.0,1.0),.UNSPECIFIED.); 18/* Dependent VECTOR/LINE that, when normalised, multiplies extreme-magnitude 19 coordinates and drives the result to +Inf. */ 20#30=DIRECTION('overflow_dir',(1.0E+308,1.0E+308,0.0)); 21#31=VECTOR('overflow_vec',#30,1.0E+154); 22#32=LINE('overflow_line',#10,#31); 23ENDSEC; 24END-ISO-10303-21;