http://bugs.freedesktop.org/show_bug.cgi?id=21785


liuhaien <haien....@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[945gm]X crach when enable  |[945gm]X crash when enable
                   |or disable compiz           |or disable compiz




--- Comment #3 from liuhaien <haien....@intel.com>  2009-05-22 01:33:13 PST ---
below is the first bad commit:
commit fc6d89145df6fc7a1c2ce648b474c3f203ca87c7
Author: Robert Ellison <papi...@vmware.com>
Date:   Fri May 8 14:42:47 2009 -0600

    i965: fix memory leak in context/renderbuffer region management

    A temporary change to the intelMakeCurrent() function to make
    it work with frame buffer objects causes the static regions
    associated with the context (the front_region, back_region,
    and depth_region) to take on an additional reference, with
    no corresponding release.  This causes a memory leak if a
    program repeatedly creates and destroys contexts.

    The fix is the corresponding hack, to unreference these
    regions when the context is deleted, but only if the
    framebuffer objects are still present and the same
    regions are still referenced within.

    Both sets of code have comment blocks referring to each
    other.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to