Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6709 Discussions

Purify reports unitialized memory read in ippGetCpuFeatures

gauss256
Beginner
289 Views
When I call ippStatic Init in my application running under Purify, it reports an unitialized memory read in ippGetCpuFeatures. Is this a false positive or something to be concerned about?

This is with IPP 6.1 Update 1. The CPU is: Intel Core 2 Duo CPU T7300 @ 2.00GHz

Here's what Purify says:

UMR: Uninitialized memory read in ippGetCpuFeatures {16 occurrences}
Reading 4 bytes from 0x2043cbc0 (4 bytes at 0x2043cbc0 uninitialized)
Address 0x2043cbc0 points into a thread's stack
Address 0x2043cbc0 is 16 bytes below the frame pointer in ippGetCpuFeatures
Thread ID: 0x1500
Error location
ippGetCpuFeatures [.\.\ippcpufeatures.obj]
ippStaticInit [(my application's calling function)]

0 Kudos
2 Replies
Vladimir_Dudnik
Employee
289 Views
Hello,

we aware of this Purify behaviour on this function. It is false positive.

Regards,
Vladimir
0 Kudos
mwrighton
Beginner
289 Views
Hello,

we aware of this Purify behaviour on this function. It is false positive.

Regards,
Vladimir

I see the same behavior in valgrind. It is disturbing to have to write a suppression for this. I'd vote for it to be fixed -- it certainly isn't performance critical.
0 Kudos
Reply