[Gmsh] Is it a Bug in Gmsh? HELP!!!

zhoujun zhoujun at cs.inf.shizuoka.ac.jp
Thu Jan 13 13:39:38 CET 2005


Dear professor,

Sorry for posting another problem again.
When running Gmsh meshing facility, an eception was thrown out and forced 
the program to abort.

It was a very simple geometry only consisting of 12 nodes, 7 surfaces and 1 
volume.
The meshing was runing Gmsh v1.58.0 on WinXP SP2 . Below are info. about the 
files of cube.geo and .gmsh-errors and stack trace. Please help me to 
diagnose.
(Maybe the height value of the cube is too small according to the 
gmsh-error, but the msehing result of the same text based geometric file can 
be generated by DEQSOL,which is a Fortran 77 based Japanese simulating 
application without visualization function)

Many thanks


/////////////  cube.geo ///////////////////////////////////////
Point(1) = {-467.5,-467.5,3,0.1};
Point(2) = {-467.5,-467.5,-3,0.1};
Point(3) = {-467.5,467.5,3,0.1};
Point(4) = {-467.5,467.5,-3,0.1};
Point(5) = {467.5,467.5,3,0.1};
Point(6) = {467.5,467.5,-3,0.1};
Point(7) = {467.5,-467.5,-3,0.1};
Point(8) = {467.5,-467.5,3,0.1};
Point(9) = {-20,20,3,0.1};
Point(10) = {-20,-20,3,0.1};
Point(11) = {20,20,3,0.1};
Point(12) = {20,-20,3,0.1};
Line(1) = {11,12};
Line(2) = {12,10};
Line(3) = {10,9};
Line(4) = {9,11};
Line(5) = {6,7};
Line(6) = {5,8};
Line(7) = {5,6};
Line(8) = {8,7};
Line(9) = {2,7};
Line(10) = {1,8};
Line(11) = {1,2};
Line(12) = {3,4};
Line(13) = {4,2};
Line(14) = {3,1};
Line(15) = {3,5};
Line(16) = {4,6};
Line Loop(17) = {4,1,2,3};
Plane Surface(18) = {17};
Line Loop(19) = {6,-10,-14,15};
Plane Surface(20) = {19};
Line Loop(21) = {5,-9,-13,16};
Plane Surface(22) = {21};
Line Loop(23) = {15,7,-16,-12};
Plane Surface(24) = {23};
Line Loop(25) = {7,5,-8,-6};
Plane Surface(26) = {25};
Line Loop(27) = {12,13,-11,-14};
Plane Surface(28) = {27};
Line Loop(29) = {8,-9,-11,10};
Plane Surface(30) = {29};
Surface Loop(31) = {26,-24,20,30,-22,-28};
Volume(32) = {31};

//////////////////// .gmsh-error///////////////////
Info    : -------------------------------------------------------
Info    : Gmsh version   : 1.58.0
Info    : Build OS       : CYGWIN_NT-5.1 1.5.10(0.116/4/2)
Info    : Build options  : GSL TRIANGLE NETGEN JPEG PNG ZLIB MATHEVAL
Info    : Build date     : Sat Jan  1 12:14:37 PST 2005
Info    : Build host     : geuz
Info    : Packager       : geuzaine
Info    : Home directory : /home/zhoujun/
Info    : Launch date    : Thu Jan 13 20:52:22 2005
Info    : Command line   : /cygdrive/c/Gmsh/gmsh-1.58.0-Windows/gmsh
Info    : -------------------------------------------------------
Info    : Parsing file '/cygdrive/c/Gmsh/gmsh-1.58.0-Windows/cube.geo'
Info    : Parsed file '/cygdrive/c/Gmsh/gmsh-1.58.0-Windows/cube.geo'
Info    : Plane Surface 18 (4 cross points)
Info    : Plane Surface 20 (4 cross points)
Info    : Plane Surface 22 (4 cross points)
Info    : Plane Surface 24 (4 cross points)
Info    : Plane Surface 26 (4 cross points)
Info    : Plane Surface 28 (4 cross points)
Info    : Plane Surface 30 (4 cross points)
Info    : Mesh 1D...
Info    : Meshing curve 1
Info    : Meshing curve 2
Info    : Meshing curve 3
Info    : Meshing curve 4
Info    : Meshing curve 5
Info    : Meshing curve 6
Info    : Meshing curve 7
Info    : Meshing curve 8
Info    : Meshing curve 9
Info    : Meshing curve 10
Info    : Meshing curve 11
Info    : Meshing curve 12
Info    : Meshing curve 13
Info    : Meshing curve 14
Info    : Meshing curve 15
Info    : Meshing curve 16
Info    : Mesh 1D complete (1.047 s)
Info    : Mesh 2D...
Info    : Meshing surface 18
Info    : Smoothing surface 18
Info    : Meshing surface 20
Warning : Colinear points in circum circle computation
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Warning : Colinear points in circum circle computation
Warning : Colinear points in circum circle computation
Error   : 3 identical points in Qtest
Warning : Colinear points in circum circle computation
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Warning : Almost colinear points in circum circle computation (d = 
9.97537e-07)
Warning : Almost colinear points in circum circle computation (d 
= -5.97667e-07)
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Warning : Colinear points in circum circle computation
Error   : 3 identical points in Qtest
Error   : 3 identical points in Qtest
Fatal   : 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 '/home/zhoujun/.gmsh-errors'

