Gmsh 2.8.2 Segfaults when meshing planar geometry
I have a geometry file of a river network with many points and an irregular boundary. Gmsh always segfaults when invoked with gmsh -2 on that geometry. Maybe the geometry file violates the specification at some point, but in that case gmsh should display an error message and not segfault.
gmsh --version 2.8.2
uname -a Linux ubuntu64 3.11.0-18-generic #32 (closed)-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION="Ubuntu 13.10"
gmsh -2 test.geo Info : Running 'gmsh -2 test.geo' [Gmsh 2.8.2, 1 node, max. 4 threads] Info : Started on Sat Mar 15 11:05:26 2014 Info : Reading 'test.geo'... Info : Done reading 'test.geo' Info : Meshing 1D... Info : Meshing curve 1 (Line) ... Info : Meshing curve 10830 (Line) Info : Done meshing 1D (1.38268 s) Info : Meshing 2D... Info : Meshing surface 1 (Plane, Delaunay) Warning : :-( There are 2 intersections in the 1D mesh (curves 1 10830) Warning : 8-| Gmsh splits those edges and tries again Warning : :-) Gmsh was able to recover all edges after 1 iterations Segmentation fault