[C++-sig] Re: std::string crush
dave at boost-consulting.com
Fri May 28 20:19:20 CEST 2004
"Vladimir Ignatov" <vignatov at colorpilot.com> writes:
> I am just start learning Boost.Python and faced a strange problem. I need
> to push some binary data from Python to C++ module. std::string look like a
> natural way to do it. Unfortunately I can't get this simple stuff working.
> After several invokes, TestStr() raise the "RuntimeError: unidentifiable C++
> exception" which I think is actually a crush (access violation or
If there's really a crash, #include <libs/python/test/module_tail.cpp>
in your module. It will keep the stupid MS exception model from
masking the bug and will allow JIT debugging to drop you into the MS
debugger at the point of the crash.
More information about the Cplusplus-sig