Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created November 30, 2010 21:11
Show Gist options
  • Save springmeyer/722413 to your computer and use it in GitHub Desktop.
Save springmeyer/722413 to your computer and use it in GitHub Desktop.
solaris amd64 boost python exception translation failing
(gdb) bt
#0 0x000000000005fb0e in ?? ()
#1 0xfffffd7fff2ec5d1 in _Unwind_RaiseException_Body () from /usr/lib/amd64/libc.so.1
#2 0xfffffd7fff2ec855 in _Unwind_RaiseException () from /usr/lib/amd64/libc.so.1
#3 0xfffffd7ffa98bb39 in __cxa_throw (obj=<value optimized out>, tinfo=0x1, dest=0x474e5543432b2b00)
at ../../../../.././libstdc++-v3/libsupc++/eh_throw.cc:78
#4 0xfffffd7ff6313272 in boost::python::throw_error_already_set () from /usr/local/lib/libboost_python.so.1.45.0
#5 0xfffffd7ff5199a95 in 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() ()
from /usr/local/lib/python2.6/site-packages/mapnik/64/_mapnik.so
#6 0xfffffd7ff630b75c in boost::python::objects::function::call () from /usr/local/lib/libboost_python.so.1.45.0
#7 0xfffffd7ff630ba10 in boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return, void>::invoke () from /usr/local/lib/libboost_python.so.1.45.0
#8 0xfffffd7ff63134e3 in boost::python::detail::exception_handler::operator() () from /usr/local/lib/libboost_python.so.1.45.0
#9 0xfffffd7ff510ab5b in 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 () from /usr/local/lib/python2.6/site-packages/mapnik/64/_mapnik.so
#10 0xfffffd7ff63132b5 in boost::python::handle_exception_impl () from /usr/local/lib/libboost_python.so.1.45.0
#11 0xfffffd7ff6308050 in function_call () from /usr/local/lib/libboost_python.so.1.45.0
#12 0xfffffd7ff6ff9aad in PyObject_Call () from /usr/lib/amd64/libpython2.6.so.1.0
#13 0xfffffd7ff700af29 in instancemethod_call () from /usr/lib/amd64/libpython2.6.so.1.0
#14 0xfffffd7ff6ff9aad in PyObject_Call () from /usr/lib/amd64/libpython2.6.so.1.0
#15 0xfffffd7ff7052660 in call_method () from /usr/lib/amd64/libpython2.6.so.1.0
#16 0xfffffd7ff705d700 in slot_tp_iternext () from /usr/lib/amd64/libpython2.6.so.1.0
#17 0xfffffd7ff70972eb in PyEval_EvalFrameExReal () from /usr/lib/amd64/libpython2.6.so.1.0
#18 0xfffffd7ff7094d9d in PyEval_EvalFrameEx () from /usr/lib/amd64/libpython2.6.so.1.0
#19 0xfffffd7ff709a27d in PyEval_EvalCodeEx () from /usr/lib/amd64/libpython2.6.so.1.0
#20 0xfffffd7ff70202c4 in function_call () from /usr/lib/amd64/libpython2.6.so.1.0
#21 0xfffffd7ff6ff9aad in PyObject_Call () from /usr/lib/amd64/libpython2.6.so.1.0
#22 0xfffffd7ff6ff9b6b in call_function_tail () from /usr/lib/amd64/libpython2.6.so.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment