Tfa174 — ADVANCED_FACE on a dense-control-grid near-flat B-spline saddle surface crashes the reader (SIGSEGV); twisted-face checking is never reached

§12.3c

crash topology

Sources

Description

ADVANCED_FACE on a dense-control-grid near-flat B-spline saddle surface crashes the reader (SIGSEGV); twisted-face checking is never reached

Reproducer recipe

Expected kernel behavior

Reject with a diagnostic naming the outer wire on this near-flat B-spline saddle surface: a 4-edge boundary wire hosted on a degree-(2,2) B-spline surface built from small z-perturbations (|z| <= 0.04 across a 4x4 control grid) must be rejected with a diagnostic if its construction cannot be completed safely, rather than crashing the process during shape translation.

Notes

Corrected 2026-07-17 (truth-in-labeling audit, Q14 second half): retitled/redescribed as an honest crash-robustness fixture — original claimed twisted-face checking produces a specific silent misclassification/undefined-behavior outcome; in reality the process crashes before that method (or any face-repair/small-face-check method) is ever reached. The crash itself is genuine and is retained as the fixture's real, verified defect (Expected validation unchanged: `signal(11)/signal(11)`). Part of the ~127-entry face-repair/small-face-check misnomer family identified in the truth-in-labeling audit — see `BACKLOG.md` Q14 for the full list and remediation approach. Synonyms: "near-flat B-spline saddle 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/* Tfa174: CheckTwisted on near-flat saddle surface with zero Gaussian curvature */
3HEADER;
4FILE_DESCRIPTION(('Tfa174'),'2;1');
5FILE_NAME('Tfa174.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('',(-2.0,-2.0,0.0));
11#2=CARTESIAN_POINT('',(-1.0,-2.0,-0.03));
12#3=CARTESIAN_POINT('',(0.0,-2.0,-0.04));
13#4=CARTESIAN_POINT('',(1.0,-2.0,-0.03));
14#5=CARTESIAN_POINT('',(-2.0,-1.0,0.03));
15#6=CARTESIAN_POINT('',(-1.0,-1.0,0.0));
16#7=CARTESIAN_POINT('',(0.0,-1.0,-0.01));
17#8=CARTESIAN_POINT('',(1.0,-1.0,0.0));
18#9=CARTESIAN_POINT('',(-2.0,0.0,0.04));
19#10=CARTESIAN_POINT('',(-1.0,0.0,0.01));
20#11=CARTESIAN_POINT('',(0.0,0.0,0.0));
21#12=CARTESIAN_POINT('',(1.0,0.0,0.01));
22#13=CARTESIAN_POINT('',(-2.0,1.0,0.03));
23#14=CARTESIAN_POINT('',(-1.0,1.0,0.0));
24#15=CARTESIAN_POINT('',(0.0,1.0,-0.01));
25#16=CARTESIAN_POINT('',(1.0,1.0,0.0));
26#17=B_SPLINE_SURFACE_WITH_KNOTS('',3,3,((#1,#2,#3,#4),(#5,#6,#7,#8),(#9,#10,#11,#12),(#13,#14,#15,#16)),.UNSPECIFIED.,.F.,.F.,.F.,(0,0),(0.0,0.333,0.667,1.0),(4,4),(0,0),(0.0,0.333,0.667,1.0),(4,4),.UNIFORM.);
27#18=CARTESIAN_POINT('',(-1.5,-1.5,0.0));
28#19=CARTESIAN_POINT('',(-1.5,1.5,0.0));
29#20=CARTESIAN_POINT('',(1.5,-1.5,0.0));
30#21=CARTESIAN_POINT('',(1.5,1.5,0.0));
31#22=VERTEX_POINT('',#18);
32#23=VERTEX_POINT('',#20);
33#24=VERTEX_POINT('',#21);
34#25=VERTEX_POINT('',#19);
35#26=DIRECTION('',(1.0,0.0,0.0));
36#27=VECTOR('',#26,3.0);
37#28=LINE('',#18,#27);
38#29=EDGE_CURVE('',#22,#23,#28,.T.);
39#30=ORIENTED_EDGE('',$,$,#29,.T.);
40#31=DIRECTION('',(0.0,1.0,0.0));
41#32=VECTOR('',#31,3.0);
42#33=LINE('',#20,#32);
43#34=EDGE_CURVE('',#23,#24,#33,.T.);
44#35=ORIENTED_EDGE('',$,$,#34,.T.);
45#36=DIRECTION('',(-1.0,0.0,0.0));
46#37=VECTOR('',#36,3.0);
47#38=LINE('',#21,#37);
48#39=EDGE_CURVE('',#24,#25,#38,.T.);
49#40=ORIENTED_EDGE('',$,$,#39,.T.);
50#41=DIRECTION('',(0.0,-1.0,0.0));
51#42=VECTOR('',#41,3.0);
52#43=LINE('',#19,#42);
53#44=EDGE_CURVE('',#25,#22,#43,.T.);
54#45=ORIENTED_EDGE('',$,$,#44,.T.);
55#46=EDGE_LOOP('',(#30,#35,#40,#45));
56#47=FACE_OUTER_BOUND('',#46,.T.);
57#48=ADVANCED_FACE('',(#47),#17,.T.);
58#49=OPEN_SHELL('',(#48));
59#50=SHELL_BASED_SURFACE_MODEL('',(#49));
60#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
61#9051=PRODUCT('Tfa174','Tfa174','',(#9050));
62#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
63#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
64#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
65#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
66#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
67#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
68#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
69#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
70#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
71#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#50),#9060);
72#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
73ENDSEC;
74END-ISO-10303-21;