[Gmsh] gmsh 2.0.8 aborts or segfaults

Bernhard Kubicek bernhard.kubicek at arsenal.ac.at
Tue Oct 30 11:22:14 CET 2007


Hallo Werner,
(und schöne Gruesse aus Wien! :) )

Hi just took a look at your geo-files, and fear that I cannot be too
helpful. Personally, I would not trust the Coherence feature.

The second thing I noticed that the geometry that was displayed for
media_p01.geo does not look reasonable at all in my case, independent of
the possibly commented coherence command (see attached screenshot) [gmsh
2.0.8, Ubuntu Gutsy 32 bit, installed via repository, nvidia graphics
card].
Maybe you could also try with a gmsh compiled on x64.

A script that does the coherence should be quite easy to implement by
using a a minimum distance between points that are joined and
replacement map, and in a second stage a filter that removes lines
having both points equal, independent of the line direction.

Anyway, if you want to have the compumag 2007 proceedings, please sent
me a private message :) 

very nice greetings,
 Bernhard Kubicek




On Mon, 2007-10-29 at 15:20 -0400, 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mediap01.png
Type: image/png
Size: 39522 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20071030/7d2d3c9b/attachment.png>