[Gmsh] a bug in gmesh ?
Christophe Geuzaine
geuzaine at acm.caltech.edu
Sun Feb 22 08:28:55 CET 2004
philippe carette wrote:
> Hi,
> I send you a dis-working with gmesh
> an error msg says me that i discover a bug ??
> I join the .geo and msg files.
Philippe - I cannot reproduce this bug on my machine (it meshes OK, for
various characteristic lengths).
Could you launch gmsh inside a debugger and send me a stack trace?
Thanks,
Christophe
>
> I have another bug, with merge, and using Code Aster, but i should
> prepare all the data files to reproduce it.
> Regards
>
>
>
> ------------------------------------------------------------------------
>
> // General.Trackball = 0;
> // General.RotationCenterGravity = 0;
> // General.RotationCenterX = 0;
> // General.RotationCenterY = 0;
> // General.RotationCenterZ = 0;
> // General.RotationX = 10;
> // General.RotationY = 70;
> // General.TranslationZ = -525;
>
> // General.ZoomFactor = 2;
>
>
> lc = 5;
> lcMasse = 3;
> lcContact = 1.5;
> lcEdge = 1;
>
>
> Point(1) = {70.32,18.3,0.,lcMasse};
> Point(2) = {67.77,7.32,0.,lcMasse};
> Point(3) = {64.91,-5.25,0.,lc};
> Point(4) = {63.32,-11.77,0.,lc};
> Point(5) = {50.27,-16.07,0.,lcMasse};
> Point(6) = {36.11,2.86,0.,lcContact};
> Point(7) = {66.34,1.03,0.,lc};
>
> Line(1) = {1,2};
> Line(2) = {3,4};
> Line(3) = {4,5};
>
>
> Point(8) = {60.06,2.47,0.,lcMasse};
> Circle(5) = {2,7,8};
> Circle(6) = {8,7,3};
>
>
> Point(18) = {65.07,18.25,0.,lcMasse};
> Point(10) = {59.5,17.66,0.,lcMasse};
> Point(11) = {35.20,5.09,0.,lcContact};
> Point(12) = {49,15.59,0.,lcMasse};
> Point(13) = {41.86,13.51,0.,lcContact};
> Point(17) = {36.50,10.95,0.,lcContact};
> Point(14) = {35.20,9.50,0.,lcContact};
> Point(15) = {34.84,7,0.,lcContact};
>
> CatmullRom(7) = {6,11,15,14,17,13};
> CatmullRom(8) = {13,12,10,18,1};
> Line(9) = {5,6};
>
>
> Line Loop(11) = {5,6,2,3,8,9,7,1};
> Plane Surface(12) = {11};
>
>
> Extrude Surface {12, {0,0,-50}};
> Characteristic Length {21, 26, 30, 34, 38, 42, 43, 44, 45, 46, 50} = lc * 2;
> Characteristic Length {19, 51, 52, 53} = lc * 5;
>
> Surface Loop(226) = {49,12,25,29,33,37,41,45,54,53};
> Volume(227) = {226};
>
> Bande = 100;
> Physical Volume (Bande) = {227};
> Mouve = 110;
> Physical Surface(Mouve) = {12};
> Fond = 120;
> Physical Surface(Fond) = {54};
> SectionSym = 130;
> Physical Surface(SectionSym) = {54} ;
>
> Rayon = 30;
> XIni=-0.25;
> YHaut = 4;
> ZPress = 0.03;
> Point(89) = {52,0,ZPress,lc};
> Point(90) = {52+Rayon,0,ZPress,lc};
> Point(91) = {52, Rayon,ZPress,lc};
>
> Circle(258) = {90,89,91};
>
> //Bille = 200;
> //Physical Volume (Bille) = {257};
>
> //PeauBille=210;
> //Physical Surface(PeauBille) = {233};
> Rotate { {0.0,0.0,1.0},{0.0,0.0,0.0},3.14159/2 } {
> Duplicata { Line{258}; }
> }
> Rotate { {0,0,1},{52,0,0.03},Pi/2 } {
> Duplicata { Line{258}; }
> }
>
>
> ------------------------------------------------------------------------
>
> Gmsh 1.50.0
> -------------------------------------------------------
> Build OS : CYGWIN_NT-5.1 1.3.22(0.78/3/2)
> Build options : GSL TRIANGLE JPEG PNG
> Build date : Fri Dec 5 22:20:58 PST 2003
> Build host : geuz
> Packager : geuzaine
> Home directory : /cygdrive/c/DOCUME~1/bebert/LOCALS~1/Temp/
> Launch date : Fri Feb 20 15:05:46 2004
> Command line : /cygdrive/m/Code_Aster70/projet Billard/gmsh M:\Code_Aster70\projet Billard\Mesure_young.geo
> -------------------------------------------------------
> Info : Parsing file 'M:\Code_Aster70\projet Billard\Mesure_young.geo'
> Info : Parsed file 'M:\Code_Aster70\projet Billard\Mesure_young.geo'
> Geometry
> Geometry Elementary
> Geometry Elementary Add
> Geometry Elementary Add Rotate
> Mesh 1D...
> Meshing Curve 1
> Meshing Curve 2
> Meshing Curve 3
> Meshing Curve 5
> Meshing Curve 6
> Meshing Curve 7
> Meshing Curve 8
> Meshing Curve 9
> Meshing Curve 14
> Meshing Curve 15
> Meshing Curve 16
> Meshing Curve 17
> Meshing Curve 18
> Meshing Curve 19
> Meshing Curve 20
> Meshing Curve 21
> Meshing Curve 23
> Meshing Curve 24
> Meshing Curve 28
> Meshing Curve 32
> Meshing Curve 36
> Meshing Curve 40
> Meshing Curve 44
> Meshing Curve 48
> Meshing Curve 258
> Mesh 1D complete (0.016 s)
> Mesh 2D...
> Meshing Surface 12
> Meshing Surface 25
> Meshing Surface 29
> Meshing Surface 33
> Meshing Surface 37
> Meshing Surface 41
> Meshing Surface 45
> Meshing Surface 49
> Meshing Surface 53
> Meshing Surface 54
> Mesh 2D complete (0.031 s)
> Mesh
> Geometry Elementary Add Rotate
> Geometry Elementary Add
> Geometry Elementary
> Geometry
> Info : Parsing file 'M:\Code_Aster70\projet Billard\Mesure_young.geo'
> Info : Parsed file 'M:\Code_Aster70\projet Billard\Mesure_young.geo'
> Geometry Elementary
> Geometry Elementary Add
> Geometry Elementary Add Rotate
> Rotate { {0.0,0.0,1.0},{0.0,0.0,0.0},3.14159/2 } { Duplicata { Line{258}; } }
> Rotate { {0,0,1},{52,0,0.03},Pi/2 } { Duplicata { Line{258}; } }
> Fatal Error : 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>
> Info : Writing log file '.gmsh-errors'
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Christophe A. Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org