[Gmsh] incorrect char length (and a host of other problems)

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Feb 15 19:29:08 CET 2008


Anthony Costa wrote:
> Well, you're certainly right about that! However, upon fixing those
> errors (there were others later), I now get a bug report and seg fault
> (though all other errors are now fixed). Attached is the output and
> new file. At lower or higher mesh densities I get various other
> errors, but it always ends in a seg fault.

Your characteristic lengths are very small: you probably run out of memory.

I successfully tested with "gmsh -clscale 25 -optimize", which resulted 
in a mesh with about 1.5 million tetrahedra.


> 
> Anthony
> 
> --
> 
> Info    : Increasing process stack size (8192 kB < 16 MB)
> Info    : 'gmsh-nightly-20080208 -3 -optimize expansion-uniform.geo '
> started on Fri Feb 15 09:46:17 2008
> Info    : Reading 'expansion-uniform.geo'
> Info    : Jacobian Range ( 1.00000E+22,-1.00000E+22)
> Info    : Read 'expansion-uniform.geo'
> Info    : Meshing 1D...
> Info    : Meshing curve 1 (Line)
> Info    : Meshing curve 2 (Line)
> Info    : Meshing curve 3 (Line)
> Info    : Meshing curve 4 (Line)
> Info    : Meshing curve 5 (Line)
> Info    : Meshing curve 6 (Line)
> Info    : Meshing curve 7 (Line)
> Info    : Meshing curve 8 (Line)
> Info    : Meshing curve 9 (Line)
> Info    : Meshing curve 10 (Line)
> Info    : Meshing curve 11 (Line)
> Info    : Meshing curve 12 (Line)
> Info    : Meshing curve 17 (Circle)
> Info    : Meshing curve 18 (Circle)
> Info    : Meshing curve 19 (Circle)
> Info    : Meshing curve 20 (Circle)
> Info    : Meshing curve 50 (Circle)
> Info    : Meshing curve 51 (Line)
> Info    : Meshing curve 52 (Line)
> Info    : Meshing curve 54 (Circle)
> Info    : Meshing curve 55 (Line)
> Info    : Meshing curve 58 (Circle)
> Info    : Meshing curve 59 (Line)
> Info    : Meshing curve 62 (Circle)
> Info    : Meshing curve 66 (Line)
> Info    : Meshing curve 67 (Circle)
> Info    : Meshing curve 68 (Circle)
> Info    : Meshing curve 69 (Circle)
> Info    : Meshing curve 70 (Circle)
> Info    : Mesh 1D complete (0.020001 s)
> Info    : Mesh
> Info    : Meshing 2D...
> Info    : Meshing surface 38 (Plane, MeshAdapt+Delaunay)
> 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>
> debug!
> Aborted (core dumped)
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine