Refine after partition causes crash
How to reproduce the crash:
- Open the attached file square.geo
- Create a 2D mesh by clicking on "2D" withing the Mesh item.
- Click on Refine by splitting.
- Click on Partition, and increase the number of partitions to 2. Leave everything else alone (here it shows "Metis" and "Recursive".
- Click on "Partition" in the lower right corner of the popup.
- Click on "Refine by splitting" in the main window.
Item 6 causes gmsh to segfault.
I'm using GMSH 2.10.1, built with GCC 5.2.1 20150922. It also occurs when using the SVN source snapshot with timestamp 2015-09-23 00:01.
The output of gmsh -info is:
Version : 2.10.1 License : GNU General Public License Build OS : Linux Build date : 20150923 Build host : styx.uio.no Build options : Ann Bamg Bfgs Blas(Generic) Blossom Cairo Chaco DIntegration Dlopen Fltk GMP Gmm Jpeg Kbipack Lapack(Generic) LinuxJoystick MathEx Mesh Metis Mmg3d Mpeg NativeFileChooser Netgen ONELAB ONELABMetamodel OpenGL OptHom Parser Plugins Png Post Solver Tetgen(1.5) Voro3D Zlib FLTK version : 1.3.3 Packaged by : tmac Web site : http://www.geuz.org/gmsh/ Mailing list : gmsh@geuz.org