Buffer overrun in Debug32
Edited: please make some alinea's to actually stimulate people to read your posts...
I'm building OpenCv 2.4.2 in Visual Studio 2012. When using it in Release 32 bit and 64 bit mode (Debug and Release) all works fine, but when I'm building it in Debug 32 bit mode compiling still works without a problem, but during execution I got exceptions when using OpenCv function.
Concrete at calling cvSVD I get at the end of the function JacobiSVDImpl_ the error
"A buffer overrun has occurred in ... which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program.".
(Other function calls break up in similar way)
If I use the debugger and check the OpenCv objects once in my dll and then in the OpenCv dll I see different values of the same object (So the cv objects layout seem to differ between my dll and OpenCv dll).
The same code works in Debug 64 mode without a problem and the settings seem for me equal (except the target platform of course).
I converted the code from Visual Studio 2008, where it worked without any problem even for Debug 32, just since I converted it to VS 2012 I got these problems, only in Debug 32 mode.
Has anyone experience with this problem and knows where the problem might be?