[Gmsh] [gmsh] latest svn version - crash with mob.geo

trophime christophe.trophime at lncmi.cnrs.fr
Tue Jun 14 15:37:53 CEST 2011


Hi,
I have just tried latest svn version (rev 9446)
with mob.geo example found in wiki. I just change :

Merge "mob-class.msh";

to

Merge "mob.stl";

Gmsh was compiled with
Info : Gmsh version : 2.5.1 Info : Build OS : Linux Info : Build
options : Ann Bamg Bfgs Blas(ATLAS) Chaco DIntegration Dlopen FlTree
Fltk GMP Gmm Have64BitSizeT Jpeg Kbipack Lapack(ATLAS) MathEx Med Mesh
Mmg3d Mpeg NativeFileChooser Netgen OpenCascade OpenGL PETSc Parser
Plugins Png Post SLEPc Salome Solver Tetgen Zlib Info : Build date :
20110614

Gmsh crashes with the following error:

*** glibc detected *** gmsh: double free or corruption (out):
0x00007fffb98bb650 ***
======= Backtrace: =========
/lib/libc.so.6(+0x725d6)[0x7f001593a5d6]
/lib/libc.so.6(cfree+0x6c)[0x7f001593f30c]
gmsh[0x61aa01]
gmsh(_ZN13GEdgeCompound10orderEdgesEv+0x304)[0x61b5b4]
gmsh(_ZN13GEdgeCompoundC2EP6GModeliRSt6vectorIP5GEdgeSaIS4_EE
+0x10e)[0x61babe]
gmsh(_ZN6GModel18importGEOInternalsEv+0xb91)[0x67ccf1]
gmsh(_ZN6GModel7readGEOERKSs+0x46)[0x67d0c6]
gmsh(_Z9MergeFileSsb+0x1d2f)[0x5b136f]
gmsh(_Z11OpenProjectSs+0x16f)[0x5b18cf]
gmsh(_Z8GmshFLTKiPPc+0x3b)[0x57ce7b]
gmsh(main+0x82)[0x570552]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f00158e6ead]
gmsh[0x57c011]
======= Memory map: ========
00400000-00e6a000 r-xp 00000000 fd:00
1859742                            /usr/bin/gmsh
01069000-010ab000 rw-p 00a69000 fd:00
1859742                            /usr/bin/gmsh
010ab000-011c0000 rw-p 00000000 00:00 0 
0237e000-035aa000 rw-p 00000000 00:00 0
[heap]
20000000-203e8000 rw-p 00000000 00:05
949                                /dev/zero
7f0008000000-7f0008021000 rw-p 00000000 00:00 0 
7f0008021000-7f000c000000 ---p 00000000 00:00 0 
7f000d9f6000-7f000e27b000 rw-p 00000000 00:00 0 
...

I also fail to run bunny.geo (on wiki) because of missing files:

Info : Reading 'bunny.geo'... Warning : Unable to open file
'bunnyCURV2.bgm' Error : 'bunny.geo', line 10 : Unknown view 0 Warning :
Unable to open file 'bunny2.stl' Info : Creating topology from mesh...
Info : Removing duplicate mesh vertices...

Best
C.