segmentation fault when parametrize compound surface
I am trying to remesh an stl file I used different versions, from 2.5 up to the nightly build but I obtain this error (this is the output of gdb):
Info : Multiscale Partition SUCCESSFULLY PERFORMED : 1032 parts (0.864054 s)
Info : *** Starting parametrize compounds:
Info : Parametrize Compound Surface (2066) = 1034 discrete face
Program received signal SIGSEGV, Segmentation fault.
0x000000000068a65e in orderVertices (e=..., l=..., coord=...)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Geo/GFaceCompound.cpp:93
93 MVertex *first_v = (*temp.begin())->getVertex(0);
(gdb) bt
#0 0x000000000068a65e in orderVertices (e=..., l=..., coord=...)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Geo/GFaceCompound.cpp:93
#1 0x0000000000698820 in GFaceCompound::parametrize (this=0x1ae26d0)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Geo/GFaceCompound.cpp:953
#2 0x0000000000804df6 in partitionAndRemesh (gf=0x209d280)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Mesh/meshGFace.cpp:1998
#3 0x000000000080594f in checkMeshCompound (gf=0x209d280, edges=...)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Mesh/meshGFace.cpp:1905
#4 0x00000000007fe8c5 in meshGenerator (gf=0x209d280, RECUR_ITER=0,
repairSelfIntersecting1dMesh=true, onlyInitialMesh=false, debug=false, replacement_edges=0x0)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Mesh/meshGFace.cpp:652
#5 0x0000000000801971 in meshGFace::operator() (this=0x7fffffffd3c0, gf=0x209d280)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Mesh/meshGFace.cpp:1860
#6 0x00000000007deb89 in Mesh2D (m=0x1502980)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Mesh/Generator.cpp:467
#7 GenerateMesh (m=0x1502980, ask=2)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Mesh/Generator.cpp:654
#8 0x00000000006c7939 in GModel::mesh (this=<optimized out>, dimension=<optimized out>)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Geo/GModel.cpp:525
#9 0x00000000005b7977 in GmshBatch ()
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Common/Gmsh.cpp:170
#10 0x00000000005adecc in main (argc=3, argv=0x7fffffffd6b8)
at /home/icardi/SOFTWARE/gmsh-2.5.1-svn-20120328-source/Fltk/Main.cpp:34
(gdb) l
88 (v0->z() - v1->z()) * (v0->z() - v1->z()));
89 tot_length += length;
90 }
91 }
92
93 MVertex *first_v = (*temp.begin())->getVertex(0);
94 MVertex *current_v = (*temp.begin())->getVertex(1);
95
96 l.push_back(first_v);
97 coord.push_back(0.0);
attached there is the .geo and .stl file
Edited by Christophe Geuzaine