The following sequence of commands: % source build/setpaths.csh % libtbx.python
import dxtbx from dxtbx import model print dxtbx.model.Scan()
seems to cause Python itself to core dump. Is this expected?
show_stack(1): <stdin>(1) <module>
libc backtrace (25 frames, most recent call last):
/home/jamesh/projects/cctbx-dev/build/../base/bin/python2.7() [0x400659]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x34e961ed1d]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(Py_Main+0xc74)
[0x7f93eb5c2b74]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyRun_AnyFileExFlags+0x4c)
[0x7f93eb5ad78c]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyRun_InteractiveLoopFlags+0x4e)
[0x7f93eb5ad04e]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyRun_InteractiveOneFlags+0x195)
[0x7f93eb5ace35]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)
[0x7f93eb58d4e2]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88e)
[0x7f93eb58d3ce]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x3ef0)
[0x7f93eb589de0]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyFile_WriteObject+0x78)
[0x7f93eb503b58]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(+0x958f2)
[0x7f93eb5288f2]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyObject_Str+0xa)
[0x7f93eb52879a]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(_PyObject_Str+0x7b)
[0x7f93eb5286ab]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(+0xb5a1e)
[0x7f93eb548a1e]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x43)
[0x7f93eb584fd3]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)
[0x7f93eb4dc093]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(+0x5b6cf)
[0x7f93eb4ee6cf]
/home/jamesh/projects/cctbx-dev/base/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)
[0x7f93eb4dc093]
/home/jamesh/projects/cctbx-dev/build/lib/libboost_python.so(+0x2d088)
[0x7f93e3f23088]
/home/jamesh/projects/cctbx-dev/build/lib/libboost_python.so(boost::python::handle_exception_impl(boost::function0<void>)+0x43)
[0x7f93e3f34013]
/home/jamesh/projects/cctbx-dev/build/lib/libboost_python.so(+0x2fe08)
[0x7f93e3f25e08]
/home/jamesh/projects/cctbx-dev/build/lib/libboost_python.so(boost::python::objects::function::call(_object*,
_object*) const+0xef) [0x7f93e3f251ff]
/home/jamesh/projects/cctbx-dev/build/lib/dxtbx_model_ext.so(boost::python::objects::caller_py_function_impl
::operator()(_object*, _object*)+0x83) [0x7f93db88a7a3] /home/jamesh/projects/cctbx-dev/build/lib/dxtbx_model_ext.so(dxtbx::model::boost_python::scan_to_string(dxtbx::model::Scan const&)+0x319) [0x7f93db871929] /lib64/libc.so.6() [0x34e9632510] Segmentation fault (Python and libc call stacks above)