[Gmsh] Non-Exception Crash

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Nov 21 15:50:33 CET 2007


Bernhard Kubicek wrote:
> Dear List,
> I just managed to write a geo file that crashes gmsh while meshing with
> some specific gmsh configuration file. 
> 

Hi Bernhard - The problem comes from the "Geometry.AutoCoherence=0" 
option in your option file: this prevents Gmsh from removing duplicate 
points--which leads to erroneous line loops.

Take care,
Christophe


> ------GMSH OUTPUT---
> Info    : Increasing process stack size (8192 kB < 16 MB)
> Info    : -------------------------------------------------------
> Info    : Gmsh version   : 2.0.8
> Info    : Build OS       : Linux
> Info    : Build options  : GSL NETGEN JPEG PNG ZLIB MATHEVAL ANN
> Info    : Build date     : Sat Aug 11 17:05:53 GMT 2007
> Info    : Build host     : rothera
> Info    : Packager       : buildd
> Info    : Home directory : /home/bkubicek/
> Info    : Launch date    : Mon Nov 12 12:35:35 2007
> Info    : Command line   : gmsh split1error.geo
> Info    : -------------------------------------------------------
> Info    : Meshing curve 1001
> Info    : Meshing curve 1002
> ...........
> Info    : Meshing curve 1444
> Info    : Meshing curve 1445
> Info    : Mesh 1D complete (0.012001 s)
> terminate called without an active exception
> Aborted (core dumped)
> --- END GMSH OUTPUT
> 
> Also, the generated fgeo-file "gmsh split1error.geo -0 -o split1.fgeo"
> contains errors in the messasge console while trying to load.
> ----
> ....
> Error : Line Loop 1102 is wrong Error : 'split1error.fgeo', line 1039 :
> Wrong definition of Ruled Surface 1102: 2 borders instead of 3 or 4
> Error : Line Loop 1106 is wrong Error : 'split1error.fgeo', line 1041 :
> Wrong definition of Ruled Surface 1106: 2 borders instead of 3 or 4
> Error : Line Loop 1110 is wrong Error : 'split1error.fgeo', line 1043 :
> Wrong definition of Ruled Surface 1110: 2 borders instead of 3 or 4
> Error : Line Loop 1114 is wrong Error : 'split1error.fgeo', line 1045 :
> Wrong definition of Ruled Surface 1114: 2 borders instead of 3 or 4
> Error : Line Loop 1118 is wrong Error : 'split1error.fgeo', line 1047 :
> Wrong definition of Ruled Surface 1118: 2 borders instead of 3 or 4
> Error : Line Loop 1122 is wrong Error : 'split1error.fgeo', line 1049 :
> Wrong definition of Ruled Surface 1122: 2 borders instead of 3 or 4
> Error : Line Loop 1126 is wrong Error : 'split1error.fgeo', line 1051 :
> Wrong definition of Ruled Surface 1126: 2 borders instead of 3 or 4
> Error : Line Loop 1130 is wrong Error : 'split1error.fgeo', line 1053 :
> Wrong definition of Ruled Surface 1130: 2 borders instead of 3 or 4
> Error : Line Loop 1131 is wrong Error : Line Loop 1144 is wrong Error :
> 'split1error.fgeo', line 1057 : Wrong definition of Ruled Surface 1144:
> 2 borders instead of 3 or 4 Error : Line Loop 1148 is wrong Error :
> 'split1error.fgeo', line 1059 : Wrong definition of Ruled Surface 1148:
> 2 borders instead of 3 or 4 Error : Line Loop 1152 is wrong Error :
> 'split1error.fgeo', line 1061 : Wrong definition of Ruled Surface 1152:
> 2 borders instead of 3 or 4 Error : Line Loop 1156 is wrong
> ....
> ---
> 
> The gmsh version 2.0.8 was installed via ubuntu/debian (gutsy 32bit)
> synaptic package manager. 
> 
> 
> After wiping my gmsh-setting files "~/.gmsh*" everything meshed/flatted
> nicely.
> The corrupt setting files are attached.
> 
> For me, the problem is solved, however I think that there might be bug
> somewhere?
> 
> very nice greetings,
>  Bernhard
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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