[Gmsh] gmsh 2.0.8 aborts or segfaults

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Oct 30 19:30:15 CET 2007


Hi Werner - After a quick investigation it seems that the problem is
twofold:

(1) some points in your file are very close to each other (almost
identical): this leads to the creation of extremely "thin" surfaces in
the extrusion, which in turns makes the 2D and 3D mesh algorithms unhappy

(2) your file also seems to trigger a weird bug in our code (the "Weird
point" message)

Could you regenerate a .geo file that fixes (1)? Then we could
investigate (2) in more detail.

Christophe

magpar wrote:
> Hello again,
> 
> Just a quick follow-up on the problem reported previously:
> 
> The second geo file attached to the previous email, which shows the 
> problems, has a bunch of distorted volumes, which show up when rendering 
> the geo file in gmsh. Usually my scripts remove these volumes and they 
> do not appear to cause the segfault problems.
> 
> Attached another example, which causes gmsh to segfault. This time 
> without the distorted volumes.
> 
> When opening this geo file with gmsh in the graphical user interface, 
> gmsh throws these errors:
> 
> gmsh media_p03.geo
> 
> Info    : Reading 'media_p03.geo'
> Error   : Weird point 554 in Coherence
> Error   : Weird point 554 in Coherence
> Error   : Weird point 510 in Coherence
> Error   : Weird point 510 in Coherence
> Error   : Weird point 510 in Coherence
> [...]
> 
> However, gmsh does display a reasonable geometry.
> 
> Meshing leads to the segfault:
> 
> gmsh -3 media_p03.geo
> (Mesh.Algorithm3D=4;)
> 
> Info    : 16 points, 23 elements
> Info    : Meshing volume 23 (Netgen)
> Fatal   : Segmentation violation (invalid memory reference)
> 
> gmsh -3 media_p03.geo
> (Mesh.Algorithm3D=1;)
> 
> Info    : Meshing volume 473 (Delaunay)
> Info    : Meshing volume 474 (Delaunay)
> Fatal   : Segmentation violation (invalid memory reference)
> 
> 
> Thanks in advance for any help.
> 
> 
> Werner
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


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