[cairo-bugs] [Bug 63787] Assertion failure in cairo under windows when using GIMP's new canvas rotation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 23 04:57:38 PDT 2013


Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
I'm not keen on using the ref-count here, and so used a more explicit check
instead. Hopefully, this should keep the reference checking logic intact.

commit fb8881e84bb24b2a54ee5aa449b6f5638de36404
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Aug 23 12:48:08 2013 +0100

    win32: Prevent double-free of similar images

    Based on a patch and analysis by Michael Henning.

    When we create a similar-image surface for win32, we set up a couple of
    back references from the image to the win32 surface, and vice versa. We
    need to be careful when decoupling the reference cycle to avoid chasing
    around the loop upon destruction. Currently we handled destroying the
    similar-image via the parent win32 surface, but similar precaution is
    required when destroying the surface via the similar-image.

    Reported-by: Michael Henning <drawoc at darkrefraction.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63787
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130823/69ea753e/attachment.html>

More information about the cairo-bugs mailing list