Re: [Gmsh] There was eventually a crash report

2020-07-03 Thread Christophe Geuzaine

Your crash log indicates that the crash is in the Netgen mesh optimizer, which 
is not enabled by default. It is indeed not very robust.


> On 3 Jul 2020, at 20:55, Keith Sloan  wrote:
> 
> Process:   FreeCAD [7115]
> Path:  
> /Applications/FreeCAD.app/Contents/Resources/bin/FreeCAD
> Identifier:???
> Version:   ??? (0.18-16146)
> Code Type: X86-64 (Native)
> Parent Process:??? [7111]
> User ID:   501
> 
> Date/Time: 2020-07-03 19:33:18.239 +0100
> OS Version:Mac OS X 10.15.5 (19F96)
> Report Version:12
> Anonymous UUID:7B9AEDAD-6A4A-444F-F994-68810425664D
> 
> Sleep/Wake UUID:   DD6F44AB-1CD4-4722-B29D-D141B0C063FC
> 
> Time Awake Since Boot: 11 seconds
> Time Since Wake:   86000 seconds
> 
> System Integrity Protection: enabled
> 
> Crashed Thread:0  Dispatch queue: com.apple.main-thread
> 
> Exception Type:EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:   KERN_INVALID_ADDRESS at 0x7ffde47c9000
> Exception Note:EXC_CORPSE_NOTIFY
> 
> Termination Signal:Segmentation fault: 11
> Termination Reason:Namespace SIGNAL, Code 0xb
> Terminating Process:   exc handler [7115]
> 
> VM Regions Near 0x7ffde47c9000:
> MALLOC_LARGE   7ffde4789000-7ffde47c9000 [  256K] rw-/rwx 
> SM=PRV  
> --> 
> MALLOC_TINY7ffde480-7ffde490 [ 1024K] rw-/rwx 
> SM=PRV  
> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libmesh.so0x0001250eae64 
> netgen::BitArrayChar<1>::Clear() + 20
> 1   libgmsh.dylib 0x00012c36f668 
> netgen::Mesh::Compress() + 504
> 2   libgmsh.dylib 0x00012c3b8d05 
> netgen::MeshOptimize3d::CombineImprove(netgen::Mesh&, netgen::OPTIMIZEGOAL) + 
> 5861
> 3   libgmsh.dylib 0x00012c3fedf9 
> netgen::OptimizeVolume(netgen::MeshingParameters&, netgen::Mesh&) + 297
> 4   libgmsh.dylib 0x00012c341b03 
> nglib::Ng_OptimizeVolumeMesh(void**, double) + 99
> 5   libgmsh.dylib 0x00012bbd2d3a 
> optimizeMeshGRegionNetgen::operator()(GRegion*, bool) + 234
> 6   libgmsh.dylib 0x00012bb3b6bf 
> OptimizeMesh(GModel*, std::__1::basic_string std::__1::char_traits, std::__1::allocator > const&, bool, int) + 
> 2111
> 7   libgmsh.dylib 0x00012bb40053 
> GenerateMesh(GModel*, int) + 11347
> 8   libgmsh.dylib 0x00012b96bb5e GModel::mesh(int) + 
> 14
> 9   libgmsh.dylib 0x00012b7f6645 
> gmsh::model::mesh::generate(int) + 53
> 10  libgmsh.dylib 0x00012c585c89 
> gmshModelMeshGenerate + 25
> 11  _ctypes.cpython-36m-darwin.so 0x000117a06f4f ffi_call_unix64 + 79
> 12  _ctypes.cpython-36m-darwin.so 0x000117a077aa ffi_call + 858
> 13  _ctypes.cpython-36m-darwin.so 0x000117a02923 _ctypes_callproc + 
> 787
> 14  _ctypes.cpython-36m-darwin.so 0x0001179fc679 PyCFuncPtr_call + 
> 1049
> 15  libpython3.6m.dylib   0x0001077c13f4 
> _PyObject_FastCallDict + 292
> 16  libpython3.6m.dylib   0x000107893d12 call_function + 434
> 17  libpython3.6m.dylib   0x00010788ccc3 
> _PyEval_EvalFrameDefault + 4883
> 18  libpython3.6m.dylib   0x000107894816 
> _PyEval_EvalCodeWithName + 2566
> 19  libpython3.6m.dylib   0x000107895009 fast_function + 729
> 20  libpython3.6m.dylib   0x000107893d19 call_function + 441
> 21  libpython3.6m.dylib   0x00010788ccc3 
> _PyEval_EvalFrameDefault + 4883
> 22  libpython3.6m.dylib   0x000107894816 
> _PyEval_EvalCodeWithName + 2566
> 23  libpython3.6m.dylib   0x000107895009 fast_function + 729
> 24  libpython3.6m.dylib   0x000107893d19 call_function + 441
> 25  libpython3.6m.dylib   0x00010788ccc3 
> _PyEval_EvalFrameDefault + 4883
> 26  libpython3.6m.dylib   0x000107894f68 fast_function + 568
> 27  libpython3.6m.dylib   0x000107893d19 call_function + 441
> 28  libpython3.6m.dylib   0x00010788ccc3 
> _PyEval_EvalFrameDefault + 4883
> 29  libpython3.6m.dylib   0x000107894f68 fast_function + 568
> 30  libpython3.6m.dylib   0x000107893d19 call_function + 441
> 31  libpython3.6m.dylib   0x00010788ccc3 
> _PyEval_EvalFrameDefault + 4883
> 32  libpython3.6m.dylib   0x0001078953b1 
> _PyFunction_FastCallDict + 913
> 33  libpython3.6m.dylib   0x0001077c142a 
> _PyObject_FastCallDict + 346
> 34  libpython3.6m.dylib   0x0001077c155c 
> _PyObject_Call_Prepend + 156
> 35  libpython3.6m.dylib   0x0001077c1185 PyObject_Call + 101
> 36  libFreeCADBase.dylib  0x00010

