Bug 821334

Summary: Memory leak in video streaming
Product: Red Hat Enterprise Linux 6 Reporter: Yonit Halperin <yhalperi>
Component: spice-serverAssignee: Yonit Halperin <yhalperi>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.3CC: acathrow, cfergeau, dblechte, djasa, dyasny, mkenneth, mkrcmari
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spice-server-0.10.1-9.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:17:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix for the memory leak part1
none
Fix for the memory leak part2
none
backtrace none

Description Yonit Halperin 2012-05-14 07:21:52 UTC
Description of problem:

When spice streams a video, the memory of qemu process increases due to a memory leak in spice server (in mjpeg_encoder.c).

How reproducible:
Play a movie in the guest. Preferably, an high resolution video.
E.g., play in repeat mode the "Wildlife In HD" movie that comes with Windows7 guests. After several minutes you can see that the qemu memory usage increases.

Comment 2 Yonit Halperin 2012-05-14 07:24:37 UTC
Created attachment 584269 [details]
Fix for the memory leak part1

Comment 3 Yonit Halperin 2012-05-14 07:24:58 UTC
Created attachment 584270 [details]
Fix for the memory leak part2

Comment 7 Yonit Halperin 2012-05-16 08:07:22 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed

Comment 9 David Jaša 2012-05-18 15:23:18 UTC
Created attachment 585438 [details]
backtrace

Comment 10 David Jaša 2012-05-18 15:29:51 UTC
I've encountered a qemu segfault during verification of this bug, backtrace is already attached. I'm not sure if it is caused by fixes for this bug though.

Comment 11 David Jaša 2012-05-18 15:32:31 UTC
Re-reading the bugs again, this bug is fixed and segfault should probably be handled in bug #813826.

Comment 14 errata-xmlrpc 2012-06-20 12:17:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0765.html