You can try debugger gdb -ex r -args python script.py <program terminates with segfault> (GDB) bt <stack trace> (GDB) f <suspicious_frame> (GDB) w <code in question> (GDB) p <suspicious_pointer>
Can you also provide us the mesh? Jan On Sat, 24 Oct 2015 11:24:23 -0400 Paolo Di Achille <[email protected]> wrote: > Dear FEniCS users and developers, > > I don't seem to be able to build the BoundingBoxTree of a correctly > loaded mesh using a recent installation from source of FEniCS 1.6.0 > on a local cluster. The following minimal code results in a segfault > error > > >>> from dolfin import * > >>> mm = Mesh('mesh.xml') > >>> mm.bounding_box_tree().build(mm) > > Surprisingly, I can use with no apparent issues other features that > do not explicitly require building a tree (e.g. solving a problem in > parallel, I/O of XDMF files), but the software fails, probably for > the same reason, when I need to evaluate a function at a point of > given coordinates. Likely, I must have missed some installation > requirements and any pointers or suggestions would be highly > appreciated. > > My current installation of FEniCS was built against OpenMPI-1.8.1, > Python-2.7.6, Swig-3.0.7, Boost-1.59.0, HDF5-1.8.10, VTK-5.10.1, > Scotch-6.0.4, Petsc-3.6.2 using GCC-4.8.2 and Cmake-3.3.2. Also no > error was output during compilation and linking. > > Thanks very much! Best, > Paolo _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
