Crash when trying to create simple hex mesh
When running the attached file through gmsh (2.12.0 from Debian and the current (June 28, 2016) development snapshot) using
gmsh x.geo
I get a segmentation fault with the following backtrace:
[bolt:27446] *** Process received signal ***
[bolt:27446] Signal: Segmentation fault (11)
[bolt:27446] Signal code: Address not mapped (1)
[bolt:27446] Failing at address: 0x8
[bolt:27446] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x334e0)[0x7f5773d994e0]
[bolt:27446] [ 1] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_ZN15linearSystemGmmIdE11systemSolveEv+0x34)[0x7f5774af01e4]
[bolt:27446] [ 2] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(+0x6b4de4)[0x7f5774d54de4]
[bolt:27446] [ 3] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_ZN14backgroundMesh15propagate1dMeshEP5GFace+0x319)[0x7f5774d5
5e09]
[bolt:27446] [ 4] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_ZN14backgroundMeshC1EP5GFaceb+0xa65)[0x7f5774d56a55]
[bolt:27446] [ 5] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_ZN14backgroundMesh3setEP5GFace+0x37)[0x7f5774d56ca7]
[bolt:27446] [ 6] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_Z13meshGeneratorP5GFaceibbbPNSt7__cxx114listIP5GEdgeSaIS4_EEE
+0x313e)[0x7f5774cbb8be]
[bolt:27446] [ 7] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_ZN9meshGFaceclEP5GFaceb+0x128a)[0x7f5774cbee2a]
[bolt:27446] [ 8] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_ZN5GFace4meshEb+0x2f)[0x7f5774aace4f]
[bolt:27446] [ 9] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_Z12GenerateMeshP6GModeli+0xd6f)[0x7f5774cafcbf]
[bolt:27446] [10] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_ZN6GModel4meshEi+0x9)[0x7f5774b2c8f9]
[bolt:27446] [11] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_Z12gmsh_yyparsev+0x1041e)[0x7f5774ff92db]
[bolt:27446] [12] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_Z9ParseFileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI
cEEEbb+0xe5)[0x7f57749e9dc5]
[bolt:27446] [13] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_ZN6GModel7readGEOERKNSt7__cxx1112basic_stringIcSt11char_trait
sIcESaIcEEE+0x10)[0x7f5774b70b90]
[bolt:27446] [14] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_Z9MergeFileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI
cEEEbbb+0x2626)[0x7f57749e9cd6]
[bolt:27446] [15] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_Z11OpenProjectRKNSt7__cxx1112basic_stringIcSt11char_traitsIcE
SaIcEEE+0x603)[0x7f57749eb063]
[bolt:27446] [16] /usr/lib/x86_64-linux-gnu/libgmsh.so.2(_Z8GmshFLTKiPPc+0xbe)[0x7f577498f8ae]
[bolt:27446] [17] gmsh(main+0xad)[0x400fbd]
[bolt:27446] [18] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f5773d865f0]
[bolt:27446] [19] gmsh(_start+0x29)[0x4010d9]
[bolt:27446] *** End of error message ***
[1] 27446 segmentation fault gmsh x.geo