[Gmsh] gmsh segfaulting on simple file

Crni Gorac cgorac at gmail.com
Tue Jun 1 21:54:05 CEST 2010


Could someone please advise what is wrong with the following .geo file:

/* ------------------------------------------------------------------------------
*/

lc = 5.0;

Point (1) = { 552.8, 0.0, 0.0, lc };
Point (2) = { 0.0, 0.0, 0.0, lc };
Point (3) = { 0.0, 0.0, 559.2, lc };
Point (4) = { 549.6, 0.0, 559.2, lc };
Point (5) = { 130.0, 0.0, 65.0, lc };
Point (6) = { 82.0, 0.0, 225.0, lc };
Point (7) = { 240.0, 0.0, 272.0, lc };
Point (8) = { 290.0, 0.0, 114.0, lc };
Point (9) = { 423.0, 0.0, 247.0, lc };
Point (10) = { 265.0, 0.0, 296.0, lc };
Point (11) = { 314.0, 0.0, 456.0, lc };
Point (12) = { 472.0, 0.0, 406.0, lc };
Point (13) = { 343.0, 548.8, 227.0, lc };
Point (14) = { 343.0, 548.8, 332.0, lc };
Point (15) = { 213.0, 548.8, 332.0, lc };
Point (16) = { 213.0, 548.8, 227.0, lc };

Line (1) = { 1, 2 };
Line (2) = { 2, 3 };
Line (3) = { 3, 4 };
Line (4) = { 4, 1 };
Line (5) = { 5, 6 };
Line (6) = { 6, 7 };
Line (7) = { 7, 8 };
Line (8) = { 8, 5 };
Line (9) = { 9, 10 };
Line (10) = { 10, 11 };
Line (11) = { 11, 12 };
Line (12) = { 12, 9 };
Line (13) = { 13, 14 };
Line (14) = { 14, 15 };
Line (15) = { 15, 16 };
Line (16) = { 16, 13 };

Line Loop (17) = { 1, 2, 3, 4 };
Line Loop (18) = { -5, -6, -7, -8 };
Line Loop (19) = { -9, -10, -11, -12 };
Line Loop (20) = { 13, 14, 15, 16 };

Plane Surface (21) = { 17, 18, 19 };
Plane Surface (22) = { 20 };

Physical Surface (23) = { 21 };
Physical Surface (24) = { 22 };

/* ------------------------------------------------------------------------------
*/

I'm trying to use gmsh to create a mesh on some simple geometry
(rectanlge with two holes in it, and then another rectangle), and gmsh
in both GUI and command line mode is just segfaulting when I run 2D
meshing.  I tried with both 2.4.2 version, and latest snapshot, built
from source, on 64-bit Linux...

Thanks.