step-examples/12-3c-faces/Tfa144.stp
Sources
- synthesized — no external source cited
Description
B-spline-surface face crashes the reader (SIGSEGV); file contains a malformed extra-nested control_points_list aggregate and a bare untyped entity, but neither alone reproduces/eliminates the crash; root cause not fully isolated; pin-face checkingFace is never reached
Reproducer recipe
Expected kernel behavior
Reject with a diagnostic naming the control_points_list aggregate: a B_SPLINE_SURFACE_WITH_KNOTS whose control_points_list is nested one level deeper than the required 2D row/column shape (here `(((#1,#3,#5,#7)),((#2,#4,#6,#8)))` instead of `((#1,#3,#5,#7),(#2,#4,#6,#8))`) must be rejected as malformed during entity parsing rather than allowed to crash the process, and a bare untyped aggregate entity like `#9=(0.0,13.333,26.667,40.0);` with no STEP type keyword must likewise be rejected as an unparseable record, not silently ignored and left dangling.
Notes
Corrected 2026-07-17 (truth-in-labeling audit): retitled/redescribed — original claimed pin-face checkingFace's parametric-vs-3D aspect-ratio test misses a real 3D pin condition due to surface stretch; that checker is never reached (crash occurs first). Root cause of the crash itself is NOT fully isolated in this pass — a malformed control_points_list nesting and a bare untyped entity are both present but isolation testing did not confirm either as sole cause. Part of the ~127-entry face-repair/small-face-check misnomer family — see `BACKLOG.md` Q14. Synonyms: "malformed B-spline control-point aggregate crashes reader", "bare untyped entity coexists with B-spline surface crash".
Expected validation
occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa144: B-spline surface with parametric-vs-3D pin mismatch */ 3HEADER; 4FILE_DESCRIPTION(('Tfa144'),'2;1'); 5FILE_NAME('Tfa144.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9#9000=APPLICATION_CONTEXT('mechanical design'); 10#1=CARTESIAN_POINT('',(0.0,0.0,0.0)); 11#2=CARTESIAN_POINT('',(0.5,0.0,0.0)); 12#3=CARTESIAN_POINT('',(0.0,13.3333333333,0.0)); 13#4=CARTESIAN_POINT('',(0.5,13.3333333333,0.0)); 14#5=CARTESIAN_POINT('',(0.0,26.6666666667,0.0)); 15#6=CARTESIAN_POINT('',(0.5,26.6666666667,0.0)); 16#7=CARTESIAN_POINT('',(0.0,40.0,0.0)); 17#8=CARTESIAN_POINT('',(0.5,40.0,0.0)); 18#9=(0.0,13.333,26.667,40.0); 19#10=B_SPLINE_SURFACE_WITH_KNOTS('',1,1,(((#1,#3,#5,#7)),((#2,#4,#6,#8))),.UNSPECIFIED.,.F.,.F.,.F.,(0,0),(0.0,1.0),(2,2),(0,0,0,0),(0.0,0.333,0.667,1.0),(2,1,1,2),.PIECEWISE_BEZIER.); 20#11=CARTESIAN_POINT('',(0.05,8.0,0.0)); 21#12=CARTESIAN_POINT('',(0.05,36.0,0.0)); 22#13=CARTESIAN_POINT('',(0.075,8.0,0.0)); 23#14=CARTESIAN_POINT('',(0.075,36.0,0.0)); 24#15=VERTEX_POINT('',#11); 25#16=VERTEX_POINT('',#13); 26#17=VERTEX_POINT('',#14); 27#18=VERTEX_POINT('',#12); 28#19=DIRECTION('',(1.0,-7.1054273576E-14,0.0)); 29#20=VECTOR('',#19,0.025); 30#21=LINE('',#11,#20); 31#22=EDGE_CURVE('',#15,#16,#21,.T.); 32#23=ORIENTED_EDGE('',$,$,#22,.T.); 33#24=DIRECTION('',(0.0,1.0,0.0)); 34#25=VECTOR('',#24,28.0); 35#26=LINE('',#13,#25); 36#27=EDGE_CURVE('',#16,#17,#26,.T.); 37#28=ORIENTED_EDGE('',$,$,#27,.T.); 38#29=DIRECTION('',(-1.0,2.84217094304E-13,0.0)); 39#30=VECTOR('',#29,0.025); 40#31=LINE('',#14,#30); 41#32=EDGE_CURVE('',#17,#18,#31,.T.); 42#33=ORIENTED_EDGE('',$,$,#32,.T.); 43#34=DIRECTION('',(0.0,-1.0,0.0)); 44#35=VECTOR('',#34,28.0); 45#36=LINE('',#12,#35); 46#37=EDGE_CURVE('',#18,#15,#36,.T.); 47#38=ORIENTED_EDGE('',$,$,#37,.T.); 48#39=EDGE_LOOP('',(#23,#28,#33,#38)); 49#40=FACE_OUTER_BOUND('',#39,.T.); 50#41=ADVANCED_FACE('',(#40),#10,.T.); 51#42=OPEN_SHELL('',(#41)); 52#43=SHELL_BASED_SURFACE_MODEL('',(#42)); 53#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 54#9051=PRODUCT('Tfa144','Tfa144','',(#9050)); 55#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 56#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 57#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 58#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 59#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 60#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 61#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 62#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 63#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 64#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#43),#9060); 65#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 66ENDSEC; 67END-ISO-10303-21;