[cairo-bugs] [Bug 57094] X11 fonts may be cleaned by unrelated thread

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 1 13:57:19 PDT 2013


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

Behdad Esfahbod <freedesktop at behdad.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freedesktop at behdad.org

--- Comment #2 from Behdad Esfahbod <freedesktop at behdad.org> ---
(In reply to comment #0)
> cairo_scaled_font_destroy may destroy fonts that have been created on a
> different backend. I am hitting a deadlock in one of my programs because of
> this. What happens is that GDK is doing some X calls (eg. XSync) while a
> second thread is rendering a PDF. The PDF rendering causes
> cairo_scaled_font_destroy, which in turn calls XRenderFreeGlyphSet.
> 
> From IRC:
> < psychon> ickle: ^ (I guess that cairo is supposed to only call into Xlib
> from threads that use cairo-xlib, so this XFreeGlyphSet is wrong)
> < ickle> restore the taskqueue

I see no trace of the task queue left in the code base.  :(

-- 
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/20130501/7bf7b265/attachment.html>


More information about the cairo-bugs mailing list