[Gmsh] bug in 2.04/5 and works fine in 1.65

Christophe Prud'homme prudhomm at debian.org
Sun Mar 25 17:36:45 CEST 2007


Christophe, 

The following code
Point(1) = {0,0,0,0.1};
Point(2) = {1,0,0,0.1};
Point(3) = {1,1,0,0.1};
Point(4) = {0,1,0,0.1};
Line(1) = {1,2};
Line(2) = {2,3};
Line(3) = {3,4};
Line(4) = {4,1};
Line Loop(5) = {4,1,2,3};
Plane Surface(6) = {5};

crashes(seg fault) gmsh when trying to mesh the domain
this happens both with 2.04 and 2.05 but works fine with 1.65

here is the .gmsh-errors

Info    : -------------------------------------------------------
Info    : Gmsh version   : 2.0.5
Info    : Build OS       : Linux
Info    : Build options  : GSL NETGEN JPEG PNG ZLIB MATHEVAL ANN
Info    : Build date     : dimanche 25 mars 2007, 09:31:39 (UTC+0200)
Info    : Build host     : laptop
Info    : Packager       : prudhomm
Info    : Home directory : /home/prudhomm/
Info    : Launch date    : Sun Mar 25 17:29:58 2007
Info    : Command line   : gmsh
Info    : -------------------------------------------------------
Info    : Point(1) = {0,0,0,0.1};
Info    : Point(2) = {1,0,0,0.1};
Info    : Point(3) = {1,1,0,0.1};
Info    : Point(4) = {0,1,0,0.1};
Info    : Line(1) = {1,2};
Info    : Line(2) = {2,3};
Info    : Line(3) = {3,4};
Info    : Line(4) = {4,1};
Info    : Line Loop(5) = {4,1,2,3};
Info    : Plane Surface(6) = {5};
Info    : Meshing 1D...
Info    : Meshing curve 1
Info    : Meshing curve 2
Info    : Meshing curve 3
Info    : Meshing curve 4
Info    : Mesh 1D complete (0 s)
Info    : Mesh
Info    : Meshing 2D...
Info    : Meshing surface 6 (Plane)
Fatal   : Segmentation violation (invalid memory reference)
        : ------------------------------------------------------
        : You have discovered a bug in Gmsh! You may report it
        : by e-mail (together with any helpful data permitting to
        : reproduce it) to <gmsh at geuz.org>
Info    : Writing '/home/prudhomm/.gmsh-errors'

C.
-- 
Debian Developer - http://people.debian.org/~prudhomm/
Scientific computing packages maintainer
Fingerprint = 3703 50DE 7A9F 024E 0F26  0D07 A18F B40B D4BE 1450