Uninitialized memory access caused by IPP routines

Uninitialized memory access caused by IPP routines

Аватар пользователя Mikhail Matrosov


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 

Скачать r001mi3.zip371.46 КБ
Скачать inspector-ipp-errors.png234.53 КБ
5 сообщений / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя Peter Wang (Intel)

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

Аватар пользователя Sergey Kostrov

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

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

Аватар пользователя Chuck De Sylva (Intel)

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?

Аватар пользователя Mikhail Matrosov

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

Зарегистрируйтесь, чтобы оставить комментарий.