[Gmsh] Gmsh crashes when translating a volume

Rui Maciel rui.maciel at gmail.com
Sat Jul 30 13:27:02 CEST 2011


While toying around with Gmsh I've stumbled on a volume translation 
which crashes the program.  The .geo file is as follows:

// Gmsh project created on Sat Jul 30 12:10:15 2011
Point(1) = {0, 0, 0, 1.0};
Point(2) = {1, 0, 0, 1.0};
Point(3) = {1, 1, 0, 1.0};
Point(4) = {0, 1, 0, 1.0};
Point(5) = {0, 0, 1, 1.0};
Point(6) = {1, 0, 1, 1.0};
Point(7) = {1, 1, 1, 1.0};
Point(8) = {0, 1, 1, 1.0};
Line(1) = {5, 6};
Line(2) = {6, 7};
Line(3) = {7, 8};
Line(4) = {8, 5};
Delete {
   Point{2, 3, 4, 1};
}
Point(9) = {1.25, 0, 0, 1.0};
Point(10) = {1.25, 1, 0, 1.0};
Point(11) = {1.25, 1, 1, 1.0};
Point(12) = {1.25, 0, 1, 1.0};
Line(5) = {12, 9};
Line(6) = {9, 10};
Line(7) = {10, 11};
Line(8) = {11, 12};
Line Loop(9) = {5, 6, 7, 8};
Plane Surface(10) = {9};
Line Loop(11) = {2, 3, 4, 1};
Plane Surface(12) = {11};
Translate {0, 0.25, -0.25} { Surface{10}; }
Line Loop(18) = {15, 16, 17, 14};
Plane Surface(19) = {18};
Extrude {0, 0, -1.10} {
   Surface{12};
}
Extrude {-1, 0, 0} {
   Surface{13};
}
Coherence;


The crash message is as follows:

rui at Kubuntu:femp$ gmsh
  ** On entry to DGESVD parameter number  6 had an illegal value


Rui Maciel