[cairo-bugs] [Bug 91967] Assertion "(_cairo_atomic_int_get (&(&surface->ref_count)->ref_count) > 0)"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 11 09:17:31 PDT 2015


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

--- Comment #4 from Alberts Muktupāvels <alberts.muktupavels at gmail.com> ---
(In reply to Chris Wilson from comment #3)
> You may have fixed a crash, but for _get_image_surface() to fail is nigh on
> catastrophic (i.e. instead of a crash we now lose rendering).

Did not understand... Is it wrong to set image to NULL when image->base is
destroyed? It is recreated later. Anyway I have no idea how cairo works. That
is why there was no patch from me.

> About the only valid error I can think of is BadDrawable. Any idea how you
> hit this failure path?

No idea, but cairo should not try to free/destroy image->base twice.

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


More information about the cairo-bugs mailing list