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

memory leak bug in Linux

ramirose1
Beginner
331 Views
Hello,
I suspect there is a memory leak bug in
Intel IPP libraries in Linux.

What I did is:

Download ipp41 evaluation for linux.
Download and build the g729 samples for linux.

Ran the sample with a very known memory checker (valgrind) like thus:

valgrind ./g729iencoder --leak-check=yes --show-reachable=yes in.snd decoded.out

==8732== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 1)
==8732== malloc/free: in use at exit: 5065 bytes in 12 blocks.
==8732== malloc/free: 20 allocs, 8 frees, 40752 bytes allocated.

What seems to me is that 2065 bytes were not freed ,
and it seems that there is some bug as something is not freed inside Intel IPP library. (It could be also
that something is not freed in Intel g729 sample code ,but this seems less likely to me).

Note that is says that there were 20 allocs but only 8 frees !

I want to emphasize that I did not change a thing in
Intel g729 samples and build the using the script
supplied with them (build.sh).

This prevents me from using the Intel IPP for
an IVR server which runs in heavy loads , performing
many calls to g729 encode, because after a time
(depending on the load) we're out of memory and the systems hangs.


Regards,
Rami
0 Kudos
3 Replies
Vladimir_Dudnik
Employee
331 Views
Hi Rami,
thanks for informing us about issue. Could you please tell which platform do you use? Is it IA32, EM64T, IA64 or PCA?
Regards,
Vladimir
0 Kudos
ramirose
Beginner
331 Views
Hello,
1) The platform I use is IA32.

2) Since this issue was urgent,I issued a BUG REPORT
in intel premium support; However,if anyone knows abut this
memory leak problem I will appreciate sharing the info
with us. Up till now, the problem of memory leakage is not solved
as I understand.

Regards,
Rami
0 Kudos
rafael_alapont
Beginner
331 Views
Hello,
does anyone know if this memory leak problem has been solved?
Where can I get the patch?
Thank you
Rafael
0 Kudos
Reply