////////////////////// gmshrc /////////////////////////
General.OptionsFileName = ".gmsh-options"; // Option file created with 
`Tools->Options->Save'; automatically read on startup
General.TmpFileName = ".gmsh-tmp"; // Temporary file used by the geometry 
module
General.ClipPositionX = 650; // Horizontal position (in pixels) of the upper 
left corner of the clipping planes window
General.ClipPositionY = 150; // Vertical position (in pixels) of the upper 
left corner of the clipping planes window
General.ContextPositionX = 650; // Horizontal position (in pixels) of the 
upper left corner of the contextual windows
General.ContextPositionY = 150; // Vertical position (in pixels) of the 
upper left corner of the contextual windows
General.FileChooserPositionX = 200; // Horizontal position (in pixels) of 
the upper left corner of the file chooser windows
General.FileChooserPositionY = 200; // Vertical position (in pixels) of the 
upper left corner of the file chooser windows
General.GraphicsHeight = 978; // Height (in pixels) of the graphic window
General.GraphicsPositionX = 0; // Horizontal position (in pixels) of the 
upper left corner of the graphic window
General.GraphicsPositionY = 22; // Vertical position (in pixels) of the 
upper left corner of the graphic window
General.GraphicsWidth = 1280; // Width (in pixels) of the graphic window
General.MenuPositionX = 800; // Horizontal position (in pixels) of the upper 
left corner of the menu window
General.MenuPositionY = 50; // Vertical position (in pixels) of the upper 
left corner of the menu window
General.MessagePositionX = 650; // Horizontal position (in pixels) of the 
upper left corner of the message window
General.MessagePositionY = 150; // Vertical position (in pixels) of the 
upper left corner of the message window
General.MessageHeight = 350; // Height (in pixels) of the message window
General.MessageWidth = 450; // Width (in pixels) of the message window
General.OptionsPositionX = 650; // Horizontal position (in pixels) of the 
upper left corner of the option window
General.OptionsPositionY = 150; // Vertical position (in pixels) of the 
upper left corner of the option window
General.SaveOptions = 0; // Automatically save current options in 
General.OptionsFileName each time you quit Gmsh?
General.SaveSession = 1; // Automatically save session specific information 
in General.SessionFileName each time you quit Gmsh?
General.SolverPositionX = 650; // Horizontal position (in pixels) of the 
upper left corner of the solver windows
General.SolverPositionY = 150; // Vertical position (in pixels) of the upper 
left corner of the solver windows
General.StatisticsPositionX = 650; // Horizontal position (in pixels) of the 
upper left corner of the statistic window
General.StatisticsPositionY = 150; // Vertical position (in pixels) of the 
upper left corner of the statistic window
General.SystemMenuBar = 1; // Use the system menu bar on Mac OS X?
General.VisibilityPositionX = 650; // Horizontal position (in pixels) of the 
upper left corner of the visibility window
General.VisibilityPositionY = 150; // Vertical position (in pixels) of the 
upper left corner of the visibility window

///////////////////////////// Stack trace ///////////////
Stack trace:
Frame     Function  Args
00228C9C  7C802542  (00000234, 0000EA60, 000000A4, 00228CD8)
00228DAC  61092FB7  (00000000, 00000000, 00228DD8, 00000040)
00228EAC  61090030  (00000CD0, 00228EC4, 0022F090, 7C8399F3)
00228F6C  6109030A  (00000CD0, 00000006, 00228F9C, 610906DD)
00228F7C  6109012C  (00000006, 00000400, 00228F9C, 00000000)
00228F9C  610906DD  (007E733C, 00228FC8, 00000000, 0055DC13)
00228FBC  6108DF2F  (00000001, 007E7648, 000003F1, 00228FFC)
00228FEC  00420EEB  (00000004, 00420B30, 0022902C, 61027589)
00228FFC  00420BD0  (0000000B, 0022F090, 7C8399F3, 7C802608)
0022902C  61027589  (0000020C, 0000EA60, 000000A4, 00229068)
0022913C  61093042  (0022F090, 610253B8, 00229628, 00000000)
0022953C  61025412  (00229628, 0022F090, 00229644, 002295FC)
00229560  7C9437BF  (00229628, 0022F090, 00229644, 002295FC)
00229610  7C94378B  (00000000, 00229644, 00229628, 00229644)
0022994C  7C94EAFA  (00001CD2, 00001CD6, 00001CD7, 00001CDB)
002299AC  004CEE05  (00001CD2, 00001CD6, 00001CD7, 00001CDB)
End of stack trace (more stack frames may be present)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050113/e6ca31de/attachment.html>