[Gmsh] There was eventually a crash report

2020-07-03 Thread Keith Sloan

Process:   FreeCAD [7115]
Path: /Applications/FreeCAD.app/Contents/Resources/bin/FreeCAD
Identifier:    ???
Version:   ??? (0.18-16146)
Code Type: X86-64 (Native)
Parent Process:    ??? [7111]
User ID:   501

Date/Time: 2020-07-03 19:33:18.239 +0100
OS Version:    Mac OS X 10.15.5 (19F96)
Report Version:    12
Anonymous UUID:    7B9AEDAD-6A4A-444F-F994-68810425664D

Sleep/Wake UUID:   DD6F44AB-1CD4-4722-B29D-D141B0C063FC

Time Awake Since Boot: 11 seconds
Time Since Wake:   86000 seconds

System Integrity Protection: enabled

Crashed Thread:    0  Dispatch queue: com.apple.main-thread

Exception Type:    EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:   KERN_INVALID_ADDRESS at 0x7ffde47c9000
Exception Note:    EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [7115]

VM Regions Near 0x7ffde47c9000:
    MALLOC_LARGE   7ffde4789000-7ffde47c9000 [ 256K] 
rw-/rwx SM=PRV

-->
    MALLOC_TINY    7ffde480-7ffde490 [ 1024K] 
