Gs134 — ShapeAnalysis_Surface.UVFromIso intermediate-bounce

§12.2c surfaces (sub-class: face)

crash geometry

Sources

Description

UVFromIso bisection oscillates between two near-equal UV candidates without damping, causing non-convergence. Surface is a NURBS with two local minima near the target ISO parameter, leading to alternating evaluations.

Reproducer recipe

Expected kernel behavior

FLAG -- title/description contradict the bytes, and the file crashes OCCT (measured occt=signal(11)): the closure edge's LINE entity is self-referential -- `#70=LINE('',#60,#70);` names itself (#70) as its own second parameter, where a VECTOR entity is required. Separately, `#50=B_SPLINE_SURFACE_WITH_KNOTS(...)` is given only 9 top-level arguments where the entity requires 13 (surface_form and knot_spec are missing entirely, and the multiplicity/knot lists are merged into the wrong shape). Neither defect has anything to do with 'UVFromIso bisection oscillation'. Actual kernel behavior: reject at parse time -- a kernel must detect a self-referential entity definition (an entity naming itself, directly or transitively, as one of its own constructor arguments) and refuse to resolve it rather than dereference a still-under-construction record, and must separately reject a B_SPLINE_SURFACE_WITH_KNOTS whose argument count does not match its EXPRESS definition. Both are load-time schema violations that a correct kernel must never let reach geometric evaluation, let alone crash on.

Notes

synthesized from earlier wave; backfilled from fixture comment

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/* Gs134 - ShapeAnalysis_Surface.UVFromIso intermediate-bounce
3 *
4 * Defect: UVFromIso bisection oscillates between two near-equal UV candidates
5 * without damping, causing non-convergence. Surface is a NURBS with two local
6 * minima near the target ISO parameter, leading to alternating evaluations.
7 *
8 * Reproducer: Bicubic NURBS with control-point knot-singularity creating
9 * quasi-parabolic curvature near u=0.5; bisection oscillates u in [0.4,0.6].
10 *
11 * Expected kernel behavior:
12 *   heal - add damping factor to bisection or use golden-section search;
13 *   enforce iteration limit with fallback to linear approximation. */
14HEADER;
15FILE_DESCRIPTION(('Gs134 test case','UVFromIso oscillating bisection'),'2;1');
16FILE_NAME('Gs134.stp','2026-06-15T00:00:00',(''),(''),'auto-generated','','');
17FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
18ENDSEC;
19DATA;
20#1=APPLICATION_CONTEXT('automotive_design');
21#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1);
22/* Base coordinate system */
23#10=CARTESIAN_POINT('',(0.0,0.0,0.0));
24#11=DIRECTION('',(0.0,0.0,1.0));
25#12=DIRECTION('',(1.0,0.0,0.0));
26#13=AXIS2_PLACEMENT_3D('',#10,#11,#12);
27/* Bicubic NURBS with knot singularity at u=0.5 */
28#20=CARTESIAN_POINT('',(0.0,0.0,0.0));
29#21=CARTESIAN_POINT('',(2.0,0.0,0.5));
30#22=CARTESIAN_POINT('',(4.0,0.0,0.2));
31#23=CARTESIAN_POINT('',(6.0,0.0,0.8));
32#24=CARTESIAN_POINT('',(0.0,2.0,1.0));
33#25=CARTESIAN_POINT('',(2.0,2.0,1.5));
34#26=CARTESIAN_POINT('',(4.0,2.0,1.2));
35#27=CARTESIAN_POINT('',(6.0,2.0,1.8));
36#28=CARTESIAN_POINT('',(0.0,4.0,0.5));
37#29=CARTESIAN_POINT('',(2.0,4.0,1.8));
38#30=CARTESIAN_POINT('',(4.0,4.0,1.5));
39#31=CARTESIAN_POINT('',(6.0,4.0,2.0));
40#32=CARTESIAN_POINT('',(0.0,6.0,0.0));
41#33=CARTESIAN_POINT('',(2.0,6.0,0.8));
42#34=CARTESIAN_POINT('',(4.0,6.0,0.6));
43#35=CARTESIAN_POINT('',(6.0,6.0,1.2));
44/* 4x4 grid bicubic NURBS surface */
45#50=B_SPLINE_SURFACE_WITH_KNOTS('',3,3,(#20,#21,#22,#23,#24,#25,#26,#27,#28,#29,#30,#31,#32,#33,#34,#35),
46  ((0.0,0.0,0.0,0.0,1.0,1.0,1.0,1.0),(0.0,0.0,0.0,0.0,1.0,1.0,1.0,1.0)),
47  ((1.0,1.0,1.0,1.0),(1.0,1.0,1.0,1.0)),.F.,.F.,.F.);
48/* Vertex on surface u=0.0, v=0.0 */
49#60=CARTESIAN_POINT('',(0.0,0.0,0.0));
50#61=VERTEX_POINT('',#60);
51/* Vertex on surface u=1.0, v=0.0 */
52#62=CARTESIAN_POINT('',(6.0,0.0,0.8));
53#63=VERTEX_POINT('',#62);
54/* Degenerate edge (for loop closure) */
55#70=LINE('',#60,#70);
56#71=EDGE_CURVE('',#61,#63,#70,.T.);
57#72=ORIENTED_EDGE('',*,*,#71,.T.);
58#80=EDGE_LOOP('',(#72));
59#81=FACE_OUTER_BOUND('',#80,.T.);
60#82=ADVANCED_FACE('',(#81),#50,.T.);
61/* PRODUCT chain */
62#9000=PRODUCT_CONTEXT('',#1,'mechanical');
63#9001=PRODUCT('Gs134','Gs134','',(#9000));
64#9002=PRODUCT_DEFINITION_FORMATION('','',#9001);
65#9003=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
66#9004=PRODUCT_DEFINITION('','',#9002,#9003);
67#9005=PRODUCT_DEFINITION_SHAPE('','',#9004);
68#9006=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
69#9007=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
70#9008=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
71#9009=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9006,'distance_accuracy_value','');
72#9010=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9009))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9006,#9007,#9008))REPRESENTATION_CONTEXT('','3D'));
73#9022=GEOMETRICALLY_BOUNDED_SURFACE_SHAPE_REPRESENTATION('',(#82),#9010);
74#9023=SHAPE_DEFINITION_REPRESENTATION(#9005,#9022);
75ENDSEC;
76END-ISO-10303-21;