[cairo-bugs] [Bug 106967] cairo_ft_font_face_create_for_ft_face causes segmentation fault

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 20 17:20:30 UTC 2018


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

--- Comment #1 from Uli Schlachter <psychon at znc.in> ---
>From a quick look at the code:

Adding CAIRO_MUTEX_INITIALIZE(); to _cairo_ft_unscaled_font_map_lock() should
do the trick, but I'm not sure this is the right place to do this. I picked
this place since

(a) this is where the mutex is actually locked for the first time
(b) cairo_ft_font_face_create_for_ft_face() pretty much directly calls this
function before doing anything (well, through some indirection)

(Sorry, I neither have time to test the above nor can I commit it currently)

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


More information about the cairo-bugs mailing list