rw-/rwx SM=PRV


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libmesh.so        0x0001250eae64 
netgen::BitArrayChar<1>::Clear() + 20
1   libgmsh.dylib     0x00012c36f668 
netgen::Mesh::Compress() + 504
2   libgmsh.dylib     0x00012c3b8d05 
netgen::MeshOptimize3d::CombineImprove(netgen::Mesh&, 
netgen::OPTIMIZEGOAL) + 5861
3   libgmsh.dylib     0x00012c3fedf9 
netgen::OptimizeVolume(netgen::MeshingParameters&, netgen::Mesh&) + 297
4   libgmsh.dylib     0x00012c341b03 
nglib::Ng_OptimizeVolumeMesh(void**, double) + 99
5   libgmsh.dylib     0x00012bbd2d3a 
optimizeMeshGRegionNetgen::operator()(GRegion*, bool) + 234
6   libgmsh.dylib     0x00012bb3b6bf 
OptimizeMesh(GModel*, std::__1::basic_stringstd::__1::char_traits, std::__1::allocator > const&, bool, 
int) + 2111
7   libgmsh.dylib     0x00012bb40053 
GenerateMesh(GModel*, int) + 11347
8   libgmsh.dylib     0x00012b96bb5e 
GModel::mesh(int) + 14
9   libgmsh.dylib     0x00012b7f6645 
gmsh::model::mesh::generate(int) + 53
10  libgmsh.dylib     0x00012c585c89 
gmshModelMeshGenerate + 25
11  _ctypes.cpython-36m-darwin.so     0x000117a06f4f ffi_call_unix64 
+ 79

12  _ctypes.cpython-36m-darwin.so     0x000117a077aa ffi_call + 858
13  _ctypes.cpython-36m-darwin.so     0x000117a02923 
_ctypes_callproc + 787
14  _ctypes.cpython-36m-darwin.so     0x0001179fc679 PyCFuncPtr_call 
+ 1049
15  libpython3.6m.dylib       0x0001077c13f4 
_PyObject_FastCallDict + 292

16  libpython3.6m.dylib       0x000107893d12 call_function + 434
17  libpython3.6m.dylib       0x00010788ccc3 
_PyEval_EvalFrameDefault + 4883
18  libpython3.6m.dylib       0x000107894816 
_PyEval_EvalCodeWithName + 2566

19  libpython3.6m.dylib       0x000107895009 fast_function + 729
20  libpython3.6m.dylib       0x000107893d19 call_function + 441
21  libpython3.6m.dylib       0x00010788ccc3 
_PyEval_EvalFrameDefault + 4883
22  libpython3.6m.dylib       0x000107894816 
_PyEval_EvalCodeWithName + 2566

23  libpython3.6m.dylib       0x000107895009 fast_function + 729
24  libpython3.6m.dylib       0x000107893d19 call_function + 441
25  libpython3.6m.dylib       0x00010788ccc3 
_PyEval_EvalFrameDefault + 4883

26  libpython3.6m.dylib       0x000107894f68 fast_function + 568
27  libpython3.6m.dylib       0x000107893d19 call_function + 441
28  libpython3.6m.dylib       0x00010788ccc3 
_PyEval_EvalFrameDefault + 4883

29  libpython3.6m.dylib       0x000107894f68 fast_function + 568
30  libpython3.6m.dylib       0x000107893d19 call_function + 441
31  libpython3.6m.dylib       0x00010788ccc3 
_PyEval_EvalFrameDefault + 4883
32  libpython3.6m.dylib       0x0001078953b1 
_PyFunction_FastCallDict + 913
33  libpython3.6m.dylib       0x0001077c142a 
_PyObject_FastCallDict + 346
34  libpython3.6m.dylib       0x0001077c155c 
_PyObject_Call_Prepend + 156

35  libpython3.6m.dylib       0x0001077c1185 PyObject_Call + 101
36  libFreeCADBase.dylib      0x0001076ce3d2 PP_Run_Method + 354
37  libFreeCADBase.dylib      0x00010765ff11 
Base::InterpreterSingleton::runMethodVoid(_object*, char const*) + 49
38  libFreeCADGui.dylib       0x000106600afe 
Gui::PythonCommand::activated(int) + 254
39  libFreeCADGui.dylib       0x0001065fc7aa 
Gui::Command::invoke(int) + 74
40  libQt5Core.5.6.2.dylib        0x000109867e4c 
QMetaO