[cairo-bugs] [Bug 34912] [Piketon bisected]System hangs when run firefox-talos-gfx.trace

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 2 04:39:22 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=34912

--- Comment #1 from Uli Schlachter <psychon at znc.in> 2011-03-02 04:39:20 PST ---
To quote the commit message from 12e41acf9c2361:

    The only downside is that the cache enforced a limit of 16 MiB of pixel
data
    that was used for source surfaces on the server. After this commit the
Picture
    will be kept alive until the snapshot is detached. If this becomes a
problem
    memory-wise, a new solution will have to be invented...

I did a quick awk script that parses the output of xtrace and counts the number
of CreateFoo and FreeFoo requests and the number of live Pictures and Pixmaps
goes through the roof. Removing the call to _cairo_surface_attach_snapshot()
from _cairo_xcb_surface_picture() solves this problem (and AFAIK this causes
the same behavior as with cairo-xlib).

Any ideas how we could limit the number of living cairo_xcb_picture_t without
having a cache that keeps them alive longer than needed? (And especially not
longer than cairo_surface_finish())

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


More information about the cairo-bugs mailing list