[Gmsh] SegFault in latest GMSH 2.11.0

Marc Walther marc.walther at googlemail.com
Thu Dec 10 11:02:06 CET 2015


Dear all,

using the example below (a combination from the tutorials 1 and 16), I 
get a segmentation fault from the latest GMSH 2.11.0 (x64 linux 
binaries). If the "Line in Surface" command is removed, everything is 
fine. My system is a Ubuntu (uname -av: 3.19.0-41-generic #46-Ubuntu SMP 
Fri Dec 4 18:18:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux).

I was testing with a 2.8.4 (Windows 7) and found the example running. I 
don't know if the segfault is due to Linux-Windows or only occurs in one 
version.

lc = 1e-2;
Point(1) = {0, 0, 0, lc};
Point(2) = {.1, 0, 0, lc};
Point(3) = {.1, .3, 0, lc};
Point(4) = {0, .3, 0, lc};
Line(1) = {1,2};
Line(2) = {3,2};
Line(3) = {3,4};
Line(4) = {4,1};
Line Loop(5) = {4,1,-2,3};
Plane Surface(6) = {5};
Point(6) = {0.02, 0.12, 0, lc/5};
Point(7) = {0.04, 0.18, 0, lc/5};
Line(5) = {6, 7};
Line{5} In Surface{6};

Hope, you can tell me, what I am doing wrong.

Best,
Marc