[Libva] Memory leaks in IEGD driver

Sambhav isambhav at gmail.com
Fri Feb 5 03:07:43 PST 2010


Hi,

Has anyone checked for memory leaks in IEGD driver (platform and version
details below) ?
I used mtrace utility for checking.

Few observations I did,

1. Just opening and closing the driver gave 2536 bytes of memory leak.
2. Also wrote a program which just does a vaPutSurface call in loop and saw
leak being proportional to the loop count
    0x28 was the size which mtrace showed.
3. Similary wrote a program to createbuffer, renderpicture in a loop and saw
the same observation as above

Sometimes the libva h.264 based decoder I have written crashes (segmentation
fault) after around 40mins and when checked in gdb it was in a memcpy
function inside iegd_drv_video.so library. The program stack is corrupted.

Board               - Portwell NANO-8044-1600
Platform            -  Atom Z530 + Poulsbo US15W
IEGDVersion     -  10.2.1447
Libva Version    -  Rev. 0.29
OS                   - Ubuntu 8.04

Regards,
Sambhav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/libva/attachments/20100205/c6c9ffe8/attachment.htm 


More information about the Libva mailing list