Boost C++ Libraries: Ticket #950: python demos crash in release mode in VC https://svn.boost.org/trac10/ticket/950 <pre class="wiki">IN VC6 the python examples crash. If I enable debugging info in the release built I get this for example1: --------------------------- Microsoft Visual C++ --------------------------- First-chance exception in python.exe (MSVCRT.DLL): 0xC0000005: Access Violation. --------------------------- OK --------------------------- the call stack is: MSVCRT! 7801973b() boost::python::detail::wrapped_function_pointer&lt;char const *,char const * (__thiscall hello::world::*)(void) const &gt;::do_call(const boost::python::detail::wrapped_function_pointer&lt;char const *,char const * (__thiscall hello::world::*)(void) const &gt; * const 0x00000025, _object * 0x0081f72c, _object * 0x00000000) line 69 + 89 bytes boost::python::detail::function::call(const boost::python::detail::function * const 0x00000025, _object * 0x0081f72c, _object * 0x00000000) line 70 boost::python::detail::callable&lt;boost::python::detail:: type_object&lt;boost::python::detail::function&gt; &gt;::instance_call(const boost::python::detail::callable&lt;boost::python::detail:: type_object&lt;boost::python::detail::function&gt; &gt; * const 0x00000025, _object * 0x007990ec, _object * 0x0081f72c, _object * 0x00000000) line 244 boost::python::`anonymous namespace'::call(_object * 0x007990ec, _object * (_object *, _object *, _object *) * 0x10004cf0 `vcall'(_object *, _object *, _object *), _object * 0x0081f72c, _object * 0x00000000) line 102 do_instance_call(_object * 0x007990ec, _object * 0x0081f72c, _object * 0x00000000) line 201 + 29 bytes PYTHON20! 1e112826() HELLO! ?? ?? ::`boost::python::detail::singleton&lt;stru ct boost::python::detail::bound_function::type_object,clas s boost::python::detail::getattrable&lt;class boost::python::detail::callable&lt;class boost::python::detail::type_object&lt;class boost::python::detail::bound_function&gt; &gt; &gt; &gt;::instance ( ?? )'::`2'::x + 4 bytes I noted that the this ptr in boost::python::detail::wrapped_function_pointer is 0x00000025 although the args is valid </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/950 Trac 1.4.3 david_abrahams Wed, 28 May 2003 10:20:55 GMT status changed https://svn.boost.org/trac10/ticket/950#comment:1 https://svn.boost.org/trac10/ticket/950#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket