Segmentation Fault 11 On Importing bob: Mac

115 views
Skip to first unread message

Antonio Rohit De Lima Fernandes

unread,
Oct 12, 2014, 5:02:53 PM10/12/14
to bob-...@googlegroups.com
After following the steps outlined here: 

To install bob on my Mac running OSX Mavericks, if I try to import bob, I get a segmentation fault 11.

Here is the error log:
Process:         Python [29113]
Path:            /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:      Python
Version:         2.7.8 (2.7.8)
Code Type:       X86-64 (Native)
Parent Process:  bash [29110]
Responsible:     iTerm [29105]
User ID:         501

Date/Time:       2014-10-12 14:02:18.997 -0700
OS Version:      Mac OS X 10.9.5 (13F34)
Report Version:  11
Anonymous UUID:  BF500EAB-77BB-F99A-9CBE-BCF08F83A53C

Sleep/Wake UUID: 8239CCC1-A92F-410A-B68A-8AF14C504815

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

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008

VM Regions Near 0x8:
--> 
    __TEXT                 0000000108143000-0000000108145000 [    8K] r-x/rwx SM=COW  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libbob_core_py27.1.2.dylib     0x000000010864ccc4 boost::python::objects::polymorphic_id_generator<PythonLoggingOutputDevice>::execute(void*) + 20
1   libboost_python-mt.dylib       0x00000001089bc668 boost::(anonymous namespace)::convert_type(void*, boost::python::type_info, boost::python::type_info, bool) + 408
2   libboost_python-mt.dylib       0x00000001089b690f boost::python::objects::find_instance_impl(_object*, boost::python::type_info, bool) + 95
3   libboost_python-mt.dylib       0x00000001089b21ba boost::python::converter::get_lvalue_from_python(_object*, boost::python::converter::registration const&) + 26
4   libboost_python-mt.dylib       0x00000001089b2015 boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&) + 69
5   libbob_core_py27.1.2.dylib     0x0000000108645c8f boost::python::detail::caller_arity<2u>::impl<void (bob::core::OutputStream::*)(boost::shared_ptr<bob::core::OutputDevice> const&), boost::python::default_call_policies, boost::mpl::vector3<void, bob::core::OutputStream&, boost::shared_ptr<bob::core::OutputDevice> const&> >::operator()(_object*, _object*) + 79
6   libboost_python-mt.dylib       0x00000001089b960e boost::python::objects::function::call(_object*, _object*) const + 798
7   libboost_python-mt.dylib       0x00000001089bb7aa boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return, void>::invoke(boost::detail::function::function_buffer&) + 26
8   libboost_python-mt.dylib       0x00000001089c1e93 boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 67
9   libbob_core_py27.1.2.dylib     0x0000000108640ff6 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::underflow_error> > >::operator()<bool, boost::python::detail::translate_exception<std::underflow_error, bob::python::ExceptionTranslator<std::underflow_error> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::underflow_error, bob::python::ExceptionTranslator<std::underflow_error> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
10  libbob_core_py27.1.2.dylib     0x0000000108640fd5 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::underflow_error, bob::python::ExceptionTranslator<std::underflow_error> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::underflow_error> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
11  libboost_python-mt.dylib       0x00000001089c1e7b boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 43
12  libbob_core_py27.1.2.dylib     0x00000001086411b6 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::overflow_error> > >::operator()<bool, boost::python::detail::translate_exception<std::overflow_error, bob::python::ExceptionTranslator<std::overflow_error> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::overflow_error, bob::python::ExceptionTranslator<std::overflow_error> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
13  libbob_core_py27.1.2.dylib     0x0000000108641195 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::overflow_error, bob::python::ExceptionTranslator<std::overflow_error> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::overflow_error> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
14  libboost_python-mt.dylib       0x00000001089c1e7b boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 43
15  libbob_core_py27.1.2.dylib     0x0000000108641376 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::range_error> > >::operator()<bool, boost::python::detail::translate_exception<std::range_error, bob::python::ExceptionTranslator<std::range_error> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::range_error, bob::python::ExceptionTranslator<std::range_error> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
16  libbob_core_py27.1.2.dylib     0x0000000108641355 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::range_error, bob::python::ExceptionTranslator<std::range_error> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::range_error> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
17  libboost_python-mt.dylib       0x00000001089c1e7b boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 43
18  libbob_core_py27.1.2.dylib     0x0000000108641536 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::runtime_error> > >::operator()<bool, boost::python::detail::translate_exception<std::runtime_error, bob::python::ExceptionTranslator<std::runtime_error> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::runtime_error, bob::python::ExceptionTranslator<std::runtime_error> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
19  libbob_core_py27.1.2.dylib     0x0000000108641515 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::runtime_error, bob::python::ExceptionTranslator<std::runtime_error> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::runtime_error> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
20  libboost_python-mt.dylib       0x00000001089c1e7b boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 43
21  libbob_core_py27.1.2.dylib     0x00000001086416f6 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::out_of_range> > >::operator()<bool, boost::python::detail::translate_exception<std::out_of_range, bob::python::ExceptionTranslator<std::out_of_range> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::out_of_range, bob::python::ExceptionTranslator<std::out_of_range> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
22  libbob_core_py27.1.2.dylib     0x00000001086416d5 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::out_of_range, bob::python::ExceptionTranslator<std::out_of_range> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::out_of_range> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
23  libboost_python-mt.dylib       0x00000001089c1e7b boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 43
24  libbob_core_py27.1.2.dylib     0x00000001086418b6 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::length_error> > >::operator()<bool, boost::python::detail::translate_exception<std::length_error, bob::python::ExceptionTranslator<std::length_error> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::length_error, bob::python::ExceptionTranslator<std::length_error> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
25  libbob_core_py27.1.2.dylib     0x0000000108641895 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::length_error, bob::python::ExceptionTranslator<std::length_error> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::length_error> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
26  libboost_python-mt.dylib       0x00000001089c1e7b boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 43
27  libbob_core_py27.1.2.dylib     0x0000000108641a76 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::invalid_argument> > >::operator()<bool, boost::python::detail::translate_exception<std::invalid_argument, bob::python::ExceptionTranslator<std::invalid_argument> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::invalid_argument, bob::python::ExceptionTranslator<std::invalid_argument> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
28  libbob_core_py27.1.2.dylib     0x0000000108641a55 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::invalid_argument, bob::python::ExceptionTranslator<std::invalid_argument> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::invalid_argument> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
29  libboost_python-mt.dylib       0x00000001089c1e7b boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 43
30  libbob_core_py27.1.2.dylib     0x0000000108641c36 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::domain_error> > >::operator()<bool, boost::python::detail::translate_exception<std::domain_error, bob::python::ExceptionTranslator<std::domain_error> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::domain_error, bob::python::ExceptionTranslator<std::domain_error> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
31  libbob_core_py27.1.2.dylib     0x0000000108641c15 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::domain_error, bob::python::ExceptionTranslator<std::domain_error> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::domain_error> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
32  libboost_python-mt.dylib       0x00000001089c1e7b boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 43
33  libbob_core_py27.1.2.dylib     0x0000000108641df6 bool boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::logic_error> > >::operator()<bool, boost::python::detail::translate_exception<std::logic_error, bob::python::ExceptionTranslator<std::logic_error> >, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&> >(boost::_bi::type<bool>, boost::python::detail::translate_exception<std::logic_error, bob::python::ExceptionTranslator<std::logic_error> >&, boost::_bi::list2<boost::python::detail::exception_handler const&, boost::function0<void> const&>&, long) + 22
34  libbob_core_py27.1.2.dylib     0x0000000108641dd5 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::logic_error, bob::python::ExceptionTranslator<std::logic_error> >, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<bob::python::ExceptionTranslator<std::logic_error> > > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) + 37
35  libboost_python-mt.dylib       0x00000001089c1c33 boost::python::handle_exception_impl(boost::function0<void>) + 51
36  libboost_python-mt.dylib       0x00000001089bb203 boost::python::objects::function_call(_object*, _object*, _object*) + 83
37  org.python.python             0x0000000108156253 PyObject_Call + 99
38  org.python.python             0x00000001081f41ae PyEval_EvalFrameEx + 16030
39  org.python.python             0x00000001081f009d PyEval_EvalCodeEx + 1725
40  org.python.python             0x00000001081ef9d6 PyEval_EvalCode + 54
41  org.python.python             0x000000010820b67c PyImport_ExecCodeModuleEx + 236
42  org.python.python             0x000000010820e82d load_source_module + 1069
43  org.python.python             0x000000010820eb3f load_package + 303
44  org.python.python             0x000000010820f446 import_submodule + 278
45  org.python.python             0x000000010820f230 ensure_fromlist + 496
46  org.python.python             0x000000010820cb76 PyImport_ImportModuleLevel + 822
47  org.python.python             0x00000001081eb217 builtin___import__ + 135
48  org.python.python             0x0000000108156253 PyObject_Call + 99
49  org.python.python             0x00000001081f2f25 PyEval_EvalFrameEx + 11285
50  org.python.python             0x00000001081f009d PyEval_EvalCodeEx + 1725
51  org.python.python             0x00000001081ef9d6 PyEval_EvalCode + 54
52  org.python.python             0x000000010820b67c PyImport_ExecCodeModuleEx + 236
53  org.python.python             0x000000010820e82d load_source_module + 1069
54  org.python.python             0x000000010820eb3f load_package + 303
55  org.python.python             0x000000010820f446 import_submodule + 278
56  org.python.python             0x000000010820ef28 load_next + 280
57  org.python.python             0x000000010820ca8f PyImport_ImportModuleLevel + 591
58  org.python.python             0x00000001081eb217 builtin___import__ + 135
59  org.python.python             0x0000000108156253 PyObject_Call + 99
60  org.python.python             0x00000001081f2f25 PyEval_EvalFrameEx + 11285
61  org.python.python             0x00000001081f009d PyEval_EvalCodeEx + 1725
62  org.python.python             0x00000001081ef9d6 PyEval_EvalCode + 54
63  org.python.python             0x00000001082192bd PyRun_InteractiveOneFlags + 381
64  org.python.python             0x0000000108218d9e PyRun_InteractiveLoopFlags + 206
65  org.python.python             0x0000000108218c48 PyRun_AnyFileExFlags + 136
66  org.python.python             0x000000010822ed1e Py_Main + 3070
67  libdyld.dylib                 0x00007fff8f7a55fd start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00000001087f9810  rcx: 0x0000000000000029  rdx: 0x00000001088d5e00
  rdi: 0x00007fff57abb415  rsi: 0x00007fbc68680f00  rbp: 0x00007fff57abb340  rsp: 0x00007fff57abb340
   r8: 0x0000000000000000   r9: 0x0000000000000001  r10: 0x000000010940e4d0  r11: 0x0000000000000000
  r12: 0x00007fbc68680f00  r13: 0x00007fbc68680f00  r14: 0x00007fbc68673770  r15: 0x00007fff7e8ff420
  rip: 0x000000010864ccc4  rfl: 0x0000000000010202  cr2: 0x0000000000000008
  
Logical CPU:     6
Error Code:      0x00000004
Trap Number:     14


Binary Images:
       0x108143000 -        0x108144fff +org.python.python (2.7.8 - 2.7.8) <F73B017C-20B1-3968-A71D-F2A1873735B0> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
       0x108148000 -        0x108270fff +org.python.python (2.7.8, [c] 2004-2014 Python Software Foundation. - 2.7.8) <1BC792F3-AE94-3CBD-80F6-53E6E7A74B15> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
       0x1084e1000 -        0x1084e3ff7 +readline.so (0) <D8CE4215-436A-33FB-8D3D-3E0E38C4B6B2> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
       0x1084ea000 -        0x108508fff +libedit.0.dylib (0) <38B25AFF-720E-3BCB-8C89-5F19C3D12D2B> /opt/local/lib/libedit.0.dylib
       0x108517000 -        0x108548ff7 +libncurses.5.dylib (0) <5FD4E3F4-FFC2-33EE-8F63-1F0F6C44BBEA> /opt/local/lib/libncurses.5.dylib
       0x108597000 -        0x1085a8ff7 +_ctypes.so (0) <0DE909D3-77EF-3A87-81AD-771BDC553A37> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
       0x1085b9000 -        0x1085bcff7 +_struct.so (0) <0990B17C-AE12-31C9-AA60-94763BD69E4E> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
       0x1085c4000 -        0x1085c6fff +time.so (0) <BD0522C4-A300-3ACA-8404-ABC42B2FA76C> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
       0x1085cc000 -        0x1085cdfff +cStringIO.so (0) <7D90028D-72A7-375F-A0EF-A9AA042F5640> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
       0x108612000 -        0x108615ff7 +_collections.so (0) <9211FEA0-4F36-33CE-AF02-4130B48BDA0D> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
       0x10861b000 -        0x10861efff +operator.so (0) <C1EAD55B-4AC8-31D7-92BF-BE27ABC78886> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
       0x108625000 -        0x10862aff7 +itertools.so (0) <6969D53D-5958-397D-B2FA-3F7E0621D019> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
       0x108635000 -        0x108636fff +_heapq.so (0) <D4A21E5E-BBF0-39E9-9E4E-23CAFAA997FB> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
       0x10863a000 -        0x10863bfff +_core.so (0) <A57D0C47-C107-32DB-9F2E-70BDA059835D> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/core/_core.so
       0x10863d000 -        0x1087feff7 +libbob_core_py27.1.2.dylib (0) <E537F317-12E4-3529-899D-83A9B97877F7> /opt/local/lib/libbob_core_py27.1.2.dylib
       0x108881000 -        0x108889ff7 +libbob_python.1.2.dylib (0) <3575DB85-C95F-3869-97C7-97DEDAA4DDA5> /opt/local/lib/libbob_python.1.2.dylib
       0x108891000 -        0x1088daff7 +libbob_core.1.2.dylib (0) <5C5BE4AD-D586-37F2-9A4B-62377BC01B1F> /opt/local/lib/libbob_core.1.2.dylib
       0x108937000 -        0x108939ff3 +libboost_system-mt.dylib (0) <45475058-6016-376A-B36A-41D30AD34CB6> /opt/local/lib/libboost_system-mt.dylib
       0x10893e000 -        0x10894bff0 +libboost_filesystem-mt.dylib (0) <69F15D6D-AB6F-3606-B1E5-D3CEECD83EBB> /opt/local/lib/libboost_filesystem-mt.dylib
       0x10895c000 -        0x108967ff7 +libboost_iostreams-mt.dylib (0) <001A2FA3-D5A3-3E64-9155-97FED5CC0D2B> /opt/local/lib/libboost_iostreams-mt.dylib
       0x108982000 -        0x10898fff7 +libboost_thread-mt.dylib (0) <3450684B-F152-3712-8D8C-E45B958A5306> /opt/local/lib/libboost_thread-mt.dylib
       0x1089a9000 -        0x1089d7ff6 +libboost_python-mt.dylib (0) <30A6CB6E-5594-3CE7-8BCA-E45024227561> /opt/local/lib/libboost_python-mt.dylib
       0x108a18000 -        0x108a27ff7 +libz.1.dylib (0) <EE52BDB8-6083-3F10-A193-2E52AAF555E7> /opt/local/lib/libz.1.dylib
       0x108a2b000 -        0x108a39fff +libbz2.1.0.dylib (0) <57564CB0-AD8D-35AD-A8BE-EAF844A6005C> /opt/local/lib/libbz2.1.0.dylib
       0x108a7d000 -        0x108a81ff7 +math.so (0) <0C4374CE-AC8E-30AE-B5F1-5FE252E66C88> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
       0x108a88000 -        0x108b9aff7 +multiarray.so (0) <AB66387A-0C4D-3E46-8368-3833A0B3BFE0> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/multiarray.so
       0x108c54000 -        0x108c60fff +datetime.so (0) <CB5EB1EB-0288-3680-9276-2D33A5C54EFF> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
       0x108cac000 -        0x108d06fff +umath.so (0) <DF06111A-C081-3E09-8020-50FB5326CC3D> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/umath.so
       0x108d73000 -        0x108d80fff +cPickle.so (0) <18A639C6-34B1-3E45-BDD0-80FB89DE011C> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
       0x108d88000 -        0x108d8cff7 +_dotblas.so (0) <40F69816-5F39-3E26-899E-26C0E28D29D8> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/_dotblas.so
       0x108d90000 -        0x108d91ff7 +_functools.so (0) <C925328B-3B30-3A4A-84D5-DD18165C93D5> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
       0x108e95000 -        0x108eb1fff +scalarmath.so (0) <4F7A8FAC-03AF-3FF6-8513-BDAF2A7450E7> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/scalarmath.so
       0x108f43000 -        0x108f44ff7 +grp.so (0) <FCD42B83-D9BB-31A2-8937-01941C6C9A86> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so
       0x108f47000 -        0x108f58ff7 +_io.so (0) <B7310BE3-3492-3792-988F-51A03876D973> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
       0x108f6f000 -        0x108f72fff +binascii.so (0) <A15864B2-F7E6-39AB-8259-1CF9667D40D3> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
       0x108f76000 -        0x108f78fff +_hashlib.so (0) <AB421BFE-2CF7-31C5-8385-5E50C784F9ED> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
       0x108f7d000 -        0x108fbffff +libssl.1.0.0.dylib (0) <731E5F1D-76A4-35FE-86A6-4A2A1C0EAF43> /opt/local/lib/libssl.1.0.0.dylib
       0x108fd9000 -        0x1090f3fff +libcrypto.1.0.0.dylib (0) <0C922A9B-5AD4-351F-93DB-882DF0DFCB15> /opt/local/lib/libcrypto.1.0.0.dylib
       0x109164000 -        0x109165ff7 +_random.so (0) <F5C194A7-58EE-302A-8436-E7EADD15745D> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
       0x1091a9000 -        0x1091aaff7 +fcntl.so (0) <832D0409-6F1A-3425-8A93-64DC2F4210A1> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
       0x1091ad000 -        0x1091b1ff7 +_compiled_base.so (0) <8FD165A4-0604-3A95-8442-7CB0C527B6FF> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/_compiled_base.so
       0x1091f5000 -        0x1091f7ff7 +lapack_lite.so (0) <F8B6F164-1967-3BA8-9822-C67ADA02B3E5> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
       0x1091fb000 -        0x10920aff7 +_umath_linalg.so (0) <20EFBFD0-C456-3449-85F1-1542DF82C8B6> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/_umath_linalg.so
       0x109256000 -        0x109256fff +future_builtins.so (0) <6739104F-21B2-30B7-AFC8-8B2A93D6C901> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/future_builtins.so
       0x109259000 -        0x109261fff +fftpack_lite.so (0) <7FEF3623-99D0-3FCC-8F54-F4524BE9323A> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
       0x1092a5000 -        0x109304ff7 +mtrand.so (0) <D0401F84-5AD6-3F35-82CA-B0BF933CD8CC> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/random/mtrand.so
       0x109412000 -        0x109413fff +_core_random.so (0) <33FC68DF-FC2D-3F9C-B562-16FCA64282C5> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/core/random/_core_random.so
       0x109415000 -        0x109499ff7 +libbob_core_random_py27.1.2.dylib (0) <60ED53C9-4DDC-3374-9360-BF2792EBF73A> /opt/local/lib/libbob_core_random_py27.1.2.dylib
    0x7fff6a283000 -     0x7fff6a2b6817  dyld (239.4) <7AD43B9B-5CEA-3C7E-9836-A06909F9CA56> /usr/lib/dyld
    0x7fff8d89b000 -     0x7fff8d8a2ff8  liblaunch.dylib (842.92.1) <A40A0C7B-3216-39B4-8AE0-B5D3BAF1DA8A> /usr/lib/system/liblaunch.dylib
    0x7fff8d9d9000 -     0x7fff8d9ddff7  libsystem_stats.dylib (93.90.3) <337946FC-B2E1-3DFA-A8B5-30DA8D584D75> /usr/lib/system/libsystem_stats.dylib
    0x7fff8dfa2000 -     0x7fff8dfcbff7  libc++abi.dylib (49.1) <21A807D3-6732-3455-B77F-743E9F916DF0> /usr/lib/libc++abi.dylib
    0x7fff8f7a2000 -     0x7fff8f7a5ff7  libdyld.dylib (239.4) <A1273A02-4928-3BAC-A846-6C069DC1A0A6> /usr/lib/system/libdyld.dylib
    0x7fff8f93e000 -     0x7fff8f93fff7  libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8fcaa000 -     0x7fff8fcacff7  libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
    0x7fff901db000 -     0x7fff90202ffb  libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
    0x7fff903db000 -     0x7fff903e3fff  libsystem_dnssd.dylib (522.92.1) <17B03FFD-92C5-3282-9981-EBB28B456207> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff90915000 -     0x7fff90939fff  libxpc.dylib (300.90.2) <AB40CD57-F454-3FD4-B415-63B3C0D5C624> /usr/lib/system/libxpc.dylib
    0x7fff90973000 -     0x7fff90974fff  libunc.dylib (28) <62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
    0x7fff90975000 -     0x7fff90976ff7  libSystem.B.dylib (1197.1.1) <E6BCC031-4342-318C-A1AD-A8E9AEAE716F> /usr/lib/libSystem.B.dylib
    0x7fff91044000 -     0x7fff91045ffb  libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
    0x7fff91078000 -     0x7fff91078fff  com.apple.Accelerate.vecLib (3.9 - vecLib 3.9) <F8D0CC77-98AC-3B58-9FE6-0C25421827B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff92d05000 -     0x7fff92d34fd2  libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
    0x7fff92d5c000 -     0x7fff92d76fff  libdispatch.dylib (339.92.1) <C4E4A18D-3C3B-3C9C-8709-A4270D998DE7> /usr/lib/system/libdispatch.dylib
    0x7fff92d8d000 -     0x7fff92d9eff7  libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
    0x7fff92e43000 -     0x7fff92e4aff7  libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
    0x7fff93664000 -     0x7fff937d2ff7  libBLAS.dylib (1094.5) <DE93A590-5FA5-32A2-A16C-5D7D7361769F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff937dc000 -     0x7fff937e2ff7  libsystem_platform.dylib (24.90.1) <3C3D3DA8-32B9-3243-98EC-D89B9A1670B3> /usr/lib/system/libsystem_platform.dylib
    0x7fff94da8000 -     0x7fff94da9ff7  libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
    0x7fff95798000 -     0x7fff95799fff  libsystem_sandbox.dylib (278.11.1) <0D0B13EA-6B7A-3AC8-BE60-B548543BEB77> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff96b58000 -     0x7fff96d10ffb  libicucore.A.dylib (511.35) <6F097DA7-147C-32A1-93D2-728A64CF0DC2> /usr/lib/libicucore.A.dylib
    0x7fff96f8e000 -     0x7fff96f8efff  com.apple.Accelerate (1.9 - Accelerate 1.9) <509BB27A-AE62-366D-86D8-0B06D217CF56> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff971ad000 -     0x7fff971b2fff  libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
    0x7fff971b3000 -     0x7fff9723cff7  libsystem_c.dylib (997.90.3) <6FD3A400-4BB2-3B95-B90C-BE6E9D0D78FA> /usr/lib/system/libsystem_c.dylib
    0x7fff972ca000 -     0x7fff97318fff  libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
    0x7fff97319000 -     0x7fff97320ffb  libcopyfile.dylib (103.92.1) <CF29DFF6-0589-3590-834C-82E2316612E8> /usr/lib/system/libcopyfile.dylib
    0x7fff97321000 -     0x7fff9732affb  libsystem_notify.dylib (121.20.1) <9B34B4FE-F5AD-3F09-A5F0-46AFF3571323> /usr/lib/system/libsystem_notify.dylib
    0x7fff973bb000 -     0x7fff973d7ff7  libsystem_kernel.dylib (2422.115.4) <9EDE872E-2A9E-3A78-8E1D-AB790794A098> /usr/lib/system/libsystem_kernel.dylib
    0x7fff9750c000 -     0x7fff978edffe  libLAPACK.dylib (1094.5) <7E7A9B8D-1638-3914-BAE0-663B69865986> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff979b3000 -     0x7fff979ceff7  libsystem_malloc.dylib (23.10.1) <A695B4E4-38E9-332E-A772-29D31E3F1385> /usr/lib/system/libsystem_malloc.dylib
    0x7fff97b0a000 -     0x7fff97b0aff7  libkeymgr.dylib (28) <3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib
    0x7fff97e33000 -     0x7fff97e5aff7  libsystem_network.dylib (241.3) <8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> /usr/lib/system/libsystem_network.dylib
    0x7fff97e5b000 -     0x7fff98040fff  com.apple.CoreFoundation (6.9 - 855.17) <729BD6DA-1F63-3E72-A148-26F21EBF52BB> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff98041000 -     0x7fff9804bfff  libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
    0x7fff9804c000 -     0x7fff981f9f27  libobjc.A.dylib (551.1) <AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
    0x7fff98267000 -     0x7fff98278ff7  libsystem_asl.dylib (217.1.4) <655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> /usr/lib/system/libsystem_asl.dylib
    0x7fff9827a000 -     0x7fff9827cff3  libsystem_configuration.dylib (596.15) <4998CB6A-9D54-390A-9F57-5D1AC53C135C> /usr/lib/system/libsystem_configuration.dylib
    0x7fff98311000 -     0x7fff98363fff  libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
    0x7fff985a5000 -     0x7fff98879fc7  com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff98edf000 -     0x7fff98f8fff7  libvMisc.dylib (423.32) <049C0735-1808-39B9-943F-76CB8021744F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff98fa9000 -     0x7fff99074fff  libvDSP.dylib (423.32) <3BF732BE-DDE0-38EB-8C54-E4E3C64F77A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff99517000 -     0x7fff99559ff7  libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
    0x7fff99c9b000 -     0x7fff99ca2fff  libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
    0x7fff9a734000 -     0x7fff9a739ff7  libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
    0x7fff9a7f5000 -     0x7fff9a7f9ff7  libcache.dylib (62) <BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 17220
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=97.5M resident=63.2M(65%) swapped_out_or_unallocated=34.3M(35%)
Writable regions: Total=51.4M written=10.2M(20%) resident=11.5M(22%) swapped_out=0K(0%) unallocated=39.8M(78%)
 
REGION TYPE                      VIRTUAL
===========                      =======
Kernel Alloc Once                     4K
MALLOC                             42.3M
MALLOC (admin)                       16K
STACK GUARD                        56.0M
Stack                              8192K
VM_ALLOCATE                          16K
__DATA                             2424K
__LINKEDIT                         70.8M
__TEXT                             26.8M
__UNICODE                           544K
shared memory                         4K
===========                      =======
TOTAL                             206.8M

Model: MacBookPro11,3, BootROM MBP112.0138.B07, 4 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC 2.19f7
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Graphics: NVIDIA GeForce GT 750M, NVIDIA GeForce GT 750M, PCIe, 2048 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x134), Broadcom BCM43xx 1.0 (6.30.223.154.65)
Bluetooth: Version 4.2.7f3 14616, 3 services, 15 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512F, 500.28 GB
USB Device: Internal Memory Card Reader
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
USB Device: USB Receiver
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.1

Any clues?

Thanks,
Antonio

André Anjos

unread,
Oct 13, 2014, 3:03:28 AM10/13/14
to bob-...@googlegroups.com

On Sun, Oct 12, 2014 at 11:02 PM, Antonio Rohit De Lima Fernandes <antoni...@gmail.com> wrote:
To install bob on my Mac running OSX Mavericks, if I try to import bob, I get a segmentation fault 11.

Could you go through the checks in here (look for the Caveats session, make sure all is OK).

https://github.com/idiap/bob/wiki/Packages#mac-osx

@Elie, could you pls update bob.spear to point to that page instead? Thanks, A

--
Dr. André Anjos
Idiap Research Institute
Centre du Parc - rue Marconi 19
CH-1920 Martigny, Suisse
Phone: +41 27 721 7763
Fax: +41 27 721 7712
http://andreanjos.org

Elie Khoury

unread,
Oct 13, 2014, 5:26:43 AM10/13/14
to bob-...@googlegroups.com
Thanks Andre,
bob.spear has been updated accordingly.
Elie
--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Antonio Rohit De Lima Fernandes

unread,
Oct 16, 2014, 11:15:57 PM10/16/14
to bob-...@googlegroups.com
Andre, I went through the caveats, but I still have the fault.

André Anjos

unread,
Oct 17, 2014, 1:27:32 AM10/17/14
to bob-...@googlegroups.com
Ok, could you double-check that the python interpreter you're using is 2.7.8 from MacPorts? Send us the commands:

which python
port select --list python

Plus, also send us your exact steps for obtaining the stack trace you posted.

For example:

On the shell, type: python

On the python prompt, type: import bob

This is how I get the crash.

Andre

--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Antonio Rohit De Lima Fernandes

unread,
Oct 17, 2014, 9:48:18 AM10/17/14
to bob-...@googlegroups.com
$ which python
/opt/local/bin/python
$ python --version
Python 2.7.8
$ python
Python 2.7.8 (default, Oct  3 2014, 02:34:26)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import bob
Segmentation fault: 11
$

André Anjos

unread,
Oct 18, 2014, 11:46:29 AM10/18/14
to bob-...@googlegroups.com
Thanks, could you now send the output of the following command

port installed boost

? Thanks, A

Antonio Rohit De Lima Fernandes

unread,
Oct 18, 2014, 7:24:38 PM10/18/14
to bob-...@googlegroups.com
The following ports are currently installed:
  boost @1.56.0_1+no_single+no_static+python27 (active)

You received this message because you are subscribed to a topic in the Google Groups "bob-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bob-devel/-XtL62XMyk8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bob-devel+...@googlegroups.com.

André Anjos

unread,
Oct 19, 2014, 4:03:00 AM10/19/14
to bob-...@googlegroups.com
Hello,

Thanks for all the info. Unfortunately, my debug-fu will not help, you seem to have a system which is properly installed. Only by inspecting your machine closely would I be, perhaps, able to help you further.

Could you please tell me which version of MacPorts and OS X you have?


André Anjos

unread,
Oct 19, 2014, 4:04:11 AM10/19/14
to bob-...@googlegroups.com
Sorry, just noticed: OS Version:      Mac OS X 10.9.5 (13F34).

Please send only the MP version. A

Antonio Rohit De Lima Fernandes

unread,
Oct 19, 2014, 6:16:23 PM10/19/14
to bob-...@googlegroups.com
Version: 2.3.1

You received this message because you are subscribed to a topic in the Google Groups "bob-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bob-devel/-XtL62XMyk8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bob-devel+...@googlegroups.com.

Jose Fonollosa

unread,
Oct 19, 2014, 8:46:29 PM10/19/14
to bob-...@googlegroups.com
Same problem here. Can the problem be in the clang version?

> clang -v

Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)

Target: x86_64-apple-darwin13.4.0

Thread model: posix


> python

Python 2.7.8 (default, Oct 15 2014, 22:04:42) 

André Anjos

unread,
Oct 20, 2014, 2:58:38 AM10/20/14
to bob-...@googlegroups.com
Yes, it is a possibility. Have you reset the default compiler?

On my computer (running the latest OSX 10.9), both compiler versions match:

>> clang -v
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
[beatmacosx1- 8:55] ~ >> python
Python 2.7.8 (default, Jul 13 2014, 17:11:32)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

I think that, notably, the std::string implementation can be different between those compilers, depending on how they are setup (one uses stdlibc++ while the other may be using libc++). This would explain the string error.

As a rule of thumb, it is better to keep the same compiler versions through out the whole of MacPorts.

André

André Anjos

unread,
Oct 20, 2014, 3:17:20 AM10/20/14
to bob-...@googlegroups.com
FYI, I have update the wiki mentioned earlier, so it provides an explanation for this issue.

Antonio Rohit De Lima Fernandes

unread,
Oct 20, 2014, 12:22:22 PM10/20/14
to bob-...@googlegroups.com
My clang versions are same as Jose - 600 (clang -v) vs 503 (python) -> there is a MISMATCH

Jose Fonollosa

unread,
Oct 20, 2014, 9:24:08 PM10/20/14
to bob-...@googlegroups.com
Hi

A source installation of boost (to be recompiled in place) seems to solve this problem:

sudo port uninstall -f boost

sudo port install -s boost +no_single+no_static+python27


Be patient... compiling boost libraries takes its time
Jose

On Monday, October 20, 2014 9:22:22 AM UTC-7, Antonio Rohit De Lima Fernandes wrote:
My clang versions are same as Jose - 600 (clang -v) vs 503 (python) -> there is a MISMATCH
On Mon, Oct 20, 2014 at 12:17 AM, André Anjos <andre...@idiap.ch> wrote:
FYI, I have update the wiki mentioned earlier, so it provides an explanation for this issue.

On Mon, Oct 20, 2014 at 8:58 AM, André Anjos <andre...@idiap.ch> wrote:
Yes, it is a possibility. Have you reset the default compiler?

On my computer (running the latest OSX 10.9), both compiler versions match:

>> clang -v
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
[beatmacosx1- 8:55] ~ >> python
Python 2.7.8 (default, Jul 13 2014, 17:11:32)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

I think that, notably, the std::string implementation can be different between those compilers, depending on how they are setup (one uses stdlibc++ while the other may be using libc++). This would explain the string error.

As a rule of thumb, it is better to keep the same compiler versions through out the whole of MacPorts.

André

André Anjos

unread,
Oct 21, 2014, 1:56:20 AM10/21/14
to bob-...@googlegroups.com
I'd suggest you go a bit further with the re-installation.

port uninstall bob boost python #at least
port select clang ... #use the system clang
port install boost +python27
port install python #also install other deps as numpy, scipy, etc
port install bob +python27

You can read a bit more about the subject here:


As a rule of thumb, if you decide to switch compilers, do it consistently through all the ports. Make sure you set one "c++ std. library" implementation (either libstdc++ or libc++) and stick to it.

André
Reply all
Reply to author
Forward
0 new messages