Bug 16508

Summary: Server leaks in PictureDestroyWindow
Product: xorg Reporter: Ben Gamari <bgamari>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Ben Gamari 2008-06-24 19:56:56 UTC
Valgrind seems to think that the server leaks in PictureDestroyWindow. It seems like this happens when the server looks up a non-existent private during window destruction.

==3846== 1,505,832 (51,808 direct, 1,454,024 indirect) bytes in 203 blocks are definitely lost in 
loss record 130 of 145
==3846==    at 0x4A0867E: malloc (vg_replace_malloc.c:207)
==3846==    by 0x4F6715: Xalloc (utils.c:1303)
==3846==    by 0x4F6A55: Xcalloc (utils.c:1344)
==3846==    by 0x43464F: dixAllocatePrivate (privates.c:109)
==3846==    by 0x43478C: dixLookupPrivate (privates.c:140)
==3846==    by 0x520063: PictureDestroyWindow (picture.c:62)
==3846==    by 0x5324E9: damageDestroyWindow (damage.c:1721)
==3846==    by 0x56707E5: DRIDestroyWindow (dri.c:1891)
==3846==    by 0x525A90C: XvDestroyWindow (xvmain.c:434)
==3846==    by 0x47A707: xf86XVDestroyWindow (xf86xv.c:1033)
==3846==    by 0x5043049: DbeDestroyWindow (dbe.c:1568)
==3846==    by 0x5021BB: compDestroyWindow (compwindow.c:640)
Comment 1 Eamon Walsh 2008-06-26 11:33:16 UTC
Please refer to bug #16509 for a potential patch.
Comment 2 Ben Gamari 2009-04-17 07:50:28 UTC

*** This bug has been marked as a duplicate of bug 16509 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.