Bug 1306323

Summary: Memory leak introduced by modesetting double-shadow patch
Product: Red Hat Enterprise Linux 7 Reporter: Martin Wilck <martin.wilck>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.2CC: ajax, alanm, chorn, dkochuka, license, moshiro, tpelka, yoguma
Target Milestone: rcKeywords: OtherQA, Regression, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1340486 (view as bug list) Environment:
Last Closed: 2016-11-04 02:50:42 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:
Bug Depends On:    
Bug Blocks: 1203710, 1245518, 1340486, 1364088    
Attachments:
Description Flags
Patch for memory leak none

Description Martin Wilck 2016-02-10 15:05:42 UTC
Created attachment 1122821 [details]
Patch for memory leak

Description of problem:
The patch for slow mgag200 video from bug #1152233 introduces a memory leak in the server.

Version-Release number of selected component (if applicable):
1.17.2-10.el7


How reproducible:
always


Steps to Reproduce:
1. on a system with mgag200/modesetting, run freqent screen updates e.g. by running "ls -lR /" in an xterm

Actual results:
Xorg process' memory usage increases constantly, until Xorg is OOM killed at some point.

Expected results:
No memory leak


Additional info:
The attached patch fixes this. I already verified it.

Comment 13 errata-xmlrpc 2016-11-04 02:50:42 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.

https://rhn.redhat.com/errata/RHBA-2016-2293.html