[C++-sig] Issues with Debug/Release versions of Python and extensions

Alexander Eisenhuth newsuser at stacom-software.de
Fri Feb 2 20:38:43 CET 2007


Thanks for your quick answer

Roman Yakovenko schrieb:
> On 2/2/07, Alexander Eisenhuth <newsuser at stacom-software.de> wrote:
>> Hello everybody,
>>
>> did some of you got ever into a hell of runtime problems like
>> _CrtIsValidHeapPointer on Windows ? (Debug Version of a multithreaded Python
>> extension)
> 
> Yes. I used Python.Net project for create huge number of tests for
> code written in
> Managed C++.

That means you also use a "release exe" and "debug exe" and got 
_CrtIsValidHeapPointer() assertions ?

> 
>> Ok a straight question, that hopefully anybody can answer.
>>
>> Might there appear problems, when I use a standard python Installation
>> (nodebug-version) on windows to debug a extension (debug-version) ?
> 
> Except this annoying problem, I didn't have any problem. I was able to debug
> managed and unmanaged code.

Did you look for compiler switches or pragmas to turn _CrtIsValidHeapPointer() off?






More information about the Cplusplus-sig mailing list