Uninitialized memory access caused by IPP routines

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 

AttachmentSize
Downloadapplication/zip r001mi3.zip371.46 KB
Downloadimage/png inspector-ipp-errors.png234.53 KB
5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I recommend to submit & discuss this issue on IPP forum http://software.intel.com/en-us/forums/intel-integrated-performance-prim...

>>...I recommend to submit & discuss this issue on IPP forum

Hi Mikhail, Let's go back to IPP forum, please...

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?

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today