python bindings and exceptions failure #949

Closed
springmeyer opened this Issue Nov 14, 2011 · 0 comments

Comments

Projects
None yet
1 participant
Owner

springmeyer commented Nov 14, 2011

with latest clang:

$ /opt/llvm/bin/clang++ --version
clang version 3.1 (trunk 144517)
Target: x86_64-apple-darwin11.2.0
Thread model: posix

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff92f1a82a __kill + 10
1   libsystem_c.dylib               0x00007fff8d205a9c abort + 177
2   libsystem_c.dylib               0x00007fff8d2385de __assert_rtn + 146
3   libunwind.dylib                 0x00007fff946a12b2 libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncodingRBPFrame(unsigned int, unsigned long long, libunwind::LocalAddressSpace&, libunwind::Registers_x86_64&) + 122
4   libunwind.dylib                 0x00007fff946a11fd libunwind::CompactUnwinder_x86_64<libunwind::LocalAddressSpace>::stepWithCompactEncoding(unsigned int, unsigned long long, libunwind::LocalAddressSpace&, libunwind::Registers_x86_64&) + 37
5   libunwind.dylib                 0x00007fff946a1171 libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step() + 69
6   libunwind.dylib                 0x00007fff946a0931 _Unwind_RaiseException + 157
7   libc++abi.dylib                 0x00007fff91f80145 __cxa_throw + 101
8   libboost_python-mt.dylib        0x0000000105dacfee boost::python::throw_error_already_set() + 46
9   _mapnik2.so                     0x0000000105016754 boost::python::objects::caller_py_function_impl<boost::python::detail::caller<boost::python::objects::iterator_range<boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, std::_Rb_tree_iterator<std::pair<std::string const, mapnik::value> > >::next, boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, boost::mpl::vector2<std::pair<std::string const, mapnik::value>&, boost::python::objects::iterator_range<boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, std::_Rb_tree_iterator<std::pair<std::string const, mapnik::value> > >&> > >::operator()(_object*, _object*) + 52
10  libboost_python-mt.dylib        0x0000000105da5553 boost::python::objects::function::call(_object*, _object*) const + 733
11  libboost_python-mt.dylib        0x0000000105da4100 boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return, void>::invoke(boost::detail::function::function_buffer&) + 32
12  libboost_python-mt.dylib        0x0000000105dad09c boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 174
13  _mapnik2.so                     0x000000010509b566 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<mapnik::value_error, void (*)(mapnik::value_error const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(mapnik::value_error const&)> > >, 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&) + 22
14  libboost_python-mt.dylib        0x0000000105dad050 boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const + 98
15  _mapnik2.so                     0x000000010509b636 boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<mapnik::config_error, void (*)(mapnik::config_error const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(mapnik::config_error const&)> > >, 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&) + 22
16  libboost_python-mt.dylib        0x0000000105dad103 boost::python::handle_exception_impl(boost::function0<void>) + 99
17  libboost_python-mt.dylib        0x0000000105da462f function_call + 79
18  org.python.python               0x000000010451fd32 PyObject_Call + 97
19  org.python.python               0x000000010452e6e9 0x104518000 + 91881
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment