[Gmsh] BUG: pressing reload crashes gmsh

Gunter Winkler guwi17 at gmx.de
Thu Dec 4 13:02:47 CET 2003


Hello,

gmsh repeatedly crashes when I do the following:

1. open a mesh file
2. press edit
3. press reload while the editor is still open

the mesh and error file is attached.

bye
Gunter

% ldd ~/bin/gmsh
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4002c000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x400c7000)
        libm.so.6 => /lib/libm.so.6 (0x4029f000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402c1000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402d0000)
        libc.so.6 => /lib/libc.so.6 (0x4039e000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x404d4000)
        libdl.so.2 => /lib/libdl.so.2 (0x40525000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40528000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40530000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40539000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40550000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40566000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4056f000)
-------------- next part --------------
sms 2
0 5 10 6 0
7 0 0 0 0 0
4 0 0 1 0 0
8 0 0 1 1 0
9 0 0 0 1 0
53 1 0 0.5 0 0 0
99 2 0 0.5 0.5 0 0 0 0
53 1 1 5 0 0
53 1 5 2 0 0
21 1 2 3 0 0
45 1 3 4 0 0
37 1 4 1 0 0
99 2 1 6 0 0
99 2 5 6 0 0
99 2 2 6 0 0
99 2 3 6 0 0
99 2 4 6 0 0
99 2 3 5 6 10 0
99 2 3 1 7 6 0
99 2 3 2 8 7 0
99 2 3 8 3 9 0
99 2 3 9 4 10 0
-------------- next part --------------
Gmsh 1.49.1
-------------------------------------------------------
Build OS       : Linux 2.4.18-3
Build options  : GSL TRIANGLE JPEG PNG 
Build date     : Tue Dec  2 00:07:50 PST 2003
Build host     : localhost.localdomain
Packager       : geuzaine
Home directory : /HOME1/users/personal/gwinkler/
Launch date    : Thu Dec  4 13:00:36 2003
Command line   : gmsh 
-------------------------------------------------------
Geometry
Info : Reading mesh file '/HOME1/users/personal/gwinkler/PROJECT/fem2/meshadapt/orig/mesh.sms'
Info : reading a mesh in scorec format
Info : 6 Vertices
Info : 10 Edges
Info : 5 Faces
Info : 0 Region
Info : Done.
Info : Read mesh file '/HOME1/users/personal/gwinkler/PROJECT/fem2/meshadapt/orig/mesh.sms'
Info : Starting text editor 'emacs /HOME1/users/personal/gwinkler/PROJECT/fem2/meshadapt/orig/mesh.sms &'
Info : Calling 'emacs /HOME1/users/personal/gwinkler/PROJECT/fem2/meshadapt/orig/mesh.sms &'
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'