Tfa172 — ADVANCED_FACE with a straight-line wire not conforming to its degree-2 B-spline surface crashes the reader (SIGSEGV); CheckSmallArea is never reached

§12.3c

crash topology

Sources

Description

ADVANCED_FACE with a straight-line wire not conforming to its degree-2 B-spline surface crashes the reader (SIGSEGV); CheckSmallArea is never reached

Reproducer recipe

Expected kernel behavior

Reject with a diagnostic naming the outer wire's edges: a 4-edge outer boundary made of straight LINE edges whose vertices sit in the interior of a degree-(2,2) B-spline surface's parameter domain rather than on the surface itself (no PCURVE/SURFACE_CURVE given, so the wire must be projected onto the curved surface to determine whether it actually bounds it) must be rejected with a diagnostic before the projection is attempted, 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 small-area 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: "non-conformant wire on curved 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/* Tfa172: Parametrically small face on curved B-spline with area mismatch */
3HEADER;
4FILE_DESCRIPTION(('Tfa172'),'2;1');
5FILE_NAME('Tfa172.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.5,-2.5,2.5));
11#2=CARTESIAN_POINT('',(0.0,-2.5,3.75));
12#3=CARTESIAN_POINT('',(2.5,-2.5,2.5));
13#4=CARTESIAN_POINT('',(-2.5,0.0,3.75));
14#5=CARTESIAN_POINT('',(0.0,0.0,5.0));
15#6=CARTESIAN_POINT('',(2.5,0.0,3.75));
16#7=CARTESIAN_POINT('',(-2.5,2.5,2.5));
17#8=CARTESIAN_POINT('',(0.0,2.5,3.75));
18#9=CARTESIAN_POINT('',(2.5,2.5,2.5));
19#10=B_SPLINE_SURFACE_WITH_KNOTS('',2,2,((#1,#2,#3),(#4,#5,#6),(#7,#8,#9)),.UNSPECIFIED.,.F.,.F.,.F.,(0,0),(0.0,0.5,1.0),(3,3),(0,0),(0.0,0.5,1.0),(3,3),.UNIFORM.);
20#11=CARTESIAN_POINT('',(-2.0,-2.0,3.4));
21#12=CARTESIAN_POINT('',(-2.0,-1.5,3.75));
22#13=CARTESIAN_POINT('',(-1.5,-2.0,3.75));
23#14=CARTESIAN_POINT('',(-1.5,-1.5,4.1));
24#15=VERTEX_POINT('',#11);
25#16=VERTEX_POINT('',#13);
26#17=VERTEX_POINT('',#14);
27#18=VERTEX_POINT('',#12);
28#19=DIRECTION('',(0.819231920519,0.0,0.573462344363));
29#20=VECTOR('',#19,0.610327780787);
30#21=LINE('',#11,#20);
31#22=EDGE_CURVE('',#15,#16,#21,.T.);
32#23=ORIENTED_EDGE('',$,$,#22,.T.);
33#24=DIRECTION('',(0.0,0.819231920519,0.573462344363));
34#25=VECTOR('',#24,0.610327780787);
35#26=LINE('',#13,#25);
36#27=EDGE_CURVE('',#16,#17,#26,.T.);
37#28=ORIENTED_EDGE('',$,$,#27,.T.);
38#29=DIRECTION('',(-0.819231920519,0.0,-0.573462344363));
39#30=VECTOR('',#29,0.610327780787);
40#31=LINE('',#14,#30);
41#32=EDGE_CURVE('',#17,#18,#31,.T.);
42#33=ORIENTED_EDGE('',$,$,#32,.T.);
43#34=DIRECTION('',(0.0,-0.819231920519,-0.573462344363));
44#35=VECTOR('',#34,0.610327780787);
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('Tfa172','Tfa172','',(#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;