From 17412926165b3c94a5451f4165cd5e204cd10c73 Mon Sep 17 00:00:00 2001 From: nbv Date: Tue, 6 Nov 2018 14:46:15 +0300 Subject: [PATCH] 0026965: BRepMesh_IncrementalMesh hangs, and consumes infinite memory Adding test case for the problem. The issue has been fixed by a patch for #26106. --- tests/perf/mesh/bug26965 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/perf/mesh/bug26965 diff --git a/tests/perf/mesh/bug26965 b/tests/perf/mesh/bug26965 new file mode 100644 index 0000000000..0b08bbfac6 --- /dev/null +++ b/tests/perf/mesh/bug26965 @@ -0,0 +1,19 @@ +puts "==========" +puts "0026965: BRepMesh_IncrementalMesh hangs, and consumes infinite memory" +puts "==========" +puts "" + +restore [locate_data_file bug26965_mesh_hang.brep] a +tclean a +vinit +vsetdispmode 1 + +dchrono h restart +vdisplay a +dchrono h stop counter DisplayBug26965 +dchrono h + +vfit +checkview -screenshot -3d -path ${imagedir}/${test_image}.png + +checktrinfo a -tri 217070 -nod 108740 -defl 0.098772787476728782 \ No newline at end of file