[C++-sig] 'unidentifiable C++ exception' / arg_from_python.hpp

Achim Domma achim.domma at syynx.de
Wed Dec 11 18:49:15 CET 2002


Hi,

using code that worked fine 2-3 days before, I get an 'unidentifiable C++
exception'. If I attach a debugger and let him stop at the first exception,
it stops in arg_from_python.hpp in line 319:

template <class T>
inline typename arg_rvalue_from_python<T>::result_type
arg_rvalue_from_python<T>::operator()(PyObject* p)
{
    if (m_data.stage1.construct != 0)
        m_data.stage1.construct(p, &m_data.stage1); <--- Break

    return python::detail::void_ptr_to_reference(m_data.stage1.convertible,
(result_type(*)())0);
}

The call stack is attached below. Could somebody give me a hint, what's
going on? Does this happen in my code, in boost.python or in the
CORE_RL_magick_.dll? It must be something stupid, but I have no idea in
which direction to search.

regards,
Achim


 	CORE_RL_magick_.dll!008df35d()
>
_PythonMagick.pyd!boost::python::converter::arg_rvalue_from_python<Magick::C
olor const &>::operator()(_object * p=0x0079fec0)  Line 319 + 0xe	C++

_PythonMagick.pyd!boost::python::detail::nullary<boost::python::arg_from_pyt
hon<Magick::Color const &> >::operator()()  Line 52 + 0x16	C++

_PythonMagick.pyd!boost::python::detail::invoke(boost::python::detail::fn_ta
g __formal={...}, boost::python::detail::fn_tag __formal={...}, void
(_object *, const Magick::Geometry &, const Magick::Color &)* &
f=0x1000cc10,
boost::python::detail::nullary<boost::python::arg_from_python<_object *> > &
ac0={...},
boost::python::detail::nullary<boost::python::arg_from_python<Magick::Geomet
ry const &> > & ac1={...},
boost::python::detail::nullary<boost::python::arg_from_python<Magick::Color
const &> > & ac2={...})  Line 86 + 0x8	C++
 	_PythonMagick.pyd!boost::python::detail::caller_arity<3>::impl<void
(__cdecl*)(_object *,Magick::Geometry const &,Magick::Color const
&),boost::python::detail::args_from_python,boost::python::default_call_polic
ies,boost::mpl::list4<void,_object *,Magick::Geometry const &,Magick::Color
const &> >::operator()(_object * args_=0x00767350, _object *
__formal=0x00000000)  Line 162 + 0x20	C++

_PythonMagick.pyd!boost::detail::function::function_obj_invoker2<boost::pyth
on::detail::caller<void (__cdecl*)(_object *,Magick::Geometry const
&,Magick::Color const
&),boost::python::detail::args_from_python,boost::python::default_call_polic
ies,boost::mpl::list4<void,_object *,Magick::Geometry const &,Magick::Color
const &> >,_object *,_object *,_object
*>::invoke(boost::detail::function::any_pointer function_obj_ptr={...},
_object * a0=0x00767350, _object * a1=0x00000000)  Line 118	C++
 	boost_python.dll!00b41e75()
 	boost_python.dll!00b4141d()
 	boost_python.dll!00b42c60()
 	boost_python.dll!00b42c12()
 	boost_python.dll!00b554f1()
 	boost_python.dll!00b5522d()
 	boost_python.dll!00b42489()
 	boost_python.dll!00b4198a()
 	python22.dll!1e006d0c()
 	boost_python.dll!00b6c2a0()






More information about the Cplusplus-sig mailing list