Community
cancel
Showing results for 
Search instead for 
Did you mean: 
157 Views

Uninitialized memory access caused by IPP routines

Hello,

I'm using Intel Inspector to check my C++ code which is using Intel IPP. I got strange errors "Uninitialized memory access" and "Uninitialized partial memory access" pointing to IPP functions. On the attached screenshot, an error is selected. Both allocation side and read points to the same line of my own source code - imageutils.cpp:23. I also attach the full report.

It seems like the error is caused by an IPP function. Is that true, or am I doing something wrong?

I'm using Intel Inspector XE 2013, Intel IPP 7.0.205, Windows 7 x64, Visual Studio 2010.

Here is VC++ compiler options: /ZI /nologo /W3 /WX- /Od /Oy- /D "WIN32" /D "_DEBUG" /D "_WINDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MTd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Yu"StdAfx.h" /Fp"Debug\ContourRefinement.pch" /Fa"Debug\" /Fo"Debug\" /Fd"Debug\vc100.pdb" /Gd /analyze- /errorReport:queue 

0 Kudos
4 Replies
Peter_W_Intel
Employee
157 Views

I recommend to submit & discuss this issue on IPP forum http://software.intel.com/en-us/forums/intel-integrated-performance-primitives
SergeyKostrov
Valued Contributor II
157 Views

>>...I recommend to submit & discuss this issue on IPP forum Hi Mikhail, Let's go back to IPP forum, please...
Chuck_De_Sylva
Beginner
157 Views

Mikhail, thanks for the post. I don't however see in your code where you are calling ippInit(). You do call that at initialization correct?
157 Views

Yes, I do call IppInit() in my original project. I also posted a small sample repro-case in the same thread in IPP forums: http://software.intel.com/en-us/comment/1717355#comment-1717355
